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

Jump to navigation Jump to search
Memory buffer is 168 in height, not 200. Fixed.
(Added info on cel blitting modification and loading 256-color picture resources.)
(Memory buffer is 168 in height, not 200. Fixed.)
Line 1: Line 1:
In the original PC AGI interpreter v2.936 the engine holds the color and priority/control
In the original PC AGI interpreter v2.936 the engine holds the color and priority/control
line information for each pixel in a 160x200 byte buffer. The color data for each pixel
line information for each pixel in a 160x168 byte buffer. The color data for each pixel
is held in the byte's lower 4 bits and the priority/control line data is held in the upper
is held in the byte's lower 4 bits and the priority/control line data is held in the upper
4 bits.
4 bits.


AGI256 extends this 160x200 byte buffer to a 320x200 byte buffer so that the 256-color
AGI256 extends this 160x168 byte buffer to a 320x168 byte buffer so that the 256-color
data is held in the right 160x200 half of the buffer and the original style 16-color and
data is held in the right 160x168 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 160x168 half of the buffer.


When loading 256-color picture resource with the unknown170 command
When loading 256-color picture resource with the unknown170 command
417

edits

Navigation menu