mirror of https://github.com/nmlgc/ReC98.git
20 lines
435 B
C
20 lines
435 B
C
|
/* ReC98
|
||
|
* -----
|
||
|
* Some useful PC-98 hardware constants
|
||
|
*/
|
||
|
|
||
|
// VRAM planes
|
||
|
// -----------
|
||
|
typedef enum {
|
||
|
PL_B, PL_R, PL_G, PL_E, PL_COUNT
|
||
|
} vram_plane_t;
|
||
|
|
||
|
// Since array subscripts create slightly different assembly in places, we
|
||
|
// offer both variants.
|
||
|
extern char *VRAM_PLANE[PL_COUNT];
|
||
|
extern char *VRAM_PLANE_B;
|
||
|
extern char *VRAM_PLANE_G;
|
||
|
extern char *VRAM_PLANE_R;
|
||
|
extern char *VRAM_PLANE_E;
|
||
|
// -----------
|