Hi,
Next round of patches. Changes:
* Moved it all to a new sercon.c file. * Code maps cp437 to utf8 now, giving a much nicer display. Compare "Use the ↑ and ↓ keys to change the selection." (this series) with "Use the ^ and v keys to change the selection." (sgabios) ;-) * Simplified keyboard code, using enqueue_key now. * Restructed code, to cleanup things and to address review comments.
cheers, Gerd
Gerd Hoffmann (3): std: add cp437 to unicode map kbd: make enqueue_key public, add ascii_to_keycode add serial console support
Makefile | 2 +- src/clock.c | 1 + src/kbd.c | 17 +- src/misc.c | 2 + src/optionroms.c | 4 +- src/sercon.c | 545 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/std/cp437.h | 258 ++++++++++++++++++++++++++ src/util.h | 5 + 8 files changed, 831 insertions(+), 3 deletions(-) create mode 100644 src/sercon.c create mode 100644 src/std/cp437.h