Kernel version 0.8 : Docs...

This commit is contained in:
Rémy GIBERT 2016-10-22 22:23:48 +02:00
parent bebe0cab0f
commit 17b62a2f02

View File

@ -1,6 +1,6 @@
*** Auto generated by docgen.cmd ***
#K.FOPEN
+ Open a file
#FOpen
Open a file
##In :
+ PUSHW = AUXTYPE
+ PUSHB = TYPE
@ -14,7 +14,27 @@
##Out :
+ CC : A = hFILE
+ CS : A = EC
#K.NewPStrYA
#FCloseA
Close a file
##In :
+ A = hFILE
##Out :
#FRead
Read bytes from file
##In :
+ PULLB = hFILE
+ PULLW = Bytes To Read
+ PULLW = Dest Ptr
##Out :
+ Y,A = Bytes Read
#FWrite
##In :
+ PULLB = hFILE
+ PULLW = Bytes To Write
+ PULLW = Src Ptr
#Out :
+ Y,A = Bytes Written
#NewPStrYA
Create a new copy of PSTR
##In:
+ Y,A = PTR to buffer
@ -24,7 +44,7 @@ Create a new copy of PSTR
+ X = hMem (PSTRING)
+ CS : error
+ A = SYS error code
#K.PStrMatch
#PStrMatch
Compare a String against pattern
##In:
+ PUSHW = PTR to Pattern (e.g. '*test?.txt')
@ -32,13 +52,13 @@ Compare a String against pattern
##Out:
+ CC : match
+ CS : no match
#K.PStrUprYA/K.PStrLwrYA
#PStrUprYA/PStrLwrYA
Convert string to UPPERCASE/lowercase
##In:
+ Y,A = PTR to String (PSTRING)
##Out:
+ Uppercased/lowercased String in Buffer
#K.PStrFTime
#PStrFTime
Convert S.TIME struct to PSTR
##In :
+ PUSHW = Dst PTR To PSTR Buf