Re: A83: Moving Backgrond...


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

Re: A83: Moving Backgrond...




On 17-Jul-98, James Matthews wrote:

>So, how do you store a massive background file in a program?  Or do people
>simple repeat backgrounds?

>Thanks.

>James.

Um, what exactly do you mean with massive background? Normal 96*64 pictures
can be stored as the 768 bytes to copy to the graph buffer. Storing something
like background maps for games is of course stored in 1 byte per 8x8
block, and then there's a graphics bank somewhere with the image data for
each (allowed) byte in the maps. Then you copy the 8 bytes (8x8 pixels) from
the graphics bank to the graph buffer, and loop back to do the other blocks
in the map.

Linus


References: