1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-22 01:16:54 +00:00
This commit is contained in:
mrdudz
2025-06-23 17:09:06 +02:00
parent 4863a3e29b
commit 5fc15a7a60
204 changed files with 915 additions and 912 deletions
+4 -4
View File
@@ -33,7 +33,7 @@ Start:
sei ; No interrupts since we're banking out the ROM
sta ENABLE_RAM
ldx #zpspace-1
L1: lda sp,x
L1: lda c_sp,x
sta zpsave,x
dex
bpl L1
@@ -53,8 +53,8 @@ L1: lda sp,x
lda #<__HIMEM__
ldx #>__HIMEM__
sta sp
stx sp+1
sta c_sp
stx c_sp+1
; Set up the IRQ vector in the banked RAM; and, switch off the ROM.
@@ -114,7 +114,7 @@ _exit: pha ; Save the return code
ldx #zpspace-1
L2: lda zpsave,x
sta sp,x
sta c_sp,x
dex
bpl L2