mirror of
https://github.com/A2osX/A2osX.git
synced 2024-10-21 05:24:15 +00:00
64 lines
1.5 KiB
Plaintext
64 lines
1.5 KiB
Plaintext
PR#3
|
||
PREFIX /A2OSX.SRC
|
||
NEW
|
||
INC 1
|
||
AUTO 6
|
||
.LIST OFF
|
||
*--------------------------------------
|
||
* S.TimeYA get System Time
|
||
* In :
|
||
* Y,A = PTR to S.TIME
|
||
* Out :
|
||
* S.TIME filled with ProDOS MLI date/time
|
||
*--------------------------------------
|
||
S.TimeYA
|
||
clc
|
||
rts
|
||
*--------------------------------------
|
||
* S.CTime2Time
|
||
* In :
|
||
* PULLW = Src CTIME DWORD
|
||
* PULLW = Dst PTR To S.TIME
|
||
*--------------------------------------
|
||
S.CTime2Time
|
||
clc
|
||
rts
|
||
*--------------------------------------
|
||
* In :
|
||
* PULLW = Src PDATE
|
||
* PULLW = Src PTIME
|
||
* PULLW = Dst PTR To S.TIME
|
||
*--------------------------------------
|
||
S.PTime2Time
|
||
clc
|
||
rts
|
||
*--------------------------------------
|
||
* S.StrFTime
|
||
* In :
|
||
* PULLW = Src PTR To S.TIME
|
||
* PULLW = Src PTR To Format String
|
||
* %a Abbreviated weekday name : Thu
|
||
* %A Full weekday name : Thursday
|
||
* %b Abbreviated month name : Aug
|
||
* %B Full month name : August
|
||
* %d Day of the month, zero-padded (01-31)
|
||
* %H Hour in 24h format (00-23) 14
|
||
* %I Hour in 12h format (01-12) 02
|
||
* %m Month as a decimal number (01-12) 08
|
||
* %M Minute (00-59) 55
|
||
* %p AM or PM designation PM
|
||
* %S Second (00-61) 02
|
||
* %w Weekday as a decimal number with Sunday as 0 (0-6)
|
||
* %y Year, last two digits (00-99)
|
||
* %Y Year four digits 2001
|
||
* PULLW = Dst PSTR Buffer
|
||
*--------------------------------------
|
||
S.StrFTime
|
||
clc
|
||
rts
|
||
*--------------------------------------
|
||
MAN
|
||
SAVE SYS/KERNEL.S.TIME
|
||
LOAD SYS/KERNEL.S
|
||
ASM
|