Commit Graph

69 Commits

Author SHA1 Message Date
Lephenixnoir 742089704e
libs/bfile: add a simple BFile listing test 2021-05-05 10:31:01 +02:00
Lephenixnoir 67999f260e
gint/dma: use the asynchronous DMA API 2021-04-28 17:54:49 +02:00
Lephenixnoir 8fc19004c0
move the USB test from gint to gintctl 2021-04-27 14:57:52 +02:00
Lephenixnoir a088ab503f
update to GINT_CALL() callbacks 2021-04-27 14:57:27 +02:00
Lephenixnoir 5586985a3d
update to the new driver system
Follows most of the changes made to the gint driver system.

* Replace test gint/switch with a new test gint/drivers which shows
  driver metadata, flags, and world states.
* Enable the DMA Control test on SH4-based fx-9860G.
* Enable the Memory Speed test on SH4-based fx-9860G.
* Enable the Memory Speed test on SH3-based fx-9860G although there's
  barely anything useful for that platform.
* Update all tests to the GINT_CALL API when useful.
* Use public world buffers and public driver state structures to show
  world states without having to coordinate the gint and gintctl code.
2021-04-24 16:11:47 +02:00
Lephenixnoir b63d58515c
gint/usb: add a USB communication test (WIP) 2021-04-20 10:22:12 +02:00
Lephenixnoir 4b4b69b2b6
gint/kmalloc: Add memory allocator integrity and stress tests
Also sort out a couple of memory leaks that came up during testing... x3
2021-03-15 15:11:35 +01:00
Lephenixnoir 1dfe4e0375
mem: use a JustUI scene for the memory browser 2021-03-12 15:18:04 +01:00
Lephenixnoir 9a9c366821
libs/justui: add a demo of the JustUI widget library 2021-03-12 13:40:17 +01:00
Lephenixnoir ca2d731f39
gint/keyboard: port the keydev test to fx-CG 50 2021-03-12 13:39:52 +01:00
Lephenixnoir ca1df5cb20
gint/keyboard: detailed test of the new keydev mechanic 2021-03-11 18:14:52 +01:00
Lephenixnoir 02571b8957
various improvements in GUI, mainly on fx-9860G
* True convention for F-keys:
  -> Corner = change tab
  -> Round (button) = perform action
  -> White = other display changes with no consequence

* mem: Move quickly with Shift
* mem: Jump to destination with F1
* gint/cpumem: More interesting values
* abuse mini font, scrollbars instead of triangles, quick moves
* fix a fair amoutn of warnings
2021-02-08 10:14:28 +01:00
Lephenixnoir 7ee6abf4ac
gint/cpumem: show rigourously-detected static RAM size 2021-02-05 18:11:07 +01:00
Lephe 6aa477a83a
libs/printf: add floating-point unit tests 2021-02-04 09:35:56 +01:00
Lephe 4350b81fc8
misc organisation improvements on fx-9860G 2021-02-04 09:35:56 +01:00
Lephe 63c4579a47
gint/spuram: Port the test to fx-9860G
Works out-of-the-box on GIII models, but not on older ones.
2021-02-04 09:35:56 +01:00
Lephe d6345db414
remove irrelevant tests on SH3 2021-02-04 09:35:56 +01:00
Lephe 601dc9ea79
gint/ram: expand RAM discovery method for SPU areas 2021-02-04 09:35:55 +01:00
Lephe 5f0cb6cd30
switch build system to CMake 2021-02-04 09:35:50 +01:00
Lephe 3056aef156
gint/tlb: pages mapped beyond _brom+_srom is RAM data 2021-01-25 17:51:45 +01:00
Lephe ee841866f7
update versioning scheme to follow gint 2021-01-25 17:51:43 +01:00
Lephe da2f7886f2
gint/ram: update fx-9860G for SPU memory 2020-10-26 15:39:50 +01:00
Lephe c9d50a893d
perf/memory: make more rounds to use less space 2020-10-25 13:59:36 +01:00
Lephe 7cc60745b0
gint/spuram: fix prototypes 2020-10-25 13:58:53 +01:00
Lephe 0ef5b0705a
libs/openlibm: Add a test for OpenLibm floating-point functions 2020-10-25 13:28:29 +01:00
Lephe 2836e2648f
gint/spuram: add an SPU memory banking test on fx-CG 50 2020-10-24 14:41:47 +02:00
Lephe 2050caee22
perf/memory: add a memory speed test for all memory regions 2020-10-21 18:34:55 +02:00
Lephe 9e4929e307
menu: fix amount of visible entries on fx-CG 50 2020-10-21 18:32:13 +02:00
Lephe 2ed598fa2b
gint/ram: accelerate SPU RAM discovery by jumping 32 bytes 2020-10-21 14:29:58 +02:00
Lephe d03970f5ad
gint/dsp: add a test for DSP startup and basics 2020-10-21 14:28:43 +02:00
Lephe fb561d1310
perf/cpucache: 2-ILP parallelism and cache size (w/ plotting util)
Adds a CPU-cache performance test. The libprof measure is extended into
Iϕ cycles (resolution: 16 Iϕ cycles) to check the 2-ILP parallelism
hypothesis (confirmed on fx-9860G and fx-CG 50).

The time needed to traverse a small buffer multiple times is also
measured with the same method in an attempt to determine cache size. No
definite result could be obtained.

This change includes a plotting utility.
2020-10-21 12:05:44 +02:00
Lephe b86b14f3cd
gint/ram: add 32-bit access detection for SPU-owned memory
Same in the hexadecimal memory browser, although there are currently no
shortcuts and it appears to freeze when leaving the add-in.
2020-10-14 00:06:04 +02:00
Lephe 5f8f384053
libs/memory: display a message while running 2020-10-13 23:49:32 +02:00
Lephe 9d6ff94790
util: add functions for row positioning 2020-10-13 23:49:32 +02:00
Lephe ff15ac0d56
update libprof calls to use local contexts 2020-10-13 23:49:29 +02:00
Lephe 36f3de29b8
remove GMAPPED following change in exception catcher calls
These are now called with TLB misses enabled, so there is no need to map
them constantly.
2020-09-17 14:47:31 +02:00
Lephe fda5606c2a
remove a stray include for a long-removed header 2020-09-04 12:56:54 +02:00
Lephe cfdc6e8e95
add a simple (non-exhaustive) bopti test on fx-9860G 2020-07-23 10:21:50 +02:00
Lephe 0c66751015
use the new gint_restart() on fx9860g 2020-07-20 20:36:48 +02:00
Lephe c52327e061
update the timer callback test for the new timer API 2020-07-20 20:34:20 +02:00
Lephe 6ebec472c5
add a basic timer vs rtc test 2020-07-20 20:33:59 +02:00
Lephe dd9779a2b2
remove the large used to test TLB on fxcg50 2020-07-20 20:33:18 +02:00
Lephe b0c3245423
add an interrupt stress test 2020-07-19 22:55:58 +02:00
Lephe dd43d25a77
add INTC display and system context 2020-07-19 17:13:17 +02:00
Lephe 8f11ccce56
RTC tests using a small clock application 2020-07-17 20:07:58 +02:00
Lephe 99c1bf0dbf
Unicode rendering on fx9860g and mono screenshot 2020-07-14 17:35:05 +02:00
Lephe dc5b60df15
improved gray API 2020-07-13 17:17:15 +02:00
Lephe fc8d7794d5
add 923, 1742 to gray settings on non-Graph 35+E II machines
Somehow found by Kbd2 and better than my attempts.
2020-07-10 17:29:36 +02:00
Lephe 0cc630644b
reduce use of the data/bss sections for SH3 2020-07-10 15:51:16 +02:00
Lephe cbb95a22ef
TLB management test on SH3 2020-07-08 19:41:10 +02:00