Scrap PC98 support.
[dragonfly.git] / sys / dev / misc / syscons / snake / snake_saver.c
index 01bad5d..3bc14f8 100644 (file)
@@ -26,7 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/modules/syscons/snake/snake_saver.c,v 1.26.2.2 2001/05/06 05:44:29 nyan Exp $
- * $DragonFly: src/sys/dev/misc/syscons/snake/snake_saver.c,v 1.3 2003/08/15 08:32:30 dillon Exp $
+ * $DragonFly: src/sys/dev/misc/syscons/snake/snake_saver.c,v 1.4 2005/02/13 03:02:26 swildner Exp $
  */
 
 #include <sys/param.h>
 #include <dev/video/fb/splashreg.h>
 #include "../syscons.h"
 
-#ifdef PC98
-#include <pc98/pc98/pc98_machdep.h>
-#endif
-
 static u_char  *message;
 static int     *messagep;
 static int     messagelen;
@@ -74,13 +70,6 @@ snake_saver(video_adapter_t *adp, int blank)
                if (adp->va_info.vi_flags & V_INFO_GRAPHICS)
                        return EAGAIN;
                if (blanked <= 0) {
-#ifdef PC98
-                       if (epson_machine_id == 0x20) {
-                               outb(0x43f, 0x42);
-                               outb(0x0c17, inb(0xc17) & ~0x08);
-                               outb(0x43f, 0x40);
-                       }
-#endif /* PC98 */
                        sc_vtb_clear(&scp->scr, sc->scr_map[0x20],
                                     (FG_LIGHTGREY | BG_BLACK) << 8);
                        (*vidsw[adp->va_index]->set_hw_cursor)(adp, -1, -1);
@@ -114,17 +103,9 @@ snake_saver(video_adapter_t *adp, int blank)
                for (f=messagelen-1; f>=0; f--)
                        sc_vtb_putc(&scp->scr, savs[f], sc->scr_map[save[f]],
                                    (FG_LIGHTGREY | BG_BLACK) << 8);
-       }
-       else {
-#ifdef PC98
-               if (epson_machine_id == 0x20) {
-                       outb(0x43f, 0x42);
-                       outb(0x0c17, inb(0xc17) | 0x08);
-                       outb(0x43f, 0x40);
-               }
-#endif /* PC98 */
+       } else
                blanked = 0;
-       }
+
        return 0;
 }