Kernel version 0.8 : Docs...

This commit is contained in:
Rémy GIBERT 2016-10-23 18:27:20 +02:00
parent 0721d6455b
commit f2c1ec42e4

View File

@ -1,5 +1,23 @@
*** Auto generated by docgen.cmd ***
#GetArgC
##In:
+ none.
##Out:
+ A = Command line Arg Count (Including /path/cmd)
#GetArgA
##In:
+ none.
##Out:
+ CC : success
+ Y,A = PStr To Arg[A]
+ CS : Out Of Bound
#FOpen
Open a file
@ -7,11 +25,11 @@ Open a file
+ PUSHW = AUXTYPE
+ PUSHB = TYPE
+ PUSHB = MODE
+ SYS.FOPEN.R : if R and exists -> ERROR
+ SYS.FOPEN.W : if W and exists -> CREATE
+ SYS.FOPEN.A : Append
+ SYS.FOPEN.T : Open/Append in Text mode
+ SYS.FOPEN.X : Create if not exists
+ SYS.FOPEN.R : if R and exists -> ERROR
+ SYS.FOPEN.W : if W and exists -> CREATE
+ SYS.FOPEN.A : Append
+ SYS.FOPEN.T : Open/Append in Text mode
+ SYS.FOPEN.X : Create if not exists
+ PUSHW = PATH (PSTR)
##Out :
@ -39,14 +57,66 @@ Read bytes from file
#FWrite
##In :
##In:
+ PULLB = hFILE
+ PULLW = Bytes To Write
+ PULLW = Src Ptr
#Out :
#Out:
+ Y,A = Bytes Written
#FFLUSHA
##In:
+ A = hFILE
#FSEEK
##In:
+ PUSHW = OffsetHi
+ PUSHW = OffsetLo
+ PUSHB = From
+ PUSHB = hFILE
#FTELLA
##In:
+ A = hFILE
##Out:
+ Y,A,X = Offset
#FEOFA
##In:
+ A = hFILE
##Out:
+ CC :
+ A=0 EOF
+ A =0 NOT EOF
+ CS :
#REMOVEYA
#RENAME
Rename a file
##In :
+ PUSHW = New Name
+ PUSHW = Old Name
##Out :
#STAT
Return information about a file
##In :
+ PUSHW = PTR to S.STAT buffer
+ PUSHW = PTR to Filename (PSTR)
##Out :
#NewPStrYA
Create a new copy of PSTR
@ -83,7 +153,7 @@ Convert string to UPPERCASE/lowercase
#PStrFTime
Convert S.TIME struct to PSTR
##In :
##In:
+ PUSHW = Dst PTR To PSTR Buf
+ PUSHW = Src PTR To Format String
+ %a : Abbreviated weekday name : Thu
@ -102,16 +172,16 @@ Convert S.TIME struct to PSTR
+ %Y : Year four digits 2001
+ PUSHW = Src PTR To S.Time
##Out :
##Out:
+ none. always succeed.
#K.PStr2StrArrayYA
#PStr2StrArrayYA
Convert a PSTR (e.g. : command Line) to a Array of PSTRs (Args[])
##In :
##In:
+ Y,A = PTR to String
##Out :
##Out:
+ CC : success
+ Y,A = PTR to StrArray
+ X = hMem