[Coco] HPRINT question
Robert Gault
robert.gault at att.net
Wed Apr 22 17:10:19 EDT 2020
Wayne,
I just tried a test with an HSCREEN1 which might work for you. I've not tried it with the 16 color mode.
Before your HPRINT command insert a
POKE &HF00C, &H4F
to get back to normal, use
POKE &HF00C, &H43
Robert
Robert Gault wrote:
> Wayne,
>
> If you look at the Super Extended Basic code for HPRINT on graphic screens (B 47 & B 48) you will
> see there is no option for non-transparent printing. Also you have not said how many colors are on
> your 320x200 screen so the HSCREEN Mode is unknown.
>
> Robert
>
> Wayne Campbell wrote:
>> I'm trying to figure out if there is a way to make HPRINT non-transparent.
>> While having it transparent is handy in some cases, in others it just
>> messes up the display. I'm working with a 320x200 hi-res graphics screen. I
>> need to be able to erase what's already there before I print again.
>> Currently I'm using a HBUFF of a blank area (it's a floor space in a game)
>> and repeating it side-by-side to erase what was already there, but that
>> takes too much time and slows the program down immensely. I tried using
>> HLINE, but it takes just as much time as putting those HBUFFs there. I
>> really need a way to make HPRINT non-transparent just to speed things up.
>>
>> Wayne
>>
>> The Structure of I-Code
>> http://www.cocopedia.com/wiki/index.php/The_Structure_of_I-Code
>>
>
More information about the Coco
mailing list