| CPU_Runtime.i | |
| libSFX zero-page variables | |
| SFX_inidisp | INIDISP shadow variable (byte) |
| SFX_nmitimen | NMITIMEN shadow variable (byte) |
| SFX_tick | Frame ticker (word) |
| SFX_joy#cont | Joypad continous read-out (word) |
| SFX_joy#trig | Joypad trigger read-out (word) |
| Interrupt handling | |
| VBL_set | Set software vblank interrupt |
| VBL_clr | Clear software vblank interrupt |
| VBL_on | Enable vblank interrupt |
| VBL_off | Disable vblank interrupt |
| IRQ_set | Set software vertical line interrupt |
| IRQ_on | Enable vertical line interrupt |
| IRQ_off | Disable vertical line interrupt |
| IRQ_suspend | Suspend vertical line interrupt |
| IRQ_release | Release suspended vertical line interrupt |
| System initialization | |
| CPU_init | Initialize CPU state |
| REG_init | Initialize PPU & CPU MMIO registers |
Joypad continous read-out (word)
If enabled with SFX_JOY, libSFX performs automatic joypad read-out and sets the 12 most significant bits in these variables to 1 continously as the corresponding joypad button is pushed.
Depending on how many joypads are enabled for automatic read-out in libSFX.cfg, SFX_joy1cont to SFX_joy4cont are available.
Bit Button 15 B 14 Y 13 Select 12 Start 11 Up 10 Down 09 Left 08 Right 07 A 06 X 05 L 04 R