DeskTop: Restore leading 0 for minutes

This commit is contained in:
Joshua Bell 2019-03-26 21:28:22 -07:00
parent 2f2c4ba26b
commit 6d76fea638
2 changed files with 7 additions and 0 deletions

View File

@ -9626,6 +9626,11 @@ open: MLI_RELAY_CALL OPEN, open_params
lda TIMELO
and #%00111111
pha
cmp #10
bcs :+
addr_call draw_text1, str_zero
: pla
ldx #0
jsr int_to_string
addr_call draw_text1, str_from_int

View File

@ -813,6 +813,8 @@ pos_clock:
str_colon:
PASCAL_STRING ":"
str_zero:
PASCAL_STRING "0"
str_am: PASCAL_STRING " AM"
str_pm: PASCAL_STRING " PM"