Snes Central: SNES OAM tests

image image image image image image image image image image image image image image
Main
Games
PCB
Archive

Chip
Archive

Cart/Box
Scans

Articles
Peripherals
Prototypes
Unreleased
Games

Rarities
Homebrew
Emulation
Links

Email: snes_central@yahoo.ca

SNES OAM tests

SNES 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.
1-random.smc
2-low.smc
3-high.smc

Download here


© Evan G. This site is made by a Canadian, and fueled by beer. Do not use material on this site without permission. This site does not use cookies.

AltStyle によって変換されたページ (->オリジナル) /