/[public]/psiconv/trunk/formats/psion/Header_Section.psi
ViewVC logotype

Diff of /psiconv/trunk/formats/psion/Header_Section.psi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 45 Revision 46
17mU  17mU 
2d"Times New RomanN1 2d"Times New RomanN1
3< *Koptekst 2L 3< *Koptekst 2L
4< *Koptekst 3L *OpsomtekenOSwissh3r h3r efdefLd.Ae.[Header Section]Header Section14 bytes header data. This section is guaranteed to be found at the very start of the file. It is the only section that starts at an unchanging offset.Offset Data Description0000 ID UID1: 37 00 00 10: Header Section layout0004 ID UID2: File kind0008 ID UID3: Application ID000C L UID4: Checksum of UID1, UID2 and UID3 0010 L Offset of Section Table Section0014UID1 should be 37 00 00 10 to ensure the above section layout. If the file starts with some other number, the layout of this section may be different.UID2 tells what kind of file is found. The values below are known: UID2 Desciption 6D 00 00 10 Data fileUID3 is the Application ID. It is the same as used in the Application IDSection.UID4 is a checksum of UID1 to UID3. It is computed by taking the exclusive-or (xor) of the values found it the tables below. Each value is only used when the corresponding bit is set to one.UID4 can also be computed by using OPL function CheckUID$.UID1 bit Valuebit 0 0x000045A0bit 1 0x00008B40bit 2 0x000006A1bit 3 0x00000D42bit 4 0x00001A84bit 5 0x00003508bit 6 0x00006A10bit 7 0x0000D420bit 8 0x45A00000bit 9 0x8B400000bit 10 0x06A10000bit 11 0x0D420000bit 12 0x1A840000bit 13 0x35080000bit 14 0x6A100000bit 15 0xD4200000bit 16 0x0000AA51bit 17 0x00004483bit 18 0x00008906bit 19 0x0000022Dbit 20 0x0000045Abit 21 0x000008B4bit 22 0x00001168bit 23 0x000022D0bit 24 0xAA510000bit 25 0x44830000bit 26 0x89060000bit 27 0x022D0000bit 28 0x045A0000bit 29 0x08B40000bit 30 0x11680000bit 31 0x22D00000UID2 bit Valuebit 0 0x000076B4bit 1 0x0000ED68bit 2 0x0000CAF1bit 3 0x000085C3bit 4 0x000018A7bit 5 0x0000374Ebit 6 0x00006E9Cbit 7 0x0000DD38bit 8 0x76B40000bit 9 0xED680000bit 10 0xCAF10000bit 11 0x85C30000bit 12 0x18A70000bit 13 0x374E0000bit 14 0x6E9C0000bit 15 0xDD380000bit 16 0x00003730bit 17 0x00006E60bit 18 0x0000DCC0bit 19 0x0000A9A1bit 20 0x00004363bit 21 0x000086C6bit 22 0x00001DADbit 23 0x00003B5Abit 24 0x37300000bit 25 0x6E600000bit 26 0xDCC00000bit 27 0xA9A10000bit 28 0x43630000bit 29 0x86C60000bit 30 0x1DAD0000bit 31 0x3B5A0000UID3 bit Valuebit 0 0x00003331bit 1 0x00006662bit 2 0x0000CCC4bit 3 0x000089A9bit 4 0x00000373bit 5 0x000006E6bit 6 0x00000DCCbit 7 0x00001B98bit 8 0x33310000bit 9 0x66620000bit 10 0xCCC40000bit 11 0x89A90000bit 12 0x03730000bit 13 0x06E60000bit 14 0x0DCC0000bit 15 0x1B980000bit 16 0x00001021bit 17 0x00002042bit 18 0x00004084bit 19 0x00008108bit 20 0x00001231bit 21 0x00002462bit 22 0x000048C4bit 23 0x00009188bit 24 0x10210000bit 25 0x20420000bit 26 0x40840000bit 27 0x81080000bit 28 0x12310000bit 29 0x24620000bit 30 0x48C40000bit 31 0x91880000"Times New Roman" Courier New " Courier New " Courier NewzC; 4< *Koptekst 3L *OpsomtekenOSwissh3r h3r efdefLd.AU3[Header Section]Header Section10 bytes header data. This section is guaranteed to be found at the very start of the file. It is the only section that starts at an unchanging offset.The first long determines the layout of this section. The following values are found:Value ID 1 Description37 00 00 10 ID10000037 File, with a Section Table Section41 00 00 10 Clip Art File50 00 00 10 ID 10000050 File, structured as a list of sections.Files starting with ID37 00 00 10 have a Section Table Offset Section with the offset of the Section Table Section directly after the Header Section. This is better described in the File Structure chapter.Offset Data Description0000 ID UID1: 37 00 00 10: Header Section layout0004 ID UID2: File kind0008 ID UID3: Application ID000C L UID4: Checksum of UID1, UID2 and UID3 0010UID2 tells what kind of file is found. The values below are known: UID2 UID1 Desciption 6D 00 00 10 37 00 00 10 Data file UID3 is the Application ID. It is the same as used in the Application IDSection.UID4 is a checksum of UID1 to UID3. It is computed by taking the exclusive-or (xor) of the values found it the tables below. Each value is only used when the corresponding bit is set to one.UID4 can also be computed by using OPL function CheckUID$.UID1 bit Valuebit 0 0x000045A0bit 1 0x00008B40bit 2 0x000006A1bit 3 0x00000D42bit 4 0x00001A84bit 5 0x00003508bit 6 0x00006A10bit 7 0x0000D420bit 8 0x45A00000bit 9 0x8B400000bit 10 0x06A10000bit 11 0x0D420000bit 12 0x1A840000bit 13 0x35080000bit 14 0x6A100000bit 15 0xD4200000bit 16 0x0000AA51bit 17 0x00004483bit 18 0x00008906bit 19 0x0000022Dbit 20 0x0000045Abit 21 0x000008B4bit 22 0x00001168bit 23 0x000022D0bit 24 0xAA510000bit 25 0x44830000bit 26 0x89060000bit 27 0x022D0000bit 28 0x045A0000bit 29 0x08B40000bit 30 0x11680000bit 31 0x22D00000UID2 bit Valuebit 0 0x000076B4bit 1 0x0000ED68bit 2 0x0000CAF1bit 3 0x000085C3bit 4 0x000018A7bit 5 0x0000374Ebit 6 0x00006E9Cbit 7 0x0000DD38bit 8 0x76B40000bit 9 0xED680000bit 10 0xCAF10000bit 11 0x85C30000bit 12 0x18A70000bit 13 0x374E0000bit 14 0x6E9C0000bit 15 0xDD380000bit 16 0x00003730bit 17 0x00006E60bit 18 0x0000DCC0bit 19 0x0000A9A1bit 20 0x00004363bit 21 0x000086C6bit 22 0x00001DADbit 23 0x00003B5Abit 24 0x37300000bit 25 0x6E600000bit 26 0xDCC00000bit 27 0xA9A10000bit 28 0x43630000bit 29 0x86C60000bit 30 0x1DAD0000bit 31 0x3B5A0000UID3 bit Valuebit 0 0x00003331bit 1 0x00006662bit 2 0x0000CCC4bit 3 0x000089A9bit 4 0x00000373bit 5 0x000006E6bit 6 0x00000DCCbit 7 0x00001B98bit 8 0x33310000bit 9 0x66620000bit 10 0xCCC40000bit 11 0x89A90000bit 12 0x03730000bit 13 0x06E60000bit 14 0x0DCC0000bit 15 0x1B980000bit 16 0x00001021bit 17 0x00002042bit 18 0x00004084bit 19 0x00008108bit 20 0x00001231bit 21 0x00002462bit 22 0x000048C4bit 23 0x00009188bit 24 0x10210000bit 25 0x20420000bit 26 0x40840000bit 27 0x81080000bit 28 0x12310000bit 29 0x24620000bit 30 0x48C40000bit 31 0x91880000"Times New Roman" Courier New " Courier New " Courier NewVC&;@"Arial"Times New Roman " Courier New"Times New Roman"Times New Roman"Times New Roman " Courier New" Courier New " Courier New" Courier New%" Courier New"Times New Roman " Courier New " Courier New"Word.app C"y
5@"Arial"Times New Roman " Courier New" Courier New " Courier New" Courier New" Courier New"Times New Roman " Courier New " Courier New"Word.app C"y 

Legend:
Removed from v.45  
changed lines
  Added in v.46

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26