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

Atari coding BBS
 
keyboard on st
Posted by: gloky Aug,30.2005-03:04 

hi

here is a sample code:

each vbl:

move.b $fffffc02.w,d0
jsr interpretkeyboard ; set or unset flag up down left right fire if the corresponding key is push or unpush (with the bit 7 of d0)

jsr actionplayer ; move the ship coord
...

when i execute my program sometime the ship move on a direction without any key pushed. it seems i lost information of unpush (yes veryyyy baad english, shame on me)
so here is the question:
how to get all the scancode of fc02 ?


yes i am a lamer ;p










[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