Re: Polling loop good here???
- From: "f0dder" <f0dder_nospam@xxxxxxxxxxxxxxxx>
- Date: Sun, 28 Aug 2005 02:44:58 +0200
"Frank Kotler" <fbkotler@xxxxxxxxxxx> wrote:
> Any ideas how I might sync to bit 3 of port 0x3DA, the video card's
> vertical sync signal?
Under a single-tasking "OS" without protection (read: DOS), I would
poll - afaik there's too many video cards that don't support the
refresh IRQ, and the polling did work pretty well back then.
These days, I would use what my graphics API offers me, whether that
be DirectX, OpenGL, or one of the lower-level libraries. Timers are
pretty much out of the question.
It would probably be worth looking into how some of the existing
libraries do it; http://www.libsdl.org/index.php comes to mind.
.
- Follow-Ups:
- Re: Polling loop good here???
- From: Frank Kotler
- Re: Polling loop good here???
- From: hutch--
- Re: Polling loop good here???
- References:
- Polling loop good here???
- From: Frank Kotler
- Polling loop good here???
- Prev by Date: Polling loop good here???
- Next by Date: Re: Hutch, give it up.
- Previous by thread: Polling loop good here???
- Next by thread: Re: Polling loop good here???
- Index(es):
Relevant Pages
|