Software Update:MAR: Difference between revisions

Jump to navigation Jump to search
Line 70: Line 70:
== Additional sections ==
== Additional sections ==


Additional MAR file sections may defined in the future.  These sections must follow directly after the SIGNATURES section.  A 4 byte block separator must be added before each additional section with each byte being equal to 0. This is so the MAR reader code knows whether it is reading an additional block of if it is reading the INDEX.IndexSize.
Additional MAR file sections may defined in the future.  These sections must follow directly after the SIGNATURES section.   
 
Each additional block must be in the following format:
 
  4 bytes: Block separator {0, 0, 0, 0} (To disambiguate from the INDEX block)
  4 bytes: Block identifier
  4 bytes: Block size (Z)
  Z bytes: The rest of the block.
 
The block separator is so the MAR reader code knows whether it is reading an additional block or if it is reading the INDEX.IndexSize.
 
The Block identifier is a value used to uniquely identify additional blocks so that they may be optionally added in any order.


== Source Code ==
== Source Code ==
Confirmed users
394

edits

Navigation menu