diff --git a/c64/kernal/membot.s b/c64/kernal/membot.s index 086545c0..84e6ce44 100644 --- a/c64/kernal/membot.s +++ b/c64/kernal/membot.s @@ -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 diff --git a/c64/kernal/memtop.s b/c64/kernal/memtop.s index dd50497a..485112a0 100644 --- a/c64/kernal/memtop.s +++ b/c64/kernal/memtop.s @@ -14,7 +14,8 @@ MEMTOP: ldy MEMSIZK+1 ldx MEMSIZK+0 - rts + + // FALLTROUGH memtop_set: