Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

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]

Topic Posted by  Date 
keyboard on st gloky Aug,30.2005-03:04
  Re: keyboard on st keyboard on st Aug,30.2005-03:18
  Re: keyboard on st RA/Paradox Aug,30.2005-08:54
    Re: keyboard on st earx Aug,30.2005-09:11
      Re: keyboard on st Bod/STAX Aug,30.2005-20:14
        Re: keyboard on st Bod/STAX Aug,30.2005-20:28
          Re: keyboard on st gloky Aug,31.2005-06:53
            Re: keyboard on st p01 Aug,31.2005-09:52


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

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.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson