A85: Huffman


[Prev][Next][Index][Thread]

A85: Huffman




I got a bunch of maps in a .h file. I want to compress them using huffman by
Jimmy, but the documentation is a little weak :) How should I compress them?
As one big group? Individual? And how do I go about extracting the map I need?
Usgard please :)

Sample Map:
.db 12,11,11,20,11,11,11,11,11,11,11,11,11,11,11,12     ; blocks $00 - $0F
.db 12,25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,12     ; blocks $10 - $1F
.db 12, 0, 0, 0, 0, 0, 0, 0, 0, 0,28,29, 0, 0, 0,12     ; blocks $20 - $2F
.db 13, 0, 0, 0, 0, 0, 0, 0, 0, 0,26,27, 0, 0, 0,11     ; blocks $30 - $3F
.db 12, 0,35,36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20     ; blocks $40 - $4F
.db 12, 0,33,34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,12     ; blocks $50 - $5F
.db 12, 0, 0, 0, 0, 0, 0, 0, 0,20, 0, 0, 0, 0, 0,12     ; blocks $60 - $6F
.db 11,11,11,11,20,11,11,11,11,11,11,11,11,11,11,11     ; blocks $70 - $7F

Thanks

-------
NAME : Mikel Blanchard, President of Macross Software
WEB   : http://MacrossSoftware.home.ml.org/
EMAIL : cashonly@aol.com
ICQ     : 3033904 (CashOnly)