1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-27 05:38:04 +11:00
collapseos/blk/061

17 lines
735 B
Plaintext
Raw Normal View History

2020-04-26 22:47:29 +10:00
," xxx" -- Write xxx to HERE
." xxx" -- *I* Compiles string literal xxx followed by a
call to (print).
C<? -- f Returns whether there's a char waiting in buf.
C< -- c Read one char from buffered input.
DUMP n a -- Prints n bytes at addr a in a hexdump format.
Prints in chunks of 8 bytes. Doesn't do partial
lines. Output is designed to fit in 32 columns.
EMIT c -- Spit char c to output stream
IN> -- a Address of variable containing current pos in
input buffer.
KEY -- c Get char c from direct input
PC! c a -- Spit c to port a
PC@ a -- c Fetch c from port a
2020-04-26 22:47:29 +10:00
(cont.)