Open main menu

Difference between revisions of "AGI/Specifications/Other/AGI256/Implementation Details"

Added info on cel blitting modification and loading 256-color picture resources.
(Added reverse engineered C version of AGIOBJS.OVL.)
(Added info on cel blitting modification and loading 256-color picture resources.)
Line 7: Line 7:
data is held in the right 160x200 half of the buffer and the original style 16-color and
data is held in the right 160x200 half of the buffer and the original style 16-color and
priority/control line information is held in the left 160x200 half of the buffer.
priority/control line information is held in the left 160x200 half of the buffer.
When loading 256-color picture resource with the unknown170 command
the picture is loaded straight into the right 160x168 half of the 320x168 memory buffer.
Cel blitting routine is modified so that when sprite data would normally be written
to a position (x, y) in the 16-color buffer (i.e. the left 160x168 half) it's actually
written to the same position (x, y) but in the 256-color buffer (i.e. the right 160x168 half).


==Used external info==
==Used external info==
417

edits