Date : Mon, 26 Apr 2004 19:06:51 +0100 (BST)
From : Tom Walker <tommowalker@...>
Subject: Re: Analogue Port Fire Buttons
> The "fire" buttons are in fact connected to the slow
> peripheral bus, aka
> the VIA-A. If you're planning to do a low-level
> implementation, then
> you'll find that while getting info out of the ADC
> is easy enoug,
> getting your accesses right with the VIA is a little
> harder. You need to
> disable interrupts, set the B side to the right
> address, and take a look
> at the A side, get the data you want, then clear
> interrupts again.
Nope! The fire buttons are just connected to port B
bits 4 and 5. I don't even think interrupts need to be
disabled.
Tom
____________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html