1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-12-21 08:30:55 +00:00

Move hires colors into include file

This commit is contained in:
Peter Evans 2018-04-04 22:01:26 -05:00
parent c178e417b7
commit d8e0159de0
2 changed files with 9 additions and 9 deletions

View File

@ -4,6 +4,15 @@
#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,15 +21,6 @@
#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.