From 408f1ad9eab159be796893b35fe191d08456a6a8 Mon Sep 17 00:00:00 2001 From: Bobbi Webber-Manners Date: Sat, 19 Nov 2022 22:39:38 -0500 Subject: [PATCH] Replace addresses with symbols. --- auxmem.audio.s | 2 +- auxmem.bytwrd.s | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/auxmem.audio.s b/auxmem.audio.s index 76a2c46..5f373bf 100644 --- a/auxmem.audio.s +++ b/auxmem.audio.s @@ -58,7 +58,7 @@ WORD07 INY JSR INSHND ; Insert into queue X :RTS RTS :ESCAPE PLX ; Fix up stack - STA $C010 ; Ack keypress + STA KBDSTRB ; Ack keypress RTS diff --git a/auxmem.bytwrd.s b/auxmem.bytwrd.s index e94c79c..694429e 100644 --- a/auxmem.bytwrd.s +++ b/auxmem.bytwrd.s @@ -391,12 +391,12 @@ WORD06 JSR GETADDR ; Point to address, set Y=>data byte * We want to be able to write to anywhere in main memory. * As we are within the OSWORD handler, IRQs are off, so we can just * 'write through' all memory. -WORD06A STA $C008 ; &0000-&01FF writes to main memory +WORD06A STA SETSTDZP ; &0000-&01FF writes to main memory STA WRMAINRAM ; &0200-&BFFF writes to main memory * ; &C000-&CFFF is always I/O * ; &D000-&FFFF how do we write to this? STA (OSINTWS) ; Store it - STA $C009 ; &0000-&01FF writes to aux memory + STA SETALTZP ; &0000-&01FF writes to aux memory STA WRCARDRAM ; &0200-&BFFF writes to aux memory * ; &D000-&FFFF RTS