Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 line
735B

  1. ," xxx" -- Write xxx to HERE
  2. ." xxx" -- *I* Compiles string literal xxx followed by a
  3. call to (print).
  4. C<? -- f Returns whether there's a char waiting in buf.
  5. C< -- c Read one char from buffered input.
  6. DUMP n a -- Prints n bytes at addr a in a hexdump format.
  7. Prints in chunks of 8 bytes. Doesn't do partial
  8. lines. Output is designed to fit in 32 columns.
  9. EMIT c -- Spit char c to output stream
  10. IN> -- a Address of variable containing current pos in
  11. input buffer.
  12. KEY -- c Get char c from direct input
  13. PC! c a -- Spit c to port a
  14. PC@ a -- c Fetch c from port a
  15. (cont.)