ref: ba30863b737179e74437683fbe838d5924b75cb2
parent: abf8f8255abe5834bb5dde880fcc1b64aa045381
author: Anthony J. Bentley <[email protected]>
date: Sat Apr 9 20:37:58 EDT 2011
In manuals, use wrapping macros instead of literal parens, etc.
--- a/src/fix/rgbfix.1
+++ b/src/fix/rgbfix.1
@@ -94,8 +94,8 @@
Most values in the ROM header are only cosmetic.
The bare minimum requirements for a workable image are checksums, the Nintendo
logo, and (if needed) the CGB/SGB flags.
-It is a good idea to pad the image to a valid size as well ("valid" meaning a
-multiple of 32KiB).
+It is a good idea to pad the image to a valid size as well
+.Pq Dq valid No meaning a multiple of 32KiB .
.Pp
The following will make a plain, no-color Game Boy game without checking for
a valid size:
@@ -103,14 +103,19 @@
.D1 $ rgbfix \-v foo.gb
.Pp
The following will make a SGB-enabled, color-enabled game with a title of
-"foobar", and pad it to a multiple of 32KiB.
-(The Game Boy itself does not use the title, but some emulators or ROM managers
-might.)
+.Dq foobar ,
+and pad it to a multiple of 32KiB.
+.Po
+The Game Boy itself does not use the title, but some emulators or ROM managers
+might.
+.Pc
.Pp
.D1 $ rgbfix \-vcs \-p 0 \-t foobar baz.gb
.Pp
-The following will duplicate the header (sans global checksum) of the game
-"Survival Kids":
+The following will duplicate the header
+.Pq sans global checksum
+of the game
+.Dq Survival Kids :
.Pp
.D1 $ rgbfix \-cjsv \-k A4 \-m 0x1B \-p 0xFF \-r 3 \-t SURVIVALKIDAVKE SurvivalKids.gbc
.Sh SEE ALSO
--- a/src/link/rgblink.1
+++ b/src/link/rgblink.1
@@ -46,7 +46,9 @@
.It Fl s Ar symbol
???
.It Fl t
-Write a tiny (32KiB) ROM file. This forces all DATA/CODE sections to be of
+Write a tiny
+.Pq 32KiB
+ROM file. This forces all DATA/CODE sections to be of
type HOME, and increases the HOME section size from 16KiB to 32KiB.
.El
.Sh EXAMPLES
@@ -55,8 +57,8 @@
.Pp
.D1 $ rgblink \-o bar.gb foo.o
.Pp
-The resulting bar.gb will not have correct checksums (unless you put them in
-the assembly source).
+The resulting bar.gb will not have correct checksums
+.Pq unless you put them in the assembly source .
You should use
.Xr rgbfix 1
to fix these so that the program will actually run in a Game Boy: