Minor Cleanup

Moved font compression tools under Tools directory.  Replaced lzsa app with the Win32 variant to ensure compatibility for all users.
This commit is contained in:
Wayne Warthen
2020-01-16 15:57:56 -08:00
parent 32210b399c
commit 11376d6d3d
5 changed files with 20 additions and 5 deletions

View File

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

Binary file not shown.

16
Tools/lzsa/ReadMe.txt Normal file
View File

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

Binary file not shown.