Commit Graph

15678 Commits

Author SHA1 Message Date
Lephenixnoir 8c5f68f16e
fxcg50/modion: rename file ion.c -> modion.c 2024-03-18 22:41:16 +01:00
Lephenixnoir fc9026798d
fxcg50/modion: clean up module implementation 2024-03-18 22:40:39 +01:00
Lephenixnoir 3775f28536
fxcg50/modkandinsky: use QSTRs to identify common colors 2024-03-18 22:34:48 +01:00
Lephenixnoir 5d51f205b9
fxcg50: officialize reserving 300 kB from _uram for the uPy GC 2024-03-18 22:10:41 +01:00
Lephenixnoir 3e2f7f0aa0
sh: slight cleanup of scheduled dupdate mechanism
Mostly renaming and integrating pe_dupdate() it with existing modules.
2024-03-18 22:08:37 +01:00
Lephenixnoir 71ddfff567
sh: switch add-in icon based on auto-detected dev builds
A dev build is detected if:
- There are dirty tracked files: "git status -uno --porcelain" nonempty
- We are not on main: "git describe" != "git describe main"
2024-03-18 22:07:59 +01:00
Lephenixnoir 4bec7be97f
numworks: extend timer tracking into autofree resource header
I imagine that we're going to use this more later, be it for serial/USB,
in-memory files, and maybe more.
2024-03-09 16:10:44 +01:00
Lephenixnoir fff06099a1
numworks: don't set global dwindow in kandinsky
This interferes with the shell and gives fairly bad results with print()
and input(). This way of doing things lets the shell print correctly.
The shell will override the borders, however. It's not immediately
obvious how to fix that properly with the auto-update system in main.c.
I'll try to move the auto screen update back to modkandinsky.c.
2024-03-05 07:28:57 +00:00
Lephenixnoir e7349aa227
numworks: replace custom time module with extension of official one 2024-03-04 22:40:32 +00:00
Lephenixnoir dfb73611f9
Merge remote-tracking branch 'slyvtt/numworks' into dev
This merges PR #14 with SlyVTT's Numworks support.
2024-03-03 13:17:10 +00:00
Lephenixnoir b804cb7583
docs: second pass on casiplot module 2024-03-03 13:10:20 +00:00
Lephenixnoir 38c0ec1d15
docs: add casioplot module (first pass) 2024-03-03 07:28:47 +00:00
Lephenixnoir eaf5f43da4
modgint: add dpoly() function (no doc yet) 2024-03-01 22:47:35 +00:00
Lephenixnoir c14f770483
docs: add example for drect(), dline() and the like 2024-02-26 22:38:10 +01:00
Lephenixnoir 430fe06adc
docs: add documentation for gint.getkey_opt() 2024-02-26 09:04:53 +01:00
Sylvain PILLOT d298d0538d added the full U+00A characters table for NW module Kandinsky 2024-02-25 19:40:53 +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 35b73ba954 added better (ie. cleaner) support for unicode characters in Kandinsky module 2024-02-24 10:49:28 +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 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