[Coco] Coco game engine demo

Mark McDougall msmcdoug at iinet.net.au
Sun Feb 3 18:00:27 EST 2013


On 4/02/2013 6:08 AM, Richard Goedeken wrote:

> I do build the screen by rows as you scroll vertically.  The problem is that
> I run out of address space.  The graphics aperature is big (almost 256k)
> because: I'm using 256-byte rows for quality and speed, and there are 4
> screens: two pairs for double buffering, and each pair is for even/odd to
> get single byte horizontal scrolling.  So there's only 256k of address space
> to scroll through, and with 256-byte lines that ends up being about 1k rows.

Can't you wrap? Use the HBLANK interrupt to wrap the address when you run 
out of address space?

Regards,

-- 
|              Mark McDougall                | "Electrical Engineers do it
|  <http://members.iinet.net.au/~msmcdoug>   |   with less resistance!"



More information about the Coco mailing list