src/video/ataricommon/SDL_ikbdinterrupt.S
branchSDL-1.2
changeset 4378 dae8891fae2d
parent 4377 c92927bd421a
child 6137 4720145f848b
equal deleted inserted replaced
4377:c92927bd421a 4378:dae8891fae2d
   179 	.ascii	"LSDL"
   179 	.ascii	"LSDL"
   180 	.comm	old_ikbd,4*1
   180 	.comm	old_ikbd,4*1
   181 ikbd:
   181 ikbd:
   182 #if defined(__mcoldfire__)
   182 #if defined(__mcoldfire__)
   183 	lea	sp@(-12),sp
   183 	lea	sp@(-12),sp
   184 	moveml	sp@,d0-d1/a0
   184 	moveml	d0-d1/a0,sp@
   185 #else
   185 #else
   186 	moveml	d0-d1/a0,sp@-
   186 	moveml	d0-d1/a0,sp@-
   187 #endif
   187 #endif
   188 
   188 
   189 	| Check if source is IKBD or MIDI
   189 	| Check if source is IKBD or MIDI
   286 	| Mouse packet, byte #2
   286 	| Mouse packet, byte #2
   287 
   287 
   288 ikbd_mousex:
   288 ikbd_mousex:
   289 #if defined(__mcoldfire__)
   289 #if defined(__mcoldfire__)
   290 	lea	sp@(-12),sp
   290 	lea	sp@(-12),sp
   291 	moveml	sp@,d0-d1/a0
   291 	moveml	d0-d1/a0,sp@
   292 #else
   292 #else
   293 	moveml	d0-d1/a0,sp@-
   293 	moveml	d0-d1/a0,sp@-
   294 #endif
   294 #endif
   295 
   295 
   296 	| Check if source is IKBD or MIDI
   296 	| Check if source is IKBD or MIDI
   321 	| Mouse packet, byte #3
   321 	| Mouse packet, byte #3
   322 
   322 
   323 ikbd_mousey:
   323 ikbd_mousey:
   324 #if defined(__mcoldfire__)
   324 #if defined(__mcoldfire__)
   325 	lea	sp@(-12),sp
   325 	lea	sp@(-12),sp
   326 	moveml	sp@,d0-d1/a0
   326 	moveml	d0-d1/a0,sp@
   327 #else
   327 #else
   328 	moveml	d0-d1/a0,sp@-
   328 	moveml	d0-d1/a0,sp@-
   329 #endif
   329 #endif
   330 
   330 
   331 	| Check if source is IKBD or MIDI
   331 	| Check if source is IKBD or MIDI
   356 	| Joystick packet, byte #2
   356 	| Joystick packet, byte #2
   357 
   357 
   358 ikbd_joystick:
   358 ikbd_joystick:
   359 #if defined(__mcoldfire__)
   359 #if defined(__mcoldfire__)
   360 	lea	sp@(-12),sp
   360 	lea	sp@(-12),sp
   361 	moveml	sp@,d0-d1/a0
   361 	moveml	d0-d1/a0,sp@
   362 #else
   362 #else
   363 	moveml	d0-d1/a0,sp@-
   363 	moveml	d0-d1/a0,sp@-
   364 #endif
   364 #endif
   365 
   365 
   366 	| Check if source is IKBD or MIDI
   366 	| Check if source is IKBD or MIDI