picosonic / D3

Dizzy3
MIT License
7 stars 0 forks source link

Draw rooms 22, 23 and 24 upside down #8

Closed picosonic closed 9 months ago

picosonic commented 1 year ago

When drawing rooms and handling gravity, rooms 22, 23 and 24 are meant to represent Australia and as such are drawn upside down.

picosonic commented 12 months ago

When..

newroom=23 (a strange new world) -> going down or newroom=55 (the bottomless well) -> going up when roomno=39 (going down the well!)

a flip is required, due to leaving the well pipe.

The screen memory location lookup table is a 16*24 byte table of 8x24 16-bit memory locations.

Flip operation switches lookup table values, screentable[48+=2] with screentable[183-=2] for (136/2) iterations.