Skip to content

Commit

Permalink
Fix RTC Reference
Browse files Browse the repository at this point in the history
  • Loading branch information
tsupplis committed Jan 12, 2023
1 parent 925dc6e commit 878a80b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clock.a86
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ rtc_wait:
mov dx, DPORT
in al, dx
mov byte ptr tm_buffer+5, al
IF DS12887
IF DS12C887
mov dx, CPORT
mov al, 32h ; century
out dx, al
Expand Down
8 changes: 4 additions & 4 deletions rtcdef.a86
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ATCLOCK EQU 0
CPORT EQU 02C0h
DPORT EQU CPORT + 1
DS12887 EQU 0
ATCLOCK EQU 0
CPORT EQU 02C0h
DPORT EQU CPORT + 1
DS12C887 EQU 0

0 comments on commit 878a80b

Please sign in to comment.