From 79f2169553ba91e8cf692e257c5182c80bee8824 Mon Sep 17 00:00:00 2001 From: Jared Young Date: Fri, 8 Nov 2019 02:22:29 +0000 Subject: [PATCH] first working compile --- mp-s7-src/README.md | 4 ++++ mp-s7-src/TODO.md | 10 ++++++++++ mp-s7-src/retro/Console.cc | 3 --- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 mp-s7-src/TODO.md diff --git a/mp-s7-src/README.md b/mp-s7-src/README.md index 2990b0e..501a0e9 100644 --- a/mp-s7-src/README.md +++ b/mp-s7-src/README.md @@ -6,3 +6,7 @@ Initially, only change is to strip out the STM32 related ifdef's. After that, building a basic CMakeLists.txt file to import a bunch of code and tweak the files here until it successfully compiles. Had to compile the minimal to get a few of the generated headers made for me until I can get around to bringing that into the CMake files. + +Updated the Retro68 Console example to allow reading single characters. + +And now I can run python. The REPL works, even can create functions. diff --git a/mp-s7-src/TODO.md b/mp-s7-src/TODO.md new file mode 100644 index 0000000..908b067 --- /dev/null +++ b/mp-s7-src/TODO.md @@ -0,0 +1,10 @@ +Items that I should do/would be nice to have. + +- See if using the Retro68 Console readline would be a better option, see the linux port for examples on how to override. +- Allow opening of files to run from a menu +- Peripheral Support(ie serial) +- Network Support(have to get networking running in my emulator first, my hardware is offline) + +Fantasy category, for now: +- Add an editor. + diff --git a/mp-s7-src/retro/Console.cc b/mp-s7-src/retro/Console.cc index 1211787..6162f08 100644 --- a/mp-s7-src/retro/Console.cc +++ b/mp-s7-src/retro/Console.cc @@ -340,9 +340,6 @@ char Console::ReadChar() return 0; } - if(c == '\r') - c = '\n'; - return c; }