Serial Port

The serial port is connected to the terminal (stdout and stdin).

AddressSizeDescription
base+0x00byteStoring 1 triggers the serial port to write (to the stdout) the byte stored at base+0x01. The register is set to 0 when writing is completed.
base+0x01byteByte to be written. ID
base+0x02byteStoring 1 triggers the serial port to read (from the stdin) a byte and store it at base+0x03. The register is set to 0 when reading is completed.
base+0x03byteByte read. NULL (0) when stdin is empty.