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

Re: Robotic Control via Apple ][ ... a few questions



Chris Smolinski (cps@access.digex.net) wrote:
: In article <4htl6m$sp1@guava.epix.net>, gandalf@infosoc.com (Alexander
: Bertram) wrote:

: > I friend of mine dumped an old apple ][ on me a while ago. After taking
: > out every single card except for the drive controller, it works.
: > 
: > I've figured out to give input via the game i/o but I can figure out the
: > "o" part. How do I set switch values?

: These are the "annunciator" outputs. Memory fades, and my Apple ][ manuals
: are in storage right now, but I think the addresses for them start around
: $c040 or $c058. As I recall, each output (there are four) has two
: addresses, a read on one address turns the output off, a read on the other
: turns it on. So there are eight addresses total.

The location for the annunciator is $c058.  $c040 is the utility strobe.

: > Finally, does anyone know how this keyboard encoder/decoder thing works...
: > or shouldn't i bother?

: What do you want to do with it? Basically, the keyboard gets decoded by
: the chip, and the data is available at an I/O location ($C000?) Then
: there's a strobe ($C010?) that clears buffer. You could mess with it, but

Those locations are correct, but $c010 will contain the last input value,
and clear the strobe at the same time, when a read is performed to it.
This technique will save a few bytes each time programming.

: Chris

-Tilghman