Skip to content

Commit

Permalink
add scribbltests howto
Browse files Browse the repository at this point in the history
  • Loading branch information
c-sp committed Feb 25, 2024
1 parent 1785c55 commit 39d023f
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/howto/scribbltests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Scribbltests

[Scribbltests](https://github.com/Hacktix/scribbltests)
are actually compiled with [RGBDS](https://github.com/gbdev/rgbds).
However, as the binaries are already part of the repository,
we just use them.

## Game Boy Devices & SoC Revisions

All test roms have been verified on
[MGB 9638 D](https://gbhwdb.gekkio.fi/consoles/mgb) and
[CPU CGB D](https://gbhwdb.gekkio.fi/consoles/cgb) by their author.

## Exit Condition

Running for around 10 frames should be enough for most tests.
The only exception is `statcount_auto` which should be run for around 270 frames
or 4.5 seconds (emulated time).

## Test Success/Failure

Test success/failure can be determined by
[screenshot](https://github.com/c-sp/gameboy-test-roms/tree/master/src/scribbltests/)
comparison.
Note that there are no screenshots for `failrylake` and `winpos` at the moment.

To create comparable screenshots,
your emulator should calculate colors as follows:

- `#000000`, `#555555`, `#AAAAAA` and `#FFFFFF` are used for the four DMG LCD
shades
- LCD shades for CGB compatibility mode are:
- background: `#000000`, `#0063C6`, `#7BFF31` and `#FFFFFF`
- objects: `#000000`, `#943939`, `#FF8484` and `#FFFFFF`

0 comments on commit 39d023f

Please sign in to comment.