A83: Sv: Beep routine >> TI82
[Prev][Next][Index][Thread]
A83: Sv: Beep routine >> TI82
The great VTI supports sound.
Andreas Hjordt
----- Original Message -----
From: D Weiss <dwedit@hotmail.com>
To: <assembly-83@lists.ticalc.org>
Sent: Sunday, September 03, 2000 7:04 PM
Subject: 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.
>
>
References: