Skip to content

Commit

Permalink
ROMX: Fix for IIc+ cache issue
Browse files Browse the repository at this point in the history
c/o Jeff Mazur
  • Loading branch information
inexorabletash committed Jun 19, 2024
1 parent 92405b5 commit 10e29ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clocks/romx/romxrtc.system.s
Original file line number Diff line number Diff line change
Expand Up @@ -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 :-
Expand Down

0 comments on commit 10e29ec

Please sign in to comment.