Re: 1351 mouse

From: Hársfalvi Levente (
Date: 2002-02-12 09:45:21

Hi!, wrote:

> >At the end of the 512 cycles long process, in cycle #480, the 5717 stops
> >driving both POT outputs (I clearly remember this, I even noted it
> Does the PIC change the output lines to "input mode" in order to achieve the
> floating behaviour.


The PORTB register is set only once. While in normal operation, it is
never touched again. The data direction register, TRISB is written
instead :-). So joystick direction lines are pulled 'low', POTX/POTY
'high' only.

Best regards,


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.1.