Commit graph

621 commits

Author SHA1 Message Date
CalcLoverHK
59113aa1f9 r61523: add EN2 (backlight high bit) 2025-07-02 16:59:35 +08:00
CalcLoverHK
0d7ecbd8e2 r61523: add r61523 backlight and display timing settings 2025-06-29 18:14:18 +08:00
Yann MAGNIN
bc5dd82441
prof: merge the libprof project
Merges: #38
2025-06-14 08:38:11 +02:00
Lephe
36f37b9200
dma: don't wait on unbinds in SH3
This can freeze for reasons I didn't completely root cause. The MWE
leading to this was made by @Calamari, is very dependent on factors I
haven't completely characterized, but includes having the DMA driver,
doing a world switch; and seems to require some timers (via gray engine)
and stack usage, but I'm not clear on the role of that.
2025-06-01 21:33:06 +02:00
Lephenixnoir
df9ecba326 Merge pull request 'usb: properly count the number of opened interfaces' (#48) from lda/gint-test:descriptormoment into dev
Reviewed-on: https://git.planet-casio.com/Lephenixnoir/gint/pulls/48
2025-05-27 19:24:53 +02:00
LDA
048696eb25 [MOD] Actually remove that comment since everything works 2025-05-27 19:23:42 +02:00
LDA
37f932208b [HACK] Get the interface count right, I guess 2025-05-27 17:29:37 +02:00
Lephe
696b0ca9c0
touch: provide coordinates of releases 2025-04-13 17:34:47 +02:00
Lephe
46f1fb99d9
touch: name events DOWN/DRAG/UP to match keyboard 2025-04-13 11:38:40 +02:00
Lephe
bc8b9863ae
touch: plug into event system (+ refactoring)
* Interrupt now at level 15 so it can work in the input timer callback
* Remember last raw/conv/dots and expose unstable API to use it via new
  include <gint/drivers/touch.h>
* Put number of touches in the structures
2025-04-13 11:23:17 +02:00
Lephe
4e20f7bc5b
touch: slight improvements towards dual-touch detection 2025-04-12 19:57:49 +02:00
Lephe
416331d48b
kernel: replace CP400 file functions with Yatis', fixing unstability 2025-04-06 22:00:40 +02:00
Lephe
3dedbea70d
fs: fix incorrect cursor state after pread/pwrite 2025-04-06 15:54:44 +02:00
Lephe
8e64a8a107
fs: fx-CP 400 fixes, still unreliable when writing as previously known 2025-04-06 15:54:44 +02:00
Lephe
7180b52fd4
fs: first steps towards working fx-CP 400 support (compiles, no syscalls) 2025-04-05 08:34:08 +02:00
Lephe
93e58c7f63
r61523: add r61523_set_pixel() function
This is used for touch framerate experiments where a full frame refresh
is too expensive.
2025-04-05 08:22:26 +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