src/video/ataricommon/SDL_ikbdinterrupt.S
changeset 305 9c6613983e85
parent 297 f6ffac90895c
child 1081 369dcdb52d70
--- a/src/video/ataricommon/SDL_ikbdinterrupt.S	Sun Mar 10 03:25:47 2002 +0000
+++ b/src/video/ataricommon/SDL_ikbdinterrupt.S	Sun Mar 10 03:33:59 2002 +0000
@@ -42,6 +42,8 @@
 	.globl	_SDL_AtariIkbd_mousey
 	.globl	_SDL_AtariIkbd_joystick
 
+	.globl	_SDL_AtariIkbd_enabled
+
 /*--- Install our IKBD vector ---*/
 
 _SDL_AtariIkbdInstall:
@@ -72,6 +74,8 @@
 
 	| Interrupts done
 
+	movew	#0xffff,_SDL_AtariIkbd_enabled
+
 	moveml	sp@+,d0-d1/a0-a1
 	rts
 
@@ -208,6 +212,9 @@
 	.data
 	
 	.even
+_SDL_AtariIkbd_enabled:
+	.word	0
+	.even
 	.comm	_SDL_AtariIkbd_keyboard,128
 	.even
 	.comm	_SDL_AtariIkbd_mousex,2*1