mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-20 03:31:42 +00:00
Kernel 0.94
This commit is contained in:
parent
36ea2592c1
commit
192a99b47a
@ -421,6 +421,22 @@ Load a file in AUX memory (Stock Objects)
|
||||
none.
|
||||
(X,Y unmodified)
|
||||
|
||||
# GetStkObj
|
||||
|
||||
## C
|
||||
`int *ptr getstkobj (shoirt int hStkObj);`
|
||||
|
||||
## ASM
|
||||
`lda hStkObj`
|
||||
`>SYSCALL GetStkObj`
|
||||
|
||||
## RETURN VALUE
|
||||
CC : success
|
||||
X = hMem
|
||||
Y,A = ptr
|
||||
CS : error
|
||||
A = EC
|
||||
|
||||
# ExecL
|
||||
|
||||
## C / CSH
|
||||
@ -726,6 +742,19 @@ Change The type of a ProDOS File
|
||||
|
||||
## RETURN VALUE
|
||||
|
||||
# SetAttr
|
||||
Change Attributes of a ProDOS File
|
||||
|
||||
## C
|
||||
`int setattr(const char *filepath, short int attributes);`
|
||||
|
||||
## ASM
|
||||
`>PUSHW filepath`
|
||||
`>PUSHB attributes`
|
||||
`>SYSCALL setattr`
|
||||
|
||||
## RETURN VALUE
|
||||
|
||||
# Stat
|
||||
Return information about a file
|
||||
|
||||
|
@ -19,7 +19,20 @@ K.Online >PULLW K.MLI.PARAMS+2
|
||||
>PULLW K.MLI.PARAMS+1
|
||||
>MLICALL MLIONLINE
|
||||
rts
|
||||
*--------------------------------------
|
||||
*/--------------------------------------
|
||||
* # GetStkObj
|
||||
* ## C
|
||||
* `int *ptr getstkobj (shoirt int hStkObj);`
|
||||
* ## ASM
|
||||
* `lda hStkObj`
|
||||
* `>SYSCALL GetStkObj`
|
||||
* ## RETURN VALUE
|
||||
* CC : success
|
||||
* X = hMem
|
||||
* Y,A = ptr
|
||||
* CS : error
|
||||
* A = EC
|
||||
*\--------------------------------------
|
||||
K.GetStkObj tax hMem for CopyToMain
|
||||
|
||||
jsr MEM.GetMemByID
|
||||
|
Loading…
Reference in New Issue
Block a user