mirror of
https://github.com/A2osX/A2osX.git
synced 2025-02-18 00:30:40 +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.
|
none.
|
||||||
(X,Y unmodified)
|
(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
|
# ExecL
|
||||||
|
|
||||||
## C / CSH
|
## C / CSH
|
||||||
@ -726,6 +742,19 @@ Change The type of a ProDOS File
|
|||||||
|
|
||||||
## RETURN VALUE
|
## 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
|
# Stat
|
||||||
Return information about a file
|
Return information about a file
|
||||||
|
|
||||||
|
@ -19,7 +19,20 @@ K.Online >PULLW K.MLI.PARAMS+2
|
|||||||
>PULLW K.MLI.PARAMS+1
|
>PULLW K.MLI.PARAMS+1
|
||||||
>MLICALL MLIONLINE
|
>MLICALL MLIONLINE
|
||||||
rts
|
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
|
K.GetStkObj tax hMem for CopyToMain
|
||||||
|
|
||||||
jsr MEM.GetMemByID
|
jsr MEM.GetMemByID
|
||||||
|
Loading…
x
Reference in New Issue
Block a user