Mercurial > sdl-ios-xcode
comparison src/video/ataricommon/SDL_ikbdinterrupt.S @ 305:9c6613983e85
Atari port cleanups from Patrice
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 10 Mar 2002 03:33:59 +0000 |
parents | f6ffac90895c |
children | 369dcdb52d70 |
comparison
equal
deleted
inserted
replaced
304:ec53caed9fb2 | 305:9c6613983e85 |
---|---|
40 .globl _SDL_AtariIkbd_mouseb | 40 .globl _SDL_AtariIkbd_mouseb |
41 .globl _SDL_AtariIkbd_mousex | 41 .globl _SDL_AtariIkbd_mousex |
42 .globl _SDL_AtariIkbd_mousey | 42 .globl _SDL_AtariIkbd_mousey |
43 .globl _SDL_AtariIkbd_joystick | 43 .globl _SDL_AtariIkbd_joystick |
44 | 44 |
45 .globl _SDL_AtariIkbd_enabled | |
46 | |
45 /*--- Install our IKBD vector ---*/ | 47 /*--- Install our IKBD vector ---*/ |
46 | 48 |
47 _SDL_AtariIkbdInstall: | 49 _SDL_AtariIkbdInstall: |
48 moveml d0-d1/a0-a1,sp@- | 50 moveml d0-d1/a0-a1,sp@- |
49 | 51 |
69 moveb #8,0xfffffc02:w | 71 moveb #8,0xfffffc02:w |
70 | 72 |
71 movew #0x2300,sr | 73 movew #0x2300,sr |
72 | 74 |
73 | Interrupts done | 75 | Interrupts done |
76 | |
77 movew #0xffff,_SDL_AtariIkbd_enabled | |
74 | 78 |
75 moveml sp@+,d0-d1/a0-a1 | 79 moveml sp@+,d0-d1/a0-a1 |
76 rts | 80 rts |
77 | 81 |
78 /*--- Uninstall our IKBD vector ---*/ | 82 /*--- Uninstall our IKBD vector ---*/ |
206 rte | 210 rte |
207 | 211 |
208 .data | 212 .data |
209 | 213 |
210 .even | 214 .even |
215 _SDL_AtariIkbd_enabled: | |
216 .word 0 | |
217 .even | |
211 .comm _SDL_AtariIkbd_keyboard,128 | 218 .comm _SDL_AtariIkbd_keyboard,128 |
212 .even | 219 .even |
213 .comm _SDL_AtariIkbd_mousex,2*1 | 220 .comm _SDL_AtariIkbd_mousex,2*1 |
214 .even | 221 .even |
215 .comm _SDL_AtariIkbd_mousey,2*1 | 222 .comm _SDL_AtariIkbd_mousey,2*1 |