/* * (C) Copyright 1992, ..., 2005 the "DOSEMU-Development-Team". * * for details see file COPYING in the DOSEMU distribution */ /* * video/ati.c * * This file contains support for VGA-cards with an ati chip. * */ #define ATI_C #include #include #include "emu.h" /* for v_printf only */ #include "port.h" #include "video.h" #include "vc.h" #include "vga.h" #include "ati.h" /* These are ati specific functions */ unsigned char ati_extregs[]= { 0xa3, 0xa6, 0xa7, 0xab, 0xac, 0xad, 0xae, 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb8, 0xb9, 0xba, 0xbd, 0xbe, 0xbf }; #define ATI_EXTREGS sizeof(ati_extregs) void ati_save_ext_regs(u_char xregs[], u_short xregs16[]) { int i; emu_video_retrace_off(); for (i=0; i