Skip to main content

Module example

Module example 

Source
Expand description

The routines of example_music_rom’s program, for the tests and docs that drive it.

Constants§

BODY
BODY, the NMI’s per-frame work, which calls PLAY.
INIT
INIT (reset calls it with A = 0).
LOOP
The main loop the reset code falls into (JSR IDLE; JMP LOOP), which is also the IRQ vector’s target.
NMI
The NMI handler.
PLAY
PLAY, the driver.