mirror of
https://github.com/elliotnunn/supermario.git
synced 2024-11-25 09:30:50 +00:00
43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
|
;—————————————————————————————————————————————————————————————————————————
|
||
|
;
|
||
|
; File: SIMCore.a
|
||
|
;
|
||
|
; Contains:
|
||
|
;
|
||
|
; Written by: Paul Wolf
|
||
|
;
|
||
|
; Copyright: © 1990-1993 by Apple Computer, Inc., all rights reserved.
|
||
|
;
|
||
|
; Change History (most recent first):
|
||
|
;
|
||
|
; <1> 10/14/93 pdw first checked in
|
||
|
;—————————————————————————————————————————————————————————————————————————
|
||
|
|
||
|
|
||
|
MACHINE MC68020 ; '020-level
|
||
|
BLANKS ON ; assembler accepts spaces & tabs in operand field
|
||
|
PRINT OFF ; do not send subsequent lines to the listing file
|
||
|
; don't print includes
|
||
|
|
||
|
|
||
|
INCLUDE 'Debug.a' ; for NAME macro
|
||
|
INCLUDE 'ACAM.a'
|
||
|
INCLUDE 'SIMCoreEqu.a'
|
||
|
|
||
|
INCLUDE 'HALc96equ.a'
|
||
|
|
||
|
|
||
|
|
||
|
;———————————————————————————————————————————————————————————————————————
|
||
|
SIM_ISR PROC EXPORT
|
||
|
;———————————————————————————————————————————————————————————————————————
|
||
|
|
||
|
move.l 4(sp), A0 ; get SIMg
|
||
|
move.l SIMglobals.HALinfo.HALstaticPtr(A0), 4(sp) ; make parm HALg
|
||
|
jmp ([SIMglobals.HALinfo.HAL_ISR, A0]) ; call (jmp to) HAL_ISR
|
||
|
|
||
|
RTSNAME 'SIM_ISR'
|
||
|
|
||
|
ENDPROC
|
||
|
|
||
|
END
|