mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-23 07:35:19 +00:00
Kernel version 0.8 : Docs...
This commit is contained in:
parent
fe5e44dc5a
commit
e5a43cdc22
@ -18,7 +18,18 @@
|
||||
+ Y,A = PStr To Arg[A]
|
||||
+ CS : Out Of Bound
|
||||
|
||||
#PrintFYA :
|
||||
#SScanF
|
||||
Scan a PStr (in progress)
|
||||
|
||||
##In:
|
||||
+ PUSHW PTR to target buffer
|
||||
+ PUSHW PString pattern (ex: "%d.%d.%d.%d")
|
||||
+ %d : byte
|
||||
+ PUSHW PString to scan (ex: "192.168.1.5")
|
||||
|
||||
##Out:
|
||||
|
||||
#PrintFYA
|
||||
Prints C-Style String
|
||||
|
||||
##In:
|
||||
@ -52,6 +63,8 @@ Prints C-Style String
|
||||
+ %011s 'ABCDEFGH000'
|
||||
+ %2f '3.14'
|
||||
|
||||
##Out:
|
||||
|
||||
#OpenDirYA
|
||||
|
||||
##In:
|
||||
@ -183,6 +196,48 @@ Return information about a file
|
||||
|
||||
##Out :
|
||||
|
||||
#GetMem
|
||||
|
||||
##In:
|
||||
+ PUSHW = Size Requested
|
||||
+ PUSHB = Options
|
||||
+ S.MEM.F.INIT0 : init memory with 00
|
||||
+ S.MEM.F.ALIGN : page aligned
|
||||
|
||||
##Out:
|
||||
+ CC : success
|
||||
+ YA = PTR to Mem
|
||||
* X = hMem
|
||||
+ CS :
|
||||
+ A = EC
|
||||
|
||||
#FreeMemA
|
||||
|
||||
##In:
|
||||
+ A = hMem To Free
|
||||
|
||||
##Out:
|
||||
+ none.
|
||||
+ (X,Y unmodified)
|
||||
|
||||
#GetMemPtrA
|
||||
|
||||
##In:
|
||||
+ A = hMem
|
||||
|
||||
##Out:
|
||||
+ Y,A = PTR to MemBlock
|
||||
+ (X unmodified)
|
||||
|
||||
#GetMemByIDA
|
||||
|
||||
##In:
|
||||
+ A = hMem
|
||||
|
||||
##Out:
|
||||
+ Y,A = ZPMemMgrSPtr = PTR to S.MEM
|
||||
+ X unmodified
|
||||
|
||||
#NewPStrYA
|
||||
Create a new copy of PSTR
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user