Rationalize Font Files
- Consolidated font files from 6 to 4 by eliminating redundant files. - Use code page 437 for all fonts (except 8x11).
@@ -8,7 +8,7 @@ set PATH=%TOOLS%\lzsa;%TOOLS%\fonttool;%PATH%
|
||||
echo.
|
||||
echo Preparing compressed font files...
|
||||
|
||||
for %%f in (font6x8 font8x8 font8x11 font8x16 fontcga fontvgarc) do call :genfont %%f
|
||||
for %%f in (font6x8 font8x8 font8x11 font8x16) do call :genfont %%f
|
||||
|
||||
goto :eof
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
OBJECTS = \
|
||||
font6x8u.asm font8x8u.asm font8x11u.asm font8x16u.asm fontcgau.asm fontvgarcu.asm \
|
||||
font6x8c.asm font8x8c.asm font8x11c.asm font8x16c.asm fontcgac.asm fontvgarcc.asm
|
||||
font6x8u.asm font8x8u.asm font8x11u.asm font8x16u.asm \
|
||||
font6x8c.asm font8x8c.asm font8x11c.asm font8x16c.asm
|
||||
|
||||
OTHERS = font6x8c.bin font8x8c.bin font8x11c.bin font8x16c.bin fontcgac.bin fontvgarcc.bin
|
||||
OTHERS = font6x8c.bin font8x8c.bin font8x11c.bin font8x16c.bin
|
||||
|
||||
TOOLS = ../../Tools
|
||||
|
||||
@@ -26,11 +26,5 @@ font8x11c.bin: font8x11u.bin
|
||||
font8x16c.bin: font8x16u.bin
|
||||
$(BINDIR)/lzsa -f2 -r $< $@
|
||||
|
||||
fontcgac.bin: fontcgau.bin
|
||||
$(BINDIR)/lzsa -f2 -r $< $@
|
||||
|
||||
fontvgarcc.bin: fontvgarcu.bin
|
||||
$(BINDIR)/lzsa -f2 -r $< $@
|
||||
|
||||
%.asm: %.bin
|
||||
$(BINDIR)/bin2asm $< > $@
|
||||
|
||||
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 8.8 KiB |
@@ -1,12 +1,5 @@
|
||||
Font files for ROMWBW.
|
||||
|
||||
8x8: 8x8 cell, mostly IBM CGA, first 16 differ, thin font
|
||||
8x11: 8x11 cell, possibly VT-100?
|
||||
8x16: 8x16 cell, IBM MDA
|
||||
CGA: 8x16 cell, IBM CGA, normal (thick) CGA font, rows 8-15 are unused padding
|
||||
|
||||
There are multiple fonts associated with ROMWBW supported hardware:
|
||||
|
||||
Board Driver Chip
|
||||
-------- -------- --------
|
||||
ECB-SCG tms.asm 9918
|
||||
@@ -17,25 +10,31 @@ There are multiple fonts associated with ROMWBW supported hardware:
|
||||
MBC-VDP tms.asm 9938/9958
|
||||
RCBUS-VRC vrc.asm PLD
|
||||
RCBUS-TMS tms.asm 99x8
|
||||
XOSERA xosera.asm ?
|
||||
|
||||
Name Glyph Cell Size Comp Board & Display Mode
|
||||
------------------------------------------------------------------------------------------------
|
||||
font6x8 6x8 8x8 2048 1094 ECB-SCG, MBC-VDP
|
||||
font8x8 6x8 8x8 2048 1034 ECB-VGA3 (80x60)
|
||||
font8x8 6x8 8x8 2048 1259 ECB-CVDU (CGA), MBC-VDC (CGA), ECB-VGA3 (80x60)
|
||||
font8x11 8x11 8x11 2816 1252 ECB-VGA3 (80x43)
|
||||
font8x16 8x14 8x16 4096 1466 ECB-CVDU (EGA), ECB-VGA3 (80x24, 80x25, 80x30), MBC-VDC (EGA)
|
||||
fontcga 8x8 8x16 4096 1280 ECB-CVDU (CGA), MBC-VDC (CGA)
|
||||
fontvrc 8x8 8x8 1024 650 VGARC
|
||||
font8x16 8x14 8x16 4096 1466 ECB-CVDU (EGA), MBC-VDC (EGA), ECB-VGA3 (80x24, 80x25, 80x30)
|
||||
----- -----
|
||||
16128 6776
|
||||
11008 5071
|
||||
|
||||
Notes:
|
||||
|
||||
- The CGA font is roughly equivalent to the 8x8 font, but padded out to 8x16. Scan lines
|
||||
8-15 are unused. The CVDU driver (8563 chip) always uses fonts defined in an 8x16 cell.
|
||||
When the CVDU is configured for use with a CGA monitor, an 8x8 character cell is used,
|
||||
but the font definition must still be 8x16. The CGA font is used for this.
|
||||
- Compression of the 6x8 font is disabled because the TMS driver must
|
||||
reload the font when CP/M is warm booted. There is no memory area
|
||||
where the decompression can safely be done at this point.
|
||||
|
||||
- The 856x GDPs always use 16 bytes per font character. The CVDU
|
||||
driver inserts dummy bytes as needed to utilize the 8x8 font when
|
||||
selected.
|
||||
|
||||
- The 8x11 font is not typically used and only supported by one
|
||||
board. It is probably not worth the space of storing it and will
|
||||
probably be eliminated in the future.
|
||||
|
||||
- All fonts are in code page 437 except 8x11.
|
||||
|
||||
For inclusion in HBIOS the .bin format files must be converted to assembler .asm format.
|
||||
This is achieved using the fonttool utility and is completed automatically as part of the build process.
|
||||
@@ -68,7 +67,3 @@ Implementation example (older version):
|
||||
https://cpcrulez.fr/applications_tools_cruncher_LZSA2_Z80.htm
|
||||
x86 lzsa compressor application:
|
||||
http://www.pouet.net/prod.php?which=81573
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 3.1 KiB |