ROMX: Align with 0.95 c/o Jeff Mazur

This commit is contained in:
Joshua Bell 2022-06-04 13:37:22 -07:00
parent 536ed14b60
commit 188f1b4ce8
1 changed files with 5 additions and 4 deletions

View File

@ -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