aw / fiveforths

32-bit RISC-V Forth for microcontrollers
https://fiveforths.a1w.ca
MIT License
66 stars 3 forks source link

Check for printable characters #11

Closed aw closed 1 year ago

aw commented 1 year ago

The UART should only accept printable characters between the range 0x20 and 0x7E for now.

Actually we should also allow 0x08 (backspace), 0x10 (newline) control characters. Everything else can be ignored, including 0x0D (carriage return) which would resolve #9 as well.