RE: A83: Beep routine >> TI82


[Prev][Next][Index][Thread]

RE: A83: Beep routine >> TI82




>Well i don't have a Ti82... The only part of the routine what i'm not 100%
>sure about is the port-number of the link port ("out (0),a")... the rest
>sould work....

I tested this under VTI, sound on 83, 83+, no sound on 82, corrupts ION86's 
display.

>
>BTW. why are those pop's there??????
>
>
>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

Beep was inline, formerly CALLed. Just ignore the pops, they came after the 
beep routine.
_________________________________________________________________________
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.