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