Skip to content

Commit 8dc19b1

Browse files
committed
Fix broken links to GBC pal regs
1 parent 87c03fa commit 8dc19b1

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

‎src/Hardware_Reg_List.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ $FFFF | [IE] | Interrupt enable
117117
[HDMA4]: <#FF53–FF54 — HDMA3, HDMA4 (CGB Mode only): VRAM DMA destination (high, low) \[write-only\]>
118118
[HDMA5]: <#FF55 — HDMA5 (CGB Mode only): VRAM DMA length/mode/start>
119119
[RP]: <#FF56 — RP (CGB Mode only): Infrared communications port>
120-
[BCPS/BGPI]: <#FF68 — BCPS/BGPI (CGB Mode only): Background color palette specification / Background palette index>
121-
[BCPD/BGPD]: <#FF69 — BCPD/BGPD (CGB Mode only): Background color palette data / Background palette data>
122-
[OCPS/OBPI]: <#FF6A–FF6B — OCPS/OBPI, OCPD/OBPD (CGB Mode only): OBJ color palette specification / OBJ palette index, OBJ color palette data / OBJ palette data>
123-
[OCPD/OBPD]: <#FF6A–FF6B — OCPS/OBPI, OCPD/OBPD (CGB Mode only): OBJ color palette specification / OBJ palette index, OBJ color palette data / OBJ palette data>
120+
[BCPS/BGPI]: <#FF68 — BGPI (CGB Mode only): Background palette index>
121+
[BCPD/BGPD]: <#FF69 — BGPD (CGB Mode only): Background palette data>
122+
[OCPS/OBPI]: <#FF6A–FF6B — OBPI, OBPD (CGB Mode only): OBJ palette index, OBJ palette data>
123+
[OCPD/OBPD]: <#FF6A–FF6B — OBPI, OBPD (CGB Mode only): OBJ palette index, OBJ palette data>
124124
[OPRI]: <#FF6C — OPRI (CGB Mode only): Object priority mode>
125125
[SVBK/WBK]: <#FF70 — SVBK/WBK (CGB Mode only): WRAM bank>
126126
[PCM12]: <#FF76 — PCM12 (CGB Mode only): Digital outputs 1 & 2 \[read-only\]>

‎src/Tile_Data.md‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# VRAM Tile Data
32

43
Tile data is stored in VRAM in the memory area at \$8000-$97FF; with each tile
@@ -8,7 +7,7 @@ this is doubled (768 tiles) because of the two VRAM banks.
87
Each tile (or character) has 8×8 pixels and has a color depth of
98
2 bits per pixel, allowing each pixel to use one of 4 colors or gray
109
shades. Tiles can be displayed as part of the Background/Window maps,
11-
and/or as objects (movable sprites). Color 0 has a special meaning
10+
and/or as objects (movable sprites). Color 0 has a special meaning
1211
in objects - it's transparent, allowing the background or other
1312
objects behind it to show through.
1413

@@ -95,7 +94,7 @@ the current palettes, except that when the tile is used in an OBJ the
9594
[color index](<#Data format>) 0 means transparent. The palettes are defined through registers
9695
[BGP](<#FF47 — BGP (Non-CGB Mode only): BG palette data>),
9796
[OBP0 and OBP1](<#FF48–FF49 — OBP0, OBP1 (Non-CGB Mode only): OBJ palette 0, 1 data>), and
98-
[BCPS/BGPI](<#FF68 — BCPS/BGPI (CGB Mode only): Background color palette specification / Background palette index>),
99-
[BCPD/BGPD](<#FF69 — BCPD/BGPD (CGB Mode only): Background color palette data / Background palette data>),
100-
[OCPS/OBPI and OCPD/OBPD](<#FF6A–FF6B — OCPS/OBPI, OCPD/OBPD (CGB Mode only): OBJ color palette specification / OBJ palette index, OBJ color palette data / OBJ palette data>)
97+
[BCPS/BGPI](<#FF68 — BGPI (CGB Mode only): Background palette index>),
98+
[BCPD/BGPD](<#FF69 — BGPD (CGB Mode only): Background palette data>),
99+
[OCPS/OBPI and OCPD/OBPD](<FF6A–FF6B — OBPI, OBPD (CGB Mode only): OBJ palette index, OBJ palette data>)
101100
(CGB Mode).

0 commit comments

Comments
 (0)