mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Use the semantic .Ad in manpages.
This commit is contained in:
@@ -26,13 +26,17 @@ The arguments are as follows:
|
|||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.\" ITEM
|
.\" ITEM
|
||||||
.It Fl C
|
.It Fl C
|
||||||
Set the Game Boy Color\(enonly flag: [0x143] = 0xC0.
|
Set the Game Boy Color\(enonly flag:
|
||||||
|
.Ad 0x143
|
||||||
|
= 0xC0.
|
||||||
If both this and the
|
If both this and the
|
||||||
.Fl c
|
.Fl c
|
||||||
flag are set, this takes precedence.
|
flag are set, this takes precedence.
|
||||||
.\" ITEM
|
.\" ITEM
|
||||||
.It Fl c
|
.It Fl c
|
||||||
Set the Game Boy Color\(encompatible flag: [0x143] = 0x80.
|
Set the Game Boy Color\(encompatible flag:
|
||||||
|
.Ad 0x143
|
||||||
|
= 0x80.
|
||||||
If both this and the
|
If both this and the
|
||||||
.Fl C
|
.Fl C
|
||||||
flag are set,
|
flag are set,
|
||||||
@@ -40,38 +44,54 @@ flag are set,
|
|||||||
takes precedence.
|
takes precedence.
|
||||||
.\" ITEM
|
.\" ITEM
|
||||||
.It Fl j
|
.It Fl j
|
||||||
Set the non-Japanese region flag: [0x14A] = 1.
|
Set the non-Japanese region flag:
|
||||||
|
.Ad 0x14A
|
||||||
|
= 1.
|
||||||
.\" ITEM
|
.\" ITEM
|
||||||
.It Fl k Ar licensee_str
|
.It Fl k Ar licensee_str
|
||||||
Set the new licensee string ([0x144\(en0x145]) to a given string, truncated
|
Set the new licensee string
|
||||||
to at most two characters.
|
.Pq Ad 0x144 \(en Ad 0x145]
|
||||||
|
to a given string, truncated to at most two characters.
|
||||||
.\" ITEM
|
.\" ITEM
|
||||||
.It Fl l Ar licensee_id
|
.It Fl l Ar licensee_id
|
||||||
Set the old licensee code, [0x14B], to a given value from 0 to 0xFF.
|
Set the old licensee code,
|
||||||
|
.Ad 0x14B ,
|
||||||
|
to a given value from 0 to 0xFF.
|
||||||
This value is deprecated and should be set to 0x33 in all new software.
|
This value is deprecated and should be set to 0x33 in all new software.
|
||||||
.\" ITEM
|
.\" ITEM
|
||||||
.It Fl m Ar mbc_type
|
.It Fl m Ar mbc_type
|
||||||
Set the MBC type, [0x147], to a given value from 0 to 0xFF.
|
Set the MBC type,
|
||||||
|
.Ad 0x147 ,
|
||||||
|
to a given value from 0 to 0xFF.
|
||||||
.\" ITEM
|
.\" ITEM
|
||||||
.It Fl n Ar rom_version
|
.It Fl n Ar rom_version
|
||||||
Set the ROM version, [0x14C], to a given value from 0 to 0xFF.
|
Set the ROM version,
|
||||||
|
.Ad 0x14C ,
|
||||||
|
to a given value from 0 to 0xFF.
|
||||||
.\" ITEM
|
.\" ITEM
|
||||||
.It Fl p Ar pad_value
|
.It Fl p Ar pad_value
|
||||||
Pad the image to a valid size with a given pad value from 0 to 0xFF.
|
Pad the image to a valid size with a given pad value from 0 to 0xFF.
|
||||||
.Nm
|
.Nm
|
||||||
will automatically pick a size from 32KiB, 64KiB, 128KiB, ..., 8192KiB and
|
will automatically pick a size from 32KiB, 64KiB, 128KiB, ..., 8192KiB and
|
||||||
give a warning thereafter.
|
give a warning thereafter.
|
||||||
The cartridge size byte ([0x148]) will be changed to reflect this new size.
|
The cartridge size byte
|
||||||
|
.Pq Ad 0x148
|
||||||
|
will be changed to reflect this new size.
|
||||||
.\" ITEM
|
.\" ITEM
|
||||||
.It Fl r Ar ram_size
|
.It Fl r Ar ram_size
|
||||||
Set the RAM size, [0x149], to a given value from 0 to 0xFF.
|
Set the RAM size,
|
||||||
|
.Ad 0x149 ,
|
||||||
|
to a given value from 0 to 0xFF.
|
||||||
.\" ITEM
|
.\" ITEM
|
||||||
.It Fl s
|
.It Fl s
|
||||||
Set the SGB flag: [0x146] = 3.
|
Set the SGB flag:
|
||||||
|
.Ad 0x146
|
||||||
|
= 3.
|
||||||
.\" ITEM
|
.\" ITEM
|
||||||
.It Fl t Ar title
|
.It Fl t Ar title
|
||||||
Set the title string ([0x134\(en0x143]) to a given string, truncated to at
|
Set the title string
|
||||||
most 16 characters.
|
.Pq Ad 0x134 \(en Ad 0x143
|
||||||
|
to a given string, truncated to at most 16 characters.
|
||||||
It is recommended to use 15 characters instead, to avoid clashing with the CGB
|
It is recommended to use 15 characters instead, to avoid clashing with the CGB
|
||||||
flag (
|
flag (
|
||||||
.Fl c
|
.Fl c
|
||||||
@@ -81,8 +101,11 @@ or
|
|||||||
.\" ITEM
|
.\" ITEM
|
||||||
.It Fl v
|
.It Fl v
|
||||||
Validate the header and fix checksums: the Nintendo character area
|
Validate the header and fix checksums: the Nintendo character area
|
||||||
([0x104\(en0x133]), the header checksum ([0x14D]), and the global checksum
|
.Pq Ad 0x104 \(en Ad 0x133 ,
|
||||||
([0x14E\(en0x14F]).
|
the header checksum
|
||||||
|
.Pq Ad 0x14D ,
|
||||||
|
and the global checksum
|
||||||
|
.Pq Ad 0x14E \(en Ad 0x14F .
|
||||||
.El
|
.El
|
||||||
.\" SECTION
|
.\" SECTION
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
|
|||||||
Reference in New Issue
Block a user