Final Fantasy VI/ROM map/Assembly C08: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(assembly C08)
 
m (Xkeeper moved page Final Fantasy VI:ROM map/Assembly C08 to Final Fantasy VI/ROM map/Assembly C08: normalize subpages and titles)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
DTE character decoder/displayer:
{{subpage|game=Final Fantasy VI:ROM map}}
==C0/8067 DTE character decoder/displayer==
  C0/8067: A5CF    LDA $CF
  C0/8067: A5CF    LDA $CF
  C0/8069: 48      PHA
  C0/8069: 48      PHA
Line 40: Line 41:
  C0/80B0: A400    LDY $00
  C0/80B0: A400    LDY $00
  C0/80B2: B7C9    LDA [$C9],Y
  C0/80B2: B7C9    LDA [$C9],Y
  C0/80B4: C920    CMP #$20      (<-- THIS IS HOW IT KNOWS WHERE TO STOP LOOKING FOR CHARACTER NAMES!!!)
  C0/80B4: C920    CMP #$20      (STOP LOOKING FOR CHARACTER NAMES!!!)
  C0/80B6: 9024    BCC $80DC
  C0/80B6: 9024    BCC $80DC
  C0/80B8: C97F    CMP #$7F
  C0/80B8: C97F    CMP #$7F
Line 62: Line 63:
  C0/80D9: 85CF    STA $CF
  C0/80D9: 85CF    STA $CF
  C0/80DB: 60      RTS
  C0/80DB: 60      RTS
==C0/80DC character name decoder/displayer==
Character name decoder/displayer:
  C0/80DC: C91A    CMP #$1A      (Is it 26? <the item packing character>)
  C0/80DC: C91A    CMP #$1A      (Is it 26? <the item packing character>)
  C0/80DE: F038    BEQ $8118      (If it is, go to the item area)
  C0/80DE: F038    BEQ $8118      (If it is, go to the item area)
Line 94: Line 94:
  C0/8114: D0E7    BNE $80FD      (If it is not 0, branch -> do it again)
  C0/8114: D0E7    BNE $80FD      (If it is not 0, branch -> do it again)
  C0/8116: 80BA    BRA $80D2      (Otherwise, exit)
  C0/8116: 80BA    BRA $80D2      (Otherwise, exit)
==C0/8118 unknow==
  Something to do with getting an item name for treasure chests
  Something to do with getting an item name for treasure chests
  C0/8118: AD8305  LDA $0583      (Item index?)
  C0/8118: AD8305  LDA $0583      (Item index?)
Line 121: Line 121:
  C0/8148: D0E4    BNE $812E
  C0/8148: D0E4    BNE $812E
  C0/814A: 8086    BRA $80D2
  C0/814A: 8086    BRA $80D2
==C0/814C unknow==
  C0/814C: C220    REP #$20      (16 bit accum./memory)
  C0/814C: C220    REP #$20      (16 bit accum./memory)
  C0/814E: A500    LDA $00
  C0/814E: A500    LDA $00
Line 141: Line 141:
  C0/817E: D001    BNE $8181
  C0/817E: D001    BNE $8181
  C0/8180: 60      RTS
  C0/8180: 60      RTS
 
 
  C0/8181: AE6905  LDX $0569
  C0/8181: AE6905  LDX $0569
  C0/8184: F005    BEQ $818B
  C0/8184: F005    BEQ $818B
Line 147: Line 147:
  C0/8187: 8E6905  STX $0569
  C0/8187: 8E6905  STX $0569
  C0/818A: 60      RTS
  C0/818A: 60      RTS
 
 
  C0/818B: AE6B05  LDX $056B
  C0/818B: AE6B05  LDX $056B
  C0/818E: F01F    BEQ $81AF
  C0/818E: F01F    BEQ $81AF
Line 168: Line 168:
  C0/81B1: D003    BNE $81B6
  C0/81B1: D003    BNE $81B6
  C0/81B3: 4C3B82  JMP $823B
  C0/81B3: 4C3B82  JMP $823B
 
  C0/81B6: AD6F05  LDA $056F
  C0/81B6: AD6F05  LDA $056F
  C0/81B9: C902    CMP #$02
  C0/81B9: C902    CMP #$02
Line 234: Line 234:
  C0/823F: C6CC    DEC $CC
  C0/823F: C6CC    DEC $CC
  C0/8241: 60      RTS
  C0/8241: 60      RTS
 
 
  C0/8242: AD6805  LDA $0568  (from C0/823D)
  C0/8242: AD6805  LDA $0568  (from C0/823D)
  C0/8245: 1006    BPL $824D
  C0/8245: 1006    BPL $824D
Line 240: Line 240:
  C0/8249: 9C6805  STZ $0568
  C0/8249: 9C6805  STZ $0568
  C0/824C: 60      RTS
  C0/824C: 60      RTS
 
 
  C0/824D: 206780  JSR $8067 (from C0/8245)
  C0/824D: 206780  JSR $8067 (from C0/8245)
  C0/8250: A5BF    LDA $BF
  C0/8250: A5BF    LDA $BF
Line 250: Line 250:
  C0/825B: 201A85  JSR $851A      (JMP fool!)
  C0/825B: 201A85  JSR $851A      (JMP fool!)
  C0/825E: 60      RTS
  C0/825E: 60      RTS
 
 
  C0/825F: A5CF    LDA $CF (from C0/8259)
  C0/825F: A5CF    LDA $CF (from C0/8259)
  C0/8261: 3021    BMI $8284
  C0/8261: 3021    BMI $8284
Line 263: Line 263:
  C0/8277: E6CF    INC $CF
  C0/8277: E6CF    INC $CF
  C0/8279: 60      RTS
  C0/8279: 60      RTS
 
 
  C0/827A: A980    LDA #$80 (from C0/8272)
  C0/827A: A980    LDA #$80 (from C0/8272)
  C0/827C: 85CF    STA $CF
  C0/827C: 85CF    STA $CF
  C0/827E: 20D084  JSR $84D0
  C0/827E: 20D084  JSR $84D0
  C0/8281: 4C9D82  JMP $829D      (BRA fool!)
  C0/8281: 4C9D82  JMP $829D      (BRA fool!)
==C0/8284 unknow==
  C0/8284: A400    LDY $00        (from C0/8261)
  C0/8284: A400    LDY $00        (from C0/8261)
  C0/8286: B7C9    LDA [$C9],Y    (load a letter)
  C0/8286: B7C9    LDA [$C9],Y    (load a letter)
Line 278: Line 278:
  C0/8291: 3007    BMI $829A      (branch if DTE?)
  C0/8291: 3007    BMI $829A      (branch if DTE?)
  C0/8293: C920    CMP #$20      (compare to the first letter)
  C0/8293: C920    CMP #$20      (compare to the first letter)
  C0/8295: 901E    BCC $82B5      (branch if less than, which means to check for the control codes)
  C0/8295: 901E    BCC $82B5      (check for the control codes)
  C0/8297: 4C5A84  JMP $845A
  C0/8297: 4C5A84  JMP $845A
  C0/829A: 4C6684  JMP $8466 (from C0/8291)
  C0/829A: 4C6684  JMP $8466 (from C0/8291)
==C0/829D advance the dialogue one byte==
Advance the dialogue one byte
  C0/829D: A901    LDA #$01 (from C0/8281)
  C0/829D: A901    LDA #$01 (from C0/8281)
  C0/829F: 8002    BRA $82A3
  C0/829F: 8002    BRA $82A3
==C0/82A1 advance the dialogue two bytes==
Advance the dialogue two bytes
  C0/82A1: A902    LDA #$02
  C0/82A1: A902    LDA #$02
  C0/82A3: 18      CLC (from C0/829F)
  C0/82A3: 18      CLC (from C0/829F)
Line 299: Line 296:
  C0/82B2: 85CB    STA $CB
  C0/82B2: 85CB    STA $CB
  C0/82B4: 60      RTS
  C0/82B4: 60      RTS
 
==C0/82B5 unknow==
  Control code checking, 00 is null termination
  Control code checking, 00 is null termination
  C0/82B5: C900    CMP #$00 (from C0/8295)
  C0/82B5: C900    CMP #$00 (from C0/8295)
Line 307: Line 304:
  C0/82BE: 8D6805  STA $0568      (flag dialogue box ok to close)
  C0/82BE: 8D6805  STA $0568      (flag dialogue box ok to close)
  C0/82C1: 60      RTS
  C0/82C1: 60      RTS
 
==C0/82C2 unknow==
  New line's control code
  New line's control code
  C0/82C2: C901    CMP #$01 (from C0/82B7)
  C0/82C2: C901    CMP #$01 (from C0/82B7)
Line 313: Line 310:
  C0/82C6: 201A85  JSR $851A
  C0/82C6: 201A85  JSR $851A
  C0/82C9: 4C9D82  JMP $829D
  C0/82C9: 4C9D82  JMP $829D
==C0/82CC control codes for dialogue==
This is where they should've used a jump table for the control codes...
  C0/82CC: C910    CMP #$10 (from C0/82C4)
  C0/82CC: C910    CMP #$10 (from C0/82C4)
  C0/82CE: B032    BCS $8302
  C0/82CE: B032    BCS $8302
Line 342: Line 338:
  C0/82FD: 64CF    STZ $CF
  C0/82FD: 64CF    STZ $CF
  C0/82FF: 4C6382  JMP $8263
  C0/82FF: 4C6382  JMP $8263
==C0/8302 pause for button input's control code==
Pause for button input's control code
  C0/8302: C910    CMP #$10 (from C0/82CE)
  C0/8302: C910    CMP #$10 (from C0/82CE)
  C0/8304: D009    BNE $830F
  C0/8304: D009    BNE $830F
Line 349: Line 344:
  C0/8309: 8E6905  STX $0569      (time to wait before dialogue continues printing)
  C0/8309: 8E6905  STX $0569      (time to wait before dialogue continues printing)
  C0/830C: 4C9D82  JMP $829D
  C0/830C: 4C9D82  JMP $829D
==C0/830F non-interruptable pause's control code==
Non-interruptable pause's control code
  C0/830F: C911    CMP #$11 (from C0/8304)
  C0/830F: C911    CMP #$11 (from C0/8304)
  C0/8311: D017    BNE $832A
  C0/8311: D017    BNE $832A
Line 364: Line 358:
  C0/8324: 8E6905  STX $0569      (time to wait before dialogue continues printing)
  C0/8324: 8E6905  STX $0569      (time to wait before dialogue continues printing)
  C0/8327: 4CA182  JMP $82A1
  C0/8327: 4CA182  JMP $82A1
==C0/832A end parameter's control code==
End parameter's control code
  C0/832A: C912    CMP #$12 (from C0/8311)
  C0/832A: C912    CMP #$12 (from C0/8311)
  C0/832C: D009    BNE $8337
  C0/832C: D009    BNE $8337
Line 371: Line 364:
  C0/8331: 8E6B05  STX $056B
  C0/8331: 8E6B05  STX $056B
  C0/8334: 4C9D82  JMP $829D
  C0/8334: 4C9D82  JMP $829D
==C0/8337 new page's control code==
New page's control code
  C0/8337: C913    CMP #$13 (from C0/832C)
  C0/8337: C913    CMP #$13 (from C0/832C)
  C0/8339: D006    BNE $8341
  C0/8339: D006    BNE $8341
  C0/833B: 205485  JSR $8554
  C0/833B: 205485  JSR $8554
  C0/833E: 4C9D82  JMP $829D
  C0/833E: 4C9D82  JMP $829D
==C0/8341 tab's control code==
Tab's control code
  C0/8341: C914    CMP #$14 (from C0/8339)
  C0/8341: C914    CMP #$14 (from C0/8339)
  C0/8343: D01D    BNE $8362
  C0/8343: D01D    BNE $8362
Line 394: Line 385:
  C0/835D: 64CF    STZ $CF
  C0/835D: 64CF    STZ $CF
  C0/835F: 4C9D82  JMP $829D
  C0/835F: 4C9D82  JMP $829D
==C0/8362 selectable option's control code==
Selectable option's control code
  C0/8362: C915    CMP #$15 (from C0/8343)
  C0/8362: C915    CMP #$15 (from C0/8343)
  C0/8364: D019    BNE $837F
  C0/8364: D019    BNE $837F
Line 410: Line 400:
  C0/8379: EE6F05  INC $056F
  C0/8379: EE6F05  INC $056F
  C0/837C: 4C5A84  JMP $845A
  C0/837C: 4C5A84  JMP $845A
==C0/837F interruptable pause's control code==
Interruptable pause's control code
  C0/837F: C916    CMP #$16 (from C0/8364)
  C0/837F: C916    CMP #$16 (from C0/8364)
  C0/8381: D021    BNE $83A4
  C0/8381: D021    BNE $83A4
Line 429: Line 418:
  C0/839F: 85D3    STA $D3
  C0/839F: 85D3    STA $D3
  C0/83A1: 4CA182  JMP $82A1
  C0/83A1: 4CA182  JMP $82A1
==C0/83A4 amount of GP found in treasure chests==
Amount of GP found in treasure chests
  C0/83A4: C919    CMP #$19 (from C0/8381)
  C0/83A4: C919    CMP #$19 (from C0/8381)
  C0/83A6: D02B    BNE $83D3
  C0/83A6: D02B    BNE $83D3
Line 453: Line 441:
  C0/83CE: 64CF    STZ $CF
  C0/83CE: 64CF    STZ $CF
  C0/83D0: 4C6382  JMP $8263
  C0/83D0: 4C6382  JMP $8263
==C0/83D3 getting the item name for treasure chests==
Something to do with getting the item name for treasure chests
  C0/83D3: C91A    CMP #$1A (from C0/83A6)
  C0/83D3: C91A    CMP #$1A (from C0/83A6)
  C0/83D5: D038    BNE $840F
  C0/83D5: D038    BNE $840F
Line 486: Line 473:
  C0/840A: 64CF    STZ $CF
  C0/840A: 64CF    STZ $CF
  C0/840C: 4C6382  JMP $8263
  C0/840C: 4C6382  JMP $8263
==C0/840F learning spells (unused?)==
Something to do with learning spells, but not used (see the multipliers)
  C0/840F: C91B    CMP #$1B (from C0/83D5)
  C0/840F: C91B    CMP #$1B (from C0/83D5)
  C0/8411: D038    BNE $844B
  C0/8411: D038    BNE $844B
Line 519: Line 505:
  C0/8446: 64CF    STZ $CF
  C0/8446: 64CF    STZ $CF
  C0/8448: 4C6382  JMP $8263
  C0/8448: 4C6382  JMP $8263
==C0/844B unknow==
  C0/844B: 38      SEC (from C0/8411)
  C0/844B: 38      SEC (from C0/8411)
  C0/844C: E91B    SBC #$1B
  C0/844C: E91B    SBC #$1B
Line 527: Line 513:
  C0/8454: 20D084  JSR $84D0
  C0/8454: 20D084  JSR $84D0
  C0/8457: 4CA182  JMP $82A1
  C0/8457: 4CA182  JMP $82A1
==C0/845A unknow==
  C0/845A: A5BD    LDA $BD
  C0/845A: A5BD    LDA $BD
  C0/845C: 85CD    STA $CD
  C0/845C: 85CD    STA $CD
Line 533: Line 519:
  C0/8460: 20D084  JSR $84D0
  C0/8460: 20D084  JSR $84D0
  C0/8463: 4C9D82  JMP $829D
  C0/8463: 4C9D82  JMP $829D
==C0/8466 unknow==
  C0/8466: 297F    AND #$7F
  C0/8466: 297F    AND #$7F
  C0/8468: 0A      ASL A
  C0/8468: 0A      ASL A
Line 550: Line 536:
  C0/8485: 64CF    STZ $CF
  C0/8485: 64CF    STZ $CF
  C0/8487: 4C6382  JMP $8263
  C0/8487: 4C6382  JMP $8263
==C0/848A unknow==
  C0/848A: A97E    LDA #$7E (from C0/BEBF)
  C0/848A: A97E    LDA #$7E (from C0/BEBF)
  C0/848C: 8D8321  STA $2183
  C0/848C: 8D8321  STA $2183
Line 583: Line 569:
  C0/84CD: D0E1    BNE $84B0
  C0/84CD: D0E1    BNE $84B0
  C0/84CF: 60      RTS
  C0/84CF: 60      RTS
 
==C0/84D0 unknow==
  C0/84D0: A6CD    LDX $CD (from C0/8274, C0/827E, C0/8454, C0/8460)
  C0/84D0: A6CD    LDX $CD (from C0/8274, C0/827E, C0/8454, C0/8460)
  C0/84D2: BFC08FC4 LDA $C48FC0,X (load width for variable font cell)
  C0/84D2: BFC08FC4 LDA $C48FC0,X (load width for variable font cell)
Line 592: Line 578:
  C0/84DD: 201A85  JSR $851A      (JMP fool!)
  C0/84DD: 201A85  JSR $851A      (JMP fool!)
  C0/84E0: 60      RTS
  C0/84E0: 60      RTS
 
==C0/84E1 unknow==
  C0/84E1: 208A89  JSR $898A (from C0/84DB)
  C0/84E1: 208A89  JSR $898A (from C0/84DB)
  C0/84E4: 20D388  JSR $88D3
  C0/84E4: 20D388  JSR $88D3
Line 619: Line 605:
  C0/8517: 85BF    STA $BF
  C0/8517: 85BF    STA $BF
  C0/8519: 60      RTS
  C0/8519: 60      RTS
 
==C0/851A unknow== 
  C0/851A: A9FF    LDA #$FF (from C0/825B, C0/82C6, C0/84DD)
  C0/851A: A9FF    LDA #$FF (from C0/825B, C0/82C6, C0/84DD)
  C0/851C: 85CD    STA $CD
  C0/851C: 85CD    STA $CD
Line 646: Line 632:
  C0/8551: 85D3    STA $D3
  C0/8551: 85D3    STA $D3
  C0/8553: 60      RTS
  C0/8553: 60      RTS
 
==C0/8554 unknow==
  C0/8554: A9FF    LDA #$FF (from C0/82B9, C0/833B)
  C0/8554: A9FF    LDA #$FF (from C0/82B9, C0/833B)
  C0/8556: 85CD    STA $CD
  C0/8556: 85CD    STA $CD
Line 666: Line 652:
  C0/857B: 85D3    STA $D3
  C0/857B: 85D3    STA $D3
  C0/857D: 60      RTS
  C0/857D: 60      RTS
 
==C0/857E unknow==
  C0/857E: 9C0B42  STZ $420B      (from C0/7FBB, turn off DMA)
  C0/857E: 9C0B42  STZ $420B      (from C0/7FBB, turn off DMA)
  C0/8581: A20038  LDX #$3800
  C0/8581: A20038  LDX #$3800
Line 686: Line 672:
  C0/85AC: 8D0B42  STA $420B      (turn on channel 1 of DMA)
  C0/85AC: 8D0B42  STA $420B      (turn on channel 1 of DMA)
  C0/85AF: 60      RTS
  C0/85AF: 60      RTS
 
==C0/85B0 unknow==
  C0/85B0: A5CC    LDA $CC
  C0/85B0: A5CC    LDA $CC
  C0/85B2: F03E    BEQ $85F2
  C0/85B2: F03E    BEQ $85F2
Line 716: Line 702:
  C0/85EF: 8D0B42  STA $420B      (turn on channel 1 of DMA)
  C0/85EF: 8D0B42  STA $420B      (turn on channel 1 of DMA)
  C0/85F2: 60      RTS
  C0/85F2: 60      RTS
 
==C0/85F3 unknow==
Data (unknown length or function)
  C0/85F3: E03E
  C0/85F3: E03E
  C0/85F5: 003E
  C0/85F5: 003E
Line 727: Line 711:
  C0/85FF: E038
  C0/85FF: E038
  C0/8501: 0038
  C0/8501: 0038
==C0/8603 unknow==
  C0/8603: A5C5    LDA $C5
  C0/8603: A5C5    LDA $C5
  C0/8605: F03A    BEQ $8641
  C0/8605: F03A    BEQ $8641
Line 754: Line 738:
  C0/863E: 8D0B42  STA $420B
  C0/863E: 8D0B42  STA $420B
  C0/8641: 60      RTS
  C0/8641: 60      RTS
 
==C0/8642 unknow==
  C0/8642: A97E    LDA #$7E (from C0/84E7)
  C0/8642: A97E    LDA #$7E (from C0/84E7)
  C0/8644: 48      PHA
  C0/8644: 48      PHA
Line 874: Line 858:
  C0/8798: AB      PLB
  C0/8798: AB      PLB
  C0/8799: 60      RTS
  C0/8799: 60      RTS
 
==C0/879A unknow==
  C0/879A: A28390  LDX #$9083
  C0/879A: A28390  LDX #$9083
  C0/879D: 8E8121  STX $2181
  C0/879D: 8E8121  STX $2181
Line 929: Line 913:
  C0/882E: 9C8021  STZ $2180
  C0/882E: 9C8021  STZ $2180
  C0/8831: 60      RTS
  C0/8831: 60      RTS
 
==C0/8832 unknow==
Data
  C0/8832: 203038  JSR $3830
  C0/8832: 203038  JSR $3830
  C0/8835: 3C3E3F  BIT $3F3E,X
  C0/8835: 3C3E3F  BIT $3F3E,X
Line 936: Line 919:
  C0/883B: 3020    BMI $885D
  C0/883B: 3020    BMI $885D
  C0/883D: 00
  C0/883D: 00
==C0/883E unknow==
  C0/883E: AD8205  LDA $0582
  C0/883E: AD8205  LDA $0582
  C0/8841: F065   
  C0/8841: ??????          ????
C0/8842: 9C    ADC $9C
  C0/8844: 8205A9  BRL $314C
  C0/8844: 8205A9  BRL $314C
  C0/8847: 808D    BRA $87D6
  C0/8847: 808D    BRA $87D6
  C0/8849: 1521    ORA $21,X
  C0/8849: 1521    ORA $21,X
==C0/884B unknow==
  C0/884B: 9C0B42  STZ $420B      (turn off DMA)
  C0/884B: 9C0B42  STZ $420B      (turn off DMA)
  C0/884E: C221    REP #$21
  C0/884E: C221    REP #$21
Line 981: Line 963:
  C0/88A5: 8D0B42  STA $420B
  C0/88A5: 8D0B42  STA $420B
  C0/88A8: 60      RTS
  C0/88A8: 60      RTS
 
==C0/88A9 unknow==
  C0/88A9: A97E    LDA #$7E (from C0/7FB8, C0/8544, C0/8572)
  C0/88A9: A97E    LDA #$7E (from C0/7FB8, C0/8544, C0/8572)
  C0/88AB: 8D8321  STA $2183
  C0/88AB: 8D8321  STA $2183
Line 998: Line 980:
  C0/88D0: D0E5    BNE $88B7
  C0/88D0: D0E5    BNE $88B7
  C0/88D2: 60      RTS
  C0/88D2: 60      RTS
 
==C0/88D3 unknow==
  C0/88D3: A97E    LDA #$7E
  C0/88D3: A97E    LDA #$7E
  C0/88D5: 48      PHA
  C0/88D5: 48      PHA
Line 1,006: Line 988:
  C0/88DC: F003    BEQ $88E1
  C0/88DC: F003    BEQ $88E1
  C0/88DE: 4C2489  JMP $8924
  C0/88DE: 4C2489  JMP $8924
 
  C0/88E1: A600    LDX $00
  C0/88E1: A600    LDX $00
  C0/88E3: BD0491  LDA $9104,X
  C0/88E3: BD0491  LDA $9104,X
Line 1,034: Line 1,016:
  C0/8922: AB      PLB
  C0/8922: AB      PLB
  C0/8923: 60      RTS
  C0/8923: 60      RTS
 
==C0/8924 unknow==
  C0/8924: A600    LDX $00
  C0/8924: A600    LDX $00
  C0/8926: BD0391  LDA $9103,X
  C0/8926: BD0391  LDA $9103,X
Line 1,062: Line 1,044:
  C0/8965: AB      PLB
  C0/8965: AB      PLB
  C0/8966: 60      RTS
  C0/8966: 60      RTS
 
==C0/8967 unknow==
  C0/8967: A97E    LDA #$7E
  C0/8967: A97E    LDA #$7E
  C0/8969: 48      PHA
  C0/8969: 48      PHA
Line 1,081: Line 1,063:
  C0/8988: AB      PLB
  C0/8988: AB      PLB
  C0/8989: 60      RTS
  C0/8989: 60      RTS
 
==C0/898A unknow==
  C0/898A: A97E    LDA #$7E (from C0/84E1, C0/8520, C0/855A)
  C0/898A: A97E    LDA #$7E (from C0/84E1, C0/8520, C0/855A)
  C0/898C: 8D8321  STA $2183
  C0/898C: 8D8321  STA $2183
Line 1,159: Line 1,141:
  C0/8A4C: D003    BNE $8A51
  C0/8A4C: D003    BNE $8A51
  C0/8A4E: 4C238B  JMP $8B23
  C0/8A4E: 4C238B  JMP $8B23
 
  C0/8A51: 9003    BCC $8A56
  C0/8A51: 9003    BCC $8A56
  C0/8A53: 4C428B  JMP $8B42
  C0/8A53: 4C428B  JMP $8B42
 
  C0/8A56: 4502    EOR $02        (EOR #$FF?! cleverness?! what?!)
  C0/8A56: 4502    EOR $02        (EOR #$FF?! cleverness?! what?!)
  C0/8A58: 18      CLC
  C0/8A58: 18      CLC
Line 1,263: Line 1,245:
  C0/8B21: AB      PLB          (set B to #$00)
  C0/8B21: AB      PLB          (set B to #$00)
  C0/8B22: 60      RTS
  C0/8B22: 60      RTS
 
==C0/8B23 unknow==
  C0/8B23: C220    REP #$20      (16 bit accum./memory)
  C0/8B23: C220    REP #$20      (16 bit accum./memory)
  C0/8B25: A400    LDY $00
  C0/8B25: A400    LDY $00
Line 1,282: Line 1,264:
  C0/8B40: AB      PLB          (set B to #$00)
  C0/8B40: AB      PLB          (set B to #$00)
  C0/8B41: 60      RTS
  C0/8B41: 60      RTS
 
==C0/8B42 unknow==
  C0/8B42: 38      SEC  
  C0/8B42: 38      SEC  
  C0/8B43: E904    SBC #$04
  C0/8B43: E904    SBC #$04
Line 1,426: Line 1,408:
  C0/8C79: AB      PLB
  C0/8C79: AB      PLB
  C0/8C7A: 60      RTS
  C0/8C7A: 60      RTS
 
==C0/8C7B unknow== 
  C0/8C7B: AB      PLB
  C0/8C7B: AB      PLB
  C0/8C7C: 8CAE8C  STY $8CAE
  C0/8C7C: 8CAE8C  STY $8CAE
Line 1,466: Line 1,448:
  C0/8CDA: 1F6AD000 ORA $00D06A,X
  C0/8CDA: 1F6AD000 ORA $00D06A,X
  C0/8CDE: 6B      RTL
  C0/8CDE: 6B      RTL
 
==C0/8CDF unknow==
  C0/8CDF: A700    LDA [$00]
  C0/8CDF: A700    LDA [$00]
  C0/8CE1: 739B    ADC ($9B,S),Y
  C0/8CE1: 739B    ADC ($9B,S),Y
Line 1,490: Line 1,472:
  C0/8D12: 1E231E  ASL $1E23,X
  C0/8D12: 1E231E  ASL $1E23,X
  C0/8D15: 0100    ORA ($00,X)
  C0/8D15: 0100    ORA ($00,X)
==C0/8D17 unknow==
  C0/8D17: AD3A05  LDA $053A (from C0/BF97)
  C0/8D17: AD3A05  LDA $053A (from C0/BF97)
  C0/8D1A: D001    BNE $8D1D
  C0/8D1A: D001    BNE $8D1D
  C0/8D1C: 60      RTS
  C0/8D1C: 60      RTS
 
 
  C0/8D1D: 3A      DEC A (from C0/8D1A)
  C0/8D1D: 3A      DEC A (from C0/8D1A)
  C0/8D1E: 8D0242  STA $4202
  C0/8D1E: 8D0242  STA $4202
Line 1,532: Line 1,514:
  C0/8D71: D0BB    BNE $8D2E
  C0/8D71: D0BB    BNE $8D2E
  C0/8D73: 60      RTS
  C0/8D73: 60      RTS
 
==C0/8D74 unknow==
  C0/8D74: AD3A05  LDA $053A   (from C0/00B0)
  C0/8D74: AD3A05  LDA $053A   (from C0/00B0)
  C0/8D77: F04E    BEQ $8DC7
  C0/8D77: F04E    BEQ $8DC7
Line 1,548: Line 1,530:
  C0/8D8D: D02C    BNE $8DBB
  C0/8D8D: D02C    BNE $8DBB
  C0/8D8F: 4CBB8D  JMP $8DBB
  C0/8D8F: 4CBB8D  JMP $8DBB
 
  C0/8D92: 3A      DEC A
  C0/8D92: 3A      DEC A
  C0/8D93: D00D    BNE $8DA2
  C0/8D93: D00D    BNE $8DA2
Line 1,556: Line 1,538:
  C0/8D9C: 20A98E  JSR $8EA9
  C0/8D9C: 20A98E  JSR $8EA9
  C0/8D9F: 4CBB8D  JMP $8DBB
  C0/8D9F: 4CBB8D  JMP $8DBB
 
  C0/8DA2: 3A      DEC A
  C0/8DA2: 3A      DEC A
  C0/8DA3: D00B    BNE $8DB0
  C0/8DA3: D00B    BNE $8DB0
Line 1,564: Line 1,546:
  C0/8DAC: 7A      PLY
  C0/8DAC: 7A      PLY
  C0/8DAD: 4CBB8D  JMP $8DBB
  C0/8DAD: 4CBB8D  JMP $8DBB
 
  C0/8DB0: 3A      DEC A
  C0/8DB0: 3A      DEC A
  C0/8DB1: D008    BNE $8DBB
  C0/8DB1: D008    BNE $8DBB
Line 1,579: Line 1,561:
  C0/8DC4: 4C7B8D  JMP $8D7B
  C0/8DC4: 4C7B8D  JMP $8D7B
  C0/8DC7: 60      RTS
  C0/8DC7: 60      RTS
 
==C0/8DC8 unknow==
  C0/8DC8: B9E710  LDA $10E7,Y (from C0/8D88)
  C0/8DC8: B9E710  LDA $10E7,Y (from C0/8D88)
  C0/8DCB: 1A      INC A
  C0/8DCB: 1A      INC A
Line 1,597: Line 1,579:
  C0/8DEB: 99E910  STA $10E9,Y
  C0/8DEB: 99E910  STA $10E9,Y
  C0/8DEE: 60      RTS
  C0/8DEE: 60      RTS
 
 
  C0/8DEF: A901    LDA #$01 (from C0/8DD2, C0/8DE8)
  C0/8DEF: A901    LDA #$01 (from C0/8DD2, C0/8DE8)
  C0/8DF1: 60      RTS
  C0/8DF1: 60      RTS
 
==C0/8DF2 unknow==
Data of some sort
  C0/8DF2: 7080   
  C0/8DF2: 7080   
  C0/8DF4: 90A0   
  C0/8DF4: 90A0   
Line 1,612: Line 1,592:
  C0/8E00: 9080   
  C0/8E00: 9080   
  C0/8E02: 7060   
  C0/8E02: 7060   
==C0/8E04 unknow==
  C0/8E04: B9E910  LDA $10E9,Y
  C0/8E04: B9E910  LDA $10E9,Y
  C0/8E07: AA      TAX
  C0/8E07: AA      TAX
Line 1,666: Line 1,646:
  C0/8E68: D0AF    BNE $8E19
  C0/8E68: D0AF    BNE $8E19
  C0/8E6A: 60      RTS
  C0/8E6A: 60      RTS
 
==C0/8E6B unknow==
  C0/8E6B: B9EB10  LDA $10EB,Y (from C0/8DA9)
  C0/8E6B: B9EB10  LDA $10EB,Y (from C0/8DA9)
  C0/8E6E: 18      CLC
  C0/8E6E: 18      CLC
Line 1,704: Line 1,684:
  C0/8EA6: E220    SEP #$20      (8 bit accum./memory)
  C0/8EA6: E220    SEP #$20      (8 bit accum./memory)
  C0/8EA8: 60      RTS
  C0/8EA8: 60      RTS
 
==C0/8EA9 unknow==
  C0/8EA9: B9EB10  LDA $10EB,Y
  C0/8EA9: B9EB10  LDA $10EB,Y
  C0/8EAC: AA      TAX
  C0/8EAC: AA      TAX
Line 1,725: Line 1,705:
  C0/8ED2: E220    SEP #$20      (8 bit accum./memory)
  C0/8ED2: E220    SEP #$20      (8 bit accum./memory)
  C0/8ED4: 60      RTS
  C0/8ED4: 60      RTS
 
==C0/8ED5 unknow==
  C0/8ED5: 20DC8E  JSR $8EDC (from C0/BF97)
  C0/8ED5: 20DC8E  JSR $8EDC (from C0/BF97)
  C0/8ED8: 20B18F  JSR $8FB1
  C0/8ED8: 20B18F  JSR $8FB1
  C0/8EDB: 60      RTS
  C0/8EDB: 60      RTS
 
==C0/8EDC unknow==
  C0/8EDC: AD3B05  LDA $053B (from C0/8ED5)
  C0/8EDC: AD3B05  LDA $053B (from C0/8ED5)
  C0/8EDF: 291F    AND #$1F
  C0/8EDF: 291F    AND #$1F
Line 1,823: Line 1,803:
  C0/8FAD: 9C0B42  STZ $420B      (turn off DMA)
  C0/8FAD: 9C0B42  STZ $420B      (turn off DMA)
  C0/8FB0: 60      RTS
  C0/8FB0: 60      RTS
 
==C0/8FB1 unknow==
  C0/8FB1: AD3B05  LDA $053B (from C0/8ED8)
  C0/8FB1: AD3B05  LDA $053B (from C0/8ED8)
  C0/8FB4: 29E0    AND #$E0
  C0/8FB4: 29E0    AND #$E0
Line 1,833: Line 1,813:
  C0/8FBB: D001    BNE $8FBE
  C0/8FBB: D001    BNE $8FBE
  C0/8FBD: 60      RTS
  C0/8FBD: 60      RTS
 
==C0/8FBE unknow==
  C0/8FBE: 3A      DEC A (from C0/8FBB)
  C0/8FBE: 3A      DEC A (from C0/8FBB)
  C0/8FBF: A8      TAY
  C0/8FBF: A8      TAY

Latest revision as of 02:41, 24 January 2024

This is a sub-page of Final Fantasy VI/ROM map.

C0/8067 DTE character decoder/displayer

C0/8067:	A5CF    	LDA $CF
C0/8069:	48      	PHA
C0/806A:	A5CB    	LDA $CB
C0/806C:	48      	PHA
C0/806D:	A6C9    	LDX $C9
C0/806F:	DA      	PHX
C0/8070:	64C0    	STZ $C0
C0/8072:	A400    	LDY $00
C0/8074:	B7C9    	LDA [$C9],Y
C0/8076:	1038    	BPL $80B0
C0/8078:	297F    	AND #$7F
C0/807A:	0A      	ASL A
C0/807B:	AA      	TAX
C0/807C:	A5CF    	LDA $CF
C0/807E:	C980    	CMP #$80
C0/8080:	F006    	BEQ $8088
C0/8082:	A980    	LDA #$80
C0/8084:	85CF    	STA $CF
C0/8086:	8014    	BRA $809C
C0/8088:	BFA0DFC0	LDA $C0DFA0,X  (load DTE character 1)
C0/808C:	C97F    	CMP #$7F
C0/808E:	F042    	BEQ $80D2
C0/8090:	DA      	PHX
C0/8091:	AA      	TAX
C0/8092:	BFC08FC4	LDA $C48FC0,X  (load width for variable font cell)
C0/8096:	18      	CLC
C0/8097:	65C0    	ADC $C0
C0/8099:	85C0    	STA $C0
C0/809B:	FA      	PLX
C0/809C:	BFA1DFC0	LDA $C0DFA1,X  (load DTE character 2)
C0/80A0:	C97F    	CMP #$7F
C0/80A2:	F02E    	BEQ $80D2
C0/80A4:	AA      	TAX
C0/80A5:	BFC08FC4	LDA $C48FC0,X  (load width for variable font cell)
C0/80A9:	18      	CLC
C0/80AA:	65C0    	ADC $C0
C0/80AC:	85C0    	STA $C0
C0/80AE:	8016    	BRA $80C6
C0/80B0:	A400    	LDY $00
C0/80B2:	B7C9    	LDA [$C9],Y
C0/80B4:	C920    	CMP #$20       (STOP LOOKING FOR CHARACTER NAMES!!!)
C0/80B6:	9024    	BCC $80DC
C0/80B8:	C97F    	CMP #$7F
C0/80BA:	F016    	BEQ $80D2
C0/80BC:	AA      	TAX
C0/80BD:	BFC08FC4	LDA $C48FC0,X  (load width for variable font cell)
C0/80C1:	18      	CLC
C0/80C2:	65C0    	ADC $C0
C0/80C4:	85C0    	STA $C0
C0/80C6:	E6C9    	INC $C9
C0/80C8:	D0A8    	BNE $8072
C0/80CA:	E6CA    	INC $CA
C0/80CC:	D0A4    	BNE $8072
C0/80CE:	E6CB    	INC $CB
C0/80D0:	80A0    	BRA $8072
C0/80D2:	FA      	PLX
C0/80D3:	86C9    	STX $C9
C0/80D5:	68      	PLA
C0/80D6:	85CB    	STA $CB
C0/80D8:	68      	PLA
C0/80D9:	85CF    	STA $CF
C0/80DB:	60      	RTS

C0/80DC character name decoder/displayer

C0/80DC:	C91A    	CMP #$1A       (Is it 26? <the item packing character>)
C0/80DE:	F038    	BEQ $8118      (If it is, go to the item area)
C0/80E0:	C902    	CMP #$02       (Is it less than 2? <not within the char. name range>)
C0/80E2:	90EE    	BCC $80D2      (If so, exit)
C0/80E4:	C910    	CMP #$10       (Is it greater than 16? <not within the char. name range>)
C0/80E6:	B0EA    	BCS $80D2      (If so, exit)
C0/80E8:	3A      	DEC A          (Subtract 1)
C0/80E9:	3A      	DEC A          (Subtract 1)
C0/80EA:	8D0242  	STA $4202      (Put A into the multiplier)
C0/80ED:	A925    	LDA #$25       (37 = width of character RAM struct)
C0/80EF:	8D0342  	STA $4203      (Multiply by 37)
C0/80F2:	A5CF    	LDA $CF        (Load mem. loc. $CF)
C0/80F4:	10DC    	BPL $80D2      (If positive, branch)
C0/80F6:	A906    	LDA #$06       (6 = length of character name)
C0/80F8:	851A    	STA $1A        (Store 6 into $1A)
C0/80FA:	AC1642  	LDY $4216      (Put the multiplication result into Y)
C0/80FD:	B90216  	LDA $1602,Y    (Load character name letter Y)
C0/8100:	C9FF    	CMP #$FF       (Is it a space?)
C0/8102:	F0CE    	BEQ $80D2      (If so, exit)
C0/8104:	38      	SEC            (Set the carry in case we need to borrow)
C0/8105:	E960    	SBC #$60       (Take away 60 hex)
C0/8107:	AA      	TAX            (Put the result into X)
C0/8108:	BFC08FC4	LDA $C48FC0,X  (load width for variable font cell)
C0/810C:	18      	CLC            (Clear the carry in case of addition)
C0/810D:	65C0    	ADC $C0        (Add the value of $C0)
C0/810F:	85C0    	STA $C0        (Store the result back into $C0)
C0/8111:	C8      	INY            (Add 1 to Y)
C0/8112:	C61A    	DEC $1A        (Decrement $1A, number of letters to write for the name)
C0/8114:	D0E7    	BNE $80FD      (If it is not 0, branch -> do it again)
C0/8116:	80BA    	BRA $80D2      (Otherwise, exit)

C0/8118 unknow

Something to do with getting an item name for treasure chests
C0/8118:	AD8305  	LDA $0583      (Item index?)
C0/811B:	8D0242  	STA $4202
C0/811E:	A90D    	LDA #$0D       (13)
C0/8120:	8D0342  	STA $4203
C0/8123:	A5CF    	LDA $CF
C0/8125:	10AB    	BPL $80D2
C0/8127:	A90C    	LDA #$0C       (12 = item name length)
C0/8129:	851A    	STA $1A
C0/812B:	AE1642  	LDX $4216
C0/812E:	9B      	TXY
C0/812F:	BF01B3D2	LDA $D2B301,X  (Item name)
C0/8133:	C9FF    	CMP #$FF       (Is it the empty item/hit a null terminator?)
C0/8135:	F09B    	BEQ $80D2      (If so, branch -> exit function)
C0/8137:	38      	SEC 
C0/8138:	E960    	SBC #$60
C0/813A:	AA      	TAX
C0/813B:	BFC08FC4	LDA $C48FC0,X  (load width for variable font cell)
C0/813F:	18      	CLC
C0/8140:	65C0    	ADC $C0
C0/8142:	85C0    	STA $C0
C0/8144:	BB      	TYX
C0/8145:	E8      	INX
C0/8146:	C61A    	DEC $1A
C0/8148:	D0E4    	BNE $812E
C0/814A:	8086    	BRA $80D2

C0/814C unknow

C0/814C:	C220    	REP #$20      	(16 bit accum./memory)
C0/814E:	A500    	LDA $00
C0/8150:	8F04727E	STA $7E7204
C0/8154:	8F04747E	STA $7E7404
C0/8158:	AD551D  	LDA $1D55      (load font color)
C0/815B:	8F02727E	STA $7E7202
C0/815F:	8F02747E	STA $7E7402
C0/8163:	8F06727E	STA $7E7206
C0/8167:	8F06747E	STA $7E7406
C0/816B:	7B      	TDC 
C0/816C:	E220    	SEP #$20      	(8 bit accum./memory)
C0/816E:	AD6705  	LDA $0567
C0/8171:	F008    	BEQ $817B
C0/8173:	CE6705  	DEC $0567
C0/8176:	D003    	BNE $817B
C0/8178:	20ED2F  	JSR $2FED
C0/817B:	AD6805  	LDA $0568
C0/817E:	D001    	BNE $8181
C0/8180:	60      	RTS
C0/8181:	AE6905  	LDX $0569
C0/8184:	F005    	BEQ $818B
C0/8186:	CA      	DEX
C0/8187:	8E6905  	STX $0569
C0/818A:	60      	RTS
C0/818B:	AE6B05  	LDX $056B
C0/818E:	F01F    	BEQ $81AF
C0/8190:	C220    	REP #$20      	(16 bit accum./memory)
C0/8192:	8A      	TXA
C0/8193:	29FF7F  	AND #$7FFF
C0/8196:	AA      	TAX
C0/8197:	7B      	TDC 
C0/8198:	E220    	SEP #$20      	(8 bit accum./memory)
C0/819A:	E400    	CPX $00
C0/819C:	D00A    	BNE $81A8
C0/819E:	9C6C05  	STZ $056C
C0/81A1:	64D3    	STZ $D3
C0/81A3:	9C6F05  	STZ $056F
C0/81A6:	8007    	BRA $81AF
C0/81A8:	AE6B05  	LDX $056B
C0/81AB:	CA      	DEX
C0/81AC:	8E6B05  	STX $056B
C0/81AF:	A5D3    	LDA $D3
C0/81B1:	D003    	BNE $81B6
C0/81B3:	4C3B82  	JMP $823B
C0/81B6:	AD6F05  	LDA $056F
C0/81B9:	C902    	CMP #$02
C0/81BB:	9062    	BCC $821F
C0/81BD:	AD6E05  	LDA $056E
C0/81C0:	0A      	ASL A
C0/81C1:	AA      	TAX
C0/81C2:	C220    	REP #$20      	(16 bit accum./memory)
C0/81C4:	BD7005  	LDA $0570,X
C0/81C7:	85C3    	STA $C3
C0/81C9:	7B      	TDC 
C0/81CA:	E220    	SEP #$20      	(8 bit accum./memory)
C0/81CC:	A507    	LDA $07
C0/81CE:	290F    	AND #$0F
C0/81D0:	D005    	BNE $81D7
C0/81D2:	9C6D05  	STZ $056D
C0/81D5:	8032    	BRA $8209
C0/81D7:	AD6D05  	LDA $056D
C0/81DA:	D043    	BNE $821F
C0/81DC:	A507    	LDA $07
C0/81DE:	290A    	AND #$0A
C0/81E0:	F010    	BEQ $81F2
C0/81E2:	AD6E05  	LDA $056E
C0/81E5:	3A      	DEC A
C0/81E6:	3021    	BMI $8209
C0/81E8:	8D6E05  	STA $056E
C0/81EB:	A901    	LDA #$01
C0/81ED:	8D6D05  	STA $056D
C0/81F0:	8017    	BRA $8209
C0/81F2:	A507    	LDA $07
C0/81F4:	2905    	AND #$05
C0/81F6:	F011    	BEQ $8209
C0/81F8:	AD6E05  	LDA $056E
C0/81FB:	1A      	INC A
C0/81FC:	CD6F05  	CMP $056F
C0/81FF:	F008    	BEQ $8209
C0/8201:	8D6E05  	STA $056E
C0/8204:	A901    	LDA #$01
C0/8206:	8D6D05  	STA $056D
C0/8209:	209A87  	JSR $879A
C0/820C:	AD6E05  	LDA $056E
C0/820F:	0A      	ASL A
C0/8210:	AA      	TAX
C0/8211:	C220    	REP #$20      	(16 bit accum./memory)
C0/8213:	BD7005  	LDA $0570,X
C0/8216:	8D8005  	STA $0580
C0/8219:	7B      	TDC 
C0/821A:	E220    	SEP #$20      	(8 bit accum./memory)
C0/821C:	EE8205  	INC $0582
C0/821F:	A5D3    	LDA $D3
C0/8221:	C901    	CMP #$01
C0/8223:	F008    	BEQ $822D
C0/8225:	A506    	LDA $06
C0/8227:	3018    	BMI $8241
C0/8229:	C6D3    	DEC $D3
C0/822B:	8014    	BRA $8241
C0/822D:	A506    	LDA $06
C0/822F:	1010    	BPL $8241
C0/8231:	C6D3    	DEC $D3
C0/8233:	9C6F05  	STZ $056F
C0/8236:	9C6C05  	STZ $056C
C0/8239:	8006    	BRA $8241
C0/823B:	A5CC    	LDA $CC
C0/823D:	F003    	BEQ $8242
C0/823F:	C6CC    	DEC $CC
C0/8241:	60      	RTS
C0/8242:	AD6805  	LDA $0568  		(from C0/823D)
C0/8245:	1006    	BPL $824D
C0/8247:	85BA    	STA $BA
C0/8249:	9C6805  	STZ $0568
C0/824C:	60      	RTS
C0/824D:	206780  	JSR $8067		(from C0/8245)
C0/8250:	A5BF    	LDA $BF
C0/8252:	18      	CLC
C0/8253:	65C0    	ADC $C0
C0/8255:	B004    	BCS $825B
C0/8257:	C5C8    	CMP $C8        (compare it to line length in pixels)
C0/8259:	9004    	BCC $825F
C0/825B:	201A85  	JSR $851A      (JMP fool!)
C0/825E:	60      	RTS
C0/825F:	A5CF    	LDA $CF		(from C0/8259)
C0/8261:	3021    	BMI $8284
C0/8263:	A5CF    	LDA $CF
C0/8265:	AA      	TAX
C0/8266:	BF83917E	LDA $7E9183,X
C0/826A:	85CD    	STA $CD
C0/826C:	64CE    	STZ $CE
C0/826E:	BF84917E	LDA $7E9184,X
C0/8272:	F006    	BEQ $827A
C0/8274:	20D084  	JSR $84D0
C0/8277:	E6CF    	INC $CF
C0/8279:	60      	RTS
C0/827A:	A980    	LDA #$80		(from C0/8272)
C0/827C:	85CF    	STA $CF
C0/827E:	20D084  	JSR $84D0
C0/8281:	4C9D82  	JMP $829D      (BRA fool!)

C0/8284 unknow

C0/8284:	A400    	LDY $00        (from C0/8261)
C0/8286:	B7C9    	LDA [$C9],Y    (load a letter)
C0/8288:	85BD    	STA $BD        (save it to temp ram)
C0/828A:	C8      	INY 
C0/828B:	B7C9    	LDA [$C9],Y    (load the next letter, in cases of control codes, a parameter)
C0/828D:	85BE    	STA $BE        (save it)
C0/828F:	A5BD    	LDA $BD        (load letter)
C0/8291:	3007    	BMI $829A      (branch if DTE?)
C0/8293:	C920    	CMP #$20       (compare to the first letter)
C0/8295:	901E    	BCC $82B5      (check for the control codes)
C0/8297:	4C5A84  	JMP $845A
C0/829A:	4C6684  	JMP $8466		(from C0/8291)

C0/829D advance the dialogue one byte

C0/829D:	A901    	LDA #$01		(from C0/8281)
C0/829F:	8002    	BRA $82A3

C0/82A1 advance the dialogue two bytes

C0/82A1:	A902    	LDA #$02
C0/82A3:	18      	CLC			(from C0/829F)
C0/82A4:	65C9    	ADC $C9
C0/82A6:	85C9    	STA $C9
C0/82A8:	A5CA    	LDA $CA
C0/82AA:	6900    	ADC #$00
C0/82AC:	85CA    	STA $CA
C0/82AE:	A5CB    	LDA $CB
C0/82B0:	6900    	ADC #$00
C0/82B2:	85CB    	STA $CB
C0/82B4:	60      	RTS

C0/82B5 unknow

Control code checking, 00 is null termination
C0/82B5:	C900    	CMP #$00		(from C0/8295)
C0/82B7:	D009    	BNE $82C2
C0/82B9:	205485  	JSR $8554
C0/82BC:	A980    	LDA #$80
C0/82BE:	8D6805  	STA $0568      (flag dialogue box ok to close)
C0/82C1:	60      	RTS

C0/82C2 unknow

New line's control code
C0/82C2:	C901    	CMP #$01		(from C0/82B7)
C0/82C4:	D006    	BNE $82CC
C0/82C6:	201A85  	JSR $851A
C0/82C9:	4C9D82  	JMP $829D

C0/82CC control codes for dialogue

C0/82CC:	C910    	CMP #$10		(from C0/82C4)
C0/82CE:	B032    	BCS $8302
C0/82D0:	3A      	DEC A
C0/82D1:	3A      	DEC A
C0/82D2:	8D0242  	STA $4202
C0/82D5:	A925    	LDA #$25
C0/82D7:	8D0342  	STA $4203
C0/82DA:	EA      	NOP
C0/82DB:	EA      	NOP
C0/82DC:	EA      	NOP
C0/82DD:	EA      	NOP
C0/82DE:	AC1642  	LDY $4216
C0/82E1:	A600    	LDX $00
C0/82E3:	B90216  	LDA $1602,Y		(from C0/82F6)
C0/82E6:	38      	SEC 
C0/82E7:	E960    	SBC #$60
C0/82E9:	9F83917E	STA $7E9183,X
C0/82ED:	C99F    	CMP #$9F
C0/82EF:	F007    	BEQ $82F8
C0/82F1:	C8      	INY 
C0/82F2:	E8      	INX
C0/82F3:	E00600  	CPX #$0006
C0/82F6:	D0EB    	BNE $82E3
C0/82F8:	7B      	TDC 			(from C0/82EF)
C0/82F9:	9F83917E	STA $7E9183,X
C0/82FD:	64CF    	STZ $CF
C0/82FF:	4C6382  	JMP $8263

C0/8302 pause for button input's control code

C0/8302:	C910    	CMP #$10		(from C0/82CE)
C0/8304:	D009    	BNE $830F
C0/8306:	A23C00  	LDX #$003C
C0/8309:	8E6905  	STX $0569      (time to wait before dialogue continues printing)
C0/830C:	4C9D82  	JMP $829D

C0/830F non-interruptable pause's control code

C0/830F:	C911    	CMP #$11		(from C0/8304)
C0/8311:	D017    	BNE $832A
C0/8313:	A5BE    	LDA $BE
C0/8315:	8D0242  	STA $4202
C0/8318:	A90F    	LDA #$0F
C0/831A:	8D0342  	STA $4203
C0/831D:	EA      	NOP
C0/831E:	EA      	NOP
C0/831F:	EA      	NOP
C0/8320:	EA      	NOP
C0/8321:	AE1642  	LDX $4216
C0/8324:	8E6905  	STX $0569      (time to wait before dialogue continues printing)
C0/8327:	4CA182  	JMP $82A1

C0/832A end parameter's control code

C0/832A:	C912    	CMP #$12		(from C0/8311)
C0/832C:	D009    	BNE $8337
C0/832E:	A20180  	LDX #$8001
C0/8331:	8E6B05  	STX $056B
C0/8334:	4C9D82  	JMP $829D

C0/8337 new page's control code

C0/8337:	C913    	CMP #$13		(from C0/832C)
C0/8339:	D006    	BNE $8341
C0/833B:	205485  	JSR $8554
C0/833E:	4C9D82  	JMP $829D

C0/8341 tab's control code

C0/8341:	C914    	CMP #$14		(from C0/8339)
C0/8343:	D01D    	BNE $8362
C0/8345:	A5BE    	LDA $BE
C0/8347:	851E    	STA $1E
C0/8349:	641F    	STZ $1F
C0/834B:	A600    	LDX $00
C0/834D:	A97F    	LDA #$7F
C0/834F:	9F83917E	STA $7E9183,X
C0/8353:	E8      	INX
C0/8354:	E41E    	CPX $1E
C0/8356:	D0F7    	BNE $834F
C0/8358:	7B      	TDC 
C0/8359:	9F83917E	STA $7E9183,X
C0/835D:	64CF    	STZ $CF
C0/835F:	4C9D82  	JMP $829D

C0/8362 selectable option's control code

C0/8362:	C915    	CMP #$15		(from C0/8343)
C0/8364:	D019    	BNE $837F
C0/8366:	AD6F05  	LDA $056F
C0/8369:	0A      	ASL A
C0/836A:	A8      	TAY
C0/836B:	C220    	REP #$20      	(16 bit accum./memory)
C0/836D:	A5C1    	LDA $C1
C0/836F:	997005  	STA $0570,Y
C0/8372:	7B      	TDC 
C0/8373:	E220    	SEP #$20      	(8 bit accum./memory)
C0/8375:	A9FF    	LDA #$FF
C0/8377:	85BD    	STA $BD
C0/8379:	EE6F05  	INC $056F
C0/837C:	4C5A84  	JMP $845A

C0/837F interruptable pause's control code

C0/837F:	C916    	CMP #$16		(from C0/8364)
C0/8381:	D021    	BNE $83A4
C0/8383:	A5BE    	LDA $BE
C0/8385:	8D0242  	STA $4202
C0/8388:	A90F    	LDA #$0F
C0/838A:	8D0342  	STA $4203
C0/838D:	EA      	NOP
C0/838E:	EA      	NOP
C0/838F:	C220    	REP #$20      	(16 bit accum./memory)
C0/8391:	AD1642  	LDA $4216
C0/8394:	090080  	ORA #$8000
C0/8397:	8D6B05  	STA $056B
C0/839A:	7B      	TDC 
C0/839B:	E220    	SEP #$20      	(8 bit accum./memory)
C0/839D:	A901    	LDA #$01
C0/839F:	85D3    	STA $D3
C0/83A1:	4CA182  	JMP $82A1

C0/83A4 amount of GP found in treasure chests

C0/83A4:	C919    	CMP #$19		(from C0/8381)
C0/83A6:	D02B    	BNE $83D3
C0/83A8:	641A    	STZ $1A
C0/83AA:	A600    	LDX $00
C0/83AC:	9B      	TXY
C0/83AD:	A51A    	LDA $1A
C0/83AF:	D007    	BNE $83B8
C0/83B1:	B95507  	LDA $0755,Y
C0/83B4:	F00D    	BEQ $83C3
C0/83B6:	E61A    	INC $1A
C0/83B8:	B95507  	LDA $0755,Y
C0/83BB:	18      	CLC
C0/83BC:	6954    	ADC #$54
C0/83BE:	9F83917E	STA $7E9183,X
C0/83C2:	E8      	INX
C0/83C3:	C8      	INY 
C0/83C4:	C00700  	CPY #$0007
C0/83C7:	D0E4    	BNE $83AD
C0/83C9:	7B      	TDC 
C0/83CA:	9F83917E	STA $7E9183,X
C0/83CE:	64CF    	STZ $CF
C0/83D0:	4C6382  	JMP $8263

C0/83D3 getting the item name for treasure chests

C0/83D3:	C91A    	CMP #$1A		(from C0/83A6)
C0/83D5:	D038    	BNE $840F
C0/83D7:	AD8305  	LDA $0583		(Item index)
C0/83DA:	8D0242  	STA $4202
C0/83DD:	A90D    	LDA #$0D       (13 is the multiplier)
C0/83DF:	8D0342  	STA $4203
C0/83E2:	EA      	NOP
C0/83E3:	EA      	NOP
C0/83E4:	EA      	NOP
C0/83E5:	AE1642  	LDX $4216
C0/83E8:	A400    	LDY $00
C0/83EA:	A97E    	LDA #$7E
C0/83EC:	48      	PHA
C0/83ED:	AB      	PLB
C0/83EE:	BF01B3D2	LDA $D2B301,X  (Item name)
C0/83F2:	38      	SEC 
C0/83F3:	E960    	SBC #$60       (subtract 96 for the icon)
C0/83F5:	998391  	STA $9183,Y
C0/83F8:	C99F    	CMP #$9F
C0/83FA:	F007    	BEQ $8403      (branch if space, aka plain arse item?)
C0/83FC:	E8      	INX
C0/83FD:	C8      	INY 
C0/83FE:	C00C00  	CPY #$000C     (have we checked 12 letters?)
C0/8401:	D0EB    	BNE $83EE
C0/8403:	7B      	TDC 
C0/8404:	998391  	STA $9183,Y
C0/8407:	7B      	TDC 
C0/8408:	48      	PHA
C0/8409:	AB      	PLB
C0/840A:	64CF    	STZ $CF
C0/840C:	4C6382  	JMP $8263

C0/840F learning spells (unused?)

C0/840F:	C91B    	CMP #$1B		(from C0/83D5)
C0/8411:	D038    	BNE $844B
C0/8413:	AD8405  	LDA $0584
C0/8416:	8D0242  	STA $4202
C0/8419:	A904    	LDA #$04       (4 letters, meaning for the original version)
C0/841B:	8D0342  	STA $4203
C0/841E:	EA      	NOP
C0/841F:	EA      	NOP
C0/8420:	EA      	NOP
C0/8421:	AE1642  	LDX $4216
C0/8424:	A400    	LDY $00
C0/8426:	A97E    	LDA #$7E
C0/8428:	48      	PHA
C0/8429:	AB      	PLB
C0/842A:	BF68F5E6	LDA $E6F568,X  (spell names, starting with black magic)
C0/842E:	38      	SEC 
C0/842F:	E960    	SBC #$60
C0/8431:	998391  	STA $9183,Y
C0/8434:	C99F    	CMP #$9F
C0/8436:	F007    	BEQ $843F
C0/8438:	E8      	INX
C0/8439:	C8      	INY 
C0/843A:	C00400  	CPY #$0004     (have we checked 4 letters?)
C0/843D:	D0EB    	BNE $842A      (branch if not)
C0/843F:	7B      	TDC 
C0/8440:	998391  	STA $9183,Y
C0/8443:	7B      	TDC 
C0/8444:	48      	PHA
C0/8445:	AB      	PLB
C0/8446:	64CF    	STZ $CF
C0/8448:	4C6382  	JMP $8263

C0/844B unknow

C0/844B:	38      	SEC 			(from C0/8411)
C0/844C:	E91B    	SBC #$1B
C0/844E:	85CE    	STA $CE
C0/8450:	A5BE    	LDA $BE
C0/8452:	85CD    	STA $CD
C0/8454:	20D084  	JSR $84D0
C0/8457:	4CA182  	JMP $82A1

C0/845A unknow

C0/845A:	A5BD    	LDA $BD
C0/845C:	85CD    	STA $CD
C0/845E:	64CE    	STZ $CE
C0/8460:	20D084  	JSR $84D0
C0/8463:	4C9D82  	JMP $829D

C0/8466 unknow

C0/8466:	297F    	AND #$7F
C0/8468:	0A      	ASL A
C0/8469:	A8      	TAY
C0/846A:	A2A0DF  	LDX #$DFA0
C0/846D:	862A    	STX $2A
C0/846F:	A9C0    	LDA #$C0
C0/8471:	852C    	STA $2C        (C0/DFA0 is the location of the DTE table...)
C0/8473:	B72A    	LDA [$2A],Y
C0/8475:	8F83917E	STA $7E9183
C0/8479:	C8      	INY 
C0/847A:	B72A    	LDA [$2A],Y
C0/847C:	8F84917E	STA $7E9184
C0/8480:	7B      	TDC 
C0/8481:	8F85917E	STA $7E9185
C0/8485:	64CF    	STZ $CF
C0/8487:	4C6382  	JMP $8263

C0/848A unknow

C0/848A:	A97E    	LDA #$7E		(from C0/BEBF)
C0/848C:	8D8321  	STA $2183
C0/848F:	A2009E  	LDX #$9E00
C0/8492:	8E8121  	STX $2181
C0/8495:	A600    	LDX $00
C0/8497:	BFC08FC4	LDA $C48FC0,X	(load width for variable font cell)
C0/849B:	8D8021  	STA $2180
C0/849E:	E8      	INX
C0/849F:	E08000  	CPX #$0080
C0/84A2:	D0F3    	BNE $8497
C0/84A4:	A2A0DF  	LDX #$DFA0
C0/84A7:	862A    	STX $2A
C0/84A9:	A9C0    	LDA #$C0
C0/84AB:	852C    	STA $2C        (C0/DFA0 is the location of the DTE table...)
C0/84AD:	A600    	LDX $00
C0/84AF:	9B      	TXY
C0/84B0:	641A    	STZ $1A
C0/84B2:	B72A    	LDA [$2A],Y
C0/84B4:	AA      	TAX
C0/84B5:	BFC08FC4	LDA $C48FC0,X	(load width for variable font cell)
C0/84B9:	851A    	STA $1A
C0/84BB:	C8      	INY 
C0/84BC:	B72A    	LDA [$2A],Y
C0/84BE:	AA      	TAX
C0/84BF:	BFC08FC4	LDA $C48FC0,X	(load width for variable font cell)
C0/84C3:	18      	CLC
C0/84C4:	651A    	ADC $1A
C0/84C6:	8D8021  	STA $2180
C0/84C9:	C8      	INY 
C0/84CA:	C00001  	CPY #$0100
C0/84CD:	D0E1    	BNE $84B0
C0/84CF:	60      	RTS

C0/84D0 unknow

C0/84D0:	A6CD    	LDX $CD		(from C0/8274, C0/827E, C0/8454, C0/8460)
C0/84D2:	BFC08FC4	LDA $C48FC0,X	(load width for variable font cell)
C0/84D6:	18      	CLC
C0/84D7:	65BF    	ADC $BF
C0/84D9:	C5C8    	CMP $C8        (compare it to line length in pixels)
C0/84DB:	9004    	BCC $84E1
C0/84DD:	201A85  	JSR $851A      (JMP fool!)
C0/84E0:	60      	RTS

C0/84E1 unknow

C0/84E1:	208A89  	JSR $898A		(from C0/84DB)
C0/84E4:	20D388  	JSR $88D3
C0/84E7:	204286  	JSR $8642
C0/84EA:	A6C1    	LDX $C1
C0/84EC:	86C3    	STX $C3
C0/84EE:	E6C5    	INC $C5
C0/84F0:	A6CD    	LDX $CD
C0/84F2:	A5BF    	LDA $BF
C0/84F4:	290F    	AND #$0F
C0/84F6:	18      	CLC
C0/84F7:	7FC08FC4	ADC $C48FC0,X	(width for variable font cell)
C0/84FB:	29F0    	AND #$F0
C0/84FD:	F00F    	BEQ $850E
C0/84FF:	206789  	JSR $8967
C0/8502:	C221    	REP #$21
C0/8504:	A5C1    	LDA $C1
C0/8506:	692000  	ADC #$0020
C0/8509:	85C1    	STA $C1
C0/850B:	7B      	TDC 
C0/850C:	E220    	SEP #$20      	(8 bit accum./memory)
C0/850E:	A6CD    	LDX $CD
C0/8510:	A5BF    	LDA $BF
C0/8512:	18      	CLC
C0/8513:	7FC08FC4	ADC $C48FC0,X	(width for variable font cell)
C0/8517:	85BF    	STA $BF
C0/8519:	60      	RTS

C0/851A unknow

C0/851A:	A9FF    	LDA #$FF		(from C0/825B, C0/82C6, C0/84DD)
C0/851C:	85CD    	STA $CD
C0/851E:	64CE    	STZ $CE
C0/8520:	208A89  	JSR $898A
C0/8523:	20D388  	JSR $88D3
C0/8526:	204286  	JSR $8642
C0/8529:	A904    	LDA #$04
C0/852B:	8DBF00  	STA $00BF
C0/852E:	C221    	REP #$21
C0/8530:	A5C1    	LDA $C1
C0/8532:	85C3    	STA $C3
C0/8534:	290006  	AND #$0600
C0/8537:	690002  	ADC #$0200
C0/853A:	29FF07  	AND #$07FF
C0/853D:	85C1    	STA $C1
C0/853F:	7B      	TDC 
C0/8540:	E220    	SEP #$20      (8 bit accum./memory)
C0/8542:	E6C5    	INC $C5
C0/8544:	20A988  	JSR $88A9
C0/8547:	A6C1    	LDX $C1
C0/8549:	D008    	BNE $8553
C0/854B:	A909    	LDA #$09
C0/854D:	85CC    	STA $CC
C0/854F:	A902    	LDA #$02
C0/8551:	85D3    	STA $D3
C0/8553:	60      	RTS

C0/8554 unknow

C0/8554:	A9FF    	LDA #$FF		(from C0/82B9, C0/833B)
C0/8556:	85CD    	STA $CD
C0/8558:	64CE    	STZ $CE
C0/855A:	208A89  	JSR $898A
C0/855D:	20D388  	JSR $88D3
C0/8560:	204286  	JSR $8642
C0/8563:	A904    	LDA #$04
C0/8565:	8DBF00  	STA $00BF
C0/8568:	A6C1    	LDX $C1
C0/856A:	86C3    	STX $C3
C0/856C:	E6C5    	INC $C5
C0/856E:	A600    	LDX $00
C0/8570:	86C1    	STX $C1
C0/8572:	20A988  	JSR $88A9
C0/8575:	A909    	LDA #$09
C0/8577:	85CC    	STA $CC
C0/8579:	A902    	LDA #$02
C0/857B:	85D3    	STA $D3
C0/857D:	60      	RTS

C0/857E unknow

C0/857E:	9C0B42  	STZ $420B      (from C0/7FBB, turn off DMA)
C0/8581:	A20038  	LDX #$3800
C0/8584:	8E1621  	STX $2116
C0/8587:	A980    	LDA #$80
C0/8589:	8D1521  	STA $2115
C0/858C:	A909    	LDA #$09
C0/858E:	8D0043  	STA $4300
C0/8591:	A918    	LDA #$18
C0/8593:	8D0143  	STA $4301      (register to write to is $2118)
C0/8596:	A20000  	LDX #$0000
C0/8599:	8E0243  	STX $4302      (store DMA starting location)
C0/859C:	A900    	LDA #$00
C0/859E:	8D0443  	STA $4304      (store DMA bank)
C0/85A1:	8D0743  	STA $4307      (store indirect DMA bank)
C0/85A4:	A20010  	LDX #$1000
C0/85A7:	8E0543  	STX $4305
C0/85AA:	A901    	LDA #$01
C0/85AC:	8D0B42  	STA $420B      (turn on channel 1 of DMA)
C0/85AF:	60      	RTS

C0/85B0 unknow

C0/85B0:	A5CC    	LDA $CC
C0/85B2:	F03E    	BEQ $85F2
C0/85B4:	C909    	CMP #$09
C0/85B6:	F03A    	BEQ $85F2
C0/85B8:	3A      	DEC A
C0/85B9:	0A      	ASL A
C0/85BA:	AA      	TAX
C0/85BB:	C220    	REP #$20       (16 bit accum./memory)
C0/85BD:	BFF385C0	LDA $C085F3,X
C0/85C1:	8D1621  	STA $2116
C0/85C4:	7B      	TDC 
C0/85C5:	E220    	SEP #$20       (8 bit accum./memory)
C0/85C7:	9C0B42  	STZ $420B      (turn off DMA)
C0/85CA:	A980    	LDA #$80
C0/85CC:	8D1521  	STA $2115
C0/85CF:	A909    	LDA #$09
C0/85D1:	8D0043  	STA $4300
C0/85D4:	A918    	LDA #$18
C0/85D6:	8D0143  	STA $4301      (register to write to is $2118)
C0/85D9:	A20000  	LDX #$0000
C0/85DC:	8E0243  	STX $4302      (store DMA starting location)
C0/85DF:	A900    	LDA #$00
C0/85E1:	8D0443  	STA $4304      (store DMA bank)
C0/85E4:	8D0743  	STA $4307      (store indirect DMA bank)
C0/85E7:	A2C001  	LDX #$01C0
C0/85EA:	8E0543  	STX $4305
C0/85ED:	A901    	LDA #$01
C0/85EF:	8D0B42  	STA $420B      (turn on channel 1 of DMA)
C0/85F2:	60      	RTS

C0/85F3 unknow

C0/85F3:	E03E
C0/85F5:	003E
C0/85F7:	E03C
C0/85F9:	003C
C0/85FB:	E03A
C0/85FD:	003A
C0/85FF:	E038
C0/8501:	0038

C0/8603 unknow

C0/8603:	A5C5    	LDA $C5
C0/8605:	F03A    	BEQ $8641
C0/8607:	64C5    	STZ $C5
C0/8609:	9C0B42  	STZ $420B      (turn off DMA)
C0/860C:	A980    	LDA #$80
C0/860E:	8D1521  	STA $2115
C0/8611:	C221    	REP #$21
C0/8613:	A5C3    	LDA $C3
C0/8615:	690038  	ADC #$3800
C0/8618:	8D1621  	STA $2116
C0/861B:	7B      	TDC 
C0/861C:	E220    	SEP #$20      (8 bit accum./memory)
C0/861E:	A941    	LDA #$41
C0/8620:	8D0043  	STA $4300
C0/8623:	A918    	LDA #$18
C0/8625:	8D0143  	STA $4301
C0/8628:	A28390  	LDX #$9083
C0/862B:	8E0243  	STX $4302
C0/862E:	A97E    	LDA #$7E
C0/8630:	8D0443  	STA $4304
C0/8633:	8D0743  	STA $4307
C0/8636:	A24000  	LDX #$0040
C0/8639:	8E0543  	STX $4305
C0/863C:	A901    	LDA #$01
C0/863E:	8D0B42  	STA $420B
C0/8641:	60      	RTS

C0/8642 unknow

C0/8642:	A97E    	LDA #$7E		(from C0/84E7)
C0/8644:	48      	PHA
C0/8645:	AB      	PLB
C0/8646:	9C8390  	STZ $9083
C0/8649:	9C8490  	STZ $9084
C0/864C:	9C8590  	STZ $9085
C0/864F:	9C8690  	STZ $9086
C0/8652:	9C8790  	STZ $9087
C0/8655:	9C8890  	STZ $9088
C0/8658:	9C8990  	STZ $9089
C0/865B:	9C8A90  	STZ $908A
C0/865E:	AD0491  	LDA $9104
C0/8661:	8D8B90  	STA $908B
C0/8664:	AD4491  	LDA $9144
C0/8667:	8D8C90  	STA $908C
C0/866A:	AD0691  	LDA $9106
C0/866D:	8D8D90  	STA $908D
C0/8670:	AD4691  	LDA $9146
C0/8673:	8D8E90  	STA $908E
C0/8676:	AD0891  	LDA $9108
C0/8679:	8D8F90  	STA $908F
C0/867C:	AD4891  	LDA $9148
C0/867F:	8D9090  	STA $9090
C0/8682:	AD0A91  	LDA $910A
C0/8685:	8D9190  	STA $9091
C0/8688:	AD4A91  	LDA $914A
C0/868B:	8D9290  	STA $9092
C0/868E:	AD0C91  	LDA $910C
C0/8691:	8D9390  	STA $9093
C0/8694:	AD4C91  	LDA $914C
C0/8697:	8D9490  	STA $9094
C0/869A:	AD0E91  	LDA $910E
C0/869D:	8D9590  	STA $9095
C0/86A0:	AD4E91  	LDA $914E
C0/86A3:	8D9690  	STA $9096
C0/86A6:	AD1091  	LDA $9110
C0/86A9:	8D9790  	STA $9097
C0/86AC:	AD5091  	LDA $9150
C0/86AF:	8D9890  	STA $9098
C0/86B2:	AD1291  	LDA $9112
C0/86B5:	8D9990  	STA $9099
C0/86B8:	AD5291  	LDA $9152
C0/86BB:	8D9A90  	STA $909A
C0/86BE:	AD1491  	LDA $9114
C0/86C1:	8D9B90  	STA $909B
C0/86C4:	AD5491  	LDA $9154
C0/86C7:	8D9C90  	STA $909C
C0/86CA:	AD1691  	LDA $9116
C0/86CD:	8D9D90  	STA $909D
C0/86D0:	AD5691  	LDA $9156
C0/86D3:	8D9E90  	STA $909E
C0/86D6:	AD1891  	LDA $9118
C0/86D9:	8D9F90  	STA $909F
C0/86DC:	AD5891  	LDA $9158
C0/86DF:	8DA090  	STA $90A0
C0/86E2:	AD1A91  	LDA $911A
C0/86E5:	8DA190  	STA $90A1
C0/86E8:	AD5A91  	LDA $915A
C0/86EB:	8DA290  	STA $90A2
C0/86EE:	9CA390  	STZ $90A3
C0/86F1:	9CA490  	STZ $90A4
C0/86F4:	9CA590  	STZ $90A5
C0/86F7:	9CA690  	STZ $90A6
C0/86FA:	9CA790  	STZ $90A7
C0/86FD:	9CA890  	STZ $90A8
C0/8700:	9CA990  	STZ $90A9
C0/8703:	9CAA90  	STZ $90AA
C0/8706:	AD0391  	LDA $9103
C0/8709:	8DAB90  	STA $90AB
C0/870C:	AD4391  	LDA $9143
C0/870F:	8DAC90  	STA $90AC
C0/8712:	AD0591  	LDA $9105
C0/8715:	8DAD90  	STA $90AD
C0/8718:	AD4591  	LDA $9145
C0/871B:	8DAE90  	STA $90AE
C0/871E:	AD0791  	LDA $9107
C0/8721:	8DAF90  	STA $90AF
C0/8724:	AD4791  	LDA $9147
C0/8727:	8DB090  	STA $90B0
C0/872A:	AD0991  	LDA $9109
C0/872D:	8DB190  	STA $90B1
C0/8730:	AD4991  	LDA $9149
C0/8733:	8DB290  	STA $90B2
C0/8736:	AD0B91  	LDA $910B
C0/8739:	8DB390  	STA $90B3
C0/873C:	AD4B91  	LDA $914B
C0/873F:	8DB490  	STA $90B4
C0/8742:	AD0D91  	LDA $910D
C0/8745:	8DB590  	STA $90B5
C0/8748:	AD4D91  	LDA $914D
C0/874B:	8DB690  	STA $90B6
C0/874E:	AD0F91  	LDA $910F
C0/8751:	8DB790  	STA $90B7
C0/8754:	AD4F91  	LDA $914F
C0/8757:	8DB890  	STA $90B8
C0/875A:	AD1191  	LDA $9111
C0/875D:	8DB990  	STA $90B9
C0/8760:	AD5191  	LDA $9151
C0/8763:	8DBA90  	STA $90BA
C0/8766:	AD1391  	LDA $9113
C0/8769:	8DBB90  	STA $90BB
C0/876C:	AD5391  	LDA $9153
C0/876F:	8DBC90  	STA $90BC
C0/8772:	AD1591  	LDA $9115
C0/8775:	8DBD90  	STA $90BD
C0/8778:	AD5591  	LDA $9155
C0/877B:	8DBE90  	STA $90BE
C0/877E:	AD1791  	LDA $9117
C0/8781:	8DBF90  	STA $90BF
C0/8784:	AD5791  	LDA $9157
C0/8787:	8DC090  	STA $90C0
C0/878A:	AD1991  	LDA $9119
C0/878D:	8DC190  	STA $90C1
C0/8790:	AD5991  	LDA $9159
C0/8793:	8DC290  	STA $90C2
C0/8796:	7B      	TDC 
C0/8797:	48      	PHA
C0/8798:	AB      	PLB
C0/8799:	60      	RTS

C0/879A unknow

C0/879A:	A28390  	LDX #$9083
C0/879D:	8E8121  	STX $2181
C0/87A0:	A97E    	LDA #$7E
C0/87A2:	8D8321  	STA $2183
C0/87A5:	9C8021  	STZ $2180
C0/87A8:	9C8021  	STZ $2180
C0/87AB:	9C8021  	STZ $2180
C0/87AE:	9C8021  	STZ $2180
C0/87B1:	9C8021  	STZ $2180
C0/87B4:	9C8021  	STZ $2180
C0/87B7:	9C8021  	STZ $2180
C0/87BA:	9C8021  	STZ $2180
C0/87BD:	A600    	LDX $00
C0/87BF:	9B      	TXY
C0/87C0:	BF3288C0	LDA $C08832,X
C0/87C4:	8D8021  	STA $2180
C0/87C7:	4A      	LSR A
C0/87C8:	8D8021  	STA $2180
C0/87CB:	E8      	INX
C0/87CC:	E00C00  	CPX #$000C
C0/87CF:	D0EF    	BNE $87C0
C0/87D1:	9C8021  	STZ $2180
C0/87D4:	9C8021  	STZ $2180
C0/87D7:	9C8021  	STZ $2180
C0/87DA:	9C8021  	STZ $2180
C0/87DD:	9C8021  	STZ $2180
C0/87E0:	9C8021  	STZ $2180
C0/87E3:	9C8021  	STZ $2180
C0/87E6:	9C8021  	STZ $2180
C0/87E9:	9C8021  	STZ $2180
C0/87EC:	9C8021  	STZ $2180
C0/87EF:	9C8021  	STZ $2180
C0/87F2:	9C8021  	STZ $2180
C0/87F5:	9C8021  	STZ $2180
C0/87F8:	9C8021  	STZ $2180
C0/87FB:	9C8021  	STZ $2180
C0/87FE:	9C8021  	STZ $2180
C0/8801:	9C8021  	STZ $2180
C0/8804:	9C8021  	STZ $2180
C0/8807:	9C8021  	STZ $2180
C0/880A:	9C8021  	STZ $2180
C0/880D:	9C8021  	STZ $2180
C0/8810:	9C8021  	STZ $2180
C0/8813:	9C8021  	STZ $2180
C0/8816:	9C8021  	STZ $2180
C0/8819:	9C8021  	STZ $2180
C0/881C:	9C8021  	STZ $2180
C0/881F:	9C8021  	STZ $2180
C0/8822:	9C8021  	STZ $2180
C0/8825:	9C8021  	STZ $2180
C0/8828:	9C8021  	STZ $2180
C0/882B:	9C8021  	STZ $2180
C0/882E:	9C8021  	STZ $2180
C0/8831:	60      	RTS

C0/8832 unknow

C0/8832:	203038  	JSR $3830
C0/8835:	3C3E3F  	BIT $3F3E,X
C0/8838:	3E3C38  	ROL $383C,X
C0/883B:	3020    	BMI $885D
C0/883D:	00

C0/883E unknow

C0/883E:	AD8205  	LDA $0582
C0/8841:	??????          ????
C0/8844:	8205A9  	BRL $314C
C0/8847:	808D    	BRA $87D6
C0/8849:	1521    	ORA $21,X

C0/884B unknow

C0/884B:	9C0B42  	STZ $420B      (turn off DMA)
C0/884E:	C221    	REP #$21
C0/8850:	A5C3    	LDA $C3
C0/8852:	690038  	ADC #$3800
C0/8855:	8D1621  	STA $2116
C0/8858:	7B      	TDC 
C0/8859:	E220    	SEP #$20      (8 bit accum./memory)
C0/885B:	A941    	LDA #$41
C0/885D:	8D0043  	STA $4300
C0/8860:	A918    	LDA #$18
C0/8862:	8D0143  	STA $4301
C0/8865:	A2A390  	LDX #$90A3
C0/8868:	8E0243  	STX $4302
C0/886B:	A97E    	LDA #$7E
C0/886D:	8D0443  	STA $4304
C0/8870:	8D0743  	STA $4307
C0/8873:	A22000  	LDX #$0020
C0/8876:	8E0543  	STX $4305
C0/8879:	A901    	LDA #$01
C0/887B:	8D0B42  	STA $420B
C0/887E:	9C0B42  	STZ $420B      (turn off DMA)
C0/8881:	C221    	REP #$21
C0/8883:	AD8005  	LDA $0580
C0/8886:	690038  	ADC #$3800
C0/8889:	8D1621  	STA $2116
C0/888C:	7B      	TDC 
C0/888D:	E220    	SEP #$20      (8 bit accum./memory)
C0/888F:	A28390  	LDX #$9083
C0/8892:	8E0243  	STX $4302
C0/8895:	A97E    	LDA #$7E
C0/8897:	8D0443  	STA $4304
C0/889A:	8D0743  	STA $4307		
C0/889D:	A22000  	LDX #$0020
C0/88A0:	8E0543  	STX $4305
C0/88A3:	A901    	LDA #$01
C0/88A5:	8D0B42  	STA $420B
C0/88A8:	60      	RTS

C0/88A9 unknow

C0/88A9:	A97E    	LDA #$7E		(from C0/7FB8, C0/8544, C0/8572)
C0/88AB:	8D8321  	STA $2183
C0/88AE:	A20391  	LDX #$9103
C0/88B1:	8E8121  	STX $2181
C0/88B4:	A21000  	LDX #$0010
C0/88B7:	9C8021  	STZ $2180
C0/88BA:	9C8021  	STZ $2180
C0/88BD:	9C8021  	STZ $2180
C0/88C0:	9C8021  	STZ $2180
C0/88C3:	9C8021  	STZ $2180
C0/88C6:	9C8021  	STZ $2180
C0/88C9:	9C8021  	STZ $2180
C0/88CC:	9C8021  	STZ $2180
C0/88CF:	CA      	DEX
C0/88D0:	D0E5    	BNE $88B7
C0/88D2:	60      	RTS

C0/88D3 unknow

C0/88D3:	A97E    	LDA #$7E
C0/88D5:	48      	PHA
C0/88D6:	AB      	PLB
C0/88D7:	ADBF00  	LDA $00BF
C0/88DA:	2908    	AND #$08
C0/88DC:	F003    	BEQ $88E1
C0/88DE:	4C2489  	JMP $8924
C0/88E1:	A600    	LDX $00
C0/88E3:	BD0491  	LDA $9104,X
C0/88E6:	1D0490  	ORA $9004,X
C0/88E9:	9D0491  	STA $9104,X
C0/88EC:	BD0391  	LDA $9103,X
C0/88EF:	1D0390  	ORA $9003,X
C0/88F2:	9D0391  	STA $9103,X
C0/88F5:	BD2491  	LDA $9124,X
C0/88F8:	1D2490  	ORA $9024,X
C0/88FB:	9D2491  	STA $9124,X
C0/88FE:	BD4491  	LDA $9144,X
C0/8901:	1D4490  	ORA $9044,X
C0/8904:	9D4491  	STA $9144,X
C0/8907:	BD4391  	LDA $9143,X
C0/890A:	1D4390  	ORA $9043,X
C0/890D:	9D4391  	STA $9143,X
C0/8910:	BD6491  	LDA $9164,X
C0/8913:	1D6490  	ORA $9064,X
C0/8916:	9D6491  	STA $9164,X
C0/8919:	E8      	INX
C0/891A:	E8      	INX
C0/891B:	E02000  	CPX #$0020
C0/891E:	D0C3    	BNE $88E3
C0/8920:	7B      	TDC 
C0/8921:	48      	PHA
C0/8922:	AB      	PLB
C0/8923:	60      	RTS

C0/8924 unknow

C0/8924:	A600    	LDX $00
C0/8926:	BD0391  	LDA $9103,X
C0/8929:	1D0490  	ORA $9004,X
C0/892C:	9D0391  	STA $9103,X
C0/892F:	BD2491  	LDA $9124,X
C0/8932:	1D0390  	ORA $9003,X
C0/8935:	9D2491  	STA $9124,X
C0/8938:	BD2391  	LDA $9123,X
C0/893B:	1D2490  	ORA $9024,X
C0/893E:	9D2391  	STA $9123,X
C0/8941:	BD4391  	LDA $9143,X
C0/8944:	1D4490  	ORA $9044,X
C0/8947:	9D4391  	STA $9143,X
C0/894A:	BD6491  	LDA $9164,X
C0/894D:	1D4390  	ORA $9043,X
C0/8950:	9D6491  	STA $9164,X
C0/8953:	BD6391  	LDA $9163,X
C0/8956:	1D6490  	ORA $9064,X
C0/8959:	9D6391  	STA $9163,X
C0/895C:	E8      	INX
C0/895D:	E8      	INX
C0/895E:	E02000  	CPX #$0020
C0/8961:	D0C3    	BNE $8926
C0/8963:	7B      	TDC 
C0/8964:	48      	PHA
C0/8965:	AB      	PLB
C0/8966:	60      	RTS

C0/8967 unknow

C0/8967:	A97E    	LDA #$7E
C0/8969:	48      	PHA
C0/896A:	AB      	PLB
C0/896B:	A600    	LDX $00
C0/896D:	BD2391  	LDA $9123,X
C0/8970:	9D0391  	STA $9103,X
C0/8973:	BD6391  	LDA $9163,X
C0/8976:	9D4391  	STA $9143,X
C0/8979:	7B      	TDC 
C0/897A:	9D2391  	STA $9123,X
C0/897D:	9D6391  	STA $9163,X
C0/8980:	E8      	INX
C0/8981:	E02000  	CPX #$0020
C0/8984:	D0E7    	BNE $896D
C0/8986:	7B      	TDC 
C0/8987:	48      	PHA
C0/8988:	AB      	PLB
C0/8989:	60      	RTS

C0/898A unknow

C0/898A:	A97E    	LDA #$7E			(from C0/84E1, C0/8520, C0/855A)
C0/898C:	8D8321  	STA $2183
C0/898F:	A22390  	LDX #$9023
C0/8992:	8E8121  	STX $2181
C0/8995:	9C8021  	STZ $2180
C0/8998:	9C8021  	STZ $2180
C0/899B:	9C8021  	STZ $2180
C0/899E:	9C8021  	STZ $2180
C0/89A1:	9C8021  	STZ $2180
C0/89A4:	9C8021  	STZ $2180
C0/89A7:	9C8021  	STZ $2180
C0/89AA:	9C8021  	STZ $2180
C0/89AD:	9C8021  	STZ $2180
C0/89B0:	9C8021  	STZ $2180
C0/89B3:	9C8021  	STZ $2180
C0/89B6:	9C8021  	STZ $2180
C0/89B9:	9C8021  	STZ $2180
C0/89BC:	9C8021  	STZ $2180
C0/89BF:	9C8021  	STZ $2180
C0/89C2:	9C8021  	STZ $2180
C0/89C5:	9C8021  	STZ $2180
C0/89C8:	9C8021  	STZ $2180
C0/89CB:	9C8021  	STZ $2180
C0/89CE:	9C8021  	STZ $2180
C0/89D1:	9C8021  	STZ $2180
C0/89D4:	9C8021  	STZ $2180
C0/89D7:	9C8021  	STZ $2180
C0/89DA:	9C8021  	STZ $2180
C0/89DD:	A26390  	LDX #$9063
C0/89E0:	8E8121  	STX $2181
C0/89E3:	9C8021  	STZ $2180
C0/89E6:	9C8021  	STZ $2180
C0/89E9:	9C8021  	STZ $2180
C0/89EC:	9C8021  	STZ $2180
C0/89EF:	9C8021  	STZ $2180
C0/89F2:	9C8021  	STZ $2180
C0/89F5:	9C8021  	STZ $2180
C0/89F8:	9C8021  	STZ $2180
C0/89FB:	9C8021  	STZ $2180
C0/89FE:	9C8021  	STZ $2180
C0/8A01:	9C8021  	STZ $2180
C0/8A04:	9C8021  	STZ $2180
C0/8A07:	9C8021  	STZ $2180
C0/8A0A:	9C8021  	STZ $2180
C0/8A0D:	9C8021  	STZ $2180
C0/8A10:	9C8021  	STZ $2180
C0/8A13:	9C8021  	STZ $2180
C0/8A16:	9C8021  	STZ $2180
C0/8A19:	9C8021  	STZ $2180
C0/8A1C:	9C8021  	STZ $2180
C0/8A1F:	9C8021  	STZ $2180
C0/8A22:	9C8021  	STZ $2180
C0/8A25:	9C8021  	STZ $2180
C0/8A28:	9C8021  	STZ $2180
C0/8A2B:	C220    	REP #$20      (16 bit accum./memory)
C0/8A2D:	A5CD    	LDA $CD
C0/8A2F:	0A      	ASL A
C0/8A30:	851E    	STA $1E
C0/8A32:	0A      	ASL A
C0/8A33:	8520    	STA $20
C0/8A35:	0A      	ASL A
C0/8A36:	0A      	ASL A
C0/8A37:	18      	CLC
C0/8A38:	651E    	ADC $1E
C0/8A3A:	18      	CLC
C0/8A3B:	6520    	ADC $20
C0/8A3D:	AA      	TAX
C0/8A3E:	7B      	TDC 
C0/8A3F:	E220    	SEP #$20      (8 bit accum./memory)
C0/8A41:	A97E    	LDA #$7E
C0/8A43:	48      	PHA
C0/8A44:	AB      	PLB
C0/8A45:	ADBF00  	LDA $00BF
C0/8A48:	2907    	AND #$07
C0/8A4A:	C904    	CMP #$04
C0/8A4C:	D003    	BNE $8A51
C0/8A4E:	4C238B  	JMP $8B23
C0/8A51:	9003    	BCC $8A56
C0/8A53:	4C428B  	JMP $8B42
C0/8A56:	4502    	EOR $02        (EOR #$FF?! cleverness?! what?!)
C0/8A58:	18      	CLC
C0/8A59:	6905    	ADC #$05
C0/8A5B:	851E    	STA $1E
C0/8A5D:	641F    	STZ $1F
C0/8A5F:	C220    	REP #$20      (16 bit accum./memory)
C0/8A61:	A41E    	LDY $1E
C0/8A63:	BF008EC4	LDA $C48E00,X  (this is actually loading VWF data)
C0/8A67:	0A      	ASL A
C0/8A68:	88      	DEY 
C0/8A69:	D0FC    	BNE $8A67
C0/8A6B:	8D0390  	STA $9003
C0/8A6E:	4A      	LSR A
C0/8A6F:	8D4590  	STA $9045
C0/8A72:	A41E    	LDY $1E
C0/8A74:	BF028EC4	LDA $C48E02,X  (this is actually loading VWF data)
C0/8A78:	0A      	ASL A
C0/8A79:	88      	DEY 
C0/8A7A:	D0FC    	BNE $8A78
C0/8A7C:	8D0590  	STA $9005
C0/8A7F:	4A      	LSR A
C0/8A80:	8D4790  	STA $9047
C0/8A83:	A41E    	LDY $1E
C0/8A85:	BF048EC4	LDA $C48E04,X  (this is actually loading VWF data)
C0/8A89:	0A      	ASL A
C0/8A8A:	88      	DEY 
C0/8A8B:	D0FC    	BNE $8A89
C0/8A8D:	8D0790  	STA $9007
C0/8A90:	4A      	LSR A
C0/8A91:	8D4990  	STA $9049
C0/8A94:	A41E    	LDY $1E
C0/8A96:	BF068EC4	LDA $C48E06,X  (this is actually loading VWF data)
C0/8A9A:	0A      	ASL A
C0/8A9B:	88      	DEY 
C0/8A9C:	D0FC    	BNE $8A9A
C0/8A9E:	8D0990  	STA $9009
C0/8AA1:	4A      	LSR A
C0/8AA2:	8D4B90  	STA $904B
C0/8AA5:	A41E    	LDY $1E
C0/8AA7:	BF088EC4	LDA $C48E08,X  (this is actually loading VWF data)
C0/8AAB:	0A      	ASL A
C0/8AAC:	88      	DEY 
C0/8AAD:	D0FC    	BNE $8AAB
C0/8AAF:	8D0B90  	STA $900B
C0/8AB2:	4A      	LSR A
C0/8AB3:	8D4D90  	STA $904D
C0/8AB6:	A41E    	LDY $1E
C0/8AB8:	BF0A8EC4	LDA $C48E0A,X  (this is actually loading VWF data)
C0/8ABC:	0A      	ASL A
C0/8ABD:	88      	DEY 
C0/8ABE:	D0FC    	BNE $8ABC
C0/8AC0:	8D0D90  	STA $900D
C0/8AC3:	4A      	LSR A
C0/8AC4:	8D4F90  	STA $904F
C0/8AC7:	A41E    	LDY $1E
C0/8AC9:	BF0C8EC4	LDA $C48E0C,X  (this is actually loading VWF data)
C0/8ACD:	0A      	ASL A
C0/8ACE:	88      	DEY 
C0/8ACF:	D0FC    	BNE $8ACD
C0/8AD1:	8D0F90  	STA $900F
C0/8AD4:	4A      	LSR A
C0/8AD5:	8D5190  	STA $9051
C0/8AD8:	A41E    	LDY $1E
C0/8ADA:	BF0E8EC4	LDA $C48E0E,X  (this is actually loading VWF data)
C0/8ADE:	0A      	ASL A
C0/8ADF:	88      	DEY 
C0/8AE0:	D0FC    	BNE $8ADE
C0/8AE2:	8D1190  	STA $9011
C0/8AE5:	4A      	LSR A
C0/8AE6:	8D5390  	STA $9053
C0/8AE9:	A41E    	LDY $1E
C0/8AEB:	BF108EC4	LDA $C48E10,X  (this is actually loading VWF data)
C0/8AEF:	0A      	ASL A
C0/8AF0:	88      	DEY 
C0/8AF1:	D0FC    	BNE $8AEF
C0/8AF3:	8D1390  	STA $9013
C0/8AF6:	4A      	LSR A
C0/8AF7:	8D5590  	STA $9055
C0/8AFA:	A41E    	LDY $1E
C0/8AFC:	BF128EC4	LDA $C48E12,X  (this is actually loading VWF data)
C0/8B00:	0A      	ASL A
C0/8B01:	88      	DEY 
C0/8B02:	D0FC    	BNE $8B00
C0/8B04:	8D1590  	STA $9015
C0/8B07:	4A      	LSR A
C0/8B08:	8D5790  	STA $9057
C0/8B0B:	A41E    	LDY $1E
C0/8B0D:	BF148EC4	LDA $C48E14,X  (this is actually loading VWF data)
C0/8B11:	0A      	ASL A
C0/8B12:	88      	DEY 
C0/8B13:	D0FC    	BNE $8B11
C0/8B15:	8D1790  	STA $9017
C0/8B18:	4A      	LSR A
C0/8B19:	8D5990  	STA $9059
C0/8B1C:	7B      	TDC 
C0/8B1D:	E220    	SEP #$20      (8 bit accum./memory)
C0/8B1F:	7B      	TDC            (no need for this)
C0/8B20:	48      	PHA
C0/8B21:	AB      	PLB           (set B to #$00)
C0/8B22:	60      	RTS

C0/8B23 unknow

C0/8B23:	C220    	REP #$20      (16 bit accum./memory)
C0/8B25:	A400    	LDY $00
C0/8B27:	BF008EC4	LDA $C48E00,X  (this is actually loading VWF data)
C0/8B2B:	990390  	STA $9003,Y
C0/8B2E:	4A      	LSR A
C0/8B2F:	994590  	STA $9045,Y
C0/8B32:	E8      	INX
C0/8B33:	E8      	INX
C0/8B34:	C8      	INY 
C0/8B35:	C8      	INY 
C0/8B36:	C01600  	CPY #$0016
C0/8B39:	D0EC    	BNE $8B27
C0/8B3B:	7B      	TDC 
C0/8B3C:	E220    	SEP #$20      (8 bit accum./memory)
C0/8B3E:	7B      	TDC            (no need for this)
C0/8B3F:	48      	PHA
C0/8B40:	AB      	PLB           (set B to #$00)
C0/8B41:	60      	RTS

C0/8B42 unknow

C0/8B42:	38      	SEC 
C0/8B43:	E904    	SBC #$04
C0/8B45:	851E    	STA $1E
C0/8B47:	641F    	STZ $1F
C0/8B49:	C220    	REP #$20      (16 bit accum./memory)
C0/8B4B:	A41E    	LDY $1E
C0/8B4D:	BF008EC4	LDA $C48E00,X  (this is actually loading VWF data)
C0/8B51:	4A      	LSR A
C0/8B52:	6E2390  	ROR $9023
C0/8B55:	88      	DEY 
C0/8B56:	D0F9    	BNE $8B51
C0/8B58:	8D0390  	STA $9003
C0/8B5B:	4A      	LSR A
C0/8B5C:	8D4590  	STA $9045
C0/8B5F:	AD2390  	LDA $9023
C0/8B62:	6A      	ROR A
C0/8B63:	8D6590  	STA $9065
C0/8B66:	A41E    	LDY $1E
C0/8B68:	BF028EC4	LDA $C48E02,X  (this is actually loading VWF data)
C0/8B6C:	4A      	LSR A
C0/8B6D:	6E2590  	ROR $9025
C0/8B70:	88      	DEY 
C0/8B71:	D0F9    	BNE $8B6C
C0/8B73:	8D0590  	STA $9005
C0/8B76:	4A      	LSR A
C0/8B77:	8D4790  	STA $9047
C0/8B7A:	AD2590  	LDA $9025
C0/8B7D:	6A      	ROR A
C0/8B7E:	8D6790  	STA $9067
C0/8B81:	A41E    	LDY $1E
C0/8B83:	BF048EC4	LDA $C48E04,X  (this is actually loading VWF data)
C0/8B87:	4A      	LSR A
C0/8B88:	6E2790  	ROR $9027
C0/8B8B:	88      	DEY 
C0/8B8C:	D0F9    	BNE $8B87
C0/8B8E:	8D0790  	STA $9007
C0/8B91:	4A      	LSR A
C0/8B92:	8D4990  	STA $9049
C0/8B95:	AD2790  	LDA $9027
C0/8B98:	6A      	ROR A
C0/8B99:	8D6990  	STA $9069
C0/8B9C:	A41E    	LDY $1E
C0/8B9E:	BF068EC4	LDA $C48E06,X  (this is actually loading VWF data)
C0/8BA2:	4A      	LSR A
C0/8BA3:	6E2990  	ROR $9029
C0/8BA6:	88      	DEY 
C0/8BA7:	D0F9    	BNE $8BA2
C0/8BA9:	8D0990  	STA $9009
C0/8BAC:	4A      	LSR A
C0/8BAD:	8D4B90  	STA $904B
C0/8BB0:	AD2990  	LDA $9029
C0/8BB3:	6A      	ROR A
C0/8BB4:	8D6B90  	STA $906B
C0/8BB7:	A41E    	LDY $1E
C0/8BB9:	BF088EC4	LDA $C48E08,X  (this is actually loading VWF data)
C0/8BBD:	4A      	LSR A
C0/8BBE:	6E2B90  	ROR $902B
C0/8BC1:	88      	DEY 
C0/8BC2:	D0F9    	BNE $8BBD
C0/8BC4:	8D0B90  	STA $900B
C0/8BC7:	4A      	LSR A
C0/8BC8:	8D4D90  	STA $904D
C0/8BCB:	AD2B90  	LDA $902B
C0/8BCE:	6A      	ROR A
C0/8BCF:	8D6D90  	STA $906D
C0/8BD2:	A41E    	LDY $1E
C0/8BD4:	BF0A8EC4	LDA $C48E0A,X  (this is actually loading VWF data)
C0/8BD8:	4A      	LSR A
C0/8BD9:	6E2D90  	ROR $902D
C0/8BDC:	88      	DEY 
C0/8BDD:	D0F9    	BNE $8BD8
C0/8BDF:	8D0D90  	STA $900D
C0/8BE2:	4A      	LSR A
C0/8BE3:	8D4F90  	STA $904F
C0/8BE6:	AD2D90  	LDA $902D
C0/8BE9:	6A      	ROR A
C0/8BEA:	8D6F90  	STA $906F
C0/8BED:	A41E    	LDY $1E
C0/8BEF:	BF0C8EC4	LDA $C48E0C,X  (this is actually loading VWF data)
C0/8BF3:	4A      	LSR A
C0/8BF4:	6E2F90  	ROR $902F
C0/8BF7:	88      	DEY 
C0/8BF8:	D0F9    	BNE $8BF3
C0/8BFA:	8D0F90  	STA $900F
C0/8BFD:	4A      	LSR A
C0/8BFE:	8D5190  	STA $9051
C0/8C01:	AD2F90  	LDA $902F
C0/8C04:	6A      	ROR A
C0/8C05:	8D7190  	STA $9071
C0/8C08:	A41E    	LDY $1E
C0/8C0A:	BF0E8EC4	LDA $C48E0E,X  (this is actually loading VWF data)
C0/8C0E:	4A      	LSR A
C0/8C0F:	6E3190  	ROR $9031
C0/8C12:	88      	DEY 
C0/8C13:	D0F9    	BNE $8C0E
C0/8C15:	8D1190  	STA $9011
C0/8C18:	4A      	LSR A
C0/8C19:	8D5390  	STA $9053
C0/8C1C:	AD3190  	LDA $9031
C0/8C1F:	6A      	ROR A
C0/8C20:	8D7390  	STA $9073
C0/8C23:	A41E    	LDY $1E
C0/8C25:	BF108EC4	LDA $C48E10,X  (this is actually loading VWF data)
C0/8C29:	4A      	LSR A
C0/8C2A:	6E3390  	ROR $9033
C0/8C2D:	88      	DEY 
C0/8C2E:	D0F9    	BNE $8C29
C0/8C30:	8D1390  	STA $9013
C0/8C33:	4A      	LSR A
C0/8C34:	8D5590  	STA $9055
C0/8C37:	AD3390  	LDA $9033
C0/8C3A:	6A      	ROR A
C0/8C3B:	8D7590  	STA $9075
C0/8C3E:	A41E    	LDY $1E
C0/8C40:	BF128EC4	LDA $C48E12,X  (this is actually loading VWF data)
C0/8C44:	4A      	LSR A
C0/8C45:	6E3590  	ROR $9035
C0/8C48:	88      	DEY 
C0/8C49:	D0F9    	BNE $8C44
C0/8C4B:	8D1590  	STA $9015
C0/8C4E:	4A      	LSR A
C0/8C4F:	8D5790  	STA $9057
C0/8C52:	AD3590  	LDA $9035
C0/8C55:	6A      	ROR A
C0/8C56:	8D7790  	STA $9077
C0/8C59:	A41E    	LDY $1E
C0/8C5B:	BF148EC4	LDA $C48E14,X  (this is actually loading VWF data)
C0/8C5F:	4A      	LSR A
C0/8C60:	6E3790  	ROR $9037
C0/8C63:	88      	DEY 
C0/8C64:	D0F9    	BNE $8C5F
C0/8C66:	8D1790  	STA $9017
C0/8C69:	4A      	LSR A
C0/8C6A:	8D5990  	STA $9059
C0/8C6D:	AD3790  	LDA $9037
C0/8C70:	6A      	ROR A
C0/8C71:	8D7990  	STA $9079
C0/8C74:	7B      	TDC 
C0/8C75:	E220    	SEP #$20      (8 bit accum./memory)
C0/8C77:	7B      	TDC 
C0/8C78:	48      	PHA
C0/8C79:	AB      	PLB
C0/8C7A:	60      	RTS

C0/8C7B unknow

C0/8C7B:	AB      	PLB
C0/8C7C:	8CAE8C  	STY $8CAE
C0/8C7F:	B38C    	LDA ($8C,S),Y
C0/8C81:	B68C    	LDX $8C,Y
C0/8C83:	B98CBE  	LDA $BE8C,Y
C0/8C86:	8CC18C  	STY $8CC1
C0/8C89:	C48C    	CPY $8C
C0/8C8B:	C98C    	CMP #$8C
C0/8C8D:	CC8CD6  	CPY $D68C
C0/8C90:	8CDE8C  	STY $8CDE
C0/8C93:	E18C    	SBC ($8C,X)
C0/8C95:	E48C    	CPX $8C
C0/8C97:	E98C    	SBC #$8C
C0/8C99:	F18C    	SBC ($8C),Y
C0/8C9B:	F48CF9  	PEA $F98C
C0/8C9E:	8CFE8C  	STY $8CFE
C0/8CA1:	048D    	TSB $8D
C0/8CA3:	08      	PHP 
C0/8CA4:	8D0B8D  	STA $8D0B
C0/8CA7:	0F8D128D	ORA $8D128D
C0/8CAB:	C7C7    	CMP [$C7]
C0/8CAD:	001F    	BRK #$1F
C0/8CAF:	F91FF8  	SBC $F81F,Y
C0/8CB2:	00BD    	BRK #$BD
C0/8CB4:	8500    	STA $00
C0/8CB6:	BD7F00  	LDA $007F,X
C0/8CB9:	1E9F1E  	ASL $1E9F,X
C0/8CBC:	AF00938D	LDA $8D9300
C0/8CC0:	0077    	BRK #$77
C0/8CC2:	8500    	STA $00
C0/8CC4:	1C001D  	TRB $1D00
C0/8CC7:	ED0085  	SBC $8500
C0/8CCA:	8D001F  	STA $1F00
C0/8CCD:	2A      	ROL A
C0/8CCE:	1F781F86	ORA $861F78,X
C0/8CD2:	1FA6D000	ORA $00D0A6,X
C0/8CD6:	1F701F64	ORA $641F70,X
C0/8CDA:	1F6AD000	ORA $00D06A,X
C0/8CDE:	6B      	RTL

C0/8CDF unknow

C0/8CDF:	A700    	LDA [$00]
C0/8CE1:	739B    	ADC ($9B,S),Y
C0/8CE3:	001E    	BRK #$1E
C0/8CE5:	DA      	PHX
C0/8CE6:	1C0300  	TRB $0003
C0/8CE9:	1F201F92	ORA $921F20,X
C0/8CED:	1FB8D000	ORA $00D0B8,X
C0/8CF1:	B93F00  	LDA $003F,Y
C0/8CF4:	1C041E  	TRB $1E04
C0/8CF7:	0D0045  	ORA $4500
C0/8CFA:	3335    	AND ($35,S),Y
C0/8CFC:	AB      	PLB
C0/8CFD:	001F    	BRK #$1F
C0/8CFF:	761F    	ROR $1F,X
C0/8D01:	46D0    	LSR $D0
C0/8D03:	009B    	BRK #$9B
C0/8D05:	1DE600  	ORA $00E6,X
C0/8D08:	37BF    	AND [$BF],Y
C0/8D0A:	0085    	BRK #$85
C0/8D0C:	6FAD003F	ADC $3F00AD
C0/8D10:	D200    	CMP ($00)
C0/8D12:	1E231E  	ASL $1E23,X
C0/8D15:	0100    	ORA ($00,X)

C0/8D17 unknow

C0/8D17:	AD3A05  	LDA $053A		(from C0/BF97)
C0/8D1A:	D001    	BNE $8D1D
C0/8D1C:	60      	RTS
C0/8D1D:	3A      	DEC A			(from C0/8D1A)
C0/8D1E:	8D0242  	STA $4202
C0/8D21:	A90C    	LDA #$0C
C0/8D23:	8D0342  	STA $4203
C0/8D26:	EA      	NOP
C0/8D27:	EA      	NOP
C0/8D28:	EA      	NOP
C0/8D29:	AE1642  	LDX $4216
C0/8D2C:	A400    	LDY $00
C0/8D2E:	BF2598C0	LDA $C09825,X
C0/8D32:	99EA10  	STA $10EA,Y
C0/8D35:	BF2698C0	LDA $C09826,X
C0/8D39:	99E810  	STA $10E8,Y
C0/8D3C:	BF2798C0	LDA $C09827,X
C0/8D40:	99EB10  	STA $10EB,Y
C0/8D43:	BF2898C0	LDA $C09828,X
C0/8D47:	99EC10  	STA $10EC,Y
C0/8D4A:	BF2998C0	LDA $C09829,X
C0/8D4E:	99ED10  	STA $10ED,Y
C0/8D51:	BF2A98C0	LDA $C0982A,X
C0/8D55:	99EE10  	STA $10EE,Y
C0/8D58:	A900    	LDA #$00
C0/8D5A:	99E710  	STA $10E7,Y
C0/8D5D:	99E910  	STA $10E9,Y
C0/8D60:	C221    	REP #$21
C0/8D62:	8A      	TXA
C0/8D63:	690600  	ADC #$0006
C0/8D66:	AA      	TAX
C0/8D67:	7B      	TDC 
C0/8D68:	E220    	SEP #$20      (8 bit accum./memory)
C0/8D6A:	98      	TYA
C0/8D6B:	18      	CLC
C0/8D6C:	6908    	ADC #$08
C0/8D6E:	A8      	TAY
C0/8D6F:	C910    	CMP #$10
C0/8D71:	D0BB    	BNE $8D2E
C0/8D73:	60      	RTS

C0/8D74 unknow

C0/8D74:	AD3A05  	LDA $053A	  	(from C0/00B0)
C0/8D77:	F04E    	BEQ $8DC7
C0/8D79:	A400    	LDY $00
C0/8D7B:	B9EA10  	LDA $10EA,Y
C0/8D7E:	303B    	BMI $8DBB
C0/8D80:	29F0    	AND #$F0
C0/8D82:	4A      	LSR A
C0/8D83:	4A      	LSR A
C0/8D84:	4A      	LSR A
C0/8D85:	4A      	LSR A
C0/8D86:	D00A    	BNE $8D92
C0/8D88:	20C88D  	JSR $8DC8
C0/8D8B:	C900    	CMP #$00
C0/8D8D:	D02C    	BNE $8DBB
C0/8D8F:	4CBB8D  	JMP $8DBB
C0/8D92:	3A      	DEC A
C0/8D93:	D00D    	BNE $8DA2
C0/8D95:	20C88D  	JSR $8DC8
C0/8D98:	C900    	CMP #$00
C0/8D9A:	D01F    	BNE $8DBB
C0/8D9C:	20A98E  	JSR $8EA9
C0/8D9F:	4CBB8D  	JMP $8DBB
C0/8DA2:	3A      	DEC A
C0/8DA3:	D00B    	BNE $8DB0
C0/8DA5:	20C88D  	JSR $8DC8
C0/8DA8:	5A      	PHY
C0/8DA9:	206B8E  	JSR $8E6B
C0/8DAC:	7A      	PLY
C0/8DAD:	4CBB8D  	JMP $8DBB
C0/8DB0:	3A      	DEC A
C0/8DB1:	D008    	BNE $8DBB
C0/8DB3:	20C88D  	JSR $8DC8
C0/8DB6:	5A      	PHY
C0/8DB7:	20048E  	JSR $8E04
C0/8DBA:	7A      	PLY
C0/8DBB:	98      	TYA
C0/8DBC:	18      	CLC
C0/8DBD:	6908    	ADC #$08
C0/8DBF:	A8      	TAY
C0/8DC0:	C910    	CMP #$10
C0/8DC2:	F003    	BEQ $8DC7
C0/8DC4:	4C7B8D  	JMP $8D7B
C0/8DC7:	60      	RTS

C0/8DC8 unknow

C0/8DC8:	B9E710  	LDA $10E7,Y		(from C0/8D88)
C0/8DCB:	1A      	INC A
C0/8DCC:	99E710  	STA $10E7,Y
C0/8DCF:	D9E810  	CMP $10E8,Y
C0/8DD2:	D01B    	BNE $8DEF
C0/8DD4:	A900    	LDA #$00
C0/8DD6:	99E710  	STA $10E7,Y
C0/8DD9:	B9E910  	LDA $10E9,Y
C0/8DDC:	1A      	INC A
C0/8DDD:	99E910  	STA $10E9,Y
C0/8DE0:	B9EA10  	LDA $10EA,Y
C0/8DE3:	290F    	AND #$0F
C0/8DE5:	D9E910  	CMP $10E9,Y
C0/8DE8:	D005    	BNE $8DEF
C0/8DEA:	7B      	TDC 
C0/8DEB:	99E910  	STA $10E9,Y
C0/8DEE:	60      	RTS
C0/8DEF:	A901    	LDA #$01		(from C0/8DD2, C0/8DE8)
C0/8DF1:	60      	RTS

C0/8DF2 unknow

C0/8DF2:	7080    	
C0/8DF4:	90A0    	
C0/8DF6:	B0C0    	
C0/8DF8:	D0E0    	
C0/8DFA:	F0E0    	
C0/8DFC:	D0C0    	
C0/8DFE:	B0A0    	
C0/8E00:	9080    	
C0/8E02:	7060    	

C0/8E04 unknow

C0/8E04:	B9E910  	LDA $10E9,Y
C0/8E07:	AA      	TAX
C0/8E08:	BFF28DC0	LDA $C08DF2,X
C0/8E0C:	8D0242  	STA $4202
C0/8E0F:	B9EB10  	LDA $10EB,Y
C0/8E12:	AA      	TAX
C0/8E13:	B9EC10  	LDA $10EC,Y
C0/8E16:	1A      	INC A
C0/8E17:	1A      	INC A
C0/8E18:	A8      	TAY
C0/8E19:	BF00727E	LDA $7E7200,X
C0/8E1D:	291F    	AND #$1F
C0/8E1F:	8D0342  	STA $4203
C0/8E22:	EA      	NOP
C0/8E23:	EA      	NOP
C0/8E24:	EA      	NOP
C0/8E25:	AD1742  	LDA $4217
C0/8E28:	291F    	AND #$1F
C0/8E2A:	851E    	STA $1E
C0/8E2C:	BF01727E	LDA $7E7201,X
C0/8E30:	297C    	AND #$7C
C0/8E32:	8D0342  	STA $4203
C0/8E35:	EA      	NOP
C0/8E36:	EA      	NOP
C0/8E37:	EA      	NOP
C0/8E38:	AD1742  	LDA $4217
C0/8E3B:	297C    	AND #$7C
C0/8E3D:	851F    	STA $1F
C0/8E3F:	C220    	REP #$20      (16 bit accum./memory)
C0/8E41:	BF00727E	LDA $7E7200,X
C0/8E45:	29E003  	AND #$03E0
C0/8E48:	4A      	LSR A
C0/8E49:	4A      	LSR A
C0/8E4A:	E220    	SEP #$20      (8 bit accum./memory)
C0/8E4C:	8D0342  	STA $4203
C0/8E4F:	EA      	NOP
C0/8E50:	EA      	NOP
C0/8E51:	EA      	NOP
C0/8E52:	AD1742  	LDA $4217
C0/8E55:	29F8    	AND #$F8
C0/8E57:	C220    	REP #$20      (16 bit accum./memory)
C0/8E59:	0A      	ASL A
C0/8E5A:	0A      	ASL A
C0/8E5B:	051E    	ORA $1E
C0/8E5D:	9F00747E	STA $7E7400,X
C0/8E61:	7B      	TDC 
C0/8E62:	E220    	SEP #$20      (8 bit accum./memory)
C0/8E64:	E8      	INX
C0/8E65:	E8      	INX
C0/8E66:	88      	DEY 
C0/8E67:	88      	DEY 
C0/8E68:	D0AF    	BNE $8E19
C0/8E6A:	60      	RTS

C0/8E6B unknow

C0/8E6B:	B9EB10  	LDA $10EB,Y		(from C0/8DA9)
C0/8E6E:	18      	CLC
C0/8E6F:	6900    	ADC #$00
C0/8E71:	852A    	STA $2A
C0/8E73:	A974    	LDA #$74
C0/8E75:	852B    	STA $2B
C0/8E77:	A97E    	LDA #$7E
C0/8E79:	852C    	STA $2C
C0/8E7B:	B9E910  	LDA $10E9,Y
C0/8E7E:	C220    	REP #$20      (16 bit accum./memory)
C0/8E80:	0A      	ASL A
C0/8E81:	0A      	ASL A
C0/8E82:	0A      	ASL A
C0/8E83:	0A      	ASL A
C0/8E84:	0A      	ASL A
C0/8E85:	18      	CLC
C0/8E86:	79ED10  	ADC $10ED,Y
C0/8E89:	AA      	TAX
C0/8E8A:	7B      	TDC 
C0/8E8B:	E220    	SEP #$20      (8 bit accum./memory)
C0/8E8D:	B9EC10  	LDA $10EC,Y
C0/8E90:	A8      	TAY
C0/8E91:	C8      	INY 
C0/8E92:	C8      	INY 
C0/8E93:	C220    	REP #$20      (16 bit accum./memory)
C0/8E95:	BF00F2E6	LDA $E6F200,X
C0/8E99:	872A    	STA [$2A]
C0/8E9B:	E62A    	INC $2A
C0/8E9D:	E62A    	INC $2A
C0/8E9F:	E8      	INX
C0/8EA0:	E8      	INX
C0/8EA1:	88      	DEY 
C0/8EA2:	88      	DEY 
C0/8EA3:	D0F0    	BNE $8E95
C0/8EA5:	7B      	TDC 
C0/8EA6:	E220    	SEP #$20      (8 bit accum./memory)
C0/8EA8:	60      	RTS

C0/8EA9 unknow

C0/8EA9:	B9EB10  	LDA $10EB,Y
C0/8EAC:	AA      	TAX
C0/8EAD:	18      	CLC
C0/8EAE:	79EC10  	ADC $10EC,Y
C0/8EB1:	8520    	STA $20
C0/8EB3:	6421    	STZ $21
C0/8EB5:	C220    	REP #$20      (16 bit accum./memory)
C0/8EB7:	BF00747E	LDA $7E7400,X
C0/8EBB:	851E    	STA $1E
C0/8EBD:	BF02747E	LDA $7E7402,X
C0/8EC1:	9F00747E	STA $7E7400,X
C0/8EC5:	E8      	INX
C0/8EC6:	E8      	INX
C0/8EC7:	E420    	CPX $20
C0/8EC9:	D0F2    	BNE $8EBD
C0/8ECB:	A51E    	LDA $1E
C0/8ECD:	9F00747E	STA $7E7400,X
C0/8ED1:	7B      	TDC 
C0/8ED2:	E220    	SEP #$20      (8 bit accum./memory)
C0/8ED4:	60      	RTS

C0/8ED5 unknow

C0/8ED5:	20DC8E  	JSR $8EDC		(from C0/BF97)
C0/8ED8:	20B18F  	JSR $8FB1
C0/8EDB:	60      	RTS

C0/8EDC unknow

C0/8EDC:	AD3B05  	LDA $053B		(from C0/8ED5)
C0/8EDF:	291F    	AND #$1F
C0/8EE1:	0A      	ASL A
C0/8EE2:	AA      	TAX
C0/8EE3:	C220    	REP #$20      (16 bit accum./memory)
C0/8EE5:	BFD591C0	LDA $C091D5,X  (load a pointer)
C0/8EE9:	AA      	TAX
C0/8EEA:	7B      	TDC 
C0/8EEB:	E220    	SEP #$20      (8 bit accum./memory)
C0/8EED:	A400    	LDY $00
C0/8EEF:	A9E6    	LDA #$E6
C0/8EF1:	996D10  	STA $106D,Y
C0/8EF4:	C221    	REP #$21
C0/8EF6:	7B      	TDC 
C0/8EF7:	996910  	STA $1069,Y
C0/8EFA:	BFFF91C0	LDA $C091FF,X
C0/8EFE:	996B10  	STA $106B,Y
C0/8F01:	BF0192C0	LDA $C09201,X
C0/8F05:	996E10  	STA $106E,Y
C0/8F08:	BF0392C0	LDA $C09203,X
C0/8F0C:	997010  	STA $1070,Y
C0/8F0F:	BF0592C0	LDA $C09205,X
C0/8F13:	997210  	STA $1072,Y
C0/8F16:	BF0792C0	LDA $C09207,X
C0/8F1A:	997410  	STA $1074,Y
C0/8F1D:	8A      	TXA
C0/8F1E:	690A00  	ADC #$000A
C0/8F21:	AA      	TAX
C0/8F22:	98      	TYA
C0/8F23:	690D00  	ADC #$000D
C0/8F26:	A8      	TAY
C0/8F27:	7B      	TDC 
C0/8F28:	E220    	SEP #$20      (8 bit accum./memory)
C0/8F2A:	C06800  	CPY #$0068
C0/8F2D:	D0C0    	BNE $8EEF
C0/8F2F:	A910    	LDA #$10
C0/8F31:	851A    	STA $1A
C0/8F33:	A0009F  	LDY #$9F00
C0/8F36:	8C8121  	STY $2181
C0/8F39:	A97E    	LDA #$7E
C0/8F3B:	8D8321  	STA $2183
C0/8F3E:	AD3B05  	LDA $053B
C0/8F41:	291F    	AND #$1F
C0/8F43:	0A      	ASL A
C0/8F44:	AA      	TAX
C0/8F45:	C220    	REP #$20      (16 bit accum./memory)
C0/8F47:	BFD591C0	LDA $C091D5,X
C0/8F4B:	A8      	TAY
C0/8F4C:	7B      	TDC 
C0/8F4D:	E220    	SEP #$20      (8 bit accum./memory)
C0/8F4F:	BB      	TYX
C0/8F50:	C221    	REP #$21
C0/8F52:	BF0192C0	LDA $C09201,X
C0/8F56:	AA      	TAX
C0/8F57:	7B      	TDC 
C0/8F58:	E220    	SEP #$20      (8 bit accum./memory)
C0/8F5A:	A980    	LDA #$80
C0/8F5C:	851B    	STA $1B
C0/8F5E:	BF0000E6	LDA $E60000,X
C0/8F62:	8D8021  	STA $2180
C0/8F65:	E8      	INX
C0/8F66:	C61B    	DEC $1B
C0/8F68:	D0F4    	BNE $8F5E
C0/8F6A:	C220    	REP #$20      (16 bit accum./memory)
C0/8F6C:	98      	TYA
C0/8F6D:	18      	CLC
C0/8F6E:	690A00  	ADC #$000A
C0/8F71:	A8      	TAY
C0/8F72:	7B      	TDC 
C0/8F73:	E220    	SEP #$20      (8 bit accum./memory)
C0/8F75:	C61A    	DEC $1A
C0/8F77:	D0D6    	BNE $8F4F
C0/8F79:	9C0C42  	STZ $420C      (turn off HDMA)
C0/8F7C:	9C0B42  	STZ $420B      (turn off DMA)
C0/8F7F:	A980    	LDA #$80
C0/8F81:	8D1521  	STA $2115
C0/8F84:	A20028  	LDX #$2800
C0/8F87:	8E1621  	STX $2116
C0/8F8A:	A941    	LDA #$41
C0/8F8C:	8D0043  	STA $4300
C0/8F8F:	A918    	LDA #$18
C0/8F91:	8D0143  	STA $4301
C0/8F94:	A2009F  	LDX #$9F00
C0/8F97:	8E0243  	STX $4302
C0/8F9A:	A97E    	LDA #$7E
C0/8F9C:	8D0443  	STA $4304
C0/8F9F:	8D0743  	STA $4307
C0/8FA2:	A20008  	LDX #$0800
C0/8FA5:	8E0543  	STX $4305
C0/8FA8:	A901    	LDA #$01
C0/8FAA:	8D0B42  	STA $420B
C0/8FAD:	9C0B42  	STZ $420B      (turn off DMA)
C0/8FB0:	60      	RTS

C0/8FB1 unknow

C0/8FB1:	AD3B05  	LDA $053B		(from C0/8ED8)
C0/8FB4:	29E0    	AND #$E0
C0/8FB6:	4A      	LSR A
C0/8FB7:	4A      	LSR A
C0/8FB8:	4A      	LSR A
C0/8FB9:	4A      	LSR A
C0/8FBA:	4A      	LSR A
C0/8FBB:	D001    	BNE $8FBE
C0/8FBD:	60      	RTS

C0/8FBE unknow

C0/8FBE:	3A      	DEC A			(from C0/8FBB)	
C0/8FBF:	A8      	TAY
C0/8FC0:	0A      	ASL A
C0/8FC1:	AA      	TAX
C0/8FC2:	C220    	REP #$20      (16 bit accum./memory)
C0/8FC4:	BF9F97C0	LDA $C0979F,X
C0/8FC8:	AA      	TAX
C0/8FC9:	7B      	TDC 
C0/8FCA:	8DD110  	STA $10D1
C0/8FCD:	BFAD97C0	LDA $C097AD,X
C0/8FD1:	8DD310  	STA $10D3
C0/8FD4:	BFAF97C0	LDA $C097AF,X
C0/8FD8:	8DD510  	STA $10D5
C0/8FDB:	BFB197C0	LDA $C097B1,X
C0/8FDF:	8DD710  	STA $10D7
C0/8FE2:	BFB397C0	LDA $C097B3,X
C0/8FE6:	8DD910  	STA $10D9
C0/8FE9:	BFB597C0	LDA $C097B5,X
C0/8FED:	8DDB10  	STA $10DB
C0/8FF0:	BFB797C0	LDA $C097B7,X
C0/8FF4:	8DDD10  	STA $10DD
C0/8FF7:	BFB997C0	LDA $C097B9,X
C0/8FFB:	8DDF10  	STA $10DF
C0/8FFE:	BFBB97C0	LDA $C097BB,X
C0/9002:	8DE110  	STA $10E1
C0/9005:	BFBD97C0	LDA $C097BD,X
C0/9009:	8DE310  	STA $10E3
C0/900C:	BFBF97C0	LDA $C097BF,X
C0/9010:	8DE510  	STA $10E5
C0/9013:	7B      	TDC 
C0/9014:	E220    	SEP #$20      (8 bit accum./memory)
C0/9016:	98      	TYA
C0/9017:	851A    	STA $1A
C0/9019:	0A      	ASL A
C0/901A:	18      	CLC
C0/901B:	651A    	ADC $1A
C0/901D:	AA      	TAX
C0/901E:	C221    	REP #$21
C0/9020:	BFA0CDE6	LDA $E6CDA0,X
C0/9024:	18      	CLC
C0/9025:	69C0CD  	ADC #$CDC0
C0/9028:	85F3    	STA $F3
C0/902A:	7B      	TDC 
C0/902B:	E220    	SEP #$20      (8 bit accum./memory)
C0/902D:	A9E6    	LDA #$E6
C0/902F:	85F5    	STA $F5
C0/9031:	A200BF  	LDX #$BF00
C0/9034:	86F6    	STX $F6
C0/9036:	A97E    	LDA #$7E
C0/9038:	85F8    	STA $F8
C0/903A:	226C04C0	JSL $C0046C    (LZ decompression)
C0/903E:	60      	RTS