add bit patterns to console.txt

This commit is contained in:
~d6 2023-12-06 18:25:16 -05:00
parent 3a37e560dc
commit a14bb5b81a
1 changed files with 20 additions and 20 deletions

View File

@ -22,26 +22,26 @@ child processes, or host messages. the type port (0x17) says which.
the type (0x17) field explains how to interpret calls to the console
vector (0x10) and where data can be read from:
- 0x00 - no input (-)
- 0x01 - stdin (stdin)
- 0x02 - argument (stdin)
- 0x03 - argument spacer (-)
- 0x04 - argument end (-)
- 0x05 - host response
- 0x06 - host response end (-)
- 0x07 - stdin end (-)
- 0x20 - child 0 sent data
- 0x21 - child 1 sent data
- 0x22 - child 2 sent data
- 0x23 - child 3 sent data
- 0x40 - child 0 data end
- 0x41 - child 1 data end
- 0x42 - child 2 data end
- 0x43 - child 3 data end
- 0x80 - child 0 exited (stdin contains exit code)
- 0x81 - child 1 exited (stdin contains exit code)
- 0x82 - child 2 exited (stdin contains exit code)
- 0x83 - child 3 exited (stdin contains exit code)
- 0x00 - 00000000 - no input (-)
- 0x01 - 00000001 - stdin (stdin)
- 0x02 - 00000010 - argument (stdin)
- 0x03 - 00000011 - argument spacer (-)
- 0x04 - 00000100 - argument end (-)
- 0x05 - 00000101 - host response
- 0x06 - 00000110 - host response end (-)
- 0x07 - 00000111 - stdin end (-)
- 0x20 - 00100000 - child 0 sent data
- 0x21 - 00100001 - child 1 sent data
- 0x22 - 00100010 - child 2 sent data
- 0x23 - 00100011 - child 3 sent data
- 0x40 - 01000000 - child 0 data end
- 0x41 - 01000001 - child 1 data end
- 0x42 - 01000010 - child 2 data end
- 0x43 - 01000011 - child 3 data end
- 0x80 - 10000000 - child 0 exited (stdin contains exit code)
- 0x81 - 10000001 - child 1 exited (stdin contains exit code)
- 0x82 - 10000010 - child 2 exited (stdin contains exit code)
- 0x83 - 10000011 - child 3 exited (stdin contains exit code)
writing a byte to the stdout port (0x18) will send one byte of data to
the emulator's stdout.