Article View: comp.sys.amiga.tech
Article #9327WaitTOF in interlace mode
From: Lance Franklin
Date: Wed, 20 Jul 1988 06:25
Date: Wed, 20 Jul 1988 06:25
41 lines
2642 bytes
2642 bytes
Since I got such great response to earlier questions, I thought I'd try
another thats been bothering me for quite a while...I tried it a few months
ago and never got an answer that satisfied me.
When running a window on a screen that's interlaced, is there any way, in
a non-hardware-specific, intuition-friendly way to tell whether you're
starting an even or odd scan when you return from a call to WaitTOF. I've
done a little text file reader a-la Less that does a smooth scroll, but it
always looks a bit funny in interlace mode, since the blit that I do to
scroll the raster tends to "catch up" to the current scan position when
in interlace mode (or maybe not...I haven't fully analyzed why the effect
happens...it's kind of a "ripple" in the screen...but I wanted to see if
only doing the update on the even scans helps...it appears to help sometimes
if I wait TWO WaitTOF's between blits). I thought about double buffering,
but I don't want to wast the memory on two bit planes. Right now, I open
a CUSTOMBITMAP window with two planes on the WorkBench, then allocate a
bitmap with a single plane with it's address replicated in both plane pointers
in the RastPort.Bitmap structure. This allows me to have four color gadgets
in the frame, but faster blits (thru a second RastPort structure pointing to
the same single plane). Until we get to the point where we can open windows
with a different number of planes on the border and the interior, it'll do.
Oh yeah, two more little questions...
#1: Is there any way to have proportional gadgets rendered in anything
other than the windows Detail and Block pen?
#2: Is there any way to get String Gadgets to use anything but the
screen's default font...get's a bit annoying when somebody
replaces the WorkBenchs default font to an 11 point font.
Thanks.....Lance
"It's a Man's Life, taking your clothes off in public!"
--
+------------------+ +------------------------------------------------------+
| Lance T Franklin | | Now accepting suggestions for clever, humourous or |
| ltf@killer | | incredibly insightful .signature quote. Send Now! |
+------------------+ +------------------------------------------------------+
Technical Details
Message-ID:
<4860@killer.DALLAS.TX.US>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!killer!ltfShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!killer!ltf From: ltf@killer.DALLAS.TX.US (Lance Franklin) Newsgroups: comp.sys.amiga.tech Subject: WaitTOF in interlace mode Message-ID: <4860@killer.DALLAS.TX.US> Date: 20 Jul 88 06:25:42 GMT Reply-To: ltf@killer.DALLAS.TX.US (Lance Franklin) Organization: The Unix(R) Connection BBS, Dallas, Tx Lines: 40