From 3fd28af89cd25657395ad6095ca193d43cfdb3f4 Mon Sep 17 00:00:00 2001 From: Ry Date: Fri, 18 Oct 2024 23:19:42 -0700 Subject: [PATCH] barclock: Correctly draw midnight as 12 instead of 0 --- applications/barclock/main.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/applications/barclock/main.asm b/applications/barclock/main.asm index b1f9f51..b4548b4 100644 --- a/applications/barclock/main.asm +++ b/applications/barclock/main.asm @@ -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