0 Members and 2 Guests are viewing this topic.
.Not actual sourcecode:.tile1 = 7.tile2 = 3.tile1 << 4 | tile2 = $73.Axe syntax:[73]
[15 00 26 00 00 00 00 00 00 00 00 24 A5].becomes[15 00 01 26 00 08 24 A5].Downside to this technique is that single zero's will take up more space..Now to decompress:.if the byte = 0.load counter with next byte that defines the amount of zero's that should be inserted.do. insert 0 tile. counter decrease.while counter is not 0.when the counter runs out go to the next tile and repeat the process until you aquired enough tiles.
And it would compound the issue of wearing out flash (which I've seen as only happening after over 100,000 writes, something I don't forsee happening if it only writes to flash once, at the end of each program).