Skip to content

Commit 8aad64e

Browse files
committed
Fix some incorrect link markup
1 parent 3b5afae commit 8aad64e

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

src/HuC1.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Address range | Feature
1414
$6000–7FFF | Nothing?
1515
$A000–BFFF | Cart RAM or IR register
1616

17-
### 0000–1FFF — IR Select [write-only]
17+
### 0000–1FFF — IR Select \[write-only\]
1818

1919
Most MBCs can disable the cartridge RAM to prevent accidental writes.
2020
HuC1 doesn’t do this. Instead, this register swtiches the $A000–BFFF
@@ -24,21 +24,21 @@ switch to IR mode, or anything else to switch to RAM mode.
2424
Some HuC1 games still write $0A and $00 to this region as if it would
2525
enable/disable cart RAM.
2626

27-
### 2000–3FFF — ROM Bank Number [write-only]
27+
### 2000–3FFF — ROM Bank Number \[write-only\]
2828

2929
HuC1 can accept a bank number of at least 6 bits here.
3030

31-
### 4000–5FFF — RAM Bank Select [write-only]
31+
### 4000–5FFF — RAM Bank Select \[write-only\]
3232

3333
HuC1 can accept a bank number of at least 2 bits here.
3434

35-
### 6000–7FFF — Nothing? [write-only]
35+
### 6000–7FFF — Nothing? \[write-only\]
3636

3737
Writes to this region seem to have no effect. Even so, some games do
3838
write to this region, as if it had the same effect as on MBC1. You may
3939
safely ignore these writes.
4040

41-
### A000–BFFF — Cart RAM or IR register [read/write]
41+
### A000–BFFF — Cart RAM or IR register \[read/write\]
4242

4343
When in “IR mode” (wrote $0E to $0000), the IR register is visible
4444
here. Write to this region to control the IR transmitter. $01 turns it

src/HuC3.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@ microcontroller core with internal program ROM.
1111

1212
## Memory
1313

14-
### 0000–3FFF — ROM Bank 00 [read-only]
14+
### 0000–3FFF — ROM Bank 00 \[read-only\]
1515

1616
Contains the first 16 KiB of the ROM.
1717

18-
### 4000–7FFF — ROM Bank 00–7F [read-only]
18+
### 4000–7FFF — ROM Bank 00–7F \[read-only\]
1919

2020
This area may contain any of the further 16 KiB banks of the ROM. Like the MBC5,
2121
bank $00 can also be mapped to this region.
2222

23-
### A000–BFFF — RAM Bank 00–03, or RTC/IR register [read/write]
23+
### A000–BFFF — RAM Bank 00–03, or RTC/IR register \[read/write\]
2424

2525
Depending on the current register selection and RAM Bank Number (see
2626
below), this memory space is used to access an 8 KiB external RAM Bank,
2727
or a single I/O Register.
2828

2929
## Memory Control Registers
3030

31-
### 0000–1FFF — RAM/RTC/IR Select [read/write]
31+
### 0000–1FFF — RAM/RTC/IR Select \[read/write\]
3232

3333
Writing to this register maps cart RAM, RTC registers or IR registers
3434
into memory at $A000–BFFF. Only the lower 4 bits are significant.
@@ -70,27 +70,27 @@ ignored.
7070

7171
The RTC MCU communication protocol is described below.
7272

73-
### $B — RTC Command/Argument [write]
73+
### $B — RTC Command/Argument \[write\]
7474

7575
The value written consists of a command in bits 6-4, and an argument
7676
value in bits 3–0. For example the value $62 is command $6 with argument
7777
value $2. Writing to this register just sets the values in the mailbox
7878
registers – it does not cause the command to be executed.
7979

80-
### $C — RTC Command/Response [read]
80+
### $C — RTC Command/Response \[read\]
8181

8282
When read, bits 6–4 return the last command written to register $B, and
8383
bits 3–0 contain the result from the last command executed.
8484

85-
### $D — RTC Semaphore [read/write]
85+
### $D — RTC Semaphore \[read/write\]
8686

8787
When reading, the least significant bit is high when the RTC MCU is
8888
ready to receive a command, or low when the RTC MCU is busy.
8989

9090
Writing with the least significant bit clear requests that the RTC MCU
9191
execute the last command written to register $B.
9292

93-
### $E — IR [read/write]
93+
### $E — IR \[read/write\]
9494

9595
Similar to the equivalent register of the HuC1. The least significant
9696
bit is used for infrared communication.

src/MMM01.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ On startup (in "unmapped" mode), this is mapped to the first half of the menu pr
3636

3737
When a game is mapped, this area normally contains the first 16 KiB (bank 00) of the game ROM.
3838

39-
If [multiplex is enabled[(<#Multiplex Enable>)], entering mode 1 allows mapping game ROM banks $20, $40, and $60 to this region.
39+
If [multiplex is enabled](<#Multiplex Enable>), entering mode 1 allows mapping game ROM banks $20, $40, and $60 to this region.
4040

4141
#### Addressing diagrams
4242

@@ -75,7 +75,7 @@ i.e. in mapped mode, if `(ROM Bank Low) & ~(ROM Bank Mask)` is equal to $00 (ind
7575
As an example, if ROM Bank Low is set to $10, and the ROM Bank Mask is set to $30, then the bank within the game ROM would be `($10) & ~($30) = $00`.
7676
As game bank $00 is disallowed, the low bit is forced on, mapping bank $11 instead of $10.
7777

78-
If [multiplex is enabled[(<#Multiplex Enable>)], the MMM01 has the same limitation as MBC1 regarding accessing game ROM banks $20, $40, and $60 - they can only be mapped to 0000-3FFF (in mode 1), and not to 4000-7FFF.
78+
If [multiplex is enabled](<#Multiplex Enable>), the MMM01 has the same limitation as MBC1 regarding accessing game ROM banks $20, $40, and $60 - they can only be mapped to 0000-3FFF (in mode 1), and not to 4000-7FFF.
7979

8080
#### Addressing diagrams
8181

@@ -180,7 +180,7 @@ Setting these bits effectively reduces the size of the ram available to the game
180180
| 10 | 16 KiB |
181181
| 11 | 8 KiB |
182182

183-
If [multiplex is enabled[(<#Multiplex Enable>)], this mask still applies to the RAM Bank Low register, even though that register is used as part of the **ROM** bank number in multiplex mode.
183+
If [multiplex is enabled](<#Multiplex Enable>), this mask still applies to the RAM Bank Low register, even though that register is used as part of the **ROM** bank number in multiplex mode.
184184
This has the effect of reducing the ROM size instead of the RAM size, as follows:
185185

186186
| Mask | Game ROM |
@@ -225,7 +225,7 @@ This register represents an additional two bits of ROM bank number, for game sel
225225
Affects both the 0000-3FFF and 4000-7FFF region.
226226
Can only be used for game selection, as it's not writeable once entering a game (mapped mode).
227227

228-
If [multiplex is enabled[(<#Multiplex Enable>)], functionality is swapped with [RAM Bank Low](<#Bits 0-1: RAM Bank Low>) allowing for larger game ROM.
228+
If [multiplex is enabled](<#Multiplex Enable>), functionality is swapped with [RAM Bank Low](<#Bits 0-1: RAM Bank Low>) allowing for larger game ROM.
229229

230230
### 4000-5FFF - RAM Bank Number (Write Only)
231231

@@ -243,7 +243,7 @@ Bits: X 6 5 4 3 2 1 0
243243
This is equivalent to the MBC1 RAM Bank register.
244244
It can be masked to reduce its size, reserving some bits for game select (see [RAM Bank Mask](<#Bits 4-5: RAM Bank Mask>)).
245245

246-
If [multiplex is enabled[(<#Multiplex Enable>)], functionality is swapped with [ROM Bank Mid](<#Bits 5-6: ROM Bank Mid>) allowing for larger game ROM.
246+
If [multiplex is enabled](<#Multiplex Enable>), functionality is swapped with [ROM Bank Mid](<#Bits 5-6: ROM Bank Mid>) allowing for larger game ROM.
247247

248248
#### Bits 1-2: RAM Bank High
249249

@@ -330,7 +330,7 @@ Note: changing the mask can alter which bank would be mapped.
330330
Only the _unmasked_ bits of [ROM Bank Low](<#Bits 0-4: ROM Bank Low>) are used for the "[attempting to map bank 0 maps bank 1](<#4000-7FFF - ROM Bank $01-7F (Read Only)>)" logic, and it updates live if the ROM Bank Mask changes.
331331
ROM Bank Low itself doesn't change when this happens — only the value used for calculating the bank number.
332332

333-
If [multiplex is enabled[(<#Multiplex Enable>)], the [RAM Bank Mask](<#Bits 4-5: RAM Bank Mask>) affects ROM banking as well.
333+
If [multiplex is enabled](<#Multiplex Enable>), the [RAM Bank Mask](<#Bits 4-5: RAM Bank Mask>) affects ROM banking as well.
334334
In this case the ROM Bank Mask should be set to 00000 to avoid masking bits in the _middle_ of the full game ROM bank number.
335335

336336
#### Multiplex Enable
@@ -344,7 +344,7 @@ This is equivalent to the ["large ROM" wiring of an MBC1 cartridge](#MBC1).
344344

345345
## Multiplex addressing diagrams
346346

347-
If [multiplex is enabled[(<#Multiplex Enable>)], the addressing diagrams change as follows (changes marked with `*`):
347+
If [multiplex is enabled](<#Multiplex Enable>), the addressing diagrams change as follows (changes marked with `*`):
348348

349349
### 0000-3FFF - ROM Bank X0
350350

0 commit comments

Comments
 (0)