diff options
author | sos <sos@FreeBSD.org> | 1997-08-08 22:52:30 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1997-08-08 22:52:30 +0000 |
commit | 56b351207af0157d77bdd770e72c7ff038d57164 (patch) | |
tree | 9add140df9539a04aebbbb10384eb0963df2af29 /sys/alpha/include/console.h | |
parent | ac5704714e9f1277cbc7a089c96c2c407ad1cbdd (diff) | |
download | FreeBSD-src-56b351207af0157d77bdd770e72c7ff038d57164.zip FreeBSD-src-56b351207af0157d77bdd770e72c7ff038d57164.tar.gz |
Yeah I'm back hacking syscons !!
Add support for MODEX 320x240x256color with "unchained" adressing, giving
access to all 256K on all VGA's, those with that much memory that is :)
Also make sysmouse use the right resolution in graphics modes.
Diffstat (limited to 'sys/alpha/include/console.h')
-rw-r--r-- | sys/alpha/include/console.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/alpha/include/console.h b/sys/alpha/include/console.h index 6abf63e..0dcd14c 100644 --- a/sys/alpha/include/console.h +++ b/sys/alpha/include/console.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: console.h,v 1.29 1997/02/22 09:34:02 peter Exp $ */ #ifndef _MACHINE_CONSOLE_H_ @@ -312,6 +312,8 @@ typedef struct ssaver ssaver_t; #define M_VGA_M80x30 33 /* vga 8x16 font on color */ #define M_VGA_C80x60 34 /* vga 8x8 font on color */ #define M_VGA_M80x60 35 /* vga 8x8 font on color */ +#define M_VGA_CG640 36 /* vga 640x400 256 color */ +#define M_VGA_MODEX 37 /* vga 320x240 256 color */ #define M_ENH_B80x43 0x70 /* ega black & white 80x43 */ #define M_ENH_C80x43 0x71 /* ega color 80x43 */ @@ -360,6 +362,8 @@ typedef struct ssaver ssaver_t; #define SW_CG640x480 _IO('S', M_VGA12) #define SW_VGA13 _IO('S', M_VGA13) #define SW_VGA_CG320 _IO('S', M_VGA13) +#define SW_VGA_CG640 _IO('S', M_VGA_CG640) +#define SW_VGA_MODEX _IO('S', M_VGA_MODEX) #endif /* PC98 */ #endif /* !_MACHINE_CONSOLE_H_ */ |