Skip to content

wer 0.26.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 12:23

Accuracy

wer now passes every test of the GB Emulator Shootout's set, 261 of 261, as it runs out of the box (boot ROM on), measured with the shootout's own test ROMs, reference pictures and comparison. (wer isn't in its table yet.) What it took:

  • STOP on a Color Game Boy: the PPU keeps running while the rest stops, but it can't read VRAM, OAM or the palettes, so the screen goes black, unless STOP came in mode 3, when the picture stays as it was (daid's stop_instr tests).
  • MBC3 clock: any single write to $6000-$7FFF latches the clock, not only $00 then $01; with the clock, the RAM bank register is 4 bits and banks $04-$07 and $0D-$0F map to nothing (CasualPokePlayer's hardware research).
  • Super Game Boy packets: a bit is read when P1 returns to $30, by the line that was low last; both lines low restarts the packet anywhere; the stop bit isn't checked (CasualPokePlayer's sgb-ext-test).
  • Boot ROM handoff: wer's own boot ROMs (its logo and chime, no Nintendo code) now hand the game exactly the machine Nintendo's do (timer, where the screen is in its frame, sound, registers, the logo's tiles in VRAM), so everything passes with the boot ROM as it does without it. On a Color Game Boy a DMG game keeps the colours the boot ROM picked.

The Color Game Boy is now a CPU CGB E

--mode=cgb, CGB (E) in the menu, and Color-only games started in another mode now run on a CPU CGB E, the last revision (as SameBoy does). The CGB C that was the default is --mode=cgb-c or CGB (C) in the menu. A few timing details differ between the two (some sound and PPU edge cases); games almost never notice. A mode = cgb in wer.conf now means E.

Also

  • Test results otherwise unchanged: Gambatte 5225/5225, Mooneye, SameSuite, AGE, Mealybug (on the revisions their screenshots are of), Blargg and the rest. Save states from 0.10.1 and later still load.

Downloads

Platform File
Web browsers wer-0.26.0-web.zip, or play at https://8lall0.github.io/wer/
Linux x86-64 wer-0.26.0-linux-x86_64
Windows x64 wer-0.26.0-windows-x64.zip
macOS, Apple silicon (11 or newer) wer-0.26.0-macos-arm64.zip (not notarized: right-click > Open the first time)