Move screen init into crt0.s

This commit is contained in:
Fabrizio Caruso
2019-10-03 23:32:16 +02:00
committed by Oliver Schmidt
parent 74a904be54
commit cdb8035cf0
3 changed files with 5 additions and 11 deletions

View File

@@ -67,7 +67,10 @@ not_dma:
; Removing this segment gives only a warning.
.segment "FFF0"
.proc reset32kcode
lda #(6<<5)
lda #$A0
sta lcd_width
sta lcd_height
lda #$C9
sta sv_bank
; Now, the 32Kbyte image can reside in the top of 64Kbyte and 128Kbyte ROMs.
jmp reset