mirror of
https://github.com/pevans/erc-c.git
synced 2025-07-16 08:24:03 +00:00
Move hires colors into include file
This commit is contained in:
@@ -4,6 +4,15 @@
|
|||||||
#include "apple2.h"
|
#include "apple2.h"
|
||||||
#include "vm_bits.h"
|
#include "vm_bits.h"
|
||||||
|
|
||||||
|
enum hires_color {
|
||||||
|
HIRES_GREEN,
|
||||||
|
HIRES_PURPLE,
|
||||||
|
HIRES_ORANGE,
|
||||||
|
HIRES_BLUE,
|
||||||
|
HIRES_BLACK,
|
||||||
|
HIRES_WHITE,
|
||||||
|
};
|
||||||
|
|
||||||
extern void apple2_hires_draw(apple2 *, int);
|
extern void apple2_hires_draw(apple2 *, int);
|
||||||
extern void apple2_hires_dump(apple2 *, FILE *);
|
extern void apple2_hires_dump(apple2 *, FILE *);
|
||||||
|
|
||||||
|
@@ -21,15 +21,6 @@
|
|||||||
#include "apple2.hires.h"
|
#include "apple2.hires.h"
|
||||||
#include "apple2.text.h"
|
#include "apple2.text.h"
|
||||||
|
|
||||||
enum hires_color {
|
|
||||||
HIRES_GREEN,
|
|
||||||
HIRES_PURPLE,
|
|
||||||
HIRES_ORANGE,
|
|
||||||
HIRES_BLUE,
|
|
||||||
HIRES_BLACK,
|
|
||||||
HIRES_WHITE,
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This table maps a row number to a base address in the hires graphics
|
* This table maps a row number to a base address in the hires graphics
|
||||||
* buffer. From there, (base + i) maps to column i in that row.
|
* buffer. From there, (base + i) maps to column i in that row.
|
||||||
|
Reference in New Issue
Block a user