Email: snes_central@yahoo.ca
SNES OAM testsSNES OAM tests
This is three programs to test OAM (Object Attribute Memory)
By:
Evan G
Last updated: June 24, 2017
Three programs to test OAM (object attribute memory). This defines the sprites in memory. Presumably written by blargg. There is source code and a readme.
Tests pass on original and mini SNES units. Asm uses the following: mov addr, #immediate lda #immediate sta addr movw addr,#immediate lda #immediate sta addr+1 set_test code, text Saves code and text for printing if test fails. Jcc addr Like Bcc, but can jump anywhere if condition holds. test_failed Reports failure and prints most recent set_test code and text. check_oam addr, data Verifies that OAM matches data, starting at addr.