mirror of
https://github.com/A2osX/A2osX.git
synced 2024-06-26 09:29:30 +00:00
Kernel version 0.8 : Docs...
This commit is contained in:
parent
353b0c1bf0
commit
e0ae89dd6c
|
@ -102,7 +102,7 @@ K.SScanF.IsDigit cmp #'0'
|
||||||
rts
|
rts
|
||||||
*/--------------------------------------
|
*/--------------------------------------
|
||||||
* #PPrintFYA/CPrintFYA
|
* #PPrintFYA/CPrintFYA
|
||||||
* Prints P-Stype/C-Style String
|
* Prints Pascal/C-Style String
|
||||||
* ##In:
|
* ##In:
|
||||||
* Y,A = PTR to PStr/CStr
|
* Y,A = PTR to PStr/CStr
|
||||||
* %a : pull 2 bytes to Print Access right String 'drwxrwxrwx'
|
* %a : pull 2 bytes to Print Access right String 'drwxrwxrwx'
|
||||||
|
@ -122,9 +122,11 @@ K.SScanF.IsDigit cmp #'0'
|
||||||
* %N : pull 1 byte to Print high Nibble HEX
|
* %N : pull 1 byte to Print high Nibble HEX
|
||||||
* %s : pull 2 bytes ptr to C-Style String
|
* %s : pull 2 bytes ptr to C-Style String
|
||||||
* %S : pull 2 bytes ptr to P-Style String
|
* %S : pull 2 bytes ptr to P-Style String
|
||||||
|
* \b : Print 'BS' (08)
|
||||||
* \e : Print 'ESC' ($1B,27)
|
* \e : Print 'ESC' ($1B,27)
|
||||||
* \n : Print CR=13
|
* \f : Print 'FF' ($0C,12)
|
||||||
* \\ : Print \
|
* \n : Print 'CR' ($0D,13)
|
||||||
|
* \\\\ : Print \
|
||||||
* \% : Print %
|
* \% : Print %
|
||||||
* Modifiers for len and padding :
|
* Modifiers for len and padding :
|
||||||
* %d : '9' '12'
|
* %d : '9' '12'
|
||||||
|
@ -480,7 +482,8 @@ CIO.GetCharAtPtr1Y
|
||||||
lda (ZPQuickPtr1),y CSTR
|
lda (ZPQuickPtr1),y CSTR
|
||||||
beq .9
|
beq .9
|
||||||
iny advance to next char...
|
iny advance to next char...
|
||||||
clc
|
bne .9
|
||||||
|
inc ZPQuickPtr1+1 Allow >256 CStrings
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ Scan a PStr (in progress)
|
||||||
##Out:
|
##Out:
|
||||||
|
|
||||||
#PPrintFYA/CPrintFYA
|
#PPrintFYA/CPrintFYA
|
||||||
Prints P-Stype/C-Style String
|
Prints Pascal/C-Style String
|
||||||
|
|
||||||
##In:
|
##In:
|
||||||
+ Y,A = PTR to PStr/CStr
|
+ Y,A = PTR to PStr/CStr
|
||||||
|
@ -52,9 +52,11 @@ Prints P-Stype/C-Style String
|
||||||
+ %N : pull 1 byte to Print high Nibble HEX
|
+ %N : pull 1 byte to Print high Nibble HEX
|
||||||
+ %s : pull 2 bytes ptr to C-Style String
|
+ %s : pull 2 bytes ptr to C-Style String
|
||||||
+ %S : pull 2 bytes ptr to P-Style String
|
+ %S : pull 2 bytes ptr to P-Style String
|
||||||
|
+ \b : Print 'BS' (08)
|
||||||
+ \e : Print 'ESC' ($1B,27)
|
+ \e : Print 'ESC' ($1B,27)
|
||||||
+ \n : Print CR=13
|
+ \f : Print 'FF' ($0C,12)
|
||||||
+ \\ : Print \
|
+ \n : Print 'CR' ($0D,13)
|
||||||
|
+ \\\\ : Print \
|
||||||
+ \% : Print %
|
+ \% : Print %
|
||||||
+ Modifiers for len and padding :
|
+ Modifiers for len and padding :
|
||||||
+ %d : '9' '12'
|
+ %d : '9' '12'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user