mirror of
https://github.com/Michaelangel007/apple2_printm.git
synced 2024-12-06 20:49:28 +00:00
Ver 42 - fix typos in output description
This commit is contained in:
parent
44d7bbc3aa
commit
0aadae75e0
18
README.md
18
README.md
@ -6,16 +6,16 @@ Here is a *modular* _micro_ replacement: printm()
|
||||
* Meta characters have the high bit cleared (ASCII)
|
||||
|
||||
```
|
||||
$ Hex - print 2 Byte
|
||||
x Hex - print 4 Byte
|
||||
$ Hex - print 1 Byte (2 characters)
|
||||
x Hex - print 2 Bytes (4 characters)
|
||||
|
||||
@ Ptr - print hex byte at 16-bit pointer
|
||||
& Ptr - print hex word at 16-bit pointer
|
||||
@ Ptr - print hex 1 Byte at 16-bit pointer
|
||||
& Ptr - print hex 2 Bytes at 16-bit pointer
|
||||
|
||||
# Dec - Print 1 Byte in decimal (max 2 digits)
|
||||
d Dec - Print 2 Byte in decimal (max 3 digits)
|
||||
u Dec - Print 2 Byte in decimal (max 5 digits)
|
||||
b Dec - Print signed byte in decimal
|
||||
# Dec - Print 1 Byte in decimal (max 2 digits)
|
||||
d Dec - Print 1 Byte in decimal (max 3 digits)
|
||||
u Dec - Print 2 Bytes in decimal (max 5 digits)
|
||||
b Dec - Print signed 1 Byte in decimal
|
||||
|
||||
% Bin - Print 8 bits
|
||||
? Bin - Print 8 bits but 1's in inverse
|
||||
@ -25,7 +25,7 @@ Here is a *modular* _micro_ replacement: printm()
|
||||
|
||||
a Str - APPLE text (high bit set), last char is ASCII
|
||||
s Str - C string, zero terminated
|
||||
p Str - Pascal string, first character is string length
|
||||
p Str - Pascal string, first byte is string length
|
||||
```
|
||||
|
||||
Each option can individually be enabled / disabled
|
||||
|
20
printm.s
20
printm.s
@ -5,7 +5,7 @@
|
||||
.feature leading_dot_in_identifiers
|
||||
.PC02 ; 65C02
|
||||
|
||||
/* Version 41
|
||||
/* Version 42
|
||||
printm - a modular micro printf replacement for 65C02
|
||||
Michael Pohoreski
|
||||
Copyleft {c} Feb, 2016
|
||||
@ -71,16 +71,16 @@ Here is a *modular* _micro_ replacement: printm()
|
||||
* Literals have the high byte set (APPLE text)
|
||||
* Meta characters have the high bit cleared (ASCII)
|
||||
|
||||
$ Hex - print 2 Byte
|
||||
x Hex - print 4 Byte
|
||||
$ Hex - print 1 Byte (2 characters)
|
||||
x Hex - print 2 Bytes (4 characters)
|
||||
|
||||
@ Ptr - print hex byte at 16-bit pointer
|
||||
& Ptr - print hex word at 16-bit pointer
|
||||
@ Ptr - print hex 1 Byte at 16-bit pointer
|
||||
& Ptr - print hex 2 Bytes at 16-bit pointer
|
||||
|
||||
# Dec - Print 1 Byte in decimal (max 2 digits)
|
||||
d Dec - Print 2 Byte in decimal (max 3 digits)
|
||||
u Dec - Print 2 Byte in decimal (max 5 digits)
|
||||
b Dec - Print signed byte in decimal
|
||||
# Dec - Print 1 Byte in decimal (max 2 digits)
|
||||
d Dec - Print 1 Byte in decimal (max 3 digits)
|
||||
u Dec - Print 2 Bytes in decimal (max 5 digits)
|
||||
b Dec - Print signed 1 Byte in decimal
|
||||
|
||||
% Bin - Print 8 bits
|
||||
? Bin - Print 8 bits but 1's in inverse
|
||||
@ -90,7 +90,7 @@ Here is a *modular* _micro_ replacement: printm()
|
||||
|
||||
a Str - APPLE text (high bit set), last char is ASCII
|
||||
s Str - C string, zero terminated
|
||||
p Str - Pascal string, first character is string length
|
||||
p Str - Pascal string, first byte is string length
|
||||
|
||||
|
||||
Each option can individually be enabled / disabled
|
||||
|
Loading…
Reference in New Issue
Block a user