Browse Source

Minor Cleanup

Moved font compression tools under Tools directory.  Replaced lzsa app with the Win32 variant to ensure compatibility for all users.
pull/80/head
Wayne Warthen 6 years ago
parent
commit
11376d6d3d
  1. 9
      Source/Fonts/Build.cmd
  2. BIN
      Source/Fonts/lzsa.exe
  3. 0
      Tools/fonttool/fonttool.exe
  4. 16
      Tools/lzsa/ReadMe.txt
  5. BIN
      Tools/lzsa/lzsa.exe

9
Source/Fonts/Build.cmd

@ -1,10 +1,12 @@
@echo off
setlocal
set HBIOS=..\..\Source\HBIOS
set TOOLS=../../Tools
set PATH=%TOOLS%\lzsa;%TOOLS%\fonttool;%PATH%
echo.
echo Compressing and copying fonts...
echo Preparing compressed font files...
lzsa -f2 -r font8x8u.bin font8x8c.bin
lzsa -f2 -r font8x11u.bin font8x11c.bin
@ -16,6 +18,3 @@ fonttool font8x16u.bin > font8x16u.asm
fonttool font8x8c.bin > font8x8c.asm
fonttool font8x11c.bin > font8x11c.asm
fonttool font8x16c.bin > font8x16c.asm
goto :eof

BIN
Source/Fonts/lzsa.exe

Binary file not shown.

0
Source/Fonts/fonttool.exe → Tools/fonttool/fonttool.exe

16
Tools/lzsa/ReadMe.txt

@ -0,0 +1,16 @@
Command line compressor by Emmanuel Marty
The compression is done as follows:
lzsa.exe -f2 -r <sourcefile> <outfile>
where option -f2 selects lzsa version 2 compression.
where option -r asks for the generation of raw (frame-less) data.
Original compression source code and files available here:
Latest github code:
https://github.com/emmanuel-marty/lzsa
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

BIN
Tools/lzsa/lzsa.exe

Binary file not shown.
Loading…
Cancel
Save