A83: Beep routine >> TI82
[Prev][Next][Index][Thread]
A83: Beep routine >> TI82
Does this code need to be changed for the TI82:
;---------= Make a sound =---------
; c=frequency, b=duration
beep: di
ld e,$D0
beepl1: ld a,c
beepl2: dec a
jr nz,beepl2
ld a,e
xor %00000011
ld e,a
out (0),a
djnz beepl1
ei
pop hl
pop de
pop bc
ret
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
Follow-Ups: