mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Update the object file documentation
Updates the object file documentation in mylink.h to match the newest object file format.
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
#ifndef RGBDS_ASM_LINK_H
|
#ifndef RGBDS_ASM_LINK_H
|
||||||
#define RGBDS_ASM_LINK_H
|
#define RGBDS_ASM_LINK_H
|
||||||
|
|
||||||
/* RGB0 .obj format:
|
/* RGB4 .o format:
|
||||||
*
|
*
|
||||||
* Header
|
* Header
|
||||||
* Symbols
|
* Symbols
|
||||||
* Sections
|
* Sections
|
||||||
*
|
*
|
||||||
* Header:
|
* Header:
|
||||||
* "RGB0"
|
* "RGB4"
|
||||||
* LONG NumberOfSymbols
|
* LONG NumberOfSymbols
|
||||||
* LONG NumberOfSections
|
* LONG NumberOfSections
|
||||||
*
|
*
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
* Symbol:
|
* Symbol:
|
||||||
* char Name (NULL terminated)
|
* char Name (NULL terminated)
|
||||||
* char nType
|
* char nType
|
||||||
* if( nType!=SYM_IMPORT )
|
* if (nType != SYM_IMPORT)
|
||||||
* {
|
* {
|
||||||
* LONG SectionID
|
* LONG SectionID
|
||||||
* LONG Offset
|
* LONG Offset
|
||||||
@@ -28,9 +28,13 @@
|
|||||||
* Section[NumberOfSections]
|
* Section[NumberOfSections]
|
||||||
*
|
*
|
||||||
* Section:
|
* Section:
|
||||||
|
* char SectionName (NULL-terminated)
|
||||||
* LONG SizeInBytes
|
* LONG SizeInBytes
|
||||||
* char Type
|
* char Type
|
||||||
* if( Type!=WRAM0 )
|
* LONG OrgPosition
|
||||||
|
* LONG Bank
|
||||||
|
* LONG Alignment
|
||||||
|
* if (Type == ROM0 || Type == ROMX)
|
||||||
* {
|
* {
|
||||||
* char Data[SizeInBytes]
|
* char Data[SizeInBytes]
|
||||||
* Patches
|
* Patches
|
||||||
|
|||||||
Reference in New Issue
Block a user