AppExtra

From MSX Game Library

WIP This feature is work-in-progress (waiting for next SDCC update)

This Build tool option allow to add an application related information to binary data (right after the application ). It is inspired by the metadata that Konami used for its Game Master cheat cartridges.

:: Application extra data (comma-separated bytes starting with data size)
set AppExtra=3,5,0x00,0xC1

Here is the format to use: DataSize, DataType, Data1[, Data2, ...], DataType, Data1[, Data2, ...]. Where:

  • DataSize: The size in byte of the extra data excluding this byte
  • DataType:
Code Data type Data content
0x0X Reserved --
0x10 Application name Zero-terminated string
0x20 Number of life/continue address 2 bytes (RAM address)
0x21 Life-point address 2 bytes (RAM address)
0xFX Reserved --