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
No known key found for this signature in database
GPG Key ID: 8B34ED29C07EEB0A
2 changed files with
7 additions and
6 deletions
Doc/ChangeLog.txt
Source/HBIOS/ds7rtc.asm
@ -4,6 +4,7 @@ Version 3.6
- WDC: Added config options to PCF driver
- WDC: Added config options to PCF driver
- WBW: Enabled dynamic CPU speed update on LCD screen
- WBW: Enabled dynamic CPU speed update on LCD screen
- WBW: Improve LPT driver boot messaging when not detected (per Robb Bates)
- 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
Version 3.5.1
-------------
-------------
@ -418,12 +418,12 @@ DS7_CLP:LD C,(HL)
RET
RET
;
;
DS7_CLKTBL:
DS7_CLKTBL:
.DB 04H , 00111111B , '/'
.DB 05H , 00011111B , '/'
.DB 06H , 11111111B , ' '
.DB 02H , 000 11111B , ':'
.DB 01H , 01111111B , ':'
.DB 00H , 01 111111B , 00H
.DB 04H , 00111111B , '/' ; DD: 31
.DB 05H , 00011111B , '/' ; MM: 12
.DB 06H , 11111111B , ' ' ; YY: 99
.DB 02H , 011 11111B , ':' ; SS: 59
.DB 01H , 01111111B , ':' ; MM: 59
.DB 00H , 00 111111B , 00H ; HH: 24
;
;
DS7_BCD: PUSH HL
DS7_BCD: PUSH HL
LD HL , DS 7 _BUF ; READ VALUE FROM
LD HL , DS 7 _BUF ; READ VALUE FROM