Commit graph

619 commits

Author SHA1 Message Date
Yann MAGNIN
fc358c2fb1
fygue: rework flash initialization + fix mount fail behaviour 2025-04-07 13:29:02 +02:00
Yann MAGNIN
a56d57ad61
fygue: support FXCP400 (work, but broken for BFile syscalls) 2025-04-06 12:23:25 +02:00
Yann MAGNIN
d9b03e7052
fygue: support read() primitive 2025-04-05 18:16:24 +02:00
Yann MAGNIN
20cb87c0c1
fygue: support close() primitive for file 2025-04-05 17:05:33 +02:00
Yann MAGNIN
b1b4e8a287
fygue: support cluster chunk list generator for file (needed for the future read() primitive) 2025-04-05 15:22:09 +02:00
Yann MAGNIN
eaa0602225
fygue: fix FAT cluster resolution + support stat() for directory + support stat(), lseek() and write() (EROFS) for file 2025-04-05 13:34:42 +02:00
Yann MAGNIN
bad0dbd5f4
fygue: support stat for directory and file 2025-04-05 09:31:38 +02:00
Yann MAGNIN
8b5ede80fe
fygue: support directory lseek,write(error),close 2025-04-04 11:25:18 +02:00
Yann MAGNIN
dae0972878
fygue: support readdir() + small fixes 2025-04-04 08:50:24 +02:00
Yann MAGNIN
e4e09052fc
fygue: support open() primitive 2025-04-03 14:22:02 +02:00
Yann MAGNIN
6d99494d30
fygue: (WIP) add syncfs support + add FAT/Flash backend + prepare open() primitive 2025-04-02 15:34:15 +02:00
Yann MAGNIN
b40a6b3fa8
fs: prepare Fygue integration 2025-04-01 21:06:55 +02:00
Yann MAGNIN
968588bac3
fugue: manually handle world-switch 2025-04-01 16:12:09 +02:00
Yann MAGNIN
4442d27b62
world: new gint_world_enter() and gint_world_leave() primitives 2025-04-01 15:03:23 +02:00
Lephe
dff487b20a
touch: get calibration info from OS, if known 2025-03-30 16:01:20 +02:00
Lephe
282f56fdc1
cp: slightly less stupid dclear() 2025-03-30 16:00:03 +02:00
Lephe
48718bf9be
giteapc: also install CP target by default 2025-03-24 20:18:10 +01:00
Lephe
4a5c0bbfec
gint: fix poweroff crash due to misaligned syscall table 2025-03-24 10:57:22 +01:00
Lephe
cf020c4bee
kernel: detect circuit10's emulator so it stays as CG50
Otherwise gint assumes Math+ by default.
2025-03-24 10:28:43 +01:00
Lephenixnoir
294d6afc8c Merge pull request 'feat/touch : code cleanup' (#42) from Yatis/gint:feat/touch into dev
Reviewed-on: https://git.planet-casio.com/Lephenixnoir/gint/pulls/42
2025-03-23 17:32:56 +01:00
Yann MAGNIN
b7859a1625
touch: only enable touchscreen for FXCP400 + fix C++ header support 2025-03-23 17:27:00 +01:00
Yann MAGNIN
5e633a9810
touch: code cleanup 2025-03-23 17:16:54 +01:00
Lephenixnoir
969f5ad8d8 Merge pull request 'feat/touch - (WIP) support touch-screen driver for FXCP400 devices' (#40) from Yatis/gint:feat/touch into dev
Reviewed-on: https://git.planet-casio.com/Lephenixnoir/gint/pulls/40
2025-03-23 16:33:34 +01:00
Lephenixnoir
03c5d02142 Merge pull request 'r61523: fix newer screens variant' (#41) from Yatis/gint:fix/r61523 into dev
Reviewed-on: https://git.planet-casio.com/Lephenixnoir/gint/pulls/41
2025-03-21 11:15:19 +01:00
Yann MAGNIN
38eb777d02
r61523: fix newer screens variant 2025-03-21 09:30:54 +01:00
Yann MAGNIN
8515c2aecb
touch: fix typo 2025-03-19 15:56:46 +01:00
Yann MAGNIN
0ec45f92d3
touch: support event generation + support calibration information 2025-03-19 14:39:05 +01:00
Yann MAGNIN
24d932906b
touch: add missing unbind/funbind driver primitive 2025-03-19 10:29:03 +01:00
Yann MAGNIN
df1cf45e98
touch: add build support + proper driver/world-switch support 2025-03-18 11:42:22 +01:00
Yann MAGNIN
0aca688343
Merge branch 'dev' of git.planet-casio.com:Lephenixnoir/gint into feat/touchscreen 2025-03-18 10:20:39 +01:00
Yann MAGNIN
3fefc3f716
touch: prepare touch-screen driver 2025-03-17 15:07:29 +01:00
Lephe
256487cc7e
r61523: add partial update function 2025-03-15 17:08:46 +01:00
Lephenixnoir
252cb7abd8
cpg: fix incorrect access size to SDMR3_CL2 and SDMR3_CL3 2025-03-11 15:33:16 +01:00
Lephe
411b1a3d7d
kernel: get arenas from MPM load info 2025-02-24 19:41:49 +01:00
Lephenixnoir
fa9c225c99 Merge pull request 'dline: fix odd x1/x2 handling with C_INVERT color (render-cg)' (#39) from Yatis/gint:fix/dline_fxgc into dev
Reviewed-on: https://git.planet-casio.com/Lephenixnoir/gint/pulls/39
2025-02-22 17:41:30 +01:00
Yann MAGNIN
0950c9d29f
dline: fix odd x1/x2 handling with C_INVERT color (render-cg) 2025-02-22 15:27:56 +01:00
Lephe
c2cc3e48f2
cpg: allow overclock settings to be made permanent 2025-02-20 19:16:33 +01:00
Lephe
d858405102
usb: add WCID support to have WinUSB driver automatically
This should work on Windows Vista onwards. By specifying Windows OS 1.0
descriptors announcing compatibility with WinUSB, we get it as a driver
plug-and-play style with no manual intervention (e.g. no Zadig).

From there libusb can enumerate the device, which is awesome.
2025-02-19 20:00:49 +01:00
Lephenixnoir
3ade0894d8 Merge pull request 'fix missing C_INVERT support in dline() for render-cg' (#37) from Yatis/gint:fix/dline_fxgc into dev
Reviewed-on: https://git.planet-casio.com/Lephenixnoir/gint/pulls/37
2025-02-19 16:19:22 +01:00
Yann MAGNIN
377aa3745d
fix missing C_INVERT support in dline() for render-cg 2025-02-19 16:11:44 +01:00
Lephenixnoir
191a5ebccf Merge pull request 'cpg: add superhyway clock frequency calculation' (#36) from CalcLoverHK/gint:dev into dev
Reviewed-on: https://git.planet-casio.com/Lephenixnoir/gint/pulls/36
2025-02-16 10:20:17 +01:00
CalcLoverHK
cdcf880006 cpg: add superhyway clock frequency calculation 2025-02-16 17:04:27 +08:00
Lephe
ff17b8c22c
kernel: syscall support for Math+ OS v2.00 2025-02-03 23:52:48 +01:00
Lephe
e44e4fa14e
keysc: add MPU module description for KEYSC 2025-02-03 23:52:48 +01:00
Lephe
87fff59527
keysc: fix keycodes mapping to multiple keys on Math+ 2025-02-03 23:52:48 +01:00
Lephe
232a4195d2
cpg: don't overclock beyond known limits on Math+ 2025-02-03 23:52:48 +01:00
Lephe
7ac9668dfd
keydev: add Catalog+4th row combo for F1...F6 on Math+ 2025-02-03 23:52:48 +01:00
Lephe
7a479e4f45
keydev: support for the Math+ layout and track row/col
key_event_t is now 8 bytes instead of 4, a change that was doomed to
happen anyway to deal with touch input (where it's not clear either
whether 8 bytes will be enough for double touch).
2025-02-03 23:52:48 +01:00
Lephe
a62ba8a026
kernel: further support for the Math+ in general
* Add a new HWCALC value HWCALC_FXCG100, detected based on being on an
  Area-3 RAM model and having OS version that's either less than 3 or
  3 and built after January 2025.
* Disable the _ostk heap arena, as the region might simply not exist,
  and improve the VRAM allocation code to account for this better than
  the hardcoded macro previously in place for the fx-CP 400.
* Disable gint_osmenu() which can't work with MPM right now.
* Add BFile_FindFirst() and GetVRAMAddress() syscalls.
2025-02-03 23:52:48 +01:00
Lephe
f953efdc82
kernel: partial support for Math+ OS 1.00 2025-02-03 23:52:47 +01:00