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

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]

Topic Posted by  Date 
how to read key codes? mikro Aug,26.2006-22:38
  Re: how to read key codes? Patrice Mandin Aug,26.2006-23:08
    Re: how to read key codes? mikro Aug,27.2006-10:00
      Re: how to read key codes? Patrice Mandin Aug,27.2006-19:12
        Re: how to read key codes? mikro Aug,31.2006-02:24
          Re: how to read key codes? Patrice Mandin Aug,31.2006-10:48
      Re: how to read key codes? Patrice Mandin (again :) Aug,27.2006-23:37


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