Skip to content

Commit

Permalink
Fix RTC Init on ROMless Restart
Browse files Browse the repository at this point in the history
- On ROMless restart, the RTC was not being included in the boot messages.
  • Loading branch information
wwarthen committed Oct 31, 2023
1 parent 4012ee7 commit a67b1ec
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions Source/HBIOS/hbios.asm
Original file line number Diff line number Diff line change
Expand Up @@ -1860,11 +1860,13 @@ HB_CPU1:
;
; CLEAR DISPATCH TABLE ENTRIES
;
XOR A ; ZERO
LD (CIO_CNT),A ; CIO DEVICES
LD (DIO_CNT),A ; DIO DEVICES
LD (VDA_CNT),A ; VDA DEVICES
LD (SND_CNT),A ; SND DEVICES
XOR A ; ZERO
LD (CIO_CNT),A ; CIO DEVICES
LD (DIO_CNT),A ; DIO DEVICES
LD (VDA_CNT),A ; VDA DEVICES
LD (SND_CNT),A ; SND DEVICES
LD (RTC_DISPACT),A ; RTC DEVICE
LD (DSKY_DISPACT),A ; DSKY DEVICE
;
#IF (DSRTCENABLE)
CALL DSRTC_PREINIT
Expand Down
2 changes: 1 addition & 1 deletion Source/Z1RCC/Build.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@echo on
@echo off
setlocal

set TOOLS=../../Tools
Expand Down
2 changes: 1 addition & 1 deletion Source/ver.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#DEFINE RMN 4
#DEFINE RUP 0
#DEFINE RTP 0
#DEFINE BIOSVER "3.4.0-dev.15"
#DEFINE BIOSVER "3.4.0-dev.16"
#define rmj RMJ
#define rmn RMN
#define rup RUP
Expand Down
2 changes: 1 addition & 1 deletion Source/ver.lib
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ rmn equ 4
rup equ 0
rtp equ 0
biosver macro
db "3.4.0-dev.15"
db "3.4.0-dev.16"
endm

0 comments on commit a67b1ec

Please sign in to comment.