Skip to content

Instantly share code, notes, and snippets.

@rchrd2

rchrd2/freeway-2600.asm

Last active Oct 20, 2017
Embed
What would you like to do?
Honking & collision sound are redacted
; Disassembly of roms/Freeway (1981) (Activision).a26
; Disassembled Thu Oct 19 22:17:47 2017
; Using DiStella v3.01a
;
; Command Line: ./binaries/osx/distella -pafs roms/Freeway (1981) (Activision).a26
;
processor 6502
VSYNC = $00
VBLANK = $01
WSYNC = $02
NUSIZ0 = $04
NUSIZ1 = $05
COLUP0 = $06
COLUP1 = $07
COLUPF = $08
COLUBK = $09
CTRLPF = $0A
REFP0 = $0B
PF0 = $0D
PF1 = $0E
PF2 = $0F
RESP0 = $10
RESP1 = $11
RESBL = $14
AUDC0 = $15
AUDC1 = $16
AUDF0 = $17
AUDF1 = $18
AUDV0 = $19
AUDV1 = $1A
GRP0 = $1B
GRP1 = $1C
ENABL = $1F
HMP0 = $20
HMP1 = $21
HMBL = $24
HMOVE = $2A
HMCLR = $2B
CXCLR = $2C
SWCHA = $0280
SWCHB = $0282
INTIM = $0284
TIM64T = $0296
ORG $F000
START:
SEI ;2
CLD ;2
LDX #$00 ;2
LF004: LDA #$00 ;2
LF006: STA VSYNC,X ;4
TXS ;2
INX ;2
BNE LF006 ;2
JSR LF5B0 ;6
LF00F: LDX #$05 ;2
LF011: LDA LF6F0,X ;4
EOR $86 ;3
AND $87 ;3
STA $88,X ;4
CPX #$04 ;2
BCS LF020 ;2
STA COLUP0,X;4
LF020: DEX ;2
BPL LF011 ;2
STX $90 ;3
STX $91 ;3
STA WSYNC ;3
STA RESBL ;3
LDA #$22 ;2
STA HMBL ;3
STA ENABL ;3
LDA #$28 ;2
INX ;2
STX COLUPF ;3
JSR LF617 ;6
LDA #$30 ;2
STA CTRLPF ;3
INX ;2
JSR LF617 ;6
LDA #$04 ;2
STA NUSIZ0 ;3
STA NUSIZ1 ;3
LDA $88 ;3
LDY $E6 ;3
BNE LF05D ;2
LDY $E9 ;3
CPY #$20 ;2
BCC LF055 ;2
INC $E6 ;5
LF055: CPY #$1E ;2
BCC LF05D ;2
LDA $81 ;3
AND $87 ;3
LF05D: STA COLUP0 ;3
STA COLUP1 ;3
LF061: LDA INTIM ;4
BNE LF061 ;2
STA WSYNC ;3
STA HMOVE ;3
STA VBLANK ;3
STA CXCLR ;3
LDY #$07 ;2
LF070: STA WSYNC ;3
STA HMCLR ;3
LDA ($DD),Y ;5
STA GRP0 ;3
LDA ($E1),Y ;5
STA GRP1 ;3
JSR LF613 ;6
LDA ($DF),Y ;5
STA GRP0 ;3
LDA ($E3),Y ;5
STA GRP1 ;3
DEY ;2
BPL LF070 ;2
LDA #$40 ;2
STA HMP1 ;3
STA WSYNC ;3
STA HMOVE ;3
INY ;2
STY GRP0 ;3
STY GRP1 ;3
LDA #$08 ;2
STA REFP0 ;3
LDA $C0 ;3
STA $D9 ;3
LDA $CC ;3
STA $DB ;3
LDY #$09 ;2
STA HMCLR ;3
STA WSYNC ;3
STA HMOVE ;3
LDA $8C ;3
STA COLUBK ;3
LDA $89 ;3
STA COLUP1 ;3
LF0B3: STA WSYNC ;3
LDA $8D ;3
CPY #$01 ;2
BNE LF0BD ;2
LDA $8C ;3
LF0BD: STA COLUBK ;3
LDA ($D9),Y ;5
STA GRP1 ;3
JSR LF615 ;6
LDA ($DB),Y ;5
STA GRP1 ;3
DEY ;2
BNE LF0B3 ;2
STA WSYNC ;3
STA HMOVE ;3
LDA $8B ;3
STA COLUBK ;3
LDA #$09 ;2
STA $95 ;3
LDA ($D9),Y ;5
STA GRP1 ;3
NOP ;2
NOP ;2
NOP ;2
NOP ;2
NOP ;2
LDA ($DB),Y ;5
STA GRP1 ;3
LDX $95 ;3
LDA $B6,X ;4
STA $D9 ;3
LDA $C2,X ;4
STA $DB ;3
LF0F0: LDY #$0F ;2
LDA #$00 ;2
STA WSYNC ;3
STA HMOVE ;3
STA PF1 ;3
STA PF2 ;3
STA COLUPF ;3
LDA ($D9),Y ;5
STA GRP1 ;3
LDA $CD,X ;4
STA $94 ;3
LDA $AB,X ;4
AND #$0F ;2
STA $F6 ;3
LDA ($DB),Y ;5
DEY ;2
STA GRP1 ;3
LDA $97,X ;4
AND #$07 ;2
STA NUSIZ0 ;3
CMP #$05 ;2
BNE LF11F ;2
LDA #$C8 ;2
BNE LF122 ;2
LF11F: LDA #$BD ;2
NOP ;2
LF122: STA $D7 ;3
LDA ($D9),Y ;5
STA GRP1 ;3
LDA $97,X ;4
BMI LF14A ;2
LDX $F6 ;3
CPX #$03 ;2
LDA ($DB),Y ;5
LF132: DEX ;2
BPL LF132 ;2
STA RESP0 ;3
BCS LF13C ;2
JSR LF616 ;6
LF13C: DEY ;2
STA GRP1 ;3
LDX $95 ;3
LDA $AB,X ;4
STA HMP0 ;3
LDA $8C ;3
JMP LF166 ;3
LF14A: NOP ;2
NOP ;2
STA CXCLR ;3
LDX $95 ;3
LDA $AB,X ;4
STA HMP0 ;3
LDA $F6 ;3
SEC ;2
SBC #$06 ;2
TAX ;2
LDA ($DB),Y ;5
DEY ;2
STA GRP1 ;3
LDA $8C ;3
LF161: DEX ;2
BPL LF161 ;2
STA RESP0 ;3
LF166: STA WSYNC ;3
LF168: STA HMOVE ;3
STA COLUP0 ;3
LDA ($D7),Y ;5
STA GRP0 ;3
LDA $93 ;3
ORA COLUP1 ;3
STA $93 ;3
STA CXCLR ;3
LDA ($D9),Y ;5
STA GRP1 ;3
CPY #$06 ;2
LDA $92 ;3
ORA COLUP1 ;3
STA $92 ;3
STA CXCLR ;3
LDA ($DB),Y ;5
STA GRP1 ;3
BCC LF199 ;2
DEY ;2
STA.w $002B ;4
LDA $94 ;3
EOR $86 ;3
AND $87 ;3
JMP LF168 ;3
LF199: LDA $8C ;3
DEY ;2
STA WSYNC ;3
STA HMOVE ;3
STA COLUP0 ;3
LDA ($D7),Y ;5
STA GRP0 ;3
LDA $93 ;3
ORA COLUP1 ;3
STA $93 ;3
STA CXCLR ;3
LDA ($D9),Y ;5
STA GRP1 ;3
NOP ;2
LDA $92 ;3
ORA COLUP1 ;3
STA $92 ;3
STA CXCLR ;3
LDA ($DB),Y ;5
STA GRP1 ;3
DEY ;2
STA WSYNC ;3
STA HMOVE ;3
LDA #$00 ;2
STA GRP0 ;3
LDA ($D9),Y ;5
STA GRP1 ;3
LDX $95 ;3
BIT $92 ;3
BPL LF1D4 ;2
STX $90 ;3
LF1D4: LDA $93 ;3
ORA COLUP1 ;3
BPL LF1DC ;2
STX $91 ;3
LF1DC: LDA ($DB),Y ;5
STA GRP1 ;3
STA CXCLR ;3
DEY ;2
LDA $95 ;3
BEQ LF252 ;2
LDX $8B ;3
CMP #$05 ;2
BNE LF1EF ;2
LDX $89 ;3
LF1EF: STA WSYNC ;3
STA HMOVE ;3
LDA #$AA ;2
STA PF0 ;3
STA PF2 ;3
LSR ;2
STA PF1 ;3
STX COLUPF ;3
LDA ($D9),Y ;5
STA GRP1 ;3
DEC $95 ;5
LDA ($DB),Y ;5
STA GRP1 ;3
DEY ;2
STA WSYNC ;3
STA HMOVE ;3
CPX $89 ;3
BNE LF21A ;2
LDA #$00 ;2
STA REFP0 ;3
LDA $8B ;3
JMP LF21C ;3
LF21A: LDA $8A ;3
LF21C: STA COLUPF ;3
LDA ($D9),Y ;5
STA GRP1 ;3
JSR LF616 ;6
LDA ($DB),Y ;5
STA GRP1 ;3
DEY ;2
STA WSYNC ;3
STA HMOVE ;3
STX COLUPF ;3
LDA ($D9),Y ;5
STA GRP1 ;3
LDX $95 ;3
LDA $B6,X ;4
STA $D9 ;3
LDA $C2,X ;4
STA $F6 ;3
NOP ;2
LDA ($DB),Y ;5
STA GRP1 ;3
LDA $F6 ;3
STA $DB ;3
LDA #$00 ;2
STA $92 ;3
STA $93 ;3
STA PF0 ;3
JMP LF0F0 ;3
LF252: STA WSYNC ;3
STA HMOVE ;3
LDA ($D9),Y ;5
STA GRP1 ;3
JSR LF615 ;6
JSR LF616 ;6
LDA ($DB),Y ;5
STA GRP1 ;3
DEY ;2
BPL LF252 ;2
LDY #$0F ;2
LF269: LDA $8D ;3
STA WSYNC ;3
STA HMOVE ;3
CPY #$0F ;2
BNE LF275 ;2
LDA $8C ;3
LF275: STA COLUBK ;3
LDA $B5 ;3
STA $D9 ;3
LDA $C1 ;3
STA $DB ;3
LDA ($D9),Y ;5
STA GRP1 ;3
LDA ($DB),Y ;5
DEY ;2
STA GRP1 ;3
CPY #$06 ;2
BCS LF269 ;2
STA WSYNC ;3
STA HMOVE ;3
LDA $8C ;3
STA COLUBK ;3
LDX #$00 ;2
STX GRP1 ;3
STX HMCLR ;3
INX ;2
STX NUSIZ0 ;3
STX NUSIZ1 ;3
STA RESP0 ;3
STA RESP1 ;3
LDA #$10 ;2
STA HMP1 ;3
LDA $88 ;3
STA COLUP0 ;3
STA COLUP1 ;3
LDX #$07 ;2
LF2AF: STA WSYNC ;3
STA HMOVE ;3
LDA LF6A8,X ;4
STA GRP0 ;3
LDA LF6B0,X ;4
STA GRP1 ;3
NOP ;2
LDA LF6C0,X ;4
TAY ;2
LDA LF6B8,X ;4
STA GRP0 ;3
STY GRP1 ;3
STA HMCLR ;3
DEX ;2
BPL LF2AF ;2
LDA #$1A ;2
STA TIM64T ;4
LDA $81 ;3
AND #$01 ;2
TAX ;2
ASL ;2
TAY ;2
LDA $E7,X ;4
AND #$F0 ;2
LSR ;2
BNE LF2E3 ;2
LDA #$50 ;2
LF2E3: STA.wy $00DD,Y ;5
LDA $E7,X ;4
AND #$0F ;2
ASL ;2
ASL ;2
ASL ;2
STA.wy $00E1,Y ;5
LDY #$00 ;2
JSR LF69E ;6
BPL LF317 ;2
LDA $EA,X ;4
BEQ LF34C ;2
AND #$40 ;2
BEQ LF330 ;2
LDA #$04 ;2
STA $95; AUDC0,X ;4 ; collision sound?
DEC $EA,X ;6
LDA $EA,X ;4
AND #$1F ;2
CMP #$10 ;2
BCC LF317 ;2
PHA ;3
AND #$03 ;2
ADC #$02 ;2
STA $95; AUDF0,X ;4 ; collision sound?
PLA ;4
LDY #$04 ;2
LF317: STY AUDV0,X ;4
CMP #$00 ;2
BNE LF321 ;2
LDA #$00 ;2
STA $EA,X ;4
LF321: LDA SWCHB ;4
AND LF7FE,X ;4
BEQ LF32D ;2
LDA #$06 ;2
STA $8E,X ;4
LF32D: JMP LF42F ;3
LF330: LDA $EA,X ;4
STA AUDV0,X ;4
LDA #$0C ;2
STA AUDC0,X ;4
TXA ;2
ADC #$06 ;2
STA AUDF0,X ;4
DEC $EA,X ;6
LDA $EA,X ;4
AND #$0F ;2
BNE LF349 ;2
LDA #$00 ;2
STA $EA,X ;4
LF349: JMP LF42F ;3
LF34C: LDA $83 ;3
CMP #$08 ;2
LDA #$02 ;2
BCS LF376 ;2
LDA $E6 ;3
BEQ LF35E ;2
LDA #$00 ;2
STA AUDV0,X ;4
BEQ LF349 ;2
LF35E: LDA $EA ;3
ORA $EB ;3
BNE LF38D ;2
LDA $82 ;3
EOR #$40 ;2
CMP #$E0 ;2
BCC LF38D ;2
LDA $82 ;3
EOR $81 ;3
AND #$3F ;2
BEQ LF38D ;2
LDA $82 ;3
LF376: AND #$00 ;2 ; This function controls
ORA #$00 ;2 ; the honking.
STA AUDC0 ;3 ; My changes seem to have
SEC ;2 ; muted it.
SBC #$00 ;2
STA AUDC0 ;3
LDA #$00 ;2
STA AUDC0 ;3
STA AUDC0 ;3
STA AUDC0 ;3
STA AUDC0 ;3
BNE LF349 ;2
LF38D: LDA $8E,X ;4
LSR ;2
LSR ;2
LSR ;2
LSR ;2
TAY ;2
CPY #$0A ;2
BCC LF39A ;2
LDY #$09 ;2
LF39A: LDA #$00 ;2
CPY #$05 ;2
BCC LF3A2 ;2
LDA #$01 ;2
LF3A2: STA $FB ;3
LDA.wy $0097,Y ;4
STA $FA ;3
LSR ;2
LSR ;2
LSR ;2
LSR ;2
AND #$07 ;2
STA $F8 ;3
CMP #$02 ;2
LDA #$20 ;2
BCC LF3BD ;2
LDA #$FF ;2
STA $FB ;3
LDA #$10 ;2
LF3BD: STA $F7 ;3
LDA #$03 ;2
STA AUDC0,X ;4
LDA.wy $00EC,Y ;4
STA $F9 ;3
LDA #$7F ;2
STA $FD ;3
LDA $FB ;3
STA $FE ;3
LDA $FA ;3
AND #$07 ;2
ASL ;2
ASL ;2
ORA #$03 ;2
TAY ;2
LF3D9: LDA $FB ;3
STA $F6 ;3
CLC ;2
LDA LF7DA,Y ;4
ADC $F9 ;3
CMP #$A0 ;2
BCC LF3E9 ;2
SBC #$A0 ;2
LF3E9: STA $FC ;3
LDA LF7F6,X ;4
SEC ;2
SBC $FC ;3
BCS LF3F7 ;2
EOR #$FF ;2
INC $F6 ;5
LF3F7: CMP $FD ;3
BCS LF401 ;2
STA $FD ;3
LDA $F6 ;3
STA $FE ;3
LF401: DEY ;2
TYA ;2
AND #$03 ;2
BNE LF3D9 ;2
LDA $FD ;3
CMP $F7 ;3
BCC LF41C ;2
LDA #$0F ;2
STA AUDC0,X ;4
LDA #$1F ;2
STA AUDF0,X ;4
LDA #$01 ;2
STA AUDV0,X ;4
JMP LF42F ;3
LF41C: DEC $F7 ;5
EOR $F7 ;3
LSR ;2
LSR ;2
STA AUDV0,X ;4
LDY $FE ;3
INY ;2
LDA LF7F8,Y ;4
CLC ;2
ADC $F8 ;3
STA AUDF0,X ;4
LF42F: LDA $81 ;3
AND #$1F ;2
BNE LF43F ;2
LDA $82 ;3
ASL ;2
ASL ;2
ASL ;2
EOR $82 ;3
ASL ;2
ROL $82 ;5
LF43F: LDA $E6 ;3
BNE LF451 ;2
LDX #$09 ;2
LDA #$FF ;2
STA $96 ;3
LF449: JSR LF624 ;6
DEX ;2
CPX #$05 ;2
BCS LF449 ;2
LF451: LDA INTIM ;4
BNE LF451 ;2
LDY #$82 ;2
STY WSYNC ;3
STY VBLANK ;3
STY VSYNC ;3
STY WSYNC ;3
STY WSYNC ;3
STY WSYNC ;3
STA VSYNC ;3
INC $81 ;5
BNE LF473 ;2
INC $E9 ;5
INC $E5 ;5
BNE LF473 ;2
SEC ;2
ROR $E5 ;5
LF473: LDY #$FF ;2
LDA SWCHB ;4
AND #$08 ;2
BNE LF47E ;2
LDY #$0F ;2
LF47E: TYA ;2
LDY #$00 ;2
BIT $E5 ;3
BPL LF489 ;2
AND #$F7 ;2
LDY $E5 ;3
LF489: STY $86 ;3
ASL $86 ;5
STA $87 ;3
LDA #$2C ;2
STA WSYNC ;3
STA TIM64T ;4
LDA $E6 ;3
BNE LF4A6 ;2
LDX #$04 ;2
LDA #$01 ;2
STA $96 ;3
LF4A0: JSR LF624 ;6
DEX ;2
BPL LF4A0 ;2
LF4A6: LDA SWCHA ;4
TAY ;2
AND #$0F ;2
STA $85 ;3
TYA ;2
LSR ;2
LSR ;2
LSR ;2
LSR ;2
STA $84 ;3
INY ;2
BEQ LF4BC ;2
LDA #$00 ;2
STA $E5 ;3
LF4BC: LDA $82 ;3
BNE LF4C4 ;2
INC $82 ;5
BNE LF4DC ;2
LF4C4: JSR LF69E ;6
BMI LF4CE ;2
LDX #$E5 ;2
JMP LF004 ;3
LF4CE: LDY #$00 ;2
BCS LF4F5 ;2
LDA $83 ;3
BEQ LF4DA ;2
DEC $83 ;5
BPL LF4F7 ;2
LF4DA: INC $80 ;5
LF4DC: JSR LF5B0 ;6
LDA $80 ;3
AND #$07 ;2
STA $80 ;3
STA $E5 ;3
ORA #$A0 ;2
TAY ;2
INY ;2
STY $E7 ;3
LDA #$AA ;2
STA $E8 ;3
LDY #$1E ;2
STY $E6 ;3
LF4F5: STY $83 ;3
LF4F7: LDA $E6 ;3
BEQ LF4FE ;2
JMP LF00F ;3
LF4FE: LDX #$01 ;2
LF500: LDA $EA,X ;4
BEQ LF50A ;2
AND #$10 ;2
BNE LF528 ;2
BEQ LF534 ;2
LF50A: LDA $84,X ;4
LSR ;2
BCS LF525 ;2
INC $8E,X ;6
LDY $8E,X ;4
CPY #$B2 ;2
BCC LF525 ;2
SED ;2
LDA $E7,X ;4
ADC #$00 ;2
STA $E7,X ;4
CLD ;2
LDA #$8F ;2
STA $EA,X ;4
BNE LF530 ;2
LF525: LSR ;2
BCS LF534 ;2
LF528: DEC $8E,X ;6
LDA $8E,X ;4
CMP #$06 ;2
BCS LF534 ;2
LF530: LDA #$06 ;2
STA $8E,X ;4
LF534: LDA $EA,X ;4
AND #$1F ;2
CMP #$17 ;2
BCS LF544 ;2
LDA $90,X ;4
BMI LF544 ;2
LDA #$5C ;2
STA $EA,X ;4
LF544: DEX ;2
BPL LF500 ;2
LDX #$00 ;2
JSR LF671 ;6
STA.wy $00B5,Y ;5
CPY #$0B ;2
BEQ LF559 ;2
CLC ;2
ADC #$10 ;2
STA.wy $00B6,Y ;5
LF559: INX ;2
JSR LF671 ;6
STA.wy $00C1,Y ;5
CPY #$0B ;2
BEQ LF56A ;2
CLC ;2
ADC #$10 ;2
STA.wy $00C2,Y ;5
LF56A: LDA $81 ;3
AND #$70 ;2
BNE LF5AD ;2
LDA $80 ;3
AND #$04 ;2
BEQ LF5AD ;2
LDA $81 ;3
AND #$0F ;2
TAX ;2
CPX #$0A ;2
BCS LF5AD ;2
LDA $97,X ;4
LSR ;2
LSR ;2
LSR ;2
LSR ;2
AND #$07 ;2
TAY ;2
LDA $81 ;3
EOR $82 ;3
LSR ;2
BCC LF594 ;2
DEY ;2
BPL LF594 ;2
LDY #$00 ;2
LF594: LSR ;2
BCC LF59E ;2
INY ;2
CPY #$06 ;2
BCC LF59E ;2
LDY #$05 ;2
LF59E: TYA ;2
ASL ;2
ASL ;2
ASL ;2
ASL ;2
STA $F6 ;3
LDA $97,X ;4
AND #$8F ;2
ORA $F6 ;3
STA $97,X ;4
LF5AD: JMP LF00F ;3
LF5B0: LDA $81 ;3
AND #$01 ;2
STA $81 ;3
LDX #$01 ;2
LF5B8: LDA #$06 ;2
STA $8E,X ;4
LDA #$00 ;2
STA AUDV0,X ;4
DEX ;2
BPL LF5B8 ;2
LDX #$0D ;2
LDA #$F7 ;2
LF5C7: STA $D7,X ;4
DEX ;2
DEX ;2
BPL LF5C7 ;2
LDX #$09 ;2
LF5CF: LDA #$01 ;2
STA $A1,X ;4
LDA LF6F6,X ;4
STA $CD,X ;4
CLC ;2
LDA $80 ;3
AND #$03 ;2
TAY ;2
TXA ;2
ADC LF7D6,Y ;4
TAY ;2
LDA LF6C8,Y ;4
STA $97,X ;4
LDA #$60 ;2
STA $AB,X ;4
LDA #$50 ;2
STA $B5,X ;4
STA $B9,X ;4
STA $C3,X ;4
DEX ;2
BPL LF5CF ;2
RTS ;6
LF5F8: CLC ;2
ADC #$2E ;2
TAY ;2
AND #$0F ;2
STA $F6 ;3
TYA ;2
LSR ;2
LSR ;2
LSR ;2
LSR ;2
TAY ;2
CLC ;2
ADC $F6 ;3
CMP #$0F ;2
BCC LF610 ;2
SBC #$0F ;2
INY ;2
LF610: EOR #$07 ;2
ASL ;2
LF613: ASL ;2
ASL ;2
LF615: ASL ;2
LF616: RTS ;6
LF617: JSR LF5F8 ;6
STA HMP0,X ;4
STA WSYNC ;3
LF61E: DEY ;2
BPL LF61E ;2
STA RESP0,X ;4
RTS ;6
LF624: DEC $A1,X ;6
BPL LF653 ;2
LDA $97,X ;4
LSR ;2
LSR ;2
LSR ;2
LSR ;2
AND #$07 ;2
SEC ;2
SBC #$01 ;2
BPL LF63E ;2
LDA $EC,X ;4
CLC ;2
ADC $96 ;3
STA $EC,X ;4
LDA #$00 ;2
LF63E: STA $A1,X ;4
LDA $EC,X ;4
CLC ;2
ADC $96 ;3
CMP #$C8 ;2
BCC LF64B ;2
LDA #$9F ;2
LF64B: CMP #$A0 ;2
BCC LF651 ;2
LDA #$00 ;2
LF651: STA $EC,X ;4
LF653: LDA $EC,X ;4
JSR LF5F8 ;6
STA $F6 ;3
DEY ;2
DEY ;2
DEY ;2
ASL $97,X ;6
CPY #$06 ;2
ROR $97,X ;6
TYA ;2
ORA $F6 ;3
STA $AB,X ;4
LDA #$50 ;2
STA $B5,X ;4
STA $C3,X ;4
STA $B9,X ;4
RTS ;6
LF671: LDA $8E,X ;4
LSR ;2
LSR ;2
LSR ;2
LSR ;2
TAY ;2
LDA $8E,X ;4
AND #$0F ;2
STA $F6 ;3
LDA $EA,X ;4
BEQ LF68F ;2
AND #$40 ;2
BEQ LF68F ;2
LDA $8E,X ;4
LSR ;2
LSR ;2
LSR ;2
LDA #$A0 ;2
BCC LF69A ;2
LF68F: LDA $F6 ;3
LSR ;2
LSR ;2
LSR ;2
LDA #$60 ;2
BCC LF69A ;2
LDA #$80 ;2
LF69A: SEC ;2
SBC $F6 ;3
RTS ;6
LF69E: LDA SWCHB ;4
LSR ;2
ROR ;2
RTS ;6
LF6A4: .byte $25,$0C,$25,$0D
LF6A8: .byte $00,$AD,$A9,$E9,$A9,$ED,$41,$0F
LF6B0: .byte $00,$50,$58,$5C,$56,$53,$11,$F0
LF6B8: .byte $00,$BA,$8A,$BA,$A2,$3A,$80,$FE
LF6C0: .byte $00,$E9,$AB,$AF,$AD,$E9,$00,$00
LF6C8: .byte $50,$40,$30,$20,$10,$10,$20,$30,$40,$50,$40,$31,$22,$13,$04,$15
.byte $14,$23,$32,$41,$46,$36,$20,$16,$05,$00,$16,$20,$36,$46,$05,$15
.byte $25,$15,$05,$05,$15,$25,$15,$05
LF6F0: .byte $4A,$1E,$0C,$06,$00,$08
LF6F6: .byte $1A,$D8,$44,$88,$24,$82,$4A,$12,$DC,$42,$3C,$66,$66,$66,$66,$66
.byte $66,$3C,$3C,$18,$18,$18,$18,$18,$38,$18,$7E,$60,$60,$3C,$06,$06
.byte $46,$3C,$3C,$46,$06,$0C,$0C,$06,$46,$3C,$0C,$0C,$0C,$7E,$4C,$2C
.byte $1C,$0C,$7C,$46,$06,$06,$7C,$60,$60,$7E,$3C,$66,$66,$66,$7C,$60
.byte $62,$3C,$18,$18,$18,$18,$0C,$06,$42,$7E,$3C,$66,$66,$3C,$3C,$66
.byte $66,$3C,$3C,$46,$06,$3E,$66,$66,$66,$3C,$00,$00,$00,$00,$00,$00
.byte $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$30,$60,$78,$F8,$B8,$0C
.byte $06,$04,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
.byte $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$18,$30,$78,$F8,$B8,$18
.byte $0C,$08,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
.byte $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$60,$30,$78,$F8,$B8,$3C
.byte $28,$40,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
.byte $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$66,$FE,$CF,$B3,$B3
.byte $B3,$B3,$CF,$FE,$66,$00,$85,$FF,$85,$FD,$FD,$FD,$FD,$85,$FF,$85
LF7D6: .byte $00,$0A,$14,$1E
LF7DA: .byte $00,$00,$00,$00,$00,$00,$10,$10,$00,$00,$00,$20,$00,$00,$10,$20
.byte $00,$00,$00,$40,$00,$00,$00,$00,$00,$00,$20,$40
LF7F6: .byte $30,$68
LF7F8: .byte $10,$10,$11,$10,$00,$F0
LF7FE: .byte $40,$80
@rchrd2

This comment has been minimized.

Copy link
Owner Author

@rchrd2 rchrd2 commented Oct 20, 2017

This can be loaded into http://8bitworkshop.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment