Difference between revisions of "Modules/device/pac/Settings"
From MSX Game Library
< Modules | device/pac
(Created page with "Library configuration (<tt>msxgl_config.h</tt>): <syntaxhighlight lang="c"> // Supported driver(s) // - NTAP_DRIVER_MSXGL ............ MSXgl custom driver (based on DM-System2...") |
|||
Line 1: | Line 1: | ||
Library configuration (<tt>msxgl_config.h</tt>): | Library configuration (<tt>msxgl_config.h</tt>): | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
− | // | + | #define PAC_USE_SIGNATURE TRUE // Handle application signature to validate saved data |
− | // - | + | #define PAC_USE_VALIDATOR TRUE // Add code to validate input parameters |
− | // - | + | #define PAC_DEVICE_MAX 4 // Maximum number of supported PAC devices |
− | // - | + | // SRAM access method |
− | + | // - PAC_ACCESS_DIRECT ............ Direct access to SRAM (must be selected in page 1) | |
− | #define | + | // - PAC_ACCESS_BIOS .............. Access through BIOS routines |
+ | // - PAC_ACCESS_SWITCH_BIOS ....... Access through BIOS routines with BIOS switched in | ||
+ | // - PAC_ACCESS_SYSTEM ............ Access through MSXgl routine (no need BIOS) | ||
+ | #define PAC_ACCESS PAC_ACCESS_BIOS | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 00:03, 23 September 2025
Library configuration (msxgl_config.h):
#define PAC_USE_SIGNATURE TRUE // Handle application signature to validate saved data #define PAC_USE_VALIDATOR TRUE // Add code to validate input parameters #define PAC_DEVICE_MAX 4 // Maximum number of supported PAC devices // SRAM access method // - PAC_ACCESS_DIRECT ............ Direct access to SRAM (must be selected in page 1) // - PAC_ACCESS_BIOS .............. Access through BIOS routines // - PAC_ACCESS_SWITCH_BIOS ....... Access through BIOS routines with BIOS switched in // - PAC_ACCESS_SYSTEM ............ Access through MSXgl routine (no need BIOS) #define PAC_ACCESS PAC_ACCESS_BIOS