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

Re: Applesoft? Comands to turn on and off annunciators in game port



deluca4@tcnj.edu (Dan) wrote in message news:<391287e7.0311161111.135b4d5f@posting.google.com>...
> Hi, I am teaching a highschool electronics course adn found a bunch of
> apple IIe's stashed away in a closet.  I would like to interface these
> with some simple electronic components to help teach computer control.
>  I understand that the game port is probably the most straightfoward
> way of doing this.  (I am trying to find a parralle card)  However, I
> cannot figure our how to activate the annunciator ports on the 16 pin
> DIP game port.  I am sorry if this has been beaten to death in this
> forum, but I do not have accese to an Apple referance manual at the
> currnet time.  Can this be done in applesoft, or do yo need to write
> it in assembler language.  If it can be done could someone give me
> sample commands, I understand it has to do with PEEK's and POKE's but
> I have been having some trouble ptting all the various bits of
> information I have found around the net togetehr to figure this out. 
> Thanks.

Annunciator 0 (pin 15) off, poke 49240,0 (or anything, it's accessing
the memory location that triggers the action.)  on, poke 49241

ann 1 off= 49242, on =49243
Ann 2 off=49244, on=49245
ann 3 off=49246, off =49247.

In hex the range is from C058 to C05F

Go to www.vernier.com, and get the "better mouse trap" book. It is
more useful than the Chaos book, which isn't too bad either, really.

Have fun;