|  | 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]
 
 
 
 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.
 |