mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Fix some formatting errors in man pages
This commit is contained in:
@@ -628,7 +628,7 @@ Enter CPU low-power consumption mode until an interrupt occurs.
|
||||
The exact behavior of this instruction depends on the state of the
|
||||
.Sy IME
|
||||
flag.
|
||||
.Bl -tag -width indent
|
||||
.Bl -tag -width Ds
|
||||
.It Sy IME No set
|
||||
The CPU enters low-power mode until
|
||||
.Em after
|
||||
@@ -640,7 +640,7 @@ when that returns.
|
||||
The behavior depends on whether an interrupt is pending (i.e.\&
|
||||
.Ql [IE] & [IF]
|
||||
is non-zero).
|
||||
.Bl -tag -width indent
|
||||
.Bl -tag -width Ds
|
||||
.It None pending
|
||||
As soon as an interrupt becomes pending, the CPU resumes execution.
|
||||
This is like the above, except that the handler is
|
||||
|
||||
10
man/rgbasm.5
10
man/rgbasm.5
@@ -1328,13 +1328,13 @@ and so on to be accessible to other files during the link process:
|
||||
For example, if you have the following three files:
|
||||
.Pp
|
||||
.Ql a.asm :
|
||||
.Bd -literal -compact
|
||||
.Bd -literal -offset indent -compact
|
||||
SECTION "a", WRAM0
|
||||
LabelA:
|
||||
.Ed
|
||||
.Pp
|
||||
.Ql b.asm :
|
||||
.Bd -literal -compact
|
||||
.Bd -literal -offset indent -compact
|
||||
SECTION "b", WRAM0
|
||||
ExportedLabelB1::
|
||||
ExportedLabelB2:
|
||||
@@ -1342,7 +1342,7 @@ ExportedLabelB2:
|
||||
.Ed
|
||||
.Pp
|
||||
.Ql c.asm :
|
||||
.Bd -literal -compact
|
||||
.Bd -literal -offset indent -compact
|
||||
SECTION "C", ROM0[0]
|
||||
dw LabelA
|
||||
dw ExportedLabelB1
|
||||
@@ -1358,7 +1358,7 @@ and
|
||||
but not
|
||||
.Ql LabelA ,
|
||||
so linking them together will fail:
|
||||
.Bd -literal
|
||||
.Bd -literal -offset indent
|
||||
$ rgbasm -o a.o a.asm
|
||||
$ rgbasm -o b.o b.asm
|
||||
$ rgbasm -o c.o c.asm
|
||||
@@ -1372,7 +1372,7 @@ Note also that only exported symbols will appear in symbol and map files produce
|
||||
.Ss Purging symbols
|
||||
.Ic PURGE
|
||||
allows you to completely remove a symbol from the symbol table as if it had never existed.
|
||||
.Em USE WITH EXTREME CAUTION!
|
||||
.Em USE WITH EXTREME CAUTION !
|
||||
I can't stress this enough,
|
||||
.Sy you seriously need to know what you are doing .
|
||||
DON'T purge a symbol that you use in expressions the linker needs to calculate.
|
||||
|
||||
@@ -318,8 +318,8 @@ RGBDS encodes RPN expressions as an array of
|
||||
.Cm BYTE Ns s .
|
||||
The first byte encodes either an operator, or a literal, which consumes more
|
||||
.Cm BYTE Ns s
|
||||
after it.
|
||||
.Bl -column -offset Ds "Value"
|
||||
after it:
|
||||
.Bl -column "Value"
|
||||
.It Sy Value Ta Sy Meaning
|
||||
.It Li $00 Ta Addition operator Pq Ql +
|
||||
.It Li $01 Ta Subtraction operator Pq Ql -
|
||||
|
||||
@@ -281,7 +281,7 @@ Print the version of the program and exit.
|
||||
.It Fl v , Fl \-verbose
|
||||
Be verbose.
|
||||
The verbosity level is increased by one each time the flag is specified, with each level including the previous:
|
||||
.Bl -enum -width 2n -compact
|
||||
.Bl -enum -compact
|
||||
.It
|
||||
.Nm
|
||||
prints out its configuration before doing anything.
|
||||
|
||||
Reference in New Issue
Block a user