![]() |
|||||||||||||||
Thanks to Julio Marchi for this space in MSX All |
|||||||||||||||
PC Shape (.SDR) and (.SHP)
The PC shape is the file format used on the PC's Print-Master program and it is quite similar to the MSX shape file, where a header describes the picture and it is followed by the picture data. Se the illustration below.
The PC Shape that comes along with the Print-Master has the following header: 0B 34 58 00. According to that, we have: Width in bytes: &H0B = 11 bytes Height: &H34 = 52 pixels Width: &H58 = 88 pixels Size: Width in bytes x Height = 11 x 52 = 572 bytes
MSX PC 00000000 00001000 00000000 00000001 00000010 ... 00001000 00000001 00000010 00000011 00000100 00000101 00000110 00000111
+---------------------+ | 000 001 002 ... 010 | | 011 012 013 ... 021 | | ... | | 561 561 563 ... 571 | +---------------------+
Hexadecimal | ASCII ------------------------------------------------+----------------- 46 49 47 55 52 41 31 00 00 00 00 00 00 00 00 00 | FIGURA1......... 46 49 47 55 52 41 32 00 00 00 00 00 00 00 00 00 | FIGURA2......... |
|||||||||||||||