2022-10-29 20:56:10 +02:00
|
|
|
# PythonExtra - A community MicroPython for CASIO calculators
|
|
|
|
|
|
|
|
*Original MicroPython README: [`README-MicroPython.md`](README-MicroPython.md).*
|
|
|
|
|
|
|
|
This is a MicroPython port for fx-CG 50, fx-9860G III and related CASIO calculators.
|
|
|
|
|
2022-10-30 11:07:33 +01:00
|
|
|
**Build instructions**
|
|
|
|
|
|
|
|
Requires the [fxSDK](/Lephenixnoir/fxsdk). Go to `ports/fxcg50` or `ports/fx9860g3` and run `make`.
|
|
|
|
|
|
|
|
Most of the code is in `ports/sh` and is shared between the platforms.
|
|
|
|
|
2022-10-29 20:56:10 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
**TODO list**
|
|
|
|
|
|
|
|
Bugs to fix:
|
|
|
|
- Fix not world switching during filesystem accesses (very unstable)
|
|
|
|
|
|
|
|
Python features:
|
|
|
|
- Compare features with existing implementations and other brands
|
|
|
|
- Get filesystem access (open etc) with the POSIX interface
|
|
|
|
- Get a decent amount of RAM not just the fixed 32 kiB that's hardcoded so far
|
2022-10-29 21:48:01 +02:00
|
|
|
- Interrupt with AC/ON
|
2022-10-29 20:56:10 +02:00
|
|
|
|
|
|
|
UI:
|
2022-10-30 17:53:13 +01:00
|
|
|
- Shell escapes: move cursor, history
|
|
|
|
- Better input system in the shell
|
2022-10-29 20:56:10 +02:00
|
|
|
- Use [JustUI](/Lephenixnoir/JustUI) to get a file browser (already available)
|
|
|
|
- Add an option for fixed-width font which also sets $COLUMNS properly so that
|
|
|
|
MicroPython paginates (requires better getenv/setenv support in fxlib)
|
|
|
|
- Use [unicode-fonts](/Lephenixnoir/unicode-fonts) to provide Unicode support
|
|
|
|
* Extend it with a fixed-width uf8x9 which maybe changes some glyphs (like
|
|
|
|
`i` and `l`; the usual fixed-width unambiguous styles)
|
|
|
|
* Try and provide a font smaller than 5x7 for more compact shell on mono
|
2022-10-29 21:48:01 +02:00
|
|
|
- A decent keymap that can input all relevant characters into the shell
|
2022-10-29 20:56:10 +02:00
|
|
|
|
|
|
|
Future wishes:
|
|
|
|
- Build for fx-9860G II (requires manual filesystem support)
|
|
|
|
- Lephe's secret ideas (complete previous list to unlock)
|