src/video/ataricommon/SDL_ikbdinterrupt.S
changeset 305 9c6613983e85
parent 297 f6ffac90895c
child 1081 369dcdb52d70
     1.1 --- a/src/video/ataricommon/SDL_ikbdinterrupt.S	Sun Mar 10 03:25:47 2002 +0000
     1.2 +++ b/src/video/ataricommon/SDL_ikbdinterrupt.S	Sun Mar 10 03:33:59 2002 +0000
     1.3 @@ -42,6 +42,8 @@
     1.4  	.globl	_SDL_AtariIkbd_mousey
     1.5  	.globl	_SDL_AtariIkbd_joystick
     1.6  
     1.7 +	.globl	_SDL_AtariIkbd_enabled
     1.8 +
     1.9  /*--- Install our IKBD vector ---*/
    1.10  
    1.11  _SDL_AtariIkbdInstall:
    1.12 @@ -72,6 +74,8 @@
    1.13  
    1.14  	| Interrupts done
    1.15  
    1.16 +	movew	#0xffff,_SDL_AtariIkbd_enabled
    1.17 +
    1.18  	moveml	sp@+,d0-d1/a0-a1
    1.19  	rts
    1.20  
    1.21 @@ -208,6 +212,9 @@
    1.22  	.data
    1.23  	
    1.24  	.even
    1.25 +_SDL_AtariIkbd_enabled:
    1.26 +	.word	0
    1.27 +	.even
    1.28  	.comm	_SDL_AtariIkbd_keyboard,128
    1.29  	.even
    1.30  	.comm	_SDL_AtariIkbd_mousex,2*1