Commit graph

15 commits

Author SHA1 Message Date
Lephenixnoir 5b52671c50
ports/sh: improve USB debugging behavior
- Set MP_DEBUG_PRINTER to go through DEBUG_printf instead of the
  console, which is important when the former is USB.
- Disable malloc/gc_alloc messages to avoid spamming USB debug log.
2023-12-19 22:20:12 +01:00
Lephenixnoir e35ed0c2fb
ports/sh: enable overloaded operators 2023-08-20 12:59:25 +02:00
Lephenixnoir 0d20ae7929
ports/sh: provide pe_readline() and enable proper input() 2022-12-17 18:30:02 +01:00
Lephenixnoir ddab477c3e
ports/sh: redraw shell periodically during execution (if changed) 2022-12-17 16:10:27 +01:00
Lephenixnoir 0da3395e89
pe: take over the REPL from pyexec.c 2022-12-15 18:38:03 +01:00
Lephenixnoir dc062623da
casioplot: clear screen upon import 2022-12-12 07:34:23 +01:00
Lephenixnoir 9bdb18f49f
ports/sh: clear keyboard events after shell execution
This helps a lot when running interactive games that don't read their
input (apart from eg. AC/ON). Previously all the events accumulated
during the execution would be executed once the program returns. Now the
queue is reset after execution.
2022-12-12 06:34:53 +01:00
Lephenixnoir c1d2ca5048
pe: debugging tools 2022-11-10 22:37:04 +01:00
Lephenixnoir 27822c2461
pe: make the GUI friendly on the fx-9860G 2022-11-05 20:58:18 +01:00
Lephenixnoir fa6aa00dae
pe: basic GUI setup
Adds a file browser (selected files are not loaded yet) and a shell
widget with an input system that is still better than the previous
VT-100 emulation scheme (with locked modifiers mainly).

A lot of small things still need to be done to make the UI functional.
2022-11-05 18:25:54 +01:00
Lephenixnoir 4e529b5788
meta: add project headers
On all but a few files that are not going to stay there.
2022-10-30 18:52:54 +01:00
Lephenixnoir 2c238906e7
pe: enable the time module
Based on the UNIX port version, and extmod/utime_mphal.c.
2022-10-30 18:37:02 +01:00
Lephenixnoir e1df7e5f0b
ports/sh: enable split GC 2022-10-29 11:32:43 +02:00
Lephenixnoir c237e9874f
ports/sh: clean mpconfigport.h and enable modules 2022-10-27 19:07:22 +02:00
Lephenixnoir e33d85b1de
ports/sh: first functional version, can compute in REPL 2022-10-24 00:48:14 +02:00