diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-07-21 13:04:54 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-07-21 13:04:54 +0000 |
| commit | 720cdc05bbce2df0c153c91812b0850e3d61b260 (patch) | |
| tree | 54cf9d9ea781d1ffe2fd1ccbdbdbbb81db87a567 /sys/dev/syscons/dragon | |
| parent | 6b6ee1e771d0ba5e755f61c50fabfe1a06e012cf (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons/dragon')
| -rw-r--r-- | sys/dev/syscons/dragon/dragon_saver.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/dev/syscons/dragon/dragon_saver.c b/sys/dev/syscons/dragon/dragon_saver.c index f157e9c79d32d..f8fa51b5e08bd 100644 --- a/sys/dev/syscons/dragon/dragon_saver.c +++ b/sys/dev/syscons/dragon/dragon_saver.c @@ -122,24 +122,6 @@ gdraw(int dx, int dy, int val) } static void -gcls(void) -{ -#ifdef PC98 - outb(0x7c, 0x80); /* GRCG on & TDW mode */ - outb(0x7e, 0); /* tile B */ - outb(0x7e, 0); /* tile R */ - outb(0x7e, 0); /* tile G */ - outb(0x7e, 0); /* tile I */ - - fillw(0, vid, 0x8000); - - outb(0x7c, 0); /* GRCG off */ -#else - bzero(vid, SCRW*SCRH); -#endif -} - -static void dragon_update(video_adapter_t *adp) { static int i, p, q; @@ -153,7 +135,7 @@ dragon_update(video_adapter_t *adp) int tmp; if (curve > CURVE) { - gcls(); + (*vidsw[adp->va_index]->clear)(adp); /* set palette of each curves */ for (tmp = 0; tmp < 3*CURVE; ++tmp) { |
