Commit Graph

15677 Commits

Author SHA1 Message Date
Sylvain PILLOT eb23f0b1f5 thanks to Lephe's optimization, file IO now works properly on fx9860G 2024-02-25 21:20:29 +01:00
Sylvain PILLOT 480a9e87f2 added specific icons and Makefile target for building Beta versions 2024-02-25 20:48:57 +01:00
Sylvain PILLOT 34e192cbc0 added the full U+00A characters table for NW module Kandinsky 2024-02-25 19:36:21 +01:00
Sylvain PILLOT f4ce0019ff Merge branch 'dev' of gitea.planet-casio.com:Lephenixnoir/PythonExtra into fileio 2024-02-25 18:07:40 +01:00
Sylvain PILLOT 8a5afc38c3 restora correct addin name 2024-02-25 18:06:40 +01:00
Lephenixnoir 3523a83bda
docs: first version of gint image documentation (fr+en) 2024-02-25 17:13:23 +01:00
Lephenixnoir ae3a135a81
docs: start of image documentation in gint (French only so far) 2024-02-25 16:31:19 +01:00
Lephenixnoir 30fcf592d1
docs: more modgint doc including first images 2024-02-25 14:45:30 +01:00
Lephenixnoir f9f94c999a
ports/fxcg50: provide basic memory status view on SHIFT+VARS 2024-02-25 12:46:01 +01:00
Lephenixnoir 7abbcc1dfc
ports/fx9860g3: reduce console scrollback to 50 lines / 4kB 2024-02-25 12:45:43 +01:00
Lephenixnoir a1848c0920
ports/sh: reduce console memory usage
Includes 2 previous commits.

So far simply by freezing old console lines and removing edition
metadata. Plus a little bit of compaction.

Benchmark: _uram memory free after startup and help() on G-III.
- Before this change: 2880
- After adding stredit_t in every line: 1880
- After keeping stredit_t only for last line: 4596

There's more to be done (double buffer), but later. I'm also gonna cut
down on the history size, probably.
2024-02-25 11:11:48 +01:00
Lephenixnoir 3f02fd86ea
ports/sh: WIP console memory usage: use stredit_t only on last line 2024-02-25 09:11:05 +01:00
Lephenixnoir 95eb40e25d
ports/sh: WIP console memory usage: introduce stredit_t
Currently takes more memory because I kept an stredit_t in every single
line but once I remove it from all but the last one we'll see some
progress.
2024-02-25 08:49:49 +01:00
Lephenixnoir 93e021f144
ports/sh: fix long-standing console line counting bug
The computation of how many screen lines at given console lines takes
used the globally-configured font instead of the widget's font. This
cause certain lines to have their size over-estimated on fx-9860G III,
leading to weird scrolling and too few lines being displayed in some
situations.

The bug was present on the fx-CG 50 but did not occur because the font
used for rendering the console is the default font.
2024-02-24 15:43:13 +01:00
Lephenixnoir c84caa533d
ports/fx9860g3: memory info view on SHIFT+VARS 2024-02-24 15:02:33 +01:00
Lephenixnoir bcdb3b74ca
ports/fx9860g3: smaller banner 2024-02-24 14:33:02 +01:00
Sylvain PILLOT 97ced8cc01 added better (ie. cleaner) support for unicode characters in Kandinsky module 2024-02-24 10:52:13 +01:00
Sylvain PILLOT 95bc9cab19 Merge branch 'numworks' into ulab 2024-02-24 10:50:20 +01:00
Sylvain PILLOT 35b73ba954 added better (ie. cleaner) support for unicode characters in Kandinsky module 2024-02-24 10:49:28 +01:00
Sylvain PILLOT 95b8648b17 added unicode support in NW modules - WIP 2024-02-24 09:18:30 +01:00
Sylvain PILLOT 9c11c30d2e Merge branch 'numworks' into ulab 2024-02-24 09:14:49 +01:00
Sylvain PILLOT 5f385d8bcc convert NW font to unicode and added main letters with accent - WIP 2024-02-24 09:14:12 +01:00
Sylvain PILLOT 27773fb200 clean conditional compilation for file support on FXCG50 (not supported on FX9860G yet, sorry) 2024-02-16 07:49:10 +01:00
Sylvain PILLOT e13412be98 added 6 working example used for testing file IO 2024-02-15 23:19:45 +01:00
Sylvain PILLOT 9651042bb2 first attempt to support file IO on Python fxcg50 [WIP] 2024-02-15 23:02:48 +01:00
Sylvain PILLOT dd95872b21 removed 2 unnecessary files 2024-02-14 21:13:22 +01:00
Sylvain PILLOT c66299aa5d added some examples for ulab module - see https://micropython-ulab.readthedocs.io/en/stable/index.html for full documentation 2024-02-13 22:33:53 +01:00
Sylvain PILLOT e24765781d First attempt to port ulab modules to fxcg50/G90+E (untested yet) 2024-02-13 21:28:42 +01:00
Sylvain PILLOT 05bfce99d6 added a better mechanism for differentiating compilation of modules between FxCG50 and fx9860G 2024-02-13 19:56:28 +01:00
Sylvain PILLOT 3e302b1b34 Merge branch 'dev' into numworks 2024-02-13 18:31:03 +01:00
Sylvain PILLOT 26afb31ff2 added some extra verification on get_pixel() after validation on actual hardware 2024-02-13 18:27:47 +01:00
Lephenixnoir a2b9c32cea
ports/sh: seed random module (untested) 2024-02-13 14:32:58 +01:00
Sylvain PILLOT 6225b1d667 added more examples using Kandinsky/Ion/Time modules from NW + reorganisation of NW examples 2024-02-10 10:39:24 +01:00
Sylvain PILLOT 0f386bd779 made fully compatible Ion::keydown() function with key number support + update of documentation accordingly 2024-02-10 10:33:44 +01:00
Sylvain PILLOT 7fdf3aeb2e added automatic refresh and video output support on Kandinsky module 2024-02-08 21:01:31 +01:00
Sylvain PILLOT 263b9e83c8 Merge branch 'dev' into numworks 2024-02-08 08:02:21 +01:00
Sylvain PILLOT 2cb2bc6e67 add CGEXT_Set_Margin_Color() function in Kandinsky module 2024-02-07 21:30:59 +01:00
Lephenixnoir 0f867e9f72
WIP 2024-02-07 08:08:10 +01:00
Sylvain PILLOT d4dcc59d71 Translated NW modules documentation in English 2024-02-05 16:37:26 +01:00
Sylvain PILLOT 9bc05bbf03 Improved NW modules documentation 2024-02-05 09:20:35 +01:00
Lephenixnoir b1e39d3ab6
sh: add videocapture function (x² key) in debug mode 2024-02-04 23:03:05 +01:00
Lephenixnoir af8bacd271
fx9860g3: move console_line_t allocation to new PRAM0 allocator 2024-02-04 22:59:54 +01:00
Lephenixnoir d4501baadb
ports/sh: monitor memory usage at load and execution 2024-02-04 21:49:08 +01:00
Lephenixnoir 627c81c1b6
ports/sh: show current folder + proper errors if file browsing fails
The second half is from the latest commits on gint and JustUI.
2024-02-04 20:19:11 +01:00
Lephenixnoir 262a90f15c
ports/sh: disable unstable use of random memory 2024-02-04 20:00:47 +01:00
Sylvain PILLOT 9156a21afa Added missing safegard #ifdef FXCG50 for correct build of fx9860G version without NW modules 2024-02-04 19:38:12 +01:00
Sylvain PILLOT 226f82ec8c Add Kandinsky Extension for fxCG to be able to use wide screen - bugfix NW sreen is 222px high usable, not 240px 2024-02-04 17:29:36 +01:00
Sylvain PILLOT ba515dc168 Add Kandinsky Extension for fxCG to be able to use wide screen 2024-02-04 16:00:40 +01:00
Lephenixnoir 6ab101e1bd
modgint: refresh screen during getkey() + getkey_opt() delay + example 2024-02-03 20:44:45 +01:00
Sylvain PILLOT 6ae6d06387 Additional RAM - but a bit less greedy in the approach ;) 2024-02-03 20:11:17 +01:00