18 |
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 |
|
* |
20 |
|
|
21 |
+ |
DEBUG_DETAIL SET 1 |
22 |
+ |
|
23 |
|
INCLUDE "exec/types.i" |
24 |
|
INCLUDE "exec/macros.i" |
25 |
|
INCLUDE "exec/memory.i" |
27 |
|
INCLUDE "dos/dos.i" |
28 |
|
INCLUDE "devices/timer.i" |
29 |
|
|
30 |
< |
INCLUDE "asmsupp.i" |
30 |
> |
; INCLUDE "asmsupp.i" |
31 |
|
|
32 |
|
XDEF _AtomicAnd |
33 |
|
XDEF _AtomicOr |
201 |
|
rts |
202 |
|
|
203 |
|
* |
204 |
< |
* Exception handler of main task (for 60Hz interrupts) |
204 |
> |
* Exception handler of main task (for interrupts) |
205 |
|
* |
206 |
|
|
207 |
|
_ExceptionHandlerAsm |
394 |
|
addq.l #8,sp ;Remove exception frame from supervisor stack |
395 |
|
andi #$d8ff,sr ;Switch to user mode, enable interrupts |
396 |
|
|
397 |
< |
and.w #$f8ff,_EmulatedSR ;enable interrupts in EmulatedSR |
397 |
> |
; and.w #$f8ff,_EmulatedSR ;enable interrupts in EmulatedSR |
398 |
|
|
399 |
|
move.l $28.w,-(sp) ;Jump to MacOS exception handler |
400 |
|
rts |