linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* waitretrace available?
@ 2003-01-11 11:21 Xanthakis Stelios
  2003-01-11 11:57 ` Antonino Daplas
  0 siblings, 1 reply; 2+ messages in thread
From: Xanthakis Stelios @ 2003-01-11 11:21 UTC (permalink / raw)
  To: linux-fbdev-devel


Is there WAITRETRACE available in fb?

It seems that there used to be because svgalib sais:

	static void fbdev_waitretrace(void)
	{
		/* This is from SDL */
	#ifdef FBIOWAITRETRACE
		ioctl(console_fd, FBIOWAITRETRACE, 0);
	#endif
	}

But I can't find such a value in the headers.
Seems like WAITRETRACE call is implemented in svga by:

	while (!(inb(0x3da) & 8));
	while (inb(0x3da) & 8);


*I know very little on how video hardware works*

The goal is to attempt some smooth scrolling. 
Back in the MS-DOS days there used to be a program
called smooth editor which was amazing (so amazing that
I used to do Page up/Down all the time w/o doing
any work). I was thinking if I could have some similar
smooth scrolling in my linux fb console.

I recall that smooth editor explained that smooth scrolling
was achieved by "synchronizing with the video refresh"
(horizontal?, vertical? I don't remember). That's retrace yes?

So, can we by some way do waitretrace at each \n?
Should this be userland or kernelland?


stelios




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-11 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-11 11:21 waitretrace available? Xanthakis Stelios
2003-01-11 11:57 ` Antonino Daplas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).