Browse Source

some formatting and comment updates

compat
lephe 1 month ago
parent
commit
64dbe6021d
5 changed files with 6 additions and 7 deletions
  1. 3
    4
      TODO
  2. 1
    1
      include/gint/gray.h
  3. 1
    1
      src/dma/inth.s
  4. BIN
      src/font8x9.png
  5. 1
    1
      src/render-fx/bopti.c

+ 3
- 4
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]

+ 1
- 1
include/gint/gray.h 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
--------------------------------------------------

+ 1
- 1
src/dma/inth.s 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 */

BIN
src/font8x9.png View File


+ 1
- 1
src/render-fx/bopti.c 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 */

Loading…
Cancel
Save