Thank you!
what is offset of color values in file? Faster is cut from com.
In tt_16.com:
- palette of first line: 1C8h-1CFh
- palette of second line: 1D8h-1DFh
- palette of last (200th) line: 0E38h-0E3Fh
- pixel data of first line: 0E90h-0EDFh
- pixel data of last (200th) line: 4CC0h-4D0Fh
In tt_256(r).com:
- pixel data of first line: 220h-26Fh
- pixel data of last (200th) line: 4050-409Fh
- pixel at X (0 to 79), Y (0 to 199) position: Y * 50h + X + 220h
These are all file (not memory) offsets.