AppExtra

From MSX Game Library

Revision as of 13:51, 23 October 2022 by Aoineko (talk | contribs)

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

This Build tool option allow to add an application related data to binary data (right after the application ).

:: 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 --