Support MBC VDC

This commit is contained in:
Wayne Warthen
2021-12-10 16:34:15 -08:00
parent da71f225ca
commit e8ecdd0fac
14 changed files with 118 additions and 51 deletions

View File

@@ -12,9 +12,14 @@ lzsa -f2 -r font8x8u.bin font8x8c.bin || exit /b
lzsa -f2 -r font8x11u.bin font8x11c.bin || exit /b
lzsa -f2 -r font8x16u.bin font8x16c.bin || exit /b
lzsa -f2 -r fontcgau.bin fontcgac.bin || exit /b
fonttool font8x8u.bin > font8x8u.asm || exit /b
fonttool font8x11u.bin > font8x11u.asm || exit /b
fonttool font8x16u.bin > font8x16u.asm || exit /b
fonttool font8x8c.bin > font8x8c.asm || exit /b
fonttool font8x11c.bin > font8x11c.asm || exit /b
fonttool font8x16c.bin > font8x16c.asm || exit /b
fonttool fontcgau.bin > fontcgau.asm || exit /b
fonttool fontcgac.bin > fontcgac.asm || exit /b

View File

@@ -1,8 +1,8 @@
OBJECTS = \
font8x8u.asm font8x11u.asm font8x16u.asm \
font8x8c.asm font8x11c.asm font8x16c.asm
font8x8u.asm font8x11u.asm font8x16u.asm fontcgau.asm \
font8x8c.asm font8x11c.asm font8x16c.asm fontcgac.asm
OTHERS = font8x8c.bin font8x11c.bin font8x16c.bin
OTHERS = font8x8c.bin font8x11c.bin font8x16c.bin fontcgac.bin
TOOLS = ../../Tools
@@ -23,5 +23,8 @@ font8x11c.bin: font8x11u.bin
font8x16c.bin: font8x16u.bin
$(BINDIR)/lzsa -f2 -r $< $@
fontcgac.bin: fontcgau.bin
$(BINDIR)/lzsa -f2 -r $< $@
%.asm: %.bin
$(BINDIR)/bin2asm $< > $@

View File

@@ -6,7 +6,8 @@ Name Format Size Board & Display Mode
------------------------------------------------------------------------------------
font8x8u.bin 8x8 2048 ECB-SCG, ECB-VGA3 (80x60)
font8x11u.bin 8x11 2816 ECB-VGA3 (80x43)
font8x16u.bin 8x16 4096 ECB-CVDU (80x25), ECB-VGA3 (80x24, 80x25, 80x30)
font8x16u.bin 8x16 4096 ECB-CVDU (80x25), ECB-VGA3 (80x24, 80x25, 80x30), MBC-VDC
fontcgau.bin 8x8 4096 ECB-CVDU (80x25), MBC-VDC
For inclusion in HBIOS the .bin format files must be convert to assembler .asm format.
This is acheived using the fonttool utility and is completed automatically as part of the build process.