4cade/src/prelaunch/gamma.goblins.a
frankmilliron 00707b6c0b
Clear //gs Shadow Page 2 (#532)
* Fix Alternate Display Mode on ROM0 and ROM1 //gs

fixes attract hanging on ROM0 and ROM1 machines

* Clear //gs Shadow Page 2

We now control the horizontal. We now control the vertical. We now control the shadow bank of //gs video memory. Improves The Goonies and Pacman demos on ROM0/1.
2022-11-29 10:54:52 -05:00

32 lines
709 B
Plaintext
Executable File

;license:MIT
;(c) 2019-2022 by 4am/Frank M.
!cpu 6502
!to "build/PRELAUNCH.INDEXED/GAMMA.GOBLINS",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $2034
jsr $2000 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
; lives in $06FE
lda #$AD
sta $4EF3 ; patch - don't decrease lives
lda #$00
sta $7F62 ; patch - don't increase lives
+
+RESET_AND_IRQ_VECTOR $100
+DISABLE_ACCEL
lda #$00
tay
jmp $2035
!if * > $1C0 {
!error "code is too large, ends at ", *
}