2 |
#define VGA_H |
#define VGA_H |
3 |
|
|
4 |
/* |
/* |
5 |
* Copyright (C) 2005 Anders Gavare. All rights reserved. |
* Copyright (C) 2005-2007 Anders Gavare. All rights reserved. |
6 |
* |
* |
7 |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
8 |
* modification, are permitted provided that the following conditions are met: |
* modification, are permitted provided that the following conditions are met: |
28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: vga.h,v 1.5 2005/05/27 14:11:58 debug Exp $ |
* $Id: vga.h,v 1.8 2006/12/30 13:31:01 debug Exp $ |
32 |
* |
* |
33 |
* VGA register definitions, used by src/devices/dev_vga.c. |
* VGA register definitions, used by src/devices/dev_vga.c. |
34 |
*/ |
*/ |
68 |
|
|
69 |
#define VGA_GRAPHCONTR_ADDR 0xE /* R/W */ |
#define VGA_GRAPHCONTR_ADDR 0xE /* R/W */ |
70 |
#define VGA_GRAPHCONTR_DATA 0xF /* R/W */ |
#define VGA_GRAPHCONTR_DATA 0xF /* R/W */ |
71 |
|
#define VGA_GRAPHCONTR_SETRESET 0 |
72 |
|
#define VGA_GRAPHCONTR_ENABLE 1 |
73 |
|
#define VGA_GRAPHCONTR_COLORCMP 2 |
74 |
|
#define VGA_GRAPHCONTR_DATAROTATE 3 |
75 |
|
#define VGA_GRAPHCONTR_READMAPSELECT 4 |
76 |
|
#define VGA_GRAPHCONTR_GRAPHICSMODE 5 |
77 |
|
#define VGA_GRAPHCONTR_MISC 6 |
78 |
|
#define VGA_GRAPHCONTR_COLORDONTCARE 7 |
79 |
#define VGA_GRAPHCONTR_MASK 8 |
#define VGA_GRAPHCONTR_MASK 8 |
80 |
|
|
81 |
#define VGA_CRTC_ADDR 0x14 /* R/W */ |
#define VGA_CRTC_ADDR 0x14 /* R/W */ |