diff --git a/TODO b/TODO index a56ffad..e507750 100644 --- a/TODO +++ b/TODO @@ -4,20 +4,20 @@ Crucial, missing things. ! core: gint_switch() (driver contexts on stack; arbitrary code?) ! bopti: fxcg50 version ! syscalls: fxcg50 BFile calls -! gray: the gray engine on fx9860g Tests to run. * core: run the alignment/size automated tests for memory functions -* bopti: more sizes, gray -* topti: all charsets, colors +* topti: all charsets Complementary elements on existing code. +* render: get rid of GINT_NEED_VRAM and #define vram gint_vram if you need * dma: dma_memcpy() and dma_memset(), possibly requiring alignment * core: use topti in the error message for missing mappings * core: find the #ifdef FX9860G|FXCG50 that have a cross-platform def * topti: support Unicode fonts * hardware: fill in the HWMEM_FITTLB flag * keyboard: think of extended functions +* keyboard: add an intermediate-level API with some sort of IsKeyDown() * cpg: spread spectrum on fxcg50 * bopti: blending modes for monochrome bitmaps (use topti assembler) * display: use more of topti's assembler in drect() @@ -44,4 +44,3 @@ Future directions. * Audio playback using Martin Poupe's method * Serial communication [SCIF] [SCIFA] * USB communication [USB] -* Driver for the watchdog timer [WDT] [SH7705] diff --git a/include/gint/gray.h b/include/gint/gray.h index 8dac1b8..b0325df 100644 --- a/include/gint/gray.h +++ b/include/gint/gray.h @@ -64,7 +64,7 @@ void gray_stop(void); 1325 1607 heavy light excellent -------------------------------------------------- - Here are values for this version of gint; + Here are values for this version of gint: LIGHT DARK BLINKING STRIPES COLORS -------------------------------------------------- diff --git a/src/dma/inth.s b/src/dma/inth.s index f955db1..d976be7 100644 --- a/src/dma/inth.s +++ b/src/dma/inth.s @@ -7,7 +7,7 @@ .section .gint.blocks, "ax" .align 4 -/* DMA TRANSFER ENDED INTERRUPT HANDLER - BYTES */ +/* DMA TRANSFER ENDED INTERRUPT HANDLER - 28 BYTES */ _inth_dma_dma0: /* Clear the TE flag and DMA Enable in CHCR */ diff --git a/src/font8x9.png b/src/font8x9.png index a9db9c0..36acd5c 100644 Binary files a/src/font8x9.png and b/src/font8x9.png differ diff --git a/src/render-fx/bopti.c b/src/render-fx/bopti.c index ec2cdf1..1319192 100644 --- a/src/render-fx/bopti.c +++ b/src/render-fx/bopti.c @@ -68,7 +68,7 @@ void bopti_grid(void **layer, int rows, struct command *c) optimized by GCC into a function returning into r0,r1 which will avoid some memory accesses. */ pair_t p, pret = { 0 }; - /* Same with two pairs for the gray version */ + /* Same with two pairs for the gray version (no optimization here) */ quadr_t q, qret = { 0 }; /* Monochrome version */