From 50bc88ea93bfb50db1daa0f5ffd26dedaa09e1d1 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Wed, 29 Jan 2020 09:20:29 -0800 Subject: [PATCH] align writes --- src/constants.a | 4 ++-- src/prodos.impl.lc2.a | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/constants.a b/src/constants.a index 055b01a10..f98477e05 100644 --- a/src/constants.a +++ b/src/constants.a @@ -15,8 +15,8 @@ ; LC RAM BANK 2 ; D000..D3FF - ProRWTS data ; D400..D66F - ProRWTS code -; D670..DB98 - HGR font code & ProRWTS glue code -; DB99..DBA7 - backup of stack (during gameplay and self-running demos) +; D670..DB9C - HGR font code & ProRWTS glue code +; DB9D..DBAB - backup of stack (during gameplay and self-running demos) ; ...unused... ; DBAF..DBFF - (de)acceleration function ; DC00..DFFF - HGR font data diff --git a/src/prodos.impl.lc2.a b/src/prodos.impl.lc2.a index 910a2de77..0463db67d 100644 --- a/src/prodos.impl.lc2.a +++ b/src/prodos.impl.lc2.a @@ -270,6 +270,8 @@ ProDOS_enter sta sizehi lda bleftlo adc #$ff + lda #0 + sta bleftlo lda blefthi adc #1 and #$fe