A86: Saving Memory


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

A86: Saving Memory




Hello,
    I was working on Brix and thinking about this.. my maps in Brix are like
this:

Level:
.db 1,1,1,1,1,1,1,1,1,1,1,1,1
.db 1,1,1,1,1,1,1,1,1,1,1,1,1
 .db 1,1,1,1,1,1,1,1,1,1,1,1,1
 .db 1,1,1,1,1,1,1,1,1,1,1,1,1
 .db 1,1,1,1,1,1,1,1,1,1,1,1,1
 .db 1,1,1,1,1,1,1,1,1,1,1,1,1
 .db 1,1,1,1,1,1,1,1,1,1,1,1,1
 .db 1,1,1,1,1,1,1,1,1,1,1,1,1

which is 88 bytes [8x11, 11 sprites horizontally..]  each number represents
a sprite [ex. 1=block, 2=....]  there is a way to compress them, but I am
not sure how to.. any suggestions? Thanks.
-Ahmed


Ahmed El-Helw <ahmed@ticalc.org>
   Program Ideas and Upcoming Programs
   the ticalc.org project - http://www.ticalc.org/
________________________________________
http://hail.icestorm.com/asm/
ICQ: 3350394


Follow-Ups: