diff --git a/cfg/supervision.cfg b/cfg/supervision.cfg index 6a71f4682..95f049761 100644 --- a/cfg/supervision.cfg +++ b/cfg/supervision.cfg @@ -19,7 +19,7 @@ SEGMENTS { CODE: load = ROM, type = ro, define = yes; RODATA: load = ROM, type = ro, define = yes; DATA: load = ROM, run = RAM, type = rw, define = yes; - FFF0: load = ROM, type = ro, offset = $7FEA; + FFEA: load = ROM, type = ro, offset = $7FEA; VECTOR: load = ROM, type = ro, offset = $7FFA; BSS: load = RAM, type = bss, define = yes; } diff --git a/libsrc/supervision/crt0.s b/libsrc/supervision/crt0.s index ab147efb4..a474cfbeb 100644 --- a/libsrc/supervision/crt0.s +++ b/libsrc/supervision/crt0.s @@ -65,12 +65,12 @@ not_dma: .endproc ; Removing this segment gives only a warning. - .segment "FFF0" + .segment "FFEA" .proc reset32kcode lda #$A0 sta lcd_width sta lcd_height - lda #$C9 + lda #(6<<5) | SV_LCD_ON | SV_NMI_ENABLE_ON sta sv_bank ; Now, the 32Kbyte image can reside in the top of 64Kbyte and 128Kbyte ROMs. jmp reset