
Background Colour in QBasic screen mode 12
First, you will never be able to make fast graphics in mode 12 with
Basic, second, the only way you can use background color in Graphic
modes is to PRINT the text to the screen, GET it, then draw a box, PUT
the text as OR and XOR or something like that, I don't quite remember,
but it's the only way.
Ex:
Screen 12
DIM Under(10000) AS INTEGER
LOCATE 1,1:PRINT "Test"
GET (0, 0)-(100, 10), Under
Line (0, 0)-(100, 10), 1, BF
PUT (0,0), Under, OR 'Change XOR to OR, AND, XOR, PRESET
PUT (0,0), Under, XOR 'or PSET to find the best way to put
'the text transparent
-Dekah
Quote:
> Is there any way that I can have background colour in screen mode 12 in
> Quick Basic 4.5 or 7.1. I have found out that setting the WIDTH statement to
> 80,25 I get background coour but no graphics, I need both. The screen must
> also be able to load fast.