Software › SH-4 XOR Plaid (homebrew demo)
SH-4 XOR Plaid (homebrew demo)
demo Open · freely redistributable
A tiny SH-4 assembly demo written for this page (CC0 / public domain, emulators.org). It loops over a 320x240 RGB565 framebuffer at 0x0C010000 writing an animated XOR-texture plaid, advances a frame counter each screen, and reads the controller latch at 0x0C00FF00 so held buttons visibly shift the colours. It exercises MOV/XOR/OR/ADD, the SHLL8 shift, unsigned CMP/HS compares, conditional BF branches and a delayed BRA — a clean, guaranteed-non-black SH-4 debugger target.
Format: SH-4 machine code, 72 bytes · By: emulators.org · Licence: CC0 / public domain