Difference between revisions of "AppExtra"
From MSX Game Library
(Created page with "{{WIP}} This Build tool option allow to add an application related data to binary data (right after the application ). <pre>:: Application extra data (c...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{WIP}} | + | {{WIP}} ''This feature is work-in-progress (waiting for next SDCC update)'' |
− | This [[Build tool]] option allow to add an application related | + | This [[Build tool]] option allow to add an application related information to binary data (right after the [[AppSignature|application ]]). |
+ | It is inspired by the metadata that Konami used for its ''Game Master'' cheat cartridges. | ||
<pre>:: Application extra data (comma-separated bytes starting with data size) | <pre>:: Application extra data (comma-separated bytes starting with data size) | ||
Line 10: | Line 11: | ||
* <tt>DataSize</tt>: The size in byte of the extra data excluding this byte | * <tt>DataSize</tt>: The size in byte of the extra data excluding this byte | ||
* <tt>DataType</tt>: | * <tt>DataType</tt>: | ||
+ | {| class="wikitable" | ||
+ | ! Code !! Data type !! Data content | ||
+ | |- | ||
+ | | <tt>0x0X</tt> || ''Reserved'' || -- | ||
+ | |- | ||
+ | | <tt>0x10</tt> || Application name || Zero-terminated string | ||
+ | |- | ||
+ | | <tt>0x20</tt> || Number of life/continue address || 2 bytes (RAM address) | ||
+ | |- | ||
+ | | <tt>0x21</tt> || Life-point address || 2 bytes (RAM address) | ||
+ | |- | ||
+ | | <tt>0xFX</tt> || ''Reserved'' || -- | ||
+ | |} |
Latest revision as of 01:07, 17 January 2023
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 | -- |