BBS: Inland Empire Archive Date: 04-24-92 (08:47) Number: 191 From: MATT HART Refer#: NONE To: CORIDON HENSHAW Recvd: NO Subj: Non-standerd VGA modes Conf: (2) Quik_Bas
CH> Does anyone know how to shift into a non-standed video mode, like
Call interrupt 10h function 00h with AL set to the desired
mode. For example, on my SuperVGA, 800x600x16 is mode 29h.
So setting it would be:
'$INCLUDE:'QB.BI'
DIM InRegs AS RegTypeX
InRegs.AX = &H29
CALL InterruptX(&H10,InRegs,InRegs)
Note that BASIC still doesn't know that it is in a graphics mode and thus
none of the graphics stuff will work. You must either use
PEEK/POKE or other Int 10h functions in order to get
anything onto the screen.
---
* Origin: Midnight Micro! V.32/REL (918)451-3306 (1:170/600)

Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET