[net.micro] HP150 Tone Generator

dxwoodbu@crdc.arpa (Lt. Donald Woodbury) (01/20/86)

Does anybody know how to access the tone generator for the HP150?  I
have most of the technical manuals - it is not documented.

                                            Don Woodbury

BillW@su-score.arpa (01/21/86)

The tone generator on the hp150 is in the 8041 that scans
the keyboard and touchecreen.  It's documented on page 3-50
and 3-51 of my "preliminary technical reference manual".  I
don't know if this ever made it to print in  a less preliminary
form, but here is the relevant data:

8041 commands IO port (19h)

comand code		Function
   08h		Stop bell immediately
   22h		keyclick off
   23h		keyclick on
30h-3Fh		Beep bell.   duration is about 100ms, and the tone
		is determined by the low nibble (about 290 Hz for 0
		and 1.7Khz for F.
   40h		do one keyclick immediately.  keyclick must be on.

Those are only the codes that have to do with sound...

Enjoy
BillW

scott@hp-pcd.UUCP (scott) (01/25/86)

I'm not sure what technical manuals you have, but it is
documented in the HP150 Technical Reference Manual.  I
think that it was part of the keyboard controller chip.
From BASIC, an OUT 27,xx where xx is from 30 to 46 will
generate the 16 tones available (the 27 is correct; I'm
not quite sure about the 30 to 46!).  Anyway, it's rather
limited as far as tone generators go....

hp-pcd!hpcvcc!scott