Skip to content

Commit

Permalink
barclock: Correctly draw midnight as 12 instead of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
ry755 committed Oct 19, 2024
1 parent 9534d11 commit 3fd28af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions applications/barclock/main.asm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ loop:

; hour
in r0, 0x80000703
cmp r0, 0
ifz mov r0, 12
mov r1, 584
cmp r0, 12
ifgt call afternoon
Expand Down

0 comments on commit 3fd28af

Please sign in to comment.