On Thursday 06 December 2007 16:18, Mark Meiss wrote:
On Dec 6, 2007 3:42 PM, Ethan Dicks <ethan.dicks at
usap.gov> wrote:
Interesting. My own curiosity is from the
standpoint of being able to
hang them off of Commodore, not Atari, hardware. It all seems rather
straightforward from your description.
I think it should be. As I understand it, the joystick ports on the C64
are wired to the bidrectional parallel pins on the CIA, so it seems like it
would just be a matter of setting the data direction registers as
appropriate.
I don't know that you'd even have to do much of anything with those. I can't
recall the specific locations now, but there was a one-line program I used
to type in to test those ports. Just "Peek"ing two locations and looping
back, it'd give you a continuously scrollign display of a couple of numbers,
I think 255 and 127 but am not sure any more since we're talking 15+ years
ago. You'd plug a joystick into a port and wiggle it, try the fire button,
and watch to see if the number changed with each thing you did -- if it
didn't, there was a bad chip in there.
--
Member of the toughest, meanest, deadliest, most unrelenting -- and
ablest -- form of life in this section of space, ?a critter that can
be killed but can't be tamed. ?--Robert A. Heinlein, "The Puppet Masters"
-
Information is more dangerous than cannon to a society ruled by lies. --James
M Dakin