;license:MIT ;(c) 2019 by qkumba/Frank M. !cpu 6502 !to "build/PRELAUNCH/CANYON.CLIMBER",plain *=$106 !source "src/prelaunch/common.a" +ENABLE_ACCEL lda #$60 sta $8022 jsr $67de ; decompress +GET_MACHINE_STATUS and #CHEATS_ENABLED beq + lda #$a5 sta $35c2 + lda #$82 ; READ_ROM_NO_WRITE sta $101 lda #$A6 sta $104 lda #$FA sta $105 ; update TR hook to reboot +READ_RAM2_WRITE_RAM2 lda #0 sta $3256 ; sets reset at $455 sta $FFFC lda #1 sta $3261 ; which is copied from $3255 sta $FFFD ; LC reset vector fix +DISABLE_ACCEL jmp $3000 !if * > $1C0 { !error "code is too large, ends at ", * }