You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
power up sequence: accurately reflect which registers are available (#535)
* Fix initial register table
While the current table is technically correct, it doesn't tell *why*
those values are the way they are. This edit should mitigate that.
* Missed SVBK, correct its initial value as well
* Clarify CGB-mode regs with a new footnote
@@ -343,6 +343,8 @@ Make sure to always set those before displaying objects for the first time.
343
343
[^compat]:
344
344
These depend on whether compatibility mode is enabled.
345
345
346
+
[^cgb_only]: These registers are only available in CGB Mode, and will read \$FF in Non-CGB Mode.
347
+
346
348
The table above was obtained from Mooneye-GB tests [`acceptance/boot_hwio-dmg0`](https://github.com/Gekkio/mooneye-gb/blob/ca7ff30b52fd3de4f1527397f27a729ffd848dfa/tests/acceptance/boot_hwio-dmg0.s), [`acceptance/boot_hwio-dmgABCmgb`](https://github.com/Gekkio/mooneye-gb/blob/ca7ff30b52fd3de4f1527397f27a729ffd848dfa/tests/acceptance/boot_hwio-dmgABCmgb.s), [`acceptance/boot_hwio-S`](https://github.com/Gekkio/mooneye-gb/blob/ca7ff30b52fd3de4f1527397f27a729ffd848dfa/tests/acceptance/boot_hwio-S.s), and [`misc/boot_hwio-C`](https://github.com/Gekkio/mooneye-gb/blob/ca7ff30b52fd3de4f1527397f27a729ffd848dfa/tests/misc/boot_hwio-C.s), plus some extra testing.
0 commit comments