-
Notifications
You must be signed in to change notification settings - Fork 0
DIV Test
Optix edited this page Jan 30, 2021
·
1 revision
Source File: /src/tests/divtest.asm
Compatible with: All Models
This test verifies the initial value of the DIV register (after a certain period of time it takes the testing framework to boot). The instruction at the TestDIV label loads the current DIV status into a register to compare it against the expected value, which is as follows:
-
DMG/MGB:
$AD(Except DMG-0 bootrom) -
CGB/AGS/AGB:
$1F(Except CGB-0 bootrom) -
SGB/SGB2:
$D9
-
Invalid initial DIV- The read DIV value does not match up with the expected value (as shown in the list above)