Either that, or cram a second stylesheet to override max-hight to initial.
Code: Select all
; Start-up / Reset code
; A, X, Y are all 0 at the end of this routine
vct_reset ;bs
sei ; Inhibit interrupts
cld ; Disable decimal mode
ldx #$FF
txs ; Initialize stack pointer to bottom of stack
inx ; Set X to 0
lda #$40
sta $4017 ; Inhibit APU IRQ
txa ; Set A to 0 (from X)
sta $2001 ; Disable all screen rendering
sta $2000 ; Turn off vblank NMI
sta $4010 ; Disable DMC IRQ
vct_reset_ram_init_loop
sta $00,x ; I saved a single byte. Go me!
sta $0100,x ; Clear deck ram with $00s
sta $0200,x
sta $0300,x
sta $0400,x
sta $0500,x
sta $0600,x
sta $0700,x
inx
bne vct_reset_ram_init_loop
ldy #$03 ; Wait for 3 vblanks, for the PPU to ready itself
vct_reset_ppu_stabilize
bit $2002
bpl vct_reset_ppu_stabilize
dey
bne vct_reset_ppu_stabilize
jmp game_init
;be