[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lo-res/Double lo-res (was: Wacky Game idea)



In article <4kn8he$86@news.ios.com> Eric Dietrich
<madscientist@treebranch.com > writes:
>In article <4kk9se$b10@pith.uoregon.edu> Neil Parker,
>nparker@cie-2.uoregon.edu writes:
>>Yes, it's there in the IIGS too.  The machine-language entry points have
>>never been officially published, but it works quite well from BASIC.  You
>>can turn it on like this:
>>
>>     10 D$ =  CHR$ (4)
>>     20  PRINT D$;"PR#3": PRINT  CHR$ (12)
>>     30  POKE 49246,0
>>     40  GR
>>
>>Any subsequent PLOT, HLIN, VLIN, or SCRN(x,y) commands will recognize X
>>coordinates from 0 to 79.  But only on the IIc and the IIGS--if you want
>>to use double lores from BASIC on the IIe, you'll have to call your own
>>machine language routines to do it (a couple of double lores "&" packages
>>have been published--Beagle Bros' "Beagle Graphics", for example).
>
>
>Is there any way to use this mode full screen?  The only thing I can find 
>is POKE -16302,0 , but it dosen't seem to work.

Full-screen works just fine for me.  The only problem is that the bottom
eight rows of graphic blocks aren't cleared by the GR command, so you have
to do that yourself.

     10 D$ =  CHR$ (4): PRINT D$;"PR#3": PRINT  CHR$ (12): POKE 49246,0: GR
     20  POKE 49234,0: REM Full screen on
     30  COLOR= 0: FOR X = 40 TO 47: HLIN 0,79 AT X: NEXT: REM Clear bottom
     40  REM The rest of your program goes here

Notice that you don't do the full-screen POKE until after the GR.  This is
because GR automatically POKEs the mixed-text-and-graphics switch.

             - Neil Parker
-- 
Neil Parker, nparker@{cie-2,cie}.uoregon.edu, http://cie-2.uoregon.edu/~nparker

     "I was going to be a neo-deconstructivist but Mom wouldn't let me."
                                     -- Calvin and Hobbes, 7/13/1995