FAST DIRTY RECTANGLES

TECH

- CGA video memory is used for scrolling.

- 4000 Byte Tile buffer is used to draw the current screen area.

- Sprite list is used to store sprite coordinates and their background grabs.


ROUTINE ORDERING

*
* Game logic
*

- Set tileBuffer scroll offset.

- Draw changed tile areas to Tile Buffer.

- Clip Sprite coordinates 

- Clear old sprites.

- Set CGA scroll offset.

- Draw changed tile areas.

- Get new sprite BGs, store to sprite List.

- Draw new sprites.

*
* Loop
*