Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mos-platform/c128/init-mmu.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ __mmusave:
sta __mmusave
lda #MMU_CFG_RAM0_KERNAL ; map $4000-$BFFF to RAM, $C000-$FFFF to KERNAL/chargen
sta MMU_CR
lda #0
sta FNAM_BANK ; set the bank for the file name to our execution bank

; restore MMU state after all other exit handlers have completed
.section .fini.990,"ax", @progbits
Expand Down