MEMTOP/MEMBOT optimization

This commit is contained in:
FeralChild64 committed 2019-10-11 23:10:13 +02:00
1 parent 0487488751
commit 31d181aac3
2 files changed
+6 -4

No files matched your search

+4 -3
View File
@@ -12,13 +12,14 @@ MEMBOT:
bcc membot_set
ldx MEMSTR+0
ldy MEMSTR+1
rts
ldx MEMSTR+0
// FALLTROUGH
membot_set:
sty MEMSTR+1
stx MEMSTR+0
stx MEMSTR+1
rts
+2 -1
View File
@@ -14,7 +14,8 @@ MEMTOP:
ldy MEMSIZK+1
ldx MEMSIZK+0
rts
// FALLTROUGH
memtop_set: