Skip to content

Commit 935c915

Browse files
authored
Fix up Power-Up Sequence
Fix punctuation Add link to relevant section when talking about compatibility Add forgotten LCDC value for CGB/AGB
1 parent 749af14 commit 935c915

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Power_Up_Sequence.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,19 @@ For unknown reasons, however, only the first half of the logo is checked, despit
8686

8787
Finally, the boot ROM fades all BG palettes to white, and sets the hardware to compatibility mode.
8888
If [the CGB compatibility byte](<#0143 - CGB Flag>) indicates CGB compatibility, the byte is written directly to `KEY0` ($FF4C), potentially enabling PGB mode; otherwise, $04 is written to `KEY0` (enabling DMG compatibility mode in the CPU), $01 is written to [`OPRI`](<#FF6C - OPRI - CGB Mode Only - Object Priority Mode>) (enabling [DMG OBJ priority](<#Object Priority and Conflicts>)), and the [compatibility palettes](<#Compatibility palettes>) are written.
89-
Additionally, the DMG logo tilemap is written if the compatibility requests it.
89+
Additionally, the DMG logo tilemap is written [if the compatibility requests it](<#Compatibility palettes>).
9090

9191
Like all other boot ROMs, the last thing the color boot ROMs do is hand off execution at the same time as they unmap themselves, though they write $11 instead of $01 or $FF.
9292

9393
### CGB0
9494

9595
Like the DMG0 boot ROM, some early CGBs contain a different boot ROM.
96-
Unlike DMG0 and DMG, the differences between the CGB0 and CGB boot ROM, are very minor, with no change in the layout of the ROM.
96+
Unlike DMG0 and DMG, the differences between the CGB0 and CGB boot ROM are very minor, with no change in the layout of the ROM.
9797

9898
The most notable change is that the CGB0 boot ROM does *not* init [wave RAM](<#FF30-FF3F - Wave Pattern RAM>).
9999
This is known to cause, for example, a different title screen music in the game *R-Type*.
100100

101-
The CGB0 boot ROM also writes copies of other variables to some locations in WRAM that are not otherwise run from anywhere.
101+
The CGB0 boot ROM also writes copies of other variables to some locations in WRAM that are not otherwise read anywhere.
102102
It is speculated that this may be debug remnants.
103103

104104
### Compatibility palettes
@@ -299,7 +299,7 @@ Name | Address | DMG0 | DMG / MGB | SGB / SGB2 | CGB / AGB
299299
[`NR50`] | $FF24 | $77 | $77 | $77 | $77
300300
[`NR51`] | $FF25 | $F3 | $F3 | $F3 | $F3
301301
[`NR52`] | $FF26 | $F1 | $F1 | $F0 | $F1
302-
[`LCDC`] | $FF40 | $91 | $91 | $91 | $??
302+
[`LCDC`] | $FF40 | $91 | $91 | $91 | $91
303303
[`STAT`] | $FF41 | $81 | $85 | ??[^unk] | ??[^unk_pad]
304304
[`SCY`] | $FF42 | $00 | $00 | $00 | $00
305305
[`SCX`] | $FF43 | $00 | $00 | $00 | $00

0 commit comments

Comments
 (0)