Mercurial > hg > dmlib
comparison tools/lib64gfx.h @ 2119:3c7c45715a49
Define a default DM_DEF_CHARGEN if not #defined before.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 26 May 2019 18:33:06 +0300 |
parents | 05a6e00b09d0 |
children | 88d37ec1b4d6 |
comparison
equal
deleted
inserted
replaced
2118:05a6e00b09d0 | 2119:3c7c45715a49 |
---|---|
15 #ifdef __cplusplus | 15 #ifdef __cplusplus |
16 extern "C" { | 16 extern "C" { |
17 #endif | 17 #endif |
18 | 18 |
19 | 19 |
20 // Define default character ROM path | |
21 #ifndef DM_DEF_CHARGEN | |
22 #define DM_DEF_CHARGEN "/usr/local/lib64/vice/C64/chargen" | |
23 #endif | |
24 | |
25 | |
20 // Bitmap constants | 26 // Bitmap constants |
21 #define C64_SCR_WIDTH 320 | 27 #define C64_SCR_WIDTH 320 |
22 #define C64_SCR_HEIGHT 200 | 28 #define C64_SCR_HEIGHT 200 |
23 #define C64_SCR_CH_WIDTH (C64_SCR_WIDTH/8) | 29 #define C64_SCR_CH_WIDTH (C64_SCR_WIDTH/8) |
24 #define C64_SCR_CH_HEIGHT (C64_SCR_HEIGHT/8) | 30 #define C64_SCR_CH_HEIGHT (C64_SCR_HEIGHT/8) |