Difference between revisions of "AppExtra"

From MSX Game Library

 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{WIP}} ''This feature is work-in-progress (waiting for next SDCC update)''
 
{{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 [[AppSignature|application ]]).
+
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)

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