libSFX.cfg | |
About | This optional file is used to override the default ROM configuration and some library features. |
ROM Header | |
ROM_TITLE | ROM title |
ROM_MAPMODE | ROM map mode (4 bits) |
ROM_SPEED | ROM speed (1 bit) |
ROM_CHIPSET | Chipset (2 bytes) |
ROM_ROMSIZE | ROM size (1 byte) |
ROM_RAMSIZE | RAM size (1 byte) |
ROM_EXPRAMSIZE | Expansion RAM size (1 byte) |
ROM_GAMECODE | Game code (4 chars) |
ROM_MAKERCODE | Maker code (2 chars) |
ROM_VERSION | Software minor version (1 byte) |
ROM_COUNTRY | Country code (1 byte) |
libSFX Settings | |
SFX_JOY | Automatic joypad read-out |
SFX_AUTO_READOUT_FIRST | Joypad read-out ordering |
SFX_AUTO_READOUT | Fully disable automatic read-out |
This optional file is used to override the default ROM configuration and some library features.
If libSFX.cfg is not found in the same directory as the Makefile, the default configuration file is included from $(libsfx_dir)/Configurations/libSFX.cfg. Any setting not defined will fall back to the default.
Automatic joypad read-out
Bitwise OR each joypad to be read: JOY1 | JOY2 | JOY3 | JOY4 Disable by setting SFX_JOY to DISABLE. To disable all automatic joypad/serial port read-out set SFX_AUTO_READOUT to DISABLE. Read joypad bits from zero-page locations (16 bits each)∶ * SFX_joy1trig * SFX_joy1cont * SFX_joy2trig * SFX_joy2cont ..etc *trig = bits are on during one frame when buttons are triggered *cont = bits are held continously as long as buttons are pushed
More info at SFX_joy#cont
SFX_JOY = JOY1 | JOY2
Joypad read-out ordering
Perform joypad read-out before or after calling soft NMI.
Note that while YES decreases joypad latency by one frame, it will incur a longer wait state within the NMI handler.
SFX_AUTO_READOUT_FIRST = NO