; CMI IIx\MAINFRAME\Q133 - Processor Control Card\F8LMRK5.bin (6809)

                   ; $FFF0..$FFFF Interrupt Vectors
RSRV_INT EQU $FFF0 ; $FFF0..$FFF1 Reserved
SWI3_INT EQU $FFF2 ; $FFF2..$FFF3 SWI3 (Software Interrupt 3)
SWI2_INT EQU $FFF4 ; $FFF4..$FFF5 SWI2 (Software Interrupt 2)
FIRQ_INT EQU $FFF6 ; $FFF6..$FFF7 FIRQ (Fast Interrupt Request)
IRQ_INT  EQU $FFF8 ; $FFF8..$FFF9 IRQ (Interrupt Request)
SWI_INT  EQU $FFFA ; $FFFA..$FFFB SWI (Software Interrupt)
NMI_INT  EQU $FFFC ; $FFFC..$FFFD NMI (Non Maskable Interrupt)
RES_INT  EQU $FFFE ; $FFFE..$FFFF RES (Reset)

M0000 EQU $0000 ; P2 RAM: Disk Controller Variables  ($0000..$001F)
M0001 EQU $0001 ; P2 RAM: Disk Controller Variables  ($0000..$001F)
M0003 EQU $0003 ; P2 RAM: Disk Controller Variables  ($0000..$001F)
M0005 EQU $0005 ; P2 RAM: Disk Controller Variables  ($0000..$001F)
M0006 EQU $0006 ; P2 RAM: Disk Controller Variables  ($0000..$001F)
M0008 EQU $0008 ; P2 RAM: Disk Controller Variables  ($0000..$001F)
M000D EQU $000D ; P2 RAM: Disk Controller Variables  ($0000..$001F)
M0017 EQU $0017 ; P2 RAM: Disk Controller Variables  ($0000..$001F)
M001B EQU $001B ; P2 RAM: Disk Controller Variables  ($0000..$001F)
M001C EQU $001C ; P2 RAM: Disk Controller Variables  ($0000..$001F)
M0020 EQU $0020 ; P2 RAM: User Direct Addressing RAM ($0020..$007F)
M8000 EQU $8000 ; P1 RAM: Graphics Board Video RAM   ($8000..$BFFF)
ME001 EQU $E001 ; TVT
ME005 EQU $E005 ; TVT
ME030 EQU $E030 ; TVT
ZF000 EQU $F000
ZF030 EQU $F030
MF033 EQU $F033
MF780 EQU $F780
ZF7E8 EQU $F7E8
ZF7EE EQU $F7EE
MFBFC EQU $FBFC
MFC40 EQU $FC40 ; Reserved Location: RAM Map Control ($FC40..$FC4F)
MFC48 EQU $FC48 ; Reserved Location: RAM Map Control ($FC40..$FC4F)
MFC5E EQU $FC5E
MFC80 EQU $FC80
MFC81 EQU $FC81
MFC84 EQU $FC84
MFC86 EQU $FC86
MFC8A EQU $FC8A
MFC90 EQU $FC90
MFC91 EQU $FC91
MFC96 EQU $FC96
MFCC4 EQU $FCC4
MFCE0 EQU $FCE0 ; Reserved Location: Floppy Controller ($FCE0-$FCE7)
MFCF0 EQU $FCF0
MFCFC EQU $FCFC ; Reserved Location: Processor #2 P.I.C.U.
MFCFD EQU $FCFD ; Reserved Location: Processor #1 P.I.C.U.
MFD80 EQU $FD80 ; Stack Top
MFDFE EQU $FDFE
MFE00 EQU $FE00 ; P1 I/O Handling Loop: Trigger Byte (0 = IO Loop Idle, 1 = Start IO Loop)
ZFE01 EQU $FE01 ; P1 I/O Handling Loop: Start-Of-Execution Address (Program In Common RAM)($FE01=Hi Byte, $FE02=Lo Byte)
ZFE03 EQU $FE03 ; P1 I/O Handling Loop: Return-Of-Execution Address (Program In Common RAM)($FE03=Hi Byte, $FE04=Lo Byte)
ZFE09 EQU $FE09
MFE0E EQU $FE0E
MFE1E EQU $FE1E
MFE34 EQU $FE34
MFE3D EQU $FE3D
MFE50 EQU $FE50
MFE65 EQU $FE65
MFE69 EQU $FE69
MFE72 EQU $FE72
ZFE74 EQU $FE74
MFE78 EQU $FE78
MFF00 EQU $FF00
MFF1D EQU $FF1D
MFF40 EQU $FF40
MFF44 EQU $FF44

; Program's Code / Data Areas
  ORG $0000
  LBRA Z015E         ; $0000: 16 01 5B
  BSR Z0043          ; $0003: 8D 3E
Z0005
  RTS                ; $0005: 39

Z0006
  CLR >M0005         ; $0006: 7F 00 05
  NOP                ; $0009: 12
  LBSR Z0043         ; $000A: 17 00 36
  LBSR Z0043         ; $000D: 17 00 33
  LBSR Z0043         ; $0010: 17 00 30
  LBSR Z0043         ; $0013: 17 00 2D
  LBSR Z0043         ; $0016: 17 00 2A
  LBSR Z0043         ; $0019: 17 00 27
  LBRA Z0043         ; $001C: 16 00 24
  LBSR Z0043         ; $001F: 17 00 21
  LBSR Z0043         ; $0022: 17 00 1E
  BCC Z0005          ; $0025: 24 DE
  BSR Z0035          ; $0027: 8D 0C
  JMP ZF000          ; $0029: 7E F0 00
  LBRA Z0035         ; $002C: 16 00 06
  LBRA Z0198         ; $002F: 16 01 66
  LBRA Z0108         ; $0032: 16 00 D3
Z0035
  LDA >M0008         ; $0035: B6 00 08
  PSHS A             ; $0038: 34 02
  LDA #$45           ; $003A: 86 45
  BSR Z0040          ; $003C: 8D 02
  PULS A             ; $003E: 35 02
Z0040
  JMP ZF7E8          ; $0040: 7E F7 E8
Z0043
  PULS D             ; $0043: 35 06
  LEAX M000D,PCR     ; $0045: 30 8C C5
  PSHS X             ; $0048: 34 10
  SUBD ,S++          ; $004A: A3 E1
  BMI Z0051          ; $004C: 2B 03
  LDA #$56           ; $004E: 86 56
  MUL                ; $0050: 3D
Z0051
  LDX #MFF40         ; $0051: 8E FF 40
  EXG X,S            ; $0054: 1E 14
  PSHS U,Y,X,DP      ; $0056: 34 78
  CLRB               ; $0058: 5F
  TFR B,DP           ; $0059: 1F 9B
  LDU <M001C         ; $005B: DE 1C       (DP = $00)
  LDX #MFF40         ; $005D: 8E FF 40
  LDB <M0000         ; $0060: D6 00       (DP = $00)
  ANDB #$03          ; $0062: C4 03
  STB $15,U          ; $0064: E7 C8 15
  ABX                ; $0067: 3A
  PSHS X             ; $0068: 34 10
  LDB $04,X          ; $006A: E6 04
  ORB #$10           ; $006C: CA 10
  STB $0C,U          ; $006E: E7 4C
  STB $0B,U          ; $0070: E7 4B
  STB <M000D         ; $0072: D7 0D       (DP = $00)
  LDB <M001B         ; $0074: D6 1B       (DP = $00)
  STB $21,U          ; $0076: E7 C8 21
  CLR $22,U          ; $0079: 6F C8 22
Z007C
  PSHS A             ; $007C: 34 02
  CLR $16,U          ; $007E: 6F C8 16
  CLR $19,U          ; $0081: 6F C8 19
  LDD <M0001         ; $0084: DC 01       (DP = $00)
  LSRA               ; $0086: 44
  RORB               ; $0087: 56
  ROR $19,U          ; $0088: 66 C8 19
  STD $17,U          ; $008B: ED C8 17
  LDD <M0006         ; $008E: DC 06       (DP = $00)
  STD $1E,U          ; $0090: ED C8 1E
  LDX <M0003         ; $0093: 9E 03       (DP = $00)
  BNE Z0099          ; $0095: 26 02
  LEAX $01,X         ; $0097: 30 01
Z0099
  TST ,S             ; $0099: 6D E4
  BNE Z00A1          ; $009B: 26 04
  LDB <$05           ; $009D: D6 05
  BGT Z00A2          ; $009F: 2E 01
Z00A1
  CLRB               ; $00A1: 5F
Z00A2
  BEQ Z00A6          ; $00A2: 27 02
  LEAX -$01,X        ; $00A4: 30 1F
Z00A6
  ASLB               ; $00A6: 58
  STB $1D,U          ; $00A7: E7 C8 1D
  TFR X,D            ; $00AA: 1F 10
  LSRA               ; $00AC: 44
  RORB               ; $00AD: 56
  ROR $1D,U          ; $00AE: 66 C8 1D
  STD $1B,U          ; $00B1: ED C8 1B
  CLR $1A,U          ; $00B4: 6F C8 1A
  PULS A             ; $00B7: 35 02
  LEAX >M0116,PCR    ; $00B9: 30 8D 00 59
  LDA A,X            ; $00BD: A6 86
  PSHS A             ; $00BF: 34 02
  ANDA #$7F          ; $00C1: 84 7F
  LDX <$1E           ; $00C3: 9E 1E
  JSR A,X            ; $00C5: AD 86
  LDA #$01           ; $00C7: 86 01
  TST ,S+            ; $00C9: 6D E0
  BCS Z00CF          ; $00CB: 25 02
  BMI Z007C          ; $00CD: 2B AD
Z00CF
  LEAX >M011F,PCR    ; $00CF: 30 8D 00 4C
  LDB B,X            ; $00D3: E6 85
  STB <$08           ; $00D5: D7 08
  ROLB               ; $00D7: 59
  ASL $1D,U          ; $00D8: 68 C8 1D
  ROL $1C,U          ; $00DB: 69 C8 1C
  ROL $1B,U          ; $00DE: 69 C8 1B
  LDX $1B,U          ; $00E1: AE C8 1B
  LEAX -$01,X        ; $00E4: 30 1F
  STX <$0B           ; $00E6: 9F 0B
  PULS X             ; $00E8: 35 10
  LDA $20,U          ; $00EA: A6 C8 20
  STA ,X             ; $00ED: A7 84
  LDA -$0108,X       ; $00EF: A6 89 FE F8
  ADDA $22,U         ; $00F3: AB C8 22
  BCC Z00FA          ; $00F6: 24 02
  LDA #$FF           ; $00F8: 86 FF
Z00FA
  STA -$0108,X       ; $00FA: A7 89 FE F8
  LDA #$03           ; $00FE: 86 03
  STA <$1B           ; $0100: 97 1B
  LSRB               ; $0102: 54
  PULS U,Y,X,DP      ; $0103: 35 78
  TXS                ; $0105: 1F 14
  RTS                ; $0107: 39

Z0108
  PSHS U,Y,X         ; $0108: 34 70
  LDU <$1C           ; $010A: DE 1C
  STB $15,U          ; $010C: E7 C8 15
  LDX <$1E           ; $010F: 9E 1E
  JSR $09,X          ; $0111: AD 09
  PULS PC,U,Y,X      ; $0113: 35 F0

  FCB $03            ; $0115: 03

M0116
  FCB $12, $18, $9B, $21, $24, $1B, $00, $95, $15 ; $0116..$011E

M011F
  FCB $30, $33, $32, $35 , $31, $37, $35, $36, $35 ; $011F..$0127

M0128
  FCB $FC, $5A, $00, $00 ; $0128..$012B

M012C
  FCB $11, $10, $12, $12, $33, $13, $73, $FF, $00, $01, $F7, $FF, $00 ; $012C..$0138

M0139
  FCB $04, $02, $00, $00, $08, $06, $0A, $FF, $00, $00, $F7, $FF, $00 ; $0139..$0145

  ORCC #$50          ; $0146: 1A 50       (Code Start: From Restart Vector)
  LDS #MFD80         ; $0148: 10 CE FD 80 (S = $FD80)
  CLR MFCFD          ; $014C: 7F FC FD
  CLR MFE0E          ; $014F: 7F FE 0E
  LDA #$07           ; $0152: 86 07
Z0154
  STA MFC5E          ; $0154: B7 FC 5E
  SUBA #$02          ; $0157: 80 02
  BPL Z0154          ; $0159: 2A F9
Z015B
  JSR ZF030          ; $015B: BD F0 30
Z015E
  ORCC #$50          ; $015E: 1A 50 :     (Enable Interrupt Flags == ORCC #$50)
  LDS #MFD80         ; $0160: 10 CE FD 80 (S = $FD80)
  CLRA               ; $0164: 4F          (A = 0)
  TFR A,DP           ; $0165: 1F 8B       (DP = 0)
  LDX #MF033         ; $0167: 8E F0 33    (X = $F033)
  STX SWI_INT        ; $016A: BF FF FA    (SWI = $F033)
  LDX #$F815         ; $016D: 8E F8 15    (X = $F815)
  LBSR Z03BD         ; $0170: 17 02 4A
  LDA #$0C           ; $0173: 86 0C
  LBSR Z0040         ; $0175: 17 FE C8
  BSR Z0198          ; $0178: 8D 1E
  LDU <M0017         ; $017A: DE 17       (DP = $00)
  BEQ Z018F          ; $017C: 27 11
  LBSR Z021F         ; $017E: 17 00 9E
  BRA Z0192          ; $0181: 20 0F

M0183
  FCC "* Ready *"    ; $0183..$018B

  FDB $0D0A          ; $018C: 0D 0A
  FCB $04            ; $018E: 04

Z018F
  LEAX M0183,PCR     ; $018F: 30 8C F1
Z0192
  JSR ZF7EE          ; $0192: BD F7 EE
  JMP ZF000          ; $0195: 7E F0 00

Z0198
  CLRA               ; $0198: 4F
  CLRB               ; $0199: 5F
  STD MFE69          ; $019A: FD FE 69
  STD <$17           ; $019D: DD 17
  LDX MFE65          ; $019F: BE FE 65
  STX MFDFE          ; $01A2: BF FD FE
Z01A5
  BSR Z01B9          ; $01A5: 8D 12
  LDY #MFCE0         ; $01A7: 10 8E FC E0
  LEAU M0139,PCR     ; $01AB: 33 8C 8B
Z01AE
  BSR Z01CB          ; $01AE: 8D 1B
  LEAY $02,Y         ; $01B0: 31 22
  CMPY #MFCF0        ; $01B2: 10 8C FC F0
Z01B6
  BNE Z01AE          ; $01B6: 26 F6
  RTS                ; $01B8: 39

Z01B9
  LEAX M0128,PCR     ; $01B9: 30 8D FF 6B
  LEAU M012C,PCR     ; $01BD: 33 8D FF 6B
  BRA Z01C5          ; $01C1: 20 02
Z01C3
  BSR Z01CB          ; $01C3: 8D 06
Z01C5
  LDY ,X++           ; $01C5: 10 AE 81
  BNE Z01C3          ; $01C8: 26 F9
  RTS                ; $01CA: 39

Z01CB
  LDA $01,Y          ; $01CB: A6 21
  COMA               ; $01CD: 43
  BNE Z01D1          ; $01CE: 26 01
  RTS                ; $01D0: 39

Z01D1
  PSHS U,Y,X,D       ; $01D1: 34 76
  LDD MFDFE          ; $01D3: FC FD FE
  SUBA #$08          ; $01D6: 80 08
  BCS Z021D          ; $01D8: 25 43
  ANDA #$F8          ; $01DA: 84 F8
  CLRB               ; $01DC: 5F
  STD ,S             ; $01DD: ED E4
  LDB ,U+            ; $01DF: E6 C0
  STB $01,Y          ; $01E1: E7 21
  STA ,Y             ; $01E3: A7 A4
  CLRA               ; $01E5: 4F
  LDB ,U+            ; $01E6: E6 C0
Z01E8
  STB $01,Y          ; $01E8: E7 21
  STA ,Y             ; $01EA: A7 A4
  LDA $06,U          ; $01EC: A6 46
  LDB ,U+            ; $01EE: E6 C0
  BPL Z01E8          ; $01F0: 2A F6
  LDX #$800          ; $01F2: 8E 08 00
Z01F5
  LEAX -$01,X        ; $01F5: 30 1F
  BEQ Z021D          ; $01F7: 27 24
  LDA $01,Y          ; $01F9: A6 21
  BPL Z01F5          ; $01FB: 2A F8
  LDX [,S]           ; $01FD: AE F4
  CMPX #$2112        ; $01FF: 8C 21 12
  BNE Z021D          ; $0202: 26 19
  LDU #MFE69         ; $0204: CE FE 69
  LDX MFDFE          ; $0207: BE FD FE
  JSR [,S]           ; $020A: AD F4
  STX MFDFE          ; $020C: BF FD FE
  BITB #$80          ; $020F: C5 80
  BEQ Z021D          ; $0211: 27 0A
  LDD <$17           ; $0213: DC 17
  BNE Z021D          ; $0215: 26 06
  STX <$17           ; $0217: 9F 17
  LDX $04,S          ; $0219: AE 64
  STX <$19           ; $021B: 9F 19
Z021D
  PULS PC,U,Y,X,D    ; $021D: 35 F6
Z021F
  LDD $06,U          ; $021F: EC 46
  LEAY D,U           ; $0221: 31 CB
  STY <$1E           ; $0223: 10 9F 1E
  LDU #MFD80         ; $0226: CE FD 80
  STU <$1C           ; $0229: DF 1C
  LDX #$7E           ; $022B: 8E 00 7E
  JSR ,Y             ; $022E: AD A4
  BCS Z025F          ; $0230: 25 2D
  LDX <$19           ; $0232: 9E 19
  STX ,U             ; $0234: AF C4
  LDX <$1E           ; $0236: 9E 1E
  JSR $03,X          ; $0238: AD 03
  CLR $15,U          ; $023A: 6F C8 15
  LDX <$17           ; $023D: 9E 17
  LDA $04,X          ; $023F: A6 04
  BITA #$80          ; $0241: 85 80
  LBEQ Z02B2         ; $0243: 10 27 00 6B
  LEAX >M0264,PCR    ; $0247: 30 8D 00 19
  JSR ZF7EE          ; $024B: BD F7 EE
  LBSR Z0309         ; $024E: 17 00 B8
  LBCS Z03B9         ; $0251: 10 25 01 64
  LDA $0A,U          ; $0255: A6 4A
  DECA               ; $0257: 4A
  LBEQ Z0371         ; $0258: 10 27 01 15
  LBRA Z032E         ; $025C: 16 00 CF
Z025F
  LEAX M0183,PCR     ; $025F: 30 8D FF 20
  RTS                ; $0263: 39

M0264
  FCC "Loading System from Hard Disk" ; $0264..$0280
  FCB $0D, $0A, $04                   ; $0281..$0283

M0284
  FCC "Load System Disk in Drive" ; $0284..$029C
  FCB $0D, $0A, $07, $04          ; $029D..$02A0

M02A1
  FCC "Loading System" ; $02A1..$02AE
  FCB $0D, $0A, $04    ; $02AF..$02B1

Z02B2
  LDX <$1E           ; $02B2: 9E 1E
  JSR $09,X          ; $02B4: AD 09
  BCC Z02C4          ; $02B6: 24 0C
  LEAX M0284,PCR     ; $02B8: 30 8C C9
  JSR ZF7EE          ; $02BB: BD F7 EE
Z02BE
  LDX <$1E           ; $02BE: 9E 1E
Z02C0
  JSR $09,X          ; $02C0: AD 09
  BCS Z02BE          ; $02C2: 25 FA
Z02C4
  LEAX M02A1,PCR     ; $02C4: 30 8C DA
  JSR ZF7EE          ; $02C7: BD F7 EE
  BSR Z0309          ; $02CA: 8D 3D
  LBCC Z032E         ; $02CC: 10 24 00 5E
  LDA #$1D           ; $02D0: 86 1D
  STA $0C,U          ; $02D2: A7 4C
  STA $0B,U          ; $02D4: A7 4B
  LDA #$01           ; $02D6: 86 01
  STA $0A,U          ; $02D8: A7 4A
  STA $09,U          ; $02DA: A7 49
  LDA #$1A           ; $02DC: 86 1A
  STA $07,U          ; $02DE: A7 47
  STA $08,U          ; $02E0: A7 48
  BSR Z0309          ; $02E2: 8D 25
  LBCC Z0371         ; $02E4: 10 24 00 89
  LEAX >M02ED,PCR    ; $02E8: 30 8D 00 01
  RTS                ; $02EC: 39

M02ED
  FCC "Unidentified System Disk" ; $02ED..$0304
  FCB $0D, $0A, $07, $04         ; $0305..$0308

Z0309
  LDX <$1E           ; $0309: 9E 1E
  JSR $21,X          ; $030B: AD 88 21
  CLRA               ; $030E: 4F
  CLRB               ; $030F: 5F
  STA $21,U          ; $0310: A7 C8 21
  STD $16,U          ; $0313: ED C8 16
  STD $18,U          ; $0316: ED C8 18
  STD $1A,U          ; $0319: ED C8 1A
  LDA $09,U          ; $031C: A6 49
  LSRA               ; $031E: 44
  RORB               ; $031F: 56
  STD $1C,U          ; $0320: ED C8 1C
  LDD #M0020         ; $0323: CC 00 20
  STD $1E,U          ; $0326: ED C8 1E
  LDX <$1E           ; $0329: 9E 1E
  JMP $12,X          ; $032B: 6E 88 12
Z032E
  LDA #$08           ; $032E: 86 08
  STA $21,U          ; $0330: A7 C8 21
  LDA <$23           ; $0333: 96 23
  STA $08,U          ; $0335: A7 48
  LDA <$30           ; $0337: 96 30
  STA $0C,U          ; $0339: A7 4C
  ANDA #$FD          ; $033B: 84 FD
  STA $0B,U          ; $033D: A7 4B
  LDA <$35           ; $033F: 96 35
  STA $16,U          ; $0341: A7 C8 16
  LDD <$36           ; $0344: DC 36
  STD $17,U          ; $0346: ED C8 17
  LDD <$38           ; $0349: DC 38
  BEQ Z03B9          ; $034B: 27 6C
  STD $1C,U          ; $034D: ED C8 1C
  LDX #$2000         ; $0350: 8E 20 00
  STX $1E,U          ; $0353: AF C8 1E
  PSHS X,D           ; $0356: 34 16
  LDX <$1E           ; $0358: 9E 1E
  JSR $12,X          ; $035A: AD 88 12
  PULS U,Y           ; $035D: 35 60
  BCS Z03B9          ; $035F: 25 58
  LDD $04,U          ; $0361: EC 44
  LDX D,U            ; $0363: AE CB
  CMPX #$47CF        ; $0365: 8C 47 CF
  BNE Z03B9          ; $0368: 26 4F
  LDX MFDFE          ; $036A: BE FD FE
  LDD $09,U          ; $036D: EC 49
  JMP D,U            ; $036F: 6E CB
Z0371
  LDX #MFF40         ; $0371: 8E FF 40
  LDD #MFF1D         ; $0374: CC FF 1D
Z0377
  STB $04,X          ; $0377: E7 04
  STA ,X+            ; $0379: A7 80
  CMPX #MFF44        ; $037B: 8C FF 44
  BNE Z0377          ; $037E: 26 F7
  LDX <$56           ; $0380: 9E 56
  BEQ Z03B9          ; $0382: 27 35
  STX <$03           ; $0384: 9F 03
  LDA #$FF           ; $0386: 86 FF
  STA <$1B           ; $0388: 97 1B
  CLR <$00           ; $038A: 0F 00
  LDD <$54           ; $038C: DC 54
  STD <$01           ; $038E: DD 01
  LDU <$58           ; $0390: DE 58
  STU <$06           ; $0392: DF 06
  LBSR Z0006         ; $0394: 17 FC 6F
  BCS Z03B9          ; $0397: 25 20
  LDX ,U             ; $0399: AE C4
  CMPX #$2112        ; $039B: 8C 21 12
  BNE Z03B9          ; $039E: 26 19
  JMP $02,U          ; $03A0: 6E 42

M03A2
  FCC "System Load Aborted" ; $03A2..$03B4
  FCB $0D, $0A, $07, $04    ; $03B5..$03B8 

Z03B9
  LEAX M03A2,PCR     ; $03B9: 30 8C E6
  RTS                ; $03BC: 39

Z03BD
  BSR Z03C5          ; $03BD: 8D 06
  STX ZFE01          ; $03BF: BF FE 01
  INC MFE00          ; $03C2: 7C FE 00
Z03C5
  TST MFE00          ; $03C5: 7D FE 00
  BNE Z03C5          ; $03C8: 26 FB
  RTS                ; $03CA: 39
  
  FDB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ; $03CB..$03F8

  INCA               ; $03F9: 4C
  CLR <$A4           ; $03FA: 0F A4
  STA $09,S          ; $03FC: A7 69

  FDB $F946          ; $03FE: F9 46 (ROM Restart Vector)
 
  LBRA Z0574         ; $0400: 16 01 71
  LBRA Z0615         ; $0403: 16 02 0F
  LBRA Z065A         ; $0406: 16 02 51
  LBRA Z0650         ; $0409: 16 02 44
  LBRA Z07DF         ; $040C: 16 03 D0
  LBRA Z04D8         ; $040F: 16 00 C6
  LBSR Z052B         ; $0412: 17 01 16
  JMP  [ZFE03]       ; $0415: 6E 9F FE 03
  ORCC #$50          ; $0419: 1A 50
  LDS #MFF40         ; $041B: 10 CE FF 40
  LDA #$FE           ; $041F: 86 FE
  TFR A,DP           ; $0421: 1F 8B
  CLR <$00           ; $0423: 0F 00
  CLR <$17           ; $0425: 0F 17
  CLR MFCFC          ; $0427: 7F FC FC
  CLR ME030          ; $042A: 7F E0 30
  LDA #$06           ; $042D: 86 06
Z042F
  STA MFC5E          ; $042F: B7 FC 5E
  SUBA #$02          ; $0432: 80 02
  BPL Z042F          ; $0434: 2A F9
  LDX #$FBEA         ; $0436: 8E FB EA
  STX SWI_INT        ; $0439: BF FF FA
  SWI                ; $043C: 3F
  LDA #$21           ; $043D: 86 21
  LDB #$20           ; $043F: C6 20
  STD <$60           ; $0441: DD 60
  LDX #MFC40         ; $0443: 8E FC 40
Z0446
  STA $08,X          ; $0446: A7 08
  STB ,X+            ; $0448: E7 80
  CMPX #MFC48        ; $044A: 8C FC 48
  BNE Z0446          ; $044D: 26 F7
  LDA #$20           ; $044F: 86 20
  LDX #ZF000         ; $0451: 8E F0 00
Z0454
  LDU #M8000         ; $0454: CE 80 00
  LDB #$04           ; $0457: C6 04
  CMPA #$03          ; $0459: 81 03
  BNE Z045F          ; $045B: 26 02
  LDB #$10           ; $045D: C6 10
Z045F
  CMPA #$02          ; $045F: 81 02
  BNE Z0465          ; $0461: 26 02
  LDB #$06           ; $0463: C6 06
Z0465
  PSHS B             ; $0465: 34 04
  LDB #$20           ; $0467: C6 20
Z0469
  CMPB ,S            ; $0469: E1 E4
  BHI Z0470          ; $046B: 22 03
  LDU #$0000         ; $046D: CE 00 00
Z0470
  STU ,X++           ; $0470: EF 81
  LEAU $01,U         ; $0472: 33 41
  DECB               ; $0474: 5A
  BNE Z0469          ; $0475: 26 F2
  LEAS $01,S         ; $0477: 32 61
  DECA               ; $0479: 4A
  BNE Z0454          ; $047A: 26 D8
  BSR Z04CD          ; $047C: 8D 4F
  LDA #$AA           ; $047E: 86 AA
  CMPA <$3C          ; $0480: 91 3C
  BEQ Z04B9          ; $0482: 27 35
  STA <$3C           ; $0484: 97 3C
  LDY #$0000         ; $0486: 10 8E 00 00
  LDA #$80           ; $048A: 86 80
Z048C
  CLRB               ; $048C: 5F
  STD MF780          ; $048D: FD F7 80
  LDX #$A55A         ; $0490: 8E A5 5A
  STX ,Y             ; $0493: AF A4
  CMPX ,Y            ; $0495: AC A4
  BNE Z04AC          ; $0497: 26 13
Z0499
  STD MF780          ; $0499: FD F7 80
  LDU #$800          ; $049C: CE 08 00
  TFR Y,X            ; $049F: 1F 21
Z04A1
  PSHU Y,X           ; $04A1: 36 30
  PSHU Y,X           ; $04A3: 36 30
  STU -$02,S         ; $04A5: EF 7E
  BNE Z04A1          ; $04A7: 26 F8
  INCB               ; $04A9: 5C
  BPL Z0499          ; $04AA: 2A ED
Z04AC
  INCA               ; $04AC: 4C
  CMPA #$88          ; $04AD: 81 88
  BNE Z048C          ; $04AF: 26 DB
  LDD #M8000         ; $04B1: CC 80 00
  STD MF780          ; $04B4: FD F7 80
  BSR Z04CD          ; $04B7: 8D 14
Z04B9
  LDX #$E000         ; $04B9: 8E E0 00
  STX <$65           ; $04BC: 9F 65
  LDD MFBFC          ; $04BE: FC FB FC
  STD <$67           ; $04C1: DD 67
  LBSR Z0574         ; $04C3: 17 00 AE
  BSR Z052B          ; $04C6: 8D 63
  JSR ZF030          ; $04C8: BD F0 30
  BRA Z04DB          ; $04CB: 20 0E
Z04CD
  LDX #MFC40         ; $04CD: 8E FC 40
  LDA #$08           ; $04D0: 86 08
Z04D2
  LDB ,X+            ; $04D2: E6 80
  DECA               ; $04D4: 4A
  BNE Z04D2          ; $04D5: 26 FB
  RTS                ; $04D7: 39

Z04D8
  CLR MFE00          ; $04D8: 7F FE 00
Z04DB
  CLRA               ; $04DB: 4F
  TFR A,DP           ; $04DC: 1F 8B
  LEAX >M0501,PCR    ; $04DE: 30 8D 00 1F
  STX ZFE09          ; $04E2: BF FE 09
  BRA Z04EA          ; $04E5: 20 03
M04E7
  CLR MFE00          ; $04E7: 7F FE 00
Z04EA
  JSR [ZFE09]        ; $04EA: AD 9F FE 09
  TST MFE00          ; $04EE: 7D FE 00
  BEQ Z04EA          ; $04F1: 27 F7
  PSHS X             ; $04F3: 34 10
  LEAX M04E7,PCR     ; $04F5: 30 8C EF
  STX ZFE03          ; $04F8: BF FE 03
  PULS X             ; $04FB: 35 10
  JMP [ZFE01]        ; $04FD: 6E 9F FE 01
M0501
  PSHS U,Y,X,DP,D    ; $0501: 34 7E
  LDA #$FE           ; $0503: 86 FE
  TFR A,DP           ; $0505: 1F 8B
  LBSR Z0615         ; $0507: 17 01 0B
  LBSR Z0650         ; $050A: 17 01 43
  LBSR Z070D         ; $050D: 17 01 FD
  LBSR Z075C         ; $0510: 17 02 49
  PULS PC,U,Y,X,DP,D ; $0513: 35 FE
Z0515
  LDA ,Y+            ; $0515: A6 A0
  STA ,X+            ; $0517: A7 80
  DECB               ; $0519: 5A
  BNE Z0515          ; $051A: 26 F9
  RTS                ; $051C: 39

M051D
  FDB $0001          ; $051D: 00 01
  FDB $FA6B          ; $051F: FA 6B
  FDB $FE78          ; $0521: FE 78
  FDB $D000          ; $0523: D0 00
  FDB $0000          ; $0525: 00 00
  FDB $1950          ; $0527: 19 50
  FDB $1800          ; $0529: 18 00

Z052B
  PSHS DP            ; $052B: 34 08
  LDA #$FE           ; $052D: 86 FE
  TFR A,DP           ; $052F: 1F 8B
  LEAY M051D,PCR     ; $0531: 31 8C E9
  LDX #MFE72         ; $0534: 8E FE 72
  LDB #$0E           ; $0537: C6 0E
  BSR Z0515          ; $0539: 8D DA
  CLRA               ; $053B: 4F
  STA <$1A           ; $053C: 97 1A
  STA <$1B           ; $053E: 97 1B
  STA <$1C           ; $0540: 97 1C
  STA <$16           ; $0542: 97 16
  STA <$13           ; $0544: 97 13
  STA <$1D           ; $0546: 97 1D
  STA <$18           ; $0548: 97 18
  LBSR Z064A         ; $054A: 17 00 FD
  LDX #$BFC0         ; $054D: 8E BF C0
  STX <$07           ; $0550: 9F 07
  STA <$0B           ; $0552: 97 0B
  STA <$35           ; $0554: 97 35
  STA <$36           ; $0556: 97 36
  STA <$2B           ; $0558: 97 2B
  INCA               ; $055A: 4C
  STA <$1E           ; $055B: 97 1E
  BSR Z0597          ; $055D: 8D 38
  LDX #MFE50         ; $055F: 8E FE 50
  STX <$2E           ; $0562: 9F 2E
  LDX #MFE3D         ; $0564: 8E FE 3D
  STX <$2C           ; $0567: 9F 2C
  LDA #$0D           ; $0569: 86 0D
  STA ,X+            ; $056B: A7 80
  STX <$32           ; $056D: 9F 32
  LBSR Z07DF         ; $056F: 17 02 6D
  PULS PC,DP         ; $0572: 35 88
Z0574
  PSHS DP            ; $0574: 34 08
  LDA #$FE           ; $0576: 86 FE
  TFR A,DP           ; $0578: 1F 8B
  BSR Z05AD          ; $057A: 8D 31
  BSR Z05D1          ; $057C: 8D 53
  CLR ME001          ; $057E: 7F E0 01
  CLR ME005          ; $0581: 7F E0 05
  CLR MFC90          ; $0584: 7F FC 90
  CLR MFC91          ; $0587: 7F FC 91
  LDA #$02           ; $058A: 86 02
  STA MFC90          ; $058C: B7 FC 90
  LDD #$9D11         ; $058F: CC 9D 11
  STD MFC96          ; $0592: FD FC 96
  PULS PC,DP         ; $0595: 35 88

Z0597
  BSR Z05DB          ; $0597: 8D 42

  FDB $004F          ; $0599: 00 4F
  FDB $FC80          ; $059B: FC 80
  FDB $0B1E          ; $059D: 0B 1E
  FDB $FC84          ; $059F: FC 84
  FDB $0A9E          ; $05A1: 0A 9E
  FDB $FC88          ; $05A3: FC 88
  FDB $0A9E          ; $05A5: 0A 9E
  FDB $FC8C          ; $05A7: FC 8C
  FDB $221F          ; $05A9: 22 1F
  FDB $0000          ; $05AB: 00 00

Z05AD
  BSR Z05DB          ; $05AD: 8D 2C

  FDB $0040          ; $05AF: 00 40
  FDB $FCF0          ; $05B1: FC F0
  FDB $0F82          ; $05B3: 0F 82
  FDB $0FFF          ; $05B5: 0F FF
  FDB $FCF8          ; $05B7: FC F8
  FDB $0000          ; $05B9: 00 00
  FDB $0000          ; $05BB: 00 00
  FDB $FCC4          ; $05BD: FC C4
  FDB $001A          ; $05BF: 00 1A
  FDB $FF1E          ; $05C1: FF 1E
  FDB $E020          ; $05C3: E0 20
  FDB $FF80          ; $05C5: FF 80
  FDB $FFFF          ; $05C7: FF FF
  FDB $E008          ; $05C9: E0 08
  FDB $0000          ; $05CB: 00 00
  FDB $FFFF          ; $05CD: FF FF
  FDB $0000          ; $05CF: 00 00

Z05D1
  BSR Z05DB          ; $05D1: 8D 08

  FDB $0035          ; $05D3: 00 35
  FDB $FCC8          ; $05D5: FC C8
  FDB $FC90          ; $05D7: FC 90
  FDB $0000          ; $05D9: 00 00

Z05DB
  PULS U             ; $05DB: 35 40
  PULU D             ; $05DD: 37 06
  LEAY D,U           ; $05DF: 31 CB
Z05E1
  LDX ,U++           ; $05E1: AE C1
  BEQ Z05E9          ; $05E3: 27 04
  JSR ,Y             ; $05E5: AD A4
  BRA Z05E1          ; $05E7: 20 F8
Z05E9
  RTS                ; $05E9: 39

  CLR $01,X          ; $05EA: 6F 01
  PULU D             ; $05EC: 37 06
  STD $02,X          ; $05EE: ED 02
  RTS                ; $05F0: 39

  LDA #$04           ; $05F1: 86 04
  BSR Z05FF          ; $05F3: 8D 0A
  CLRA               ; $05F5: 4F
  BSR Z05FF          ; $05F6: 8D 07
  LDA #$04           ; $05F8: 86 04
  STA $01,X          ; $05FA: A7 01
  STA $03,X          ; $05FC: A7 03
  RTS                ; $05FE: 39

Z05FF
  STA $01,X          ; $05FF: A7 01
  STA $03,X          ; $0601: A7 03
  PULU D             ; $0603: 37 06
  STA ,X             ; $0605: A7 84
  STB $02,X          ; $0607: E7 02
  RTS                ; $0609: 39

  CLR $01,X          ; $060A: 6F 01
  CLR ,X             ; $060C: 6F 84
  LDA #$01           ; $060E: 86 01
  STA $01,X          ; $0610: A7 01
  STA ,X             ; $0612: A7 84
  RTS                ; $0614: 39

Z0615
  LDB MFC91          ; $0615: F6 FC 91
  BITB #$04          ; $0618: C5 04
  BEQ Z0649          ; $061A: 27 2D
  LDB MFC96          ; $061C: F6 FC 96
  LDX #MFE34         ; $061F: 8E FE 34
  CLRA               ; $0622: 4F
Z0623
  TST A,X            ; $0623: 6D 86
  BEQ Z0644          ; $0625: 27 1D
  DEC A,X            ; $0627: 6A 86
  BNE Z0644          ; $0629: 26 19
  TST MFE1E          ; $062B: 7D FE 1E
  BMI Z0644          ; $062E: 2B 14
  CMPA #$02          ; $0630: 81 02
  BNE Z0644          ; $0632: 26 10
  LDB MFC86          ; $0634: F6 FC 86
  ANDB #$FE          ; $0637: C4 FE
  STB MFC86          ; $0639: F7 FC 86
  LDB MFC8A          ; $063C: F6 FC 8A
  ANDB #$FE          ; $063F: C4 FE
  STB MFC8A          ; $0641: F7 FC 8A
Z0644
  INCA               ; $0644: 4C
  CMPA #$04          ; $0645: 81 04
  BNE Z0623          ; $0647: 26 DA
Z0649
  RTS                ; $0649: 39

Z064A
  STA <$0C           ; $064A: 97 0C
  STA MFCC4          ; $064C: B7 FC C4
  RTS                ; $064F: 39

Z0650
  LDA <$1D           ; $0650: 96 1D
  BEQ Z066B          ; $0652: 27 17
  CLR <$1D           ; $0654: 0F 1D
  LDX <$76           ; $0656: 9E 76
  BRA Z065D          ; $0658: 20 03
Z065A
  LDX #MFE78         ; $065A: 8E FE 78
Z065D
  PSHS U             ; $065D: 34 40
  LEAU ,X            ; $065F: 33 84
  BSR Z0665          ; $0661: 8D 02
  PULS PC,U          ; $0663: 35 C0
Z0665
  TST <$73           ; $0665: 0D 73
  BMI Z066C          ; $0667: 2B 03
  BNE Z0670          ; $0669: 26 05
Z066B
  RTS                ; $066B: 39

Z066C
  JMP [ZFE74]        ; $066C: 6E 9F FE 74
Z0670
  PSHS A             ; $0670: 34 02
  LDB $06,U          ; $0672: E6 46
  BSR Z0696          ; $0674: 8D 20
  BSR Z0689          ; $0676: 8D 11
  PULS A             ; $0678: 35 02
  CMPA #$20          ; $067A: 81 20
  BCS Z0687          ; $067C: 25 09
  CMPA #$7F          ; $067E: 81 7F
  BEQ Z0687          ; $0680: 27 05
  STA B,X            ; $0682: A7 85
  BSR Z06BE          ; $0684: 8D 38

  FCB $8C            ; $0686: 8C
  
Z0687
  BSR Z069E          ; $0687: 8D 15

Z0689
  LDB $07,U          ; $0689: E6 47
  TST $02,U          ; $068B: 6D 42
  BMI Z0695          ; $068D: 2B 06
  LDA B,X            ; $068F: A6 85
  EORA #$80          ; $0691: 88 80
  STA B,X            ; $0693: A7 85
Z0695
  RTS                ; $0695: 39

Z0696
  LDA #$50           ; $0696: 86 50
  MUL                ; $0698: 3D
  LDX ,U             ; $0699: AE C4
  LEAX D,X           ; $069B: 30 8B
  RTS                ; $069D: 39

Z069E
  CMPA #$0D          ; $069E: 81 0D
  BEQ Z06D9          ; $06A0: 27 37
  CMPA #$0A          ; $06A2: 81 0A
  BEQ Z06DC          ; $06A4: 27 36
  CMPA #$0C          ; $06A6: 81 0C
  BEQ Z06CC          ; $06A8: 27 22
  CMPA #$08          ; $06AA: 81 08
  BEQ Z06C6          ; $06AC: 27 18
  CMPA #$09          ; $06AE: 81 09
  BEQ Z06BE          ; $06B0: 27 0C
  CMPA #$01          ; $06B2: 81 01
  BNE Z0695          ; $06B4: 26 DF
  LDB $03,U          ; $06B6: E6 43
  STB $06,U          ; $06B8: E7 46
  BSR Z0696          ; $06BA: 8D DA
  BRA Z06D9          ; $06BC: 20 1B
Z06BE
  INCB               ; $06BE: 5C
  CMPB $05,U         ; $06BF: E1 45
  BCC Z06C5          ; $06C1: 24 02
  STB $07,U          ; $06C3: E7 47
Z06C5
  RTS                ; $06C5: 39

Z06C6
  TSTB               ; $06C6: 5D
  BEQ Z06CB          ; $06C7: 27 02
  DEC $07,U          ; $06C9: 6A 47
Z06CB
  RTS                ; $06CB: 39

Z06CC
  LDB $04,U          ; $06CC: E6 44
Z06CE
  DECB               ; $06CE: 5A
  STB $06,U          ; $06CF: E7 46
  BSR Z0700          ; $06D1: 8D 2D
  LDB $06,U          ; $06D3: E6 46
  CMPB $03,U         ; $06D5: E1 43
  BNE Z06CE          ; $06D7: 26 F5
Z06D9
  CLR $07,U          ; $06D9: 6F 47
  RTS                ; $06DB: 39

Z06DC
  LDB $06,U          ; $06DC: E6 46
  INCB               ; $06DE: 5C
  CMPB $04,U         ; $06DF: E1 44
  BNE Z06FE          ; $06E1: 26 1B
  LDB $03,U          ; $06E3: E6 43
  BRA Z06F8          ; $06E5: 20 11
Z06E7
  PSHS B             ; $06E7: 34 04
  BSR Z0696          ; $06E9: 8D AB
  LDB $05,U          ; $06EB: E6 45
Z06ED
  LDA $50,X          ; $06ED: A6 88 50
  STA ,X+            ; $06F0: A7 80
  DECB               ; $06F2: 5A
  BNE Z06ED          ; $06F3: 26 F8
  PULS B             ; $06F5: 35 04
  INCB               ; $06F7: 5C
Z06F8
  CMPB $06,U         ; $06F8: E1 46
  BCS Z06E7          ; $06FA: 25 EB
  BRA Z0700          ; $06FC: 20 02
Z06FE
  STB $06,U          ; $06FE: E7 46
Z0700
  BSR Z0696          ; $0700: 8D 94
  LDA #$20           ; $0702: 86 20
  LDB $05,U          ; $0704: E6 45
Z0706
  DECB               ; $0706: 5A
  STA B,X            ; $0707: A7 85
  TSTB               ; $0709: 5D
  BNE Z0706          ; $070A: 26 FA
  RTS                ; $070C: 39

Z070D
  TST <$1E           ; $070D: 0D 1E
  BMI Z075B          ; $070F: 2B 4A
  LDX #MFC84         ; $0711: 8E FC 84
  LDB <$13           ; $0714: D6 13
  ASLB               ; $0716: 58
  ASLB               ; $0717: 58
  LEAX B,X           ; $0718: 30 85
  LDA <$18           ; $071A: 96 18
  BEQ Z0736          ; $071C: 27 18
  LDB <$13           ; $071E: D6 13
  BMI Z0736          ; $0720: 2B 14
  LDB <$1C           ; $0722: D6 1C
  CMPB #$0B          ; $0724: C1 0B
  BNE Z072C          ; $0726: 26 04
  CLR <$18           ; $0728: 0F 18
  BRA Z0757          ; $072A: 20 2B
Z072C
  LDB $02,X          ; $072C: E6 02
  ORB #$01           ; $072E: CA 01
  STB $02,X          ; $0730: E7 02
  LDB #$FF           ; $0732: C6 FF
  STB <$36           ; $0734: D7 36
Z0736
  LDB $01,X          ; $0736: E6 01
  BITB #$40          ; $0738: C5 40
  BNE Z0753          ; $073A: 26 17
  BITB #$10          ; $073C: C5 10
  BEQ Z0753          ; $073E: 27 13
  LDB #$C8           ; $0740: C6 C8
  STB <$35           ; $0742: D7 35
  TSTA               ; $0744: 4D
  BEQ Z075B          ; $0745: 27 14
  CLRB               ; $0747: 5F
  STB <$18           ; $0748: D7 18
  ANDA #$7F          ; $074A: 84 7F
  STA ,X             ; $074C: A7 84
Z074E
  DECB               ; $074E: 5A
  BNE Z074E          ; $074F: 26 FD
  BRA Z075B          ; $0751: 20 08
Z0753
  TST <$36           ; $0753: 0D 36
  BNE Z075B          ; $0755: 26 04
Z0757
  LDB #$C8           ; $0757: C6 C8
  STB <$35           ; $0759: D7 35
Z075B
  RTS                ; $075B: 39

Z075C
  LDB <$1E           ; $075C: D6 1E
  BMI Z0781          ; $075E: 2B 21
  LDA MFC81          ; $0760: B6 FC 81
  BITA #$02          ; $0763: 85 02
  BEQ Z0778          ; $0765: 27 11
  LDA MFC80          ; $0767: B6 FC 80
  LDA <$1B           ; $076A: 96 1B
  BNE Z0781          ; $076C: 26 13
  COMA               ; $076E: 43
  STA <$1A           ; $076F: 97 1A
  TSTB               ; $0771: 5D
  BEQ Z0781          ; $0772: 27 0D
  STA <$1B           ; $0774: 97 1B
  BRA Z07A7          ; $0776: 20 2F
Z0778
  TSTB               ; $0778: 5D
  BNE Z0782          ; $0779: 26 07
  CLR <$1C           ; $077B: 0F 1C
  ANDA #$08          ; $077D: 84 08
  STA <$19           ; $077F: 97 19
Z0781
  RTS                ; $0781: 39

Z0782
  BITA #$08          ; $0782: 85 08
  BEQ Z07BD          ; $0784: 27 37
  LDA MFC80          ; $0786: B6 FC 80
  BEQ Z07BD          ; $0789: 27 32
  BPL Z0791          ; $078B: 2A 04
  TST <$2B           ; $078D: 0D 2B
  BEQ Z07BD          ; $078F: 27 2C
Z0791
  STA <$1C           ; $0791: 97 1C
  STA <$2A           ; $0793: 97 2A
  CMPA #$0B          ; $0795: 81 0B
  BEQ Z07BD          ; $0797: 27 24
  CLR <$1A           ; $0799: 0F 1A
  CLR <$1B           ; $079B: 0F 1B
  CMPA #$01          ; $079D: 81 01
  BEQ Z07DF          ; $079F: 27 3E
  CMPA #$17          ; $07A1: 81 17
  BNE Z07A9          ; $07A3: 26 04
  STA <$1A           ; $07A5: 97 1A
Z07A7
  BRA Z07DF          ; $07A7: 20 36
Z07A9
  TST <$29           ; $07A9: 0D 29
  BNE Z07BD          ; $07AB: 26 10
  LDX <$32           ; $07AD: 9E 32
  STA ,X             ; $07AF: A7 84
  BSR Z07D6          ; $07B1: 8D 23
  STX <$32           ; $07B3: 9F 32
  CMPX <$30          ; $07B5: 9C 30
  BNE Z07BD          ; $07B7: 26 04
  LDA #$FF           ; $07B9: 86 FF
  STA <$29           ; $07BB: 97 29
Z07BD
  LDA <$19           ; $07BD: 96 19
  BNE Z07D5          ; $07BF: 26 14
  LDX <$30           ; $07C1: 9E 30
  CMPX <$32          ; $07C3: 9C 32
  BNE Z07CB          ; $07C5: 26 04
  LDA <$29           ; $07C7: 96 29
  BEQ Z07D5          ; $07C9: 27 0A
Z07CB
  CLR <$29           ; $07CB: 0F 29
  LDA ,X             ; $07CD: A6 84
  STA <$19           ; $07CF: 97 19
  BSR Z07D6          ; $07D1: 8D 03
  STX <$30           ; $07D3: 9F 30
Z07D5
  RTS                ; $07D5: 39

Z07D6
  LEAX $01,X         ; $07D6: 30 01
  CMPX <$2E          ; $07D8: 9C 2E
  BNE Z07DE          ; $07DA: 26 02
  LDX <$2C           ; $07DC: 9E 2C
Z07DE
  RTS                ; $07DE: 39

Z07DF
  LDX <$32           ; $07DF: 9E 32
  STX <$30           ; $07E1: 9F 30
  CLR <$2A           ; $07E3: 0F 2A
  CLR <$19           ; $07E5: 0F 19
  CLR <$29           ; $07E7: 0F 29
  RTS                ; $07E9: 39
  RTI                ; $07EA: 3B

  FCB 0              ; $07EB: 00
  FDB 0              ; $07EC: 00 00
  FDB 0              ; $07EE: 00 00

                     ; $FFF0..$FFFF Interrupt Vectors
  FDB $0000          ; $07F0: 00 00: Reserved
  FDB $0000          ; $07F2: 00 00: SWI3 (Software Interrupt 3)
  FDB $0000          ; $07F4: 00 00: SWI2 (Software Interrupt 3)
  FDB $0000          ; $07F6: 00 00: FIRQ (Fast Interrupt Request)
  FDB $0000          ; $07F8: 00 00: IRQ (Interrupt Request)
  FDB $0000          ; $07FA: 00 00: SWI (Software Interrupt)
  FDB $0152          ; $07FC: 01 52: NMI (Non Maskable Interrupt)
  FDB $F819          ; $07FE: F8 19: RES (Reset)