|
Atari coding BBS
Re: keyboard on st |
Posted by: Bod/STAX
|
Aug,30.2005-20:28
|
Hmm, maybe I shoud explain each rout a little... The first rout basically copies each keypress into 'kbuff' the second copies the mouse coords and buttons 'plr_x', 'plr_y' and 'plr_k' respectively (and every other keypress into 'kbuff'). The joystick rout (This is a little tricky to remember) uses bit-set combinations. bit's 0-2 are the combinations of u+l+d+r for joystick 1 and bit 3 is for the fire button of joystick 1. bits 4-7 are the same for joystick 2, but for some reason I stores them at different addresses, 'joy1_status' and 'joy2_status'.
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|