Browse Source

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.
pull/561/head
Wayne Warthen 8 months ago
parent
commit
2f61c3fc81
No known key found for this signature in database GPG Key ID: 8B34ED29C07EEB0A
  1. 1
      Doc/ChangeLog.txt
  2. 12
      Source/HBIOS/ds7rtc.asm

1
Doc/ChangeLog.txt

@ -4,6 +4,7 @@ Version 3.6
- WDC: Added config options to PCF driver
- WBW: Enabled dynamic CPU speed update on LCD screen
- WBW: Improve LPT driver boot messaging when not detected (per Robb Bates)
- WBW: Correct DS1307 boot date/time display (per Tadeusz Pycio)
Version 3.5.1
-------------

12
Source/HBIOS/ds7rtc.asm

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

Loading…
Cancel
Save