Correct DS1307 Boot Date/Time Display, Issue #556

DS1307 driver (ds7rtc.asm) was displaying an erroneous date/time in the boot messages.  The HBIOS API data was OK.  Credit and thanks to @tpycio for identifying this issue.
This commit is contained in:
Wayne Warthen
2025-05-25 15:32:03 -07:00
parent 2ffd248eb5
commit 2f61c3fc81
2 changed files with 7 additions and 6 deletions

View File

@@ -418,12 +418,12 @@ DS7_CLP:LD C,(HL)
RET
;
DS7_CLKTBL:
.DB 04H, 00111111B, '/'
.DB 05H, 00011111B, '/'
.DB 06H, 11111111B, ' '
.DB 02H, 00011111B, ':'
.DB 01H, 01111111B, ':'
.DB 00H, 01111111B, 00H
.DB 04H, 00111111B, '/' ; DD: 31
.DB 05H, 00011111B, '/' ; MM: 12
.DB 06H, 11111111B, ' ' ; YY: 99
.DB 02H, 01111111B, ':' ; SS: 59
.DB 01H, 01111111B, ':' ; MM: 59
.DB 00H, 00111111B, 00H ; HH: 24
;
DS7_BCD:PUSH HL
LD HL,DS7_BUF ; READ VALUE FROM