Kernel version 0.8 : Docs...

This commit is contained in:
Rémy GIBERT 2016-10-26 22:46:16 +02:00
parent 2fd44770d2
commit aab7c77e4d

View File

@ -1,6 +1,7 @@
*** Auto generated by docgen.cmd ***
#GetArgC
Returns argument count in the process command line.
##In:
+ none.
@ -11,7 +12,7 @@
#GetArgA
##In:
+ none.
+ A = argument index.
##Out:
+ CC : success
@ -65,14 +66,43 @@ Prints C-Style String
##Out:
#GetDevByIDA
##IN:
+ A = DevID
##OUT:
+ CC = OK, CS = ERROR
+ Y,A = devslot
+ note: X Unmodified
#GetDevIDByNameYA
##IN:
+ Y,A = Ptr to device name (PStr)
##OUT:
+ CC = OK, CS = ERROR
+ X = DEVID
+ Y,A = pDev
#GetDevInfoA
##IN:
+ A = DevID
##OUT:
+ CC = OK, CS = ERROR
+ Y,A = Ptr to S.DEVINFO
#OpenDirYA
##In:
+ Y,A = PATH (PSTR)
##Out :
##Out:
+ CC : success
+ Y,A = PTR to S.DIR
+ A = hDIR
+ CS : error
+ A = EC
@ -81,7 +111,7 @@ Prints C-Style String
##In:
+ A = hDIR
##Out :
##Out:
+ CC : success
+ X = hDIRENT
+ Y,A = PTR to S.DIRENT
@ -97,6 +127,16 @@ Prints C-Style String
##Out:
+ none, always succeed.
#MKDirYA
##In:
+ Y,A = DIR name
##Out:
+ CC : success
+ CS : error
+ A = EC
#FOpen
Open a file
@ -144,12 +184,12 @@ Read bytes from file
#Out:
+ Y,A = Bytes Written
#FFLUSHA
#FFlushA
##In:
+ A = hFILE
#FSEEK
#FSeek
##In:
+ PUSHW = OffsetHi
@ -157,7 +197,7 @@ Read bytes from file
+ PUSHB = From
+ PUSHB = hFILE
#FTELLA
#FTellA
##In:
+ A = hFILE
@ -176,9 +216,9 @@ Read bytes from file
+ A =0 NOT EOF
+ CS :
#REMOVEYA
#RemoveYA
#RENAME
#Rename
Rename a file
##In :
@ -187,7 +227,7 @@ Rename a file
##Out :
#STAT
#Stat
Return information about a file
##In :
@ -196,6 +236,47 @@ Return information about a file
##Out :
#FileSearch
##In:
+ PUSHW = PSTR to Search Path (PSTRING) %LIB%;/SYS/SLIB
+ PUSHW = PSTR to File Name (PSTRING)
#Out:
+ Y,A = PSTR to FilePath (PSTRING)
+ X = hMem to FilePath
#GetFullPathYA
##In :
+ Y,A = Filename (PSTRING)
#Out :
+ Y,A = FullPath (PSTRING)
+ X = hMem of FullPath
#LoadFile
##In:
+ PUSHW = AUXTYPE (Handled by....
+ PUSHB = TYPE ...
+ PUSHB = MODE ...
+ PUSHW = PATH ...FOPEN)
##Out:
+ Y,A = File Length
+ X = hMem of Loaded File
#SaveFile
##In:
+ PUSHW = SrcLen
+ PUSHW = SrcPtr
+ PUSHW = AUXTYPE (Handled by....
+ PUSHB = TYPE ...
+ PUSHB = MODE ...
+ PUSHW = PATH ...FOPEN)
#GetMem
##In: