4cade/src/prelaunch/vindicator.a

38 lines
838 B
Plaintext
Executable File

;license:MIT
;(c) 2019-2020 by Frank M./qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/VINDICATOR",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
+NEW_RESET_VECTOR $BFF0
lda #$60
sta $1867
jsr $180F ; decompress
lda #$F0
sta $4001
lda #$BF
sta $400F ; reset vector fix
lda #$60 ; annunciator fix - kills Gizmo/joyport support
sta $5B77 ; but fixes ][+ 80-col softswitch
sta $5B43 ; and //c+ coloring
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$AD
sta $5F31 ; patch - don't decrease lives
+
+DISABLE_ACCEL
jmp $4000
!if * > $1C0 {
!error "code is too large, ends at ", *
}