CompuServe Thread

#INTERLACE

5 messages in this thread
#58979From: ROBERT SALESASJul 26, 1989 2:42 PM
Hi! Does anyone know how to turn on interlace without using a 400 line screen? Something like setlace does. I need a normal 640×200 screen but with flicker! Weird but needed! Any help?
#58985From: Steve AhlstromJul 26, 1989 3:48 PM
When you define your custom screen set the LACE flag but not the HIRES flag.
#58987From: M2S/Phil CampJul 26, 1989 3:51 PM
WOn't work, that gives you a 320×400 screen.
#58988From: Steve AhlstromJul 26, 1989 3:57 PM
Oh well … Thanks!
#58986From: M2S/Phil CampJul 26, 1989 3:50 PM
You need to set a bit in the bplcon0 field of GfxBase… Hold on here. Ah,A I got it. Here's a M2 routine to do the trick: PROCEDURE Setlace(state:BOOLEAN); VAR gfxbase : GfxBasePtr; BEGIN gfxbase:=GfxBase; gfxbase^.systembplcon0:=INTEGER(BITSET(gfxbase^.systembplcon0)-{2}); IF state THEN gfxbase^.systembplcon0:=INTEGER(BITSET(gfxbase^.systembplcon0)+{2}); END; RemakeDisplay; END Setlace; /exit