mirror of
https://github.com/mi57730/a2d.git
synced 2025-02-22 14:29:00 +00:00
DeskTop: Restore leading 0 for minutes
This commit is contained in:
parent
2f2c4ba26b
commit
6d76fea638
@ -9626,6 +9626,11 @@ open: MLI_RELAY_CALL OPEN, open_params
|
|||||||
|
|
||||||
lda TIMELO
|
lda TIMELO
|
||||||
and #%00111111
|
and #%00111111
|
||||||
|
pha
|
||||||
|
cmp #10
|
||||||
|
bcs :+
|
||||||
|
addr_call draw_text1, str_zero
|
||||||
|
: pla
|
||||||
ldx #0
|
ldx #0
|
||||||
jsr int_to_string
|
jsr int_to_string
|
||||||
addr_call draw_text1, str_from_int
|
addr_call draw_text1, str_from_int
|
||||||
|
@ -813,6 +813,8 @@ pos_clock:
|
|||||||
|
|
||||||
str_colon:
|
str_colon:
|
||||||
PASCAL_STRING ":"
|
PASCAL_STRING ":"
|
||||||
|
str_zero:
|
||||||
|
PASCAL_STRING "0"
|
||||||
str_am: PASCAL_STRING " AM"
|
str_am: PASCAL_STRING " AM"
|
||||||
str_pm: PASCAL_STRING " PM"
|
str_pm: PASCAL_STRING " PM"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user