mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-22 00:32:44 +00:00
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
NEW
|
||
AUTO 3,1
|
||
*/--------------------------------------
|
||
* # StrVSet
|
||
* ## ASM
|
||
* `>PUSHB hSTRV`
|
||
* `>PUSHW id`
|
||
* `>PUSHW ptr`
|
||
* `>SYSCALL StrVSet`
|
||
* ## RETURN VALUE
|
||
*\--------------------------------------
|
||
K.StrVSet .EQ K.SYSCALL.JMPX2A
|
||
* >PULLW FORPNT ptr
|
||
* >PULLW TXTPTR id
|
||
* >PULLA
|
||
* jmp K.SYSCALL.JMPX
|
||
*/--------------------------------------
|
||
* # StrVGet
|
||
* ## ASM
|
||
* `>PUSHB hSTRV`
|
||
* `>PUSHW id`
|
||
* `>PUSHW ptr`
|
||
* `>SYSCALL StrVGet`
|
||
* ## RETURN VALUE
|
||
* CC: Y,A = Ptr
|
||
* CS: Y,A = NULL
|
||
*\--------------------------------------
|
||
K.StrVGet .EQ K.SYSCALL.JMPX2A
|
||
* >PULLW FORPNT ptr
|
||
* >PULLW TXTPTR id
|
||
* >PULLA
|
||
* jmp K.SYSCALL.JMPX
|
||
*/--------------------------------------
|
||
* # StrVNew
|
||
* ## ASM
|
||
* `>LDYA size`
|
||
* `>SYSCALL StrVNew`
|
||
* ## RETURN VALUE
|
||
*\--------------------------------------
|
||
K.StrVNew .EQ K.SYSCALL.JMPX
|
||
*/--------------------------------------
|
||
* # StrVFree
|
||
* ## ASM
|
||
* `lda hSTRV`
|
||
* `>SYSCALL StrVFree`
|
||
* ## RETURN VALUE
|
||
*\--------------------------------------
|
||
K.StrVFree .EQ K.SYSCALL.JMPX
|
||
*--------------------------------------
|
||
MAN
|
||
SAVE usr/src/sys/kernel.s.strv
|
||
LOAD usr/src/sys/kernel.s
|
||
ASM
|