1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-29 01:08:05 +11:00
collapseos/blk/061
2020-04-14 10:04:09 -04:00

17 lines
730 B
Plaintext

(cont.)
." xxx" -- *I* Compiles string literal xxx followed by a
call to (print).
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
WORD -- a Read one word from buffered input and push its
addr.
(cont.)