summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-01-19 07:46:28 +0000
committerkato <kato@FreeBSD.org>1997-01-19 07:46:28 +0000
commit45f24bb16eb909ab1f7566fbf4a770f73f6543b5 (patch)
tree946aacf459cb40c04db51a4ef2e74d3b4eec0645 /sys/pc98
parent252a91a9ee7a9658b30f6a34d66a6eca8698e666 (diff)
downloadFreeBSD-src-45f24bb16eb909ab1f7566fbf4a770f73f6543b5.zip
FreeBSD-src-45f24bb16eb909ab1f7566fbf4a770f73f6543b5.tar.gz
Synchronize with sys/i386/isa/syscons.c revision 1.196.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/pc98/syscons.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c
index 5061b04..d4c7ed7 100644
--- a/sys/pc98/pc98/syscons.c
+++ b/sys/pc98/pc98/syscons.c
@@ -4426,9 +4426,10 @@ set_destructive_cursor(scr_stat *scp)
if ((i >= scp->cursor_start && i <= scp->cursor_end) ||
(scp->cursor_start >= scp->font_size && i == scp->font_size - 1))
cursor[i] |= 0xff;
-#if 0
- while (!(inb(crtc_addr+6) & 0x08)) /* wait for vertical retrace */ ;
-#endif
+
+ /* wait for vertical retrace to avoid jitter on some videocards */
+ while (!(inb(crtc_addr+6) & 0x08)) /* idle */ ;
+
set_font_mode();
bcopy(cursor, (char *)pa_to_va(address) + DEAD_CHAR * 32, 32);
set_normal_mode();
@@ -4596,9 +4597,8 @@ draw_mouse_image(scr_stat *scp)
scp->mouse_oldpos = scp->mouse_pos;
/* wait for vertical retrace to avoid jitter on some videocards */
-#if 0
while (!(inb(crtc_addr+6) & 0x08)) /* idle */ ;
-#endif
+
set_font_mode();
bcopy(scp->mouse_cursor, (char *)pa_to_va(address) + 0xd0 * 32, 128);
set_normal_mode();
OpenPOWER on IntegriCloud