Revert "Move hires colors into include file"

This reverts commit d8e0159de0.
This commit is contained in:
Peter Evans 2018-04-05 20:56:59 -05:00
parent e50af5aba9
commit 206bd86196
2 changed files with 9 additions and 9 deletions

View File

@ -4,15 +4,6 @@
#include "apple2.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_dump(apple2 *, FILE *);

View File

@ -21,6 +21,15 @@
#include "apple2.hires.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
* buffer. From there, (base + i) maps to column i in that row.