Beeper Device
device-beeper
The Beeper device provides access to a single audio channel at a maximum of 8192Hz frequency ($2000) and 16 levels of volume ($00 to $0F -- 4-bit depth).
;beeper
.macro beeper.pitch $40
.macro beeper.length $42
.macro beeper.level $44
=== [2][RW] pitch
The pitch/frequency of the beep in Hz, up to $2000 (8192Hz). Note that the value $0000 will introduce a "pause" of the beeper for the specified length.
=== [2][RW] length
The length (duration) of the beep in 1/256 of a second.
=== [1][RW] level
The volume level of the beep from $00 (beeper off) to $0F (max volume).