From 188f1b4ce8fc48f5e59195659302d6a7ee5cd97c Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Sat, 4 Jun 2022 13:37:22 -0700 Subject: [PATCH] ROMX: Align with 0.95 c/o Jeff Mazur --- romx/romxrtc.system.s | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/romx/romxrtc.system.s b/romx/romxrtc.system.s index 19bd620..5e1b12a 100644 --- a/romx/romxrtc.system.s +++ b/romx/romxrtc.system.s @@ -3,6 +3,7 @@ ;;; Ver 0.92 Added ZIP slowdowns ;;; Ver 0.93 Moved StubLoc to $0110 ;;; Ver 0.94 Moved StubLoc to RTC_BUF + 7. Save/restore in stack +;;; Ver 0.95 Moved MaskTable to after Thunderclock reloc area ;;; ;;; Modifications by Joshua Bell inexorabletash@gmail.com ;;; * Converted to ca65 syntax and adapted to driver wrapper. @@ -276,10 +277,6 @@ bufloop: plp rts -MaskTable: - .byte $7f, $3f, $07, $3f, $1f, $ff - ;; .... min hour wkdy date mnth year (`RTC_BUF` bytes 1..6) - RamStub: .ifndef FAKE_CLOCK ;; Really read the ROMX RTC @@ -315,6 +312,10 @@ RamStub: RamStubEnd := * .assert RamStubEnd - RamStub < $20, error, "Stub too long" +MaskTable: + .byte $7f, $3f, $07, $3f, $1f, $ff + ;; .... min hour wkdy date mnth year (`RTC_BUF` bytes 1..6) + ClockDrvEnd := * ClockDrvSize = ClockDrvEnd - ClockDrv