;license:MIT ;(c) 2021 by qkumba !cpu 6502 !to "build/PRELAUNCH.INDEXED/CROSS.CITY",plain *=$106 !source "src/macros.a" +READ_RAM2_WRITE_RAM2 jsr EnableAccelerator lda #reset sta $FFFD ; reset vector patch +READ_ROM_NO_WRITE lda #$60 sta $21E7 jsr $2000 ; decompress +READ_RAM2_WRITE_RAM2 lda MachineStatus and #CHEATS_ENABLED beq + lda #$AD sta $828E + jsr DisableAccelerator jmp $8000 reset +READ_ROM_NO_WRITE jmp $FAA6 !if * > $1C0 { !error "code is too large, ends at ", * }