some formatting and comment updates

This commit is contained in:
lephe 2019-08-04 13:59:17 +02:00
parent 8cbd5be038
commit 64dbe6021d
5 changed files with 6 additions and 7 deletions

7
TODO
View File

@ -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]

View File

@ -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
--------------------------------------------------

View File

@ -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 */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -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 */