Skip to content

Commit

Permalink
move int10 mode flags into header
Browse files Browse the repository at this point in the history
  • Loading branch information
joncampbell123 committed Jan 21, 2015
1 parent 0e7aa38 commit 623f5b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions src/ints/int10.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,13 @@ typedef struct {
bool vesa_oldvbe;
} Int10Data;

#define _EGA_HALF_CLOCK 0x0001
#define _DOUBLESCAN 0x0002
#define _VGA_PIXEL_DOUBLE 0x0004
#define _S3_PIXEL_DOUBLE 0x0008
#define _REPEAT1 0x0010
#define _CGA_SYNCDOUBLE 0x0020

extern Int10Data int10;

static inline Bit8u CURSOR_POS_COL(Bit8u page) {
Expand Down
7 changes: 0 additions & 7 deletions src/ints/int10_modes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@
#include "vga.h"
#include "bios.h"

#define _EGA_HALF_CLOCK 0x0001
#define _DOUBLESCAN 0x0002
#define _VGA_PIXEL_DOUBLE 0x0004
#define _S3_PIXEL_DOUBLE 0x0008
#define _REPEAT1 0x0010
#define _CGA_SYNCDOUBLE 0x0020

#define SEQ_REGS 0x05
#define GFX_REGS 0x09
#define ATT_REGS 0x15
Expand Down

0 comments on commit 623f5b0

Please sign in to comment.