[A89] Re: sound


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

[A89] Re: sound




I've tried using pokeIO.  I realize that it is necessary to 
use it or to declare the ptr as volatile.  My question is 
what do I need to write to 0x60000E to turn on and off the 
link port wires to generate sound.


---- On Wed, 8 May 2002, Sebastian Reichelt 
(SebastianR@gmx.de) wrote:

> 
> | I read in J89hw.txt that the address for direct link port
> | access on the 89 is $60000E.  Is there some way I can use
> | this address in TIGCC to generate sound?  I've tried 
making
> | a void *ptr=0x60000E and setting bits of *ptr, but I 
have'nt
> | been able to get any sound to come out yet.  I'm not 
quite
> | sure as to what bits I need to set to turn on and off 
the D1
> | and D0.
> 
> I'm not quite sure about your actual question, but you 
should take a look at
> pokeIO_bit in the latest beta on http://tigcc.ticalc.org/. 
It really is
> necessary so the compiler doesn't move the operation out 
of a loop.
> 
> Sebastian Reichelt
> 
> 
> 
> 
> 


________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag



Follow-Ups: