I did a brief scan for userport joystick code. Does anyone have a link or example of a basic routine or a documented ML routine?
I dug through the hattrick program and seem to have found the following. Any other help would be appreciated.
read_pl2_userport:
ldx #0
lda #$80
sta $9112
sta $9110
lda $9110
stx $9112
eor #$ff
and #$1f
rts
userport joystick code
Moderator: Moderators
- majikeyric
- Vic 20 Afficionado
- Posts: 352
- Joined: Fri Oct 24, 2014 2:08 pm
- Website: http://majikeyric.free.fr
- Location: France
-
- Vic 20 Devotee
- Posts: 253
- Joined: Fri Mar 19, 2010 1:40 pm
Re: userport joystick code
Thanks.
For documentation purposes, I found the following links to Compute! articles.
https://www.atarimagazines.com/compute/ ... YSTICK.php
https://archive.org/details/1983-03-com ... /page/n141
For documentation purposes, I found the following links to Compute! articles.
https://www.atarimagazines.com/compute/ ... YSTICK.php
https://archive.org/details/1983-03-com ... /page/n141