This note details the file format of the DBG file. The layout of this data in the Assembly Environment memory will be identical in memory. It is designed to fit in 8 K chunks of high memory.
Some clarification on the entries:
- address - This is the CBM "load address" and is ignored by the X16AE.
- TAG - This value uniquely identifies the version of the DBG file. V0.5 == "CDF02\000". Note this version will NOT read the previous version.
- pgm_region - Minimum and maximum address for the loaded code (including constants).
- start_address - Start address of the machine code, exclusive of the basic bootstrap.
- label_entries - Two words for each label. Must be the same number of entries as count.
- label - The zero terminated string of the label. Must be the same number of entries as count.
- label entry offset - The offset from the start of the TAG to the string value.