Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 876 Bytes

File metadata and controls

20 lines (14 loc) · 876 Bytes

Initial Map

The purpose of the initial map is to point us to the active memory map chunk (as the memory map can be replaced/updated by Director and get a new address). The initial map chunk will always reside at the same address in a Director file, namely 0x0c.

The FourCC of the chunk is imap.

Structure

The initial map chunk is saved in little-endian.

The structure of the chunk is:

Ref. Bytes Type(s) Name Description
  4 uint32 ?mmap‑count TODO: Can there be more than one memory map if we have >32k resources?
  4 uint32 mmap‑address The address of the active memory map chunk.
  4 uint32 ?version  
  12     Unknown.