fix bug in MEMTOP routine. Reorder instructions to reduce byte-level similarity with C64 KERNAL, even though it should be totally fine.
This commit is contained in:
1 parent
a311c08289
commit
27e6f92b39
1 file changed
+2
-2
+2
-2
@@ -5,11 +5,11 @@ memtop:
|
||||
;; http://unusedino.de/ec64/technical/project64/mapping_c64.html
|
||||
bcc memtop_set
|
||||
|
||||
LDX MEMSIZ+0
|
||||
LDY MEMSIZ+1
|
||||
LDX MEMSIZ+0
|
||||
rts
|
||||
memtop_set:
|
||||
sty MEMSIZ+1
|
||||
stx MEMSIZ+0
|
||||
stx MEMSIZ+1
|
||||
|
||||
rts
|
||||
Reference in new issue
Block a user