68k vector table: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 6: | Line 6: | ||
dc.l $0010F300 ; Initial SP | dc.l $0010F300 ; Initial SP | ||
dc.l $00C00402 ; Initial PC | dc.l $00C00402 ; Initial PC | ||
dc.l $00C00408 | dc.l $00C00408 ; Bus error | ||
dc.l $0000034E | dc.l $00C0040E ; Address error | ||
dc.l $0000034E,$0000034E,$00C00426,$00C00426 | dc.l $00C0040E ; Illegal Instruction | ||
dc.l $00C00426,$ | dc.l $0000034C ; Divide by 0 | ||
dc.l $00C00426,$00C00426,$00C00426,$00C00426 | dc.l $0000034E ; CHK Instruction | ||
dc.l | dc.l $0000034E ; TRAPV Instruction | ||
dc.l | dc.l $00C0041A ; Privilege Violation | ||
dc.l $ | dc.l $00C00420 ; Trace | ||
dc.l $0000056E,$0000056E,$ | dc.l $0000034E,$0000034E ; Emu | ||
dc.l $00C00426,$00C00426,$00C00426 ; Reserved | |||
dc.l $00C0042C ; Uninit. Int. Vector. | |||
dc.l $00C00426,$00C00426,$00C00426,$00C00426 ; Reserved | |||
dc.l $00C00426,$00C00426,$00C00426,$00C00426 ; Reserved | |||
dc.l $00C00432 ; Spurious Interrupt | |||
dc.l VBlank ; Level 1 | |||
dc.l IRQ2 ; Level 2 | |||
dc.l $00C00426 ; Level 3 | |||
dc.l $00C00426,$00C00426,$00C00426,$00C00426 ; Level 4~7 | |||
dc.l $0000056E,$0000056E,$0000056E,$0000056E ; Traps... | |||
dc.l $0000056E,$0000056E,$FFFFFFFF,$FFFFFFFF | |||
dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF | dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF | ||
dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF | dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF | ||
| Line 21: | Line 32: | ||
dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF | dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF | ||
dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF | dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF | ||
</pre> | </pre> | ||
| Line 45: | Line 55: | ||
</pre> | </pre> | ||
[[Category:Code]] | [[Category:Code]] | ||
Revision as of 01:19, 20 May 2011
Default ASM vector tables for 68k binaries. $C00426 is a BIOS call for a complete reset on every systems (?).
For cartridge systems
org $0
dc.l $0010F300 ; Initial SP
dc.l $00C00402 ; Initial PC
dc.l $00C00408 ; Bus error
dc.l $00C0040E ; Address error
dc.l $00C0040E ; Illegal Instruction
dc.l $0000034C ; Divide by 0
dc.l $0000034E ; CHK Instruction
dc.l $0000034E ; TRAPV Instruction
dc.l $00C0041A ; Privilege Violation
dc.l $00C00420 ; Trace
dc.l $0000034E,$0000034E ; Emu
dc.l $00C00426,$00C00426,$00C00426 ; Reserved
dc.l $00C0042C ; Uninit. Int. Vector.
dc.l $00C00426,$00C00426,$00C00426,$00C00426 ; Reserved
dc.l $00C00426,$00C00426,$00C00426,$00C00426 ; Reserved
dc.l $00C00432 ; Spurious Interrupt
dc.l VBlank ; Level 1
dc.l IRQ2 ; Level 2
dc.l $00C00426 ; Level 3
dc.l $00C00426,$00C00426,$00C00426,$00C00426 ; Level 4~7
dc.l $0000056E,$0000056E,$0000056E,$0000056E ; Traps...
dc.l $0000056E,$0000056E,$FFFFFFFF,$FFFFFFFF
dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF
dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF
dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF
dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF
dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF
dc.l $FFFFFFFF,$FFFFFFFF,$FFFFFFFF,$FFFFFFFF
For CD systems
org $0
dc.l $0010F300,$00C00402,$00C00408,$00C0040E
dc.l $00C00414,$00C00426,$00C00426,$00C00426
dc.l $00C0041A,$00C00420,$00C00426,$00C00426
dc.l $00C00426,$00C00426,$00C00426,$00C0042C
dc.l $00C00522,$00C00528,$00C0052E,$00C00534
dc.l $00C0053A,$00C004F2,$00C004EC,$00C004E6
dc.l $00C004E0, IRQ2, VBlank, IRQ3
dc.l Generic, Generic, Generic, Generic
dc.l Generic, Generic, Generic, Generic
dc.l Generic, Generic, Generic, Generic
dc.l Generic, Generic, Generic, Generic
dc.l Generic, Generic, Generic, Generic
dc.l $00C00426,$00C00426,$00C00426,$00C00426
dc.l $00C00426,$00C00426,$00C00426,$00C00426
dc.l $00C00426,$00C00426,$00C00426,$00C00426
dc.l $00C00426,$00C00426,$00C00426,$00C00426