|
Atari coding BBS
Re: how to read key codes? |
Posted by: Patrice Mandin
|
Aug,26.2006-23:08
|
If you use Kbdvecs() xbios to setup your own routine, you don't need to run your whole program in supervisor. This is what I use in SDL when I can't use IKBD directly.
Only the routine in the Kbdvecs() table run in supervisor, use it to update your own key press/release table, then jump to old system vector (don't forget to preserve registers).
|
[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.
|