Difference between revisions of "Modules/print"
From MSX Game Library
< Modules
(→Settings) |
|||
Line 22: | Line 22: | ||
#define PRINT_USE_32B TRUE // Allow to print 32-bits integers | #define PRINT_USE_32B TRUE // Allow to print 32-bits integers | ||
#define PRINT_SKIP_SPACE FALSE // Skill space character | #define PRINT_SKIP_SPACE FALSE // Skill space character | ||
− | #define PRINT_COLOR_NUM 12 | + | #define PRINT_COLOR_NUM 12 // 1 color per line |
// Character width | // Character width | ||
// - PRINT_WIDTH_1 (text mode) | // - PRINT_WIDTH_1 (text mode) |
Revision as of 23:53, 27 December 2022
The print module allow to use het BIOS routines.
Note: No other modules have dependency on this module, thus all the library is BIOS 'free' and can be use without the BIOS ROM selected in page 0.
Dependencies
- None
Settings
// Print module setting #define PRINT_USE_TEXT TRUE // Allow use of Text font (T1-T2, G1-G3) #define PRINT_USE_BITMAP FALSE // Allow use of Bitmap font (G4-G7) #define PRINT_USE_VRAM FALSE // Allow use of VRAM stored font (G4-G7) #define PRINT_USE_SPRITE FALSE // Allow use of Sprite font (G3-G7) #define PRINT_USE_FX_SHADOW FALSE // [Bitmap] Allow use of text shadow #define PRINT_USE_FX_OUTLINE FALSE // [Bitmap] Allow use of text outline #define PRINT_USE_2_PASS_FX FALSE // [Bitmap] Allow use 2-pass FX render to prevent character overlap #define PRINT_USE_GRAPH TRUE // Allow use of character lines and boxes #define PRINT_USE_VALIDATOR TRUE // Add validator character code #define PRINT_USE_UNIT FALSE // Display integer type (h: hexadecimal, b: binary) #define PRINT_USE_FORMAT TRUE // Add printf type function #define PRINT_USE_32B TRUE // Allow to print 32-bits integers #define PRINT_SKIP_SPACE FALSE // Skill space character #define PRINT_COLOR_NUM 12 // 1 color per line // Character width // - PRINT_WIDTH_1 (text mode) // - PRINT_WIDTH_6 // - PRINT_WIDTH_8 // - PRINT_WIDTH_X (variable) #define PRINT_WIDTH PRINT_WIDTH_1 // Character height // - PRINT_HEIGHT_1 (text mode) // - PRINT_HEIGHT_8 // - PRINT_HEIGHT_X (variable) #define PRINT_HEIGHT PRINT_HEIGHT_1
Usage
Annexe
Documentation