mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-07-12 15:17:36 +02:00
gray: add decent defaults for older fx9860g-like models
Gray quality is better on the Graph 35+E II, it still flickers a lot on other models (as I remembered). There might be better settings out there but I'm not sure we can reach the quality of the current Graph 35+E II defaults. The Graph 75+E with which I tested might also be different from other T6K11 such as the smaller Graph 35+E.
This commit is contained in:
parent
1c7b1350b4
commit
4a0fc65c34
2 changed files with 13 additions and 2 deletions
1
TODO
1
TODO
|
@ -12,7 +12,6 @@ Extensions on existing code:
|
||||||
* bopti: try to display fullscreen images with TLB access + DMA on fxcg50
|
* bopti: try to display fullscreen images with TLB access + DMA on fxcg50
|
||||||
* gray: double-buffer gray settings and unify d* with g*
|
* gray: double-buffer gray settings and unify d* with g*
|
||||||
* topti: support unicode fonts
|
* topti: support unicode fonts
|
||||||
* gray: find good values for more models than the Graph 35+E II
|
|
||||||
* dma: fx9860g support (need to switch it on and update the Makefile)
|
* dma: fx9860g support (need to switch it on and update the Makefile)
|
||||||
* core: try to leave add-in without reset in case of panic
|
* core: try to leave add-in without reset in case of panic
|
||||||
* hardware: fill in the HWMEM_FITTLB flag
|
* hardware: fill in the HWMEM_FITTLB flag
|
||||||
|
|
|
@ -25,7 +25,7 @@ GDATA static volatile int st = 0;
|
||||||
|
|
||||||
/* Whether the engine is running. Delays of light and dark frames. */
|
/* Whether the engine is running. Delays of light and dark frames. */
|
||||||
GDATA static int runs = 0;
|
GDATA static int runs = 0;
|
||||||
GDATA static int delays[2] = { 762, 1311 };
|
GBSS static int delays[2];
|
||||||
|
|
||||||
/* Underlying timer */
|
/* Underlying timer */
|
||||||
#define GRAY_TIMER 0
|
#define GRAY_TIMER 0
|
||||||
|
@ -49,6 +49,18 @@ GCONSTRUCTOR static void gray_init(void)
|
||||||
vrams[2] = malloc(1024);
|
vrams[2] = malloc(1024);
|
||||||
vrams[3] = malloc(1024);
|
vrams[3] = malloc(1024);
|
||||||
#endif /* GINT_STATIC_GRAY */
|
#endif /* GINT_STATIC_GRAY */
|
||||||
|
|
||||||
|
/* Default delays from Graph 35+E II are different from other models */
|
||||||
|
if(gint[HWCALC] == HWCALC_G35PE2)
|
||||||
|
{
|
||||||
|
delays[0] = 762;
|
||||||
|
delays[1] = 1311;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
delays[0] = 898;
|
||||||
|
delays[1] = 1350;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* gray_quit(): Engine deinitialization() */
|
/* gray_quit(): Engine deinitialization() */
|
||||||
|
|
Loading…
Add table
Reference in a new issue