Cricket: Make SET.TIME/SET.DATETIME time inputs 24-hour by default

The Cricket! can accept both 12-hour (with AM/PM suffix) and 24-hour
times. Unify with the No-Slot Clock UI and prompt for 24-hour.
This commit is contained in:
Joshua Bell 2023-07-03 12:46:44 -07:00
parent b182a53dfa
commit a519d0c619
2 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@
;; Time
jsr zstrout
scrcode "\rTime: HH:MM:SS XM\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08"
scrcode "\rTime: HH:MM:SS\x08\x08\x08\x08\x08\x08\x08\x08"
.byte 0
jsr GETLN2
@ -82,7 +82,7 @@
sta CONTROL
;; Clock Commands
;; Set Time "ST HH:MM:SS:XM"
;; Set Time "ST HH:MM:SS"
lda #HI('S')
jsr sendbyte
lda #HI('T')

View File

@ -16,7 +16,7 @@
.proc main
jsr zstrout
scrcode "\rTime: HH:MM:SS XM\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08"
scrcode "\rTime: HH:MM:SS\x08\x08\x08\x08\x08\x08\x08\x08"
.byte 0
jsr GETLN2
@ -37,7 +37,7 @@
sta CONTROL
;; Clock Commands
;; Set Time "ST HH:MM:SS:XM"
;; Set Time "ST HH:MM:SS"
lda #HI('S')
jsr sendbyte
lda #HI('T')