From 10e29ecc0e8b047b4583df1ad28cb7e905b4684a Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Tue, 18 Jun 2024 18:28:06 -0700 Subject: [PATCH] ROMX: Fix for IIc+ cache issue c/o Jeff Mazur --- clocks/romx/romxrtc.system.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clocks/romx/romxrtc.system.s b/clocks/romx/romxrtc.system.s index 41d3cb1..1c6dd5b 100644 --- a/clocks/romx/romxrtc.system.s +++ b/clocks/romx/romxrtc.system.s @@ -266,10 +266,12 @@ bufloop: ;; -------------------------------------------------- ;; Restore what was originally at `RTC_BUF` + ;; And fix //c+ cache while we're ad it! ldx #0 : pla sta RTC_BUF,x + lda $F8F0,x ; clear cache of $D8F0-D901 inx cpx #RamStubEnd-RamStub+7+1 bne :-