|
Post by Roman on Jun 14, 2004 6:05:59 GMT -5
The files for a picture of the complete screen 320x224 have the standard size of 35 Kilobytes. Whether it is possible to compress a binary file of picture in the program ImaGenesis, and then to unpack it through BasiEgaXorz? How such subroutine will look? Algorithm of packing, for example, most simple: the codes 88 88 88 88 are replaced with codes 88 03 and so on.
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jun 15, 2004 13:09:28 GMT -5
uhm, compression is going to be all up to you, i'm not going to include a decompression rouine in the basic firmware, since its going to eat up more bytes for programs =). i think an lhz decompression routine exists for the mc68k, you could probably use that. but anyways, i dunno if you'll be able to decompress data into ram, and then use it with the loadtiles command, since the loadtiles command only accepts labels as a valid expression.
doing compression is too hard in this stage of basiegaxorz cause most basic commands do not accept pointers. i'd need to add some more functions to the compiler to "easily" decompress images, since basic is meant to be easy =)
|
|