src/video/ataricommon/SDL_xbiosinterrupt.S
changeset 987 d9f3b5bb7870
parent 820 0b9b4bf3c1e7
child 1063 0fb50bfaea7f
     1.1 --- a/src/video/ataricommon/SDL_xbiosinterrupt.S	Mon Nov 22 10:18:04 2004 +0000
     1.2 +++ b/src/video/ataricommon/SDL_xbiosinterrupt.S	Mon Nov 22 20:36:59 2004 +0000
     1.3 @@ -113,7 +113,7 @@
     1.4  	.ascii "LSDL"
     1.5  	.comm	oldmousevector,4*1
     1.6  _SDL_AtariXbios_MouseVector:
     1.7 -	moveml	d0/a1,sp@-
     1.8 +	movel	d0,sp@-
     1.9  
    1.10  	/* Mouse buttons */
    1.11  	moveb	(a0),d0
    1.12 @@ -131,10 +131,9 @@
    1.13  	addw	d0,_SDL_AtariXbios_mousey
    1.14  
    1.15  	/* Jump through old vector */
    1.16 -	movel	oldmousevector,a1
    1.17 -	jsr	(a1)
    1.18 +	movel	sp@+,d0
    1.19  
    1.20 -	moveml	sp@+,d0/a1
    1.21 +	movel	oldmousevector,sp@-
    1.22  	rts
    1.23  
    1.24  	.data
    1.25 @@ -153,7 +152,7 @@
    1.26  	.ascii "LSDL"
    1.27  	.comm	oldjoystickvector,4*1
    1.28  _SDL_AtariXbios_JoystickVector:
    1.29 -	moveml	d0/a1,sp@-
    1.30 +	movel	d0,sp@-
    1.31  
    1.32  	/* New joystick state */
    1.33  	moveb	a0@(1),d0
    1.34 @@ -161,10 +160,9 @@
    1.35  	movew	d0,_SDL_AtariXbios_joystick
    1.36  
    1.37  	/* Jump through old vector */
    1.38 -	movel	oldjoystickvector,a1
    1.39 -	jsr	(a1)
    1.40 +	movel	sp@+,d0
    1.41  
    1.42 -	moveml	sp@+,d0/a1
    1.43 +	movel	oldjoystickvector,sp@-
    1.44  	rts
    1.45  
    1.46  	.data