comparison src/video/ataricommon/SDL_ikbdinterrupt_s.h @ 1751:a11c13151840

Declare volatile variables modified by interrupt routines
author Patrice Mandin <patmandin@gmail.com>
date Sun, 30 Apr 2006 21:01:25 +0000
parents d910939febfa
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
comparison
equal deleted inserted replaced
1750:025e1a273f47 1751:a11c13151840
42 #define IKBD_JOY_RIGHT (1<<3) 42 #define IKBD_JOY_RIGHT (1<<3)
43 #define IKBD_JOY_FIRE (1<<7) 43 #define IKBD_JOY_FIRE (1<<7)
44 44
45 /* Variables */ 45 /* Variables */
46 46
47 extern Uint8 SDL_AtariIkbd_keyboard[128]; /* Keyboard table */ 47 extern volatile Uint8 SDL_AtariIkbd_keyboard[128]; /* Keyboard table */
48 extern Uint16 SDL_AtariIkbd_mouseb; /* Mouse on port 0, buttons */ 48 extern volatile Uint16 SDL_AtariIkbd_mouseb; /* Mouse on port 0, buttons */
49 extern Sint16 SDL_AtariIkbd_mousex; /* Mouse X relative motion */ 49 extern volatile Sint16 SDL_AtariIkbd_mousex; /* Mouse X relative motion */
50 extern Sint16 SDL_AtariIkbd_mousey; /* Mouse Y relative motion */ 50 extern volatile Sint16 SDL_AtariIkbd_mousey; /* Mouse Y relative motion */
51 extern Uint16 SDL_AtariIkbd_joystick; /* Joystick on port 1 */ 51 extern volatile Uint16 SDL_AtariIkbd_joystick; /* Joystick on port 1 */
52 52
53 extern Uint16 SDL_AtariIkbd_enabled; /* For joystick driver to know 53 /* For joystick driver to know if this is usable */
54 if this is usable */ 54 extern Uint16 SDL_AtariIkbd_enabled;
55 55
56 /* Functions */ 56 /* Functions */
57 57
58 extern void SDL_AtariIkbdInstall(void); 58 extern void SDL_AtariIkbdInstall(void);
59 extern void SDL_AtariIkbdUninstall(void); 59 extern void SDL_AtariIkbdUninstall(void);