gint-with-thread/src
Lephe 8148d89c88
core: backport TLB handling to fx9860g, fix return-to-menu (UNSTABLE)
This change ports the TLB management system to fx9860g through %003.
This raises the size limit for add-ins to about 500k.

Because SH3 fx9860g does not have ILRAM, the GMAPPED attribute has been
made to generate content to a .gint.mapped section which is sent to the
P1 RAM section historically dubbed "real ram" in which gint's data and
VBR are installed. (Now that I think about it, gint's data should try to
go to normal RAM instead to reduce pressure on this invasion.)

Return-to-menu was also fixed on both platforms by narrowing down the
need for code to remain mapped to the chance of running it with
interrupts disabled. The natural distribution of GMAPPED under this
criterion showed that _gint_setvbr had been left under TLB control;
moving it to the proper RAM area fixed gint switches.

Finally, an omission in the bound checks for mappable TEA addresses (TEA
>= 0x00300000) prevented the appearance of a non-interactible System
ERROR popup when some unmapped addresses are accessed.

This version still does not enable interrupts in timer callbacks,
exposing any application to a crash if a timer underflows while its
callback is not mapped. It is not suitable for any stable application!
2020-06-15 20:55:18 +02:00
..
core core: backport TLB handling to fx9860g, fix return-to-menu (UNSTABLE) 2020-06-15 20:55:18 +02:00
cpg drivers: update the model, replacing unload() with wait() 2020-05-10 16:36:21 +02:00
dma bfile: solve stability issues on fx9860g and fxcg50 2020-05-31 15:52:00 +02:00
gray bopti: deprecate image_t, renamed to bopti_image_t 2020-06-01 12:11:59 +02:00
keysc core: answer TLB misses and remove startup mapping (UNSTABLE) 2020-06-14 18:22:20 +02:00
r61524 drivers: update the model, replacing unload() with wait() 2020-05-10 16:36:21 +02:00
render core: answer TLB misses and remove startup mapping (UNSTABLE) 2020-06-14 18:22:20 +02:00
render-cg core: answer TLB misses and remove startup mapping (UNSTABLE) 2020-06-14 18:22:20 +02:00
render-fx render-fx: fix VRAM overflows in gint_dhline() and gint_dvline() 2020-06-15 13:45:50 +02:00
rtc drivers: update the model, replacing unload() with wait() 2020-05-10 16:36:21 +02:00
std printf: fix %% doubling down as a format specifier 2020-06-14 08:15:00 +02:00
t6k11 drivers: update the model, replacing unload() with wait() 2020-05-10 16:36:21 +02:00
tmu core: answer TLB misses and remove startup mapping (UNSTABLE) 2020-06-14 18:22:20 +02:00
font5x7.png render: refactor to share functions, and basic text on fxcg50 2019-06-15 01:05:31 -04:00
font8x9.png style, formatting, font 2019-09-03 22:29:04 +02:00