Bload, Bsave

 BBS: Inland Empire Archive
Date: 06-20-92 (06:20)             Number: 1093
From: PHIL HODGES                  Refer#: NONE
  To: MATT HART                     Recvd: NO  
Subj: Bload, Bsave                   Conf: (2) Quik_Bas
MH> > PH> use my 800x600x16 (that's right -on an EGA card!)
MH> > PH> graphics mode is 54

MH>You can set any mode with Int 10h using CALL INTERRUPT.

MH>'$INCLUDE:'QB.BI'
MH>DIM InRegs AS RegTypeX

MH>InRegs.AX = &H54    '<< The graphics mode
MH>CALL INTERRUPT(&H10, InRegs, InRegs)

MH>Load QB with /L.

MH>Now that you are in that mode, what can you do?
MH>Not a whole with BASIC - it still thinks that you are in
MH>the normal mode.  N
MH>graphics stuff will work, and PRINT may do some strange
MH>things.  LOCATE will be messed up for certain.  You can
MH>print by using OPEN "SCRN:" and PRINT #1,"Testing", but
MH>LOCATEing text is tough like this!  You can also print
MH>through the BIOS using other CALL INTERRUPT routines.

   Yes, I know from experience how messed-up LOCATE gets...I was
doing some messing around in 132x44 text on my EGA card, and LOCATE just
didn't work the same.  Well, now at least I can have text in DOS just
as small as any VGA I've seen!  We're talking munchkin text!
   But, damnit, I KNOW it's possible to use graphics in 800x540 mode
on my card, since a program called VGA2EGA, which was written in QB 4.0,
supports my card's res!  WAH! Where's Marvin Gozum when I need him!?

   |)
   | hi|

___
 X SLMR 2.1a X Say pistachios ... it's impolite to say nuts.

--- Maximus 2.00
 * Origin: The Gamorian Vortex Project (1:105/601)
Outer Court
Echo Basic Postings

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