
QBasic, other resolutions than SCREENs 0 thru 13
You would have to use the INT 10H function "SET VIDEO MODE", using code
something like this:
REM Set Video Mode
DIM nVideoMode AS BYTE
'Use these equates to make the REG statement more readable:
%FLAGS = 0
%AX = 1
%BX = 2
%CX = 3
%DX = 4
%SI = 5
%DI = 6
%BP = 7
%DS = 8
%ES = 9
LET nVideoMode = 25 'decimal value of desired mode
REG %AX, VAL( "&H00" + RIGHT$( "0" + HEX$( nVideoMode ), 2 ) )
CALL INTERRUPT &H10
END
(The above code is for powerbasic, but can be adapted for QuickBasic)
--
To reply to me via e-mail, remove all occurances of the word "dot" from my
reply address.
Quote:
> How can I use other SCREEN-settings then the normal values 0 thru 13 in
> QBasic?