From a6b0cc0f13e2e403ef9eb87ad275e63237325dbe Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Fri, 28 Dec 2018 09:28:52 -0800 Subject: [PATCH] RBH DA: Set PREFIX last. Fixes #95 --- desk.acc/run.basic.here.s | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/desk.acc/run.basic.here.s b/desk.acc/run.basic.here.s index 568c509..f222d32 100644 --- a/desk.acc/run.basic.here.s +++ b/desk.acc/run.basic.here.s @@ -72,10 +72,6 @@ start: ;; Reformat /RAM if it was restored jsr maybe_reformat_ram - ;; Set PREFIX - MLI_CALL SET_PREFIX, set_prefix_params - bcs quit - ;; Load BS MLI_CALL OPEN, open_params bcs quit @@ -89,6 +85,11 @@ start: MLI_CALL CLOSE, close_params bcs quit + ;; Set PREFIX. Do this last; see: + ;; https://github.com/inexorabletash/a2d/issues/95 + MLI_CALL SET_PREFIX, set_prefix_params + bcs quit + ;; Launch jmp $2000