Difference between revisions of "Modules/v9990/Settings"

From MSX Game Library

< Modules‎ | v9990

(Created page with "Library configuration (<tt>msxgl_config.h</tt>): <syntaxhighlight lang="c"> // V9990 screen modes support #define V9_USE_MODE_P1 TRUE // Tile mode 0 256x212 #define V9_USE_...")
 
(No difference)

Latest revision as of 00:01, 23 September 2025

Library configuration (msxgl_config.h):

// V9990 screen modes support
#define V9_USE_MODE_P1				TRUE	// Tile mode 0 256x212
#define V9_USE_MODE_P2				TRUE	// Tile mode 1 512x212
#define V9_USE_MODE_B0				TRUE	// Bitmap mode 1 192x240 (Undocumented v9990 mode)
#define V9_USE_MODE_B1				TRUE	// Bitmap mode 1 256x212
#define V9_USE_MODE_B2				TRUE	// Bitmap mode 2 384x240
#define V9_USE_MODE_B3				TRUE	// Bitmap mode 3 512x212
#define V9_USE_MODE_B4				TRUE	// Bitmap mode 4 768x240
#define V9_USE_MODE_B5				TRUE	// Bitmap mode 5 640x400 (VGA)
#define V9_USE_MODE_B6				TRUE	// Bitmap mode 6 640x480 (VGA)
#define V9_USE_MODE_B7				TRUE	// Bitmap mode 7 1024x212 (Undocumented v9990 mode)

#define V9_INT_PROTECT				TRUE	// VRAM access protection mode against interruption
// Palette input data format
// - V9_PALETTE_YSGBR_16 .......... 16 bits RGB + Ys [Ys|G|G|G|G|G|R|R] [R|R|R|B|B|B|B|B]
// - V9_PALETTE_GBR_16 ............ 16 bits RGB      [0|G|G|G|G|G|R|R] [R|R|R|B|B|B|B|B]
// - V9_PALETTE_RGB_24 ............ 24 bits RGB      [0|0|0|R|R|R|R|R] [0|0|0|G|G|G|G|G] [0|0|0|B|B|B|B|B]
#define V9_PALETTE_MODE				V9_PALETTE_RGB_24