shithub: rgbds

Download patch

ref: aa02958e18396e23334f48bfdff4fe196c9c5e66
parent: 011d4ec39297e09ca6182a75d9af5fa6df3525aa
author: ISSOtm <[email protected]>
date: Sat May 15 08:23:05 EDT 2021

Fix mandoc warnings

--- a/src/asm/rgbasm.5
+++ b/src/asm/rgbasm.5
@@ -494,7 +494,7 @@
 Possible section
 .Ar type Ns s
 are as follows:
-.Bl -tag
+.Bl -tag -width Ds
 .It Ic ROM0
 A ROM section.
 .Ar addr
@@ -602,7 +602,7 @@
 To put some in RAM, have it stored in ROM, and copy it to RAM.
 .Pp
 .Ar option Ns s are comma-separated and may include:
-.Bl -tag
+.Bl -tag -width Ds
 .It Ic BANK Ns Bq Ar bank
 Specify which
 .Ar bank
@@ -978,7 +978,7 @@
     def NUM_ITEMS equ 0
 MACRO add_item
     redef NUM_ITEMS equ NUM_ITEMS + 1
-    def ITEM_{02x:NUM_ITEMS} equ \1
+    def ITEM_{02x:NUM_ITEMS} equ \[rs]1
 ENDM
     add_item 1
     add_item 4
@@ -1265,7 +1265,6 @@
 .Pp
 Note also that only exported symbols will appear in symbol and map files produced by
 .Xr rgblink 1 .
-.Pp
 .Ss Purging symbols
 .Ic PURGE
 allows you to completely remove a symbol from the symbol table as if it had never existed.
@@ -1755,7 +1754,7 @@
 value will be updated by
 .Ar step
 until it reaches or exceeds
-.Ar stop.
+.Ar stop .
 For example:
 .Bd -literal -offset indent
 FOR V, 4, 25, 5
--- a/src/gbz80.7
+++ b/src/gbz80.7
@@ -28,7 +28,7 @@
 .Ed
 .Sh LEGEND
 List of abbreviations used in this document.
-.Bl -tag
+.Bl -tag -width Ds
 .It Ar r8
 Any of the 8-bit registers
 .Pq Sy A , B , C , D , E , H , L .
@@ -53,7 +53,7 @@
 .Pc .
 .It Ar cc
 Condition codes:
-.Bl -tag -compact
+.Bl -tag -width Ds -compact
 .It Sy Z
 Execute if Z is set.
 .It Sy NZ
@@ -67,10 +67,9 @@
 One of the
 .Sy RST
 vectors
-.Po Ad 0x00 , 0x08 , 0x10 , 0x18 , 0x20 , 0x28 , 0x30
+.Po Ad 0x00 , 0x08 , 0x10 , 0x18 , 0x20 , 0x28 , 0x30 ,
 and
-.Sy 0x38
-.Pc .
+.Ad 0x38 Pc .
 .El
 .Sh INSTRUCTION OVERVIEW
 .Ss 8-bit Arithmetic and Logic Instructions
@@ -1029,7 +1028,7 @@
 Flags: None affected.
 .Pp
 This is sometimes written as
-.Ql LD A,[HL+], ,
+.Ql LD A,[HL+] ,
 or
 .Ql LDI A,[HL] .
 .Ss LD SP,n16
--- a/src/rgbds.5
+++ b/src/rgbds.5
@@ -232,7 +232,7 @@
 .It Li $13 Ta Li unary ~
 .It Li $21 Ta Li && comparison
 .It Li $22 Ta Li || comparison
-.It Li $23 Ta Li unary\ !
+.It Li $23 Ta Li unary \&!
 .It Li $30 Ta Li == comparison
 .It Li $31 Ta Li != comparison
 .It Li $32 Ta Li > comparison