Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
800x600 SCREEN 12 qbasic 4.5
#11
However, why would you want a program at 1600x1200? My computer would crumple and die under the pressure.
Reply
#12
Well, so that I can use my GeForce 6600. I paid $200 for this thing; I had better be able to use it. Big Grin
Reply
#13
Yeah.. let me guess:

Code:
SCREENRES 1600, 1200, 32

:rotfl: Thats alot of pixels, mate... 1,920,000 of them.. :o

Yeah, but I ment the normal SCREEN statment:

Code:
SCREEN 21

Not sure if he was interested in the costum SCREENRES X, Y, Depth, Mode one.. :wink:
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#14
Code:
'Subject: VGA/SVGA INTERRUPTS      Date: 03-03-96 (20:38)
'Author: Mike Huff                 Code: Text
'Origin: FidoNet QUIK BAS Echo     Packet: FAQS.ABC
'___________________________________________________
'> inreg.ax = &H1C ' Sets 640X480X256 mode
'> CALL INTERRUPT(&H10, inreg, outreg)

'This routine doesn't work so great on my machine (or at least my
'Trident VESA card.) You used the wrong value for the AX register.
'Here's a list that should work on any VGA/SVGA machine:

'AX      Resolution      Text H/W         Segment

'5Ch for 640x400x256     (80x25)          A000h
'5Dh for 640x480x256     (80x30)          A000h
'6Ch for 640x480x16M     (80x30)          A000h
'5Bh for 800x600x16      (100x75)         A000h
'5Eh for 800x600x256     (100x75)         A000h
'5Fh for 1024x768x16     (128x48)         A000h
'62h for 1024x768x256    (128x48)         A000h
'63h for 1280x1024x16    (160x64)         A000h
'64h for 1280x1024x256   (160x64)         A000h

'Some of the higher res or color modes may not work on every video card.
'You should also use direct memory writes instead of the extremely slow
'BIOS "PSET" routines. Here's an example in case you don't know:

'DEF SEG = &HA000
'POKE (Xmax& * Y& + X&), TheColorYaWant%
'DEF SEG
Reply
#15
Actually, those mode numbers are wrong for VESA cards; all VESA standard video modes are at least &H100. Plus you'll need to do window/bank changing to modify pixels beyond the first bank.
Reply
#16
800x600 with 16 colors is possible in QBasic on all VGA cards. But it's possible that your monitor doesn't support that mode. To set this mode up you'll have to use a bunch of OUT commands and to display things you'll have to use POKE as PSET doesn't work in this mode.
roeten van Frenkel
Visit us at The Official S&F PROD. Homepage
Reply
#17
EDIT: I'm too tired.. Post removed. If you had time to read it, ignore it.
This topic needs more BBCode
Reply
#18
Quote:Well, so that I can use my GeForce 6600. I paid $200 for this thing; I had better be able to use it.
No 2048x1576 ?? :lol:


You can only go higher than 640x480 using SVGA or VESA in DOS.

Quote:Actually, those mode numbers are wrong for VESA cards; all VESA standard video modes are at least &H100. Plus you'll need to do window/bank changing to modify pixels beyond the first bank.
Correct. In other words, you'll need a lot of Interrupts/portcommands. Oh this reminds me of Jark and his True color lib for high resolutions.
Reply
#19
Quote:Is it possible to use 800x600 with SCREEN 12?

Screen 12 in QB = 640 x 480 x 16

No more no less no tweaks.
Big Grin
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#20
Quote:
DrV Wrote:Well, so that I can use my GeForce 6600. I paid $200 for this thing; I had better be able to use it.
No 2048x1576 ?? :lol:
My 19" CRT can't handle anything higher than 1600x1200... Sad
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)