Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KERNAL] fix two DOW bugs #273

Merged
merged 2 commits into from
Feb 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kernal/drivers/x16/rtc.s
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ rtc_set_date_time:
lda r3H
and #$07
ora #$08 ; enable battery backup
jsr i2c_write_byte_as_bcd ; 3: day of week
jsr i2c_write_byte ; 3: day of week

dey
lda r1H
Expand Down
4 changes: 2 additions & 2 deletions kernal/ieee_switch.s
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ upload_time:
@1: lda 0,x
pha
inx
cpx #9
cpx #10
bne @1

jsr clock_get_date_time
Expand All @@ -209,7 +209,7 @@ upload_time:
.word $c000 + 3 * 16
.byte BANK_CBDOS

ldx #8
ldx #9
@4: pla
sta 0,x
dex
Expand Down
Loading