mirror of
https://github.com/byteworksinc/ORCALib.git
synced 2024-06-14 03:29:41 +00:00
parent
506b070439
commit
3551644355
2
time.asm
2
time.asm
|
@ -524,7 +524,6 @@ t equ 6
|
||||||
pla
|
pla
|
||||||
sta 3,s
|
sta 3,s
|
||||||
|
|
||||||
ph4 #gmlocaltime_tm push address of struct tm to use
|
|
||||||
lda #-1 default DST setting = -1 (unknown)
|
lda #-1 default DST setting = -1 (unknown)
|
||||||
cpy lasttime determine DST setting, if we can
|
cpy lasttime determine DST setting, if we can
|
||||||
bne lb1
|
bne lb1
|
||||||
|
@ -533,6 +532,7 @@ t equ 6
|
||||||
lda lastDST
|
lda lastDST
|
||||||
lb1 plb
|
lb1 plb
|
||||||
|
|
||||||
|
ph4 #gmlocaltime_tm push address of struct tm to use
|
||||||
pha push tm_isdst value
|
pha push tm_isdst value
|
||||||
phx push time_t value to convert
|
phx push time_t value to convert
|
||||||
phy
|
phy
|
||||||
|
|
Loading…
Reference in New Issue
Block a user