mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-25 20:33:13 +00:00
Added MLI Create File (EDIT)
This commit is contained in:
parent
5246249b79
commit
4acc9d08a6
@ -7,7 +7,13 @@ AUTO 6
|
||||
*--------------------------------------
|
||||
* PUBLIC
|
||||
*--------------------------------------
|
||||
S.MLICreateFile
|
||||
S.MLICreateFile >PULLW MLICALL.PARAMS+1
|
||||
>PULLB MLICALL.PARAMS+3 Access
|
||||
>PULLB MLICALL.PARAMS+4 File type
|
||||
>PULLW MLICALL.PARAMS+5 Aux type
|
||||
lda #$01
|
||||
sta MLICALL.PARAMS+7 Storage=Standard Files
|
||||
>MLICALL MLICREATE
|
||||
clc
|
||||
rts
|
||||
*--------------------------------------
|
||||
@ -20,7 +26,6 @@ S.MLICreateDirYA
|
||||
sta MLICALL.PARAMS+4 type=Directory
|
||||
lda #$0D
|
||||
sta MLICALL.PARAMS+7 Storage=Linked List
|
||||
|
||||
>MLICALL MLICREATE
|
||||
rts
|
||||
*--------------------------------------
|
||||
@ -134,8 +139,8 @@ S.MLIRead >PULLB MLICALL.PARAMS+1
|
||||
* S.MLIWrite
|
||||
* in :
|
||||
* PULLB = ref_num
|
||||
* PULLW = Dest PTR
|
||||
* PULLW = Bytes To Read
|
||||
* PULLW = Src PTR
|
||||
* PULLW = Bytes To Write
|
||||
* out :
|
||||
* Y,A = Bytes Written
|
||||
*--------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user