QBasic => QB Discussion & Programming Help => Topic started by: dpburn on November 09, 2007, 07:09:08 PM

Title: QB and VISTA
Post by: dpburn on November 09, 2007, 07:09:08 PM
I'm new and have a problem. Have spent hours reviewing Pete and Dav but am really a novice compared to you gamers.

I have many QB45 programs that crunch numbers and plot graphs. I like the interpreter; very seldom compile. My code runs fine on two desktops (Win95 and XP), but will not plot on the new laptop which runs on Vista Home Premium. Qb45 runs ok on Vista, it outputs tables etal with no problem, but will not plot the graphs.  Given the command to plot, the laptop beeps and says "This system does not support full screen mode"; then dumps me out.

I tried all of the Compatibility options, but no help.  A search at the MS site indicates that some 16-bit DOS-based programs will not run in full screen in (any versions of) Windows Vista. They say that Vista device drivers do not support all of the DOS video modes. So, the problem is 16-bit DOS and full screen mode.  Any easy solutions for me in your community?

Title: Re: QB and VISTA
Post by: Mac on November 09, 2007, 10:40:15 PM

You need to reload Vista:

Title: Re: QB and VISTA
Post by: wildcard on November 10, 2007, 06:28:10 AM
Although I have to agree with Mac on the Vista solution (have Vista myself), the only real options are to use a dos emulator like dos box - http://dosbox.sourceforge.net/news.php?show_news=1 (http://dosbox.sourceforge.net/news.php?show_news=1) or make sure your programs are text only and doesn't use things like the screen command.

Title: Re: QB and VISTA
Post by: dpburn on November 16, 2007, 03:28:31 PM
Thanks, guys.  Here's the MS note which may help some of your problems
( with DOS prompt).  http://support.microsoft.com/kb/926657/en-us (http://support.microsoft.com/kb/926657/en-us).   If I should follow-up on their workaround (installing the XP
driver), does anyone know if its possible to switch the XP driver in and out for running only the QB45 program?

Title: Re: QB and VISTA
Post by: GordonSweet on December 22, 2007, 08:24:49 AM
I still use XP on this new PC because I did not want the bother of having to hunt for new Vista drivers far a load of existing hardware. But I still found almost None of my existing DOS programs now run, and QB will only run using SCREEN 0 test mode, because of the fancy new flat screen monitor, and emails to the maker HANNS show in refusing to reply they are not the least bit interested in solving the problem. So I too am obliged to use dear old DOSBOX to get DOS programs to run.

I would dearly love to know if there is some safe program which is inherent in DOSBOX I could always run in start up to solve the problem.   

Title: Re: QB and VISTA
Post by: Ralph on December 24, 2007, 12:42:11 AM
Gordon:  Are you saying that your QB programs do not run on XP because of a flat screen?  I have XP and a new flat LED screen, and have no problem with QB programs that have SCREEN 12 or 13.  I would love to try out one of your QB programs that don't seem to run for you.  What say?  You know my email address.  But, if you don't have it, I might have yours.  Let me know.

Title: Re: QB and VISTA
Post by: GordonSweet on December 24, 2007, 05:06:35 AM
Thanks for the interest Ralph and Merry Christmas.

The simple little program below demonstrates the problem with this HANNS-G 19 inch flat screen Monitor. Any SCREEN apart from 0 causes Quickbasic to abort completely. Even with DOSBOX SCREEN 2 shows but is corrupted. On an older PC using a CRT Monitor all the screens show OK even without DOSBOX. So none of my QB Programs below now work without DOSBOX.



     FOR SCR = 0 TO 13
          IF SCR = 2 THEN SCR = 7
          CLS : SCREEN SCR
          FOR N = 1 TO 20
               PRINT "SCREEN "; SCR
          NEXT N
          PRINT "PRESS A KEY": SLEEP 100

Title: Re: QB and VISTA
Post by: Ralph on December 24, 2007, 05:41:57 PM
And a very merry Christmas to you, Gordon!

Your program ran well on my Sony Electronics/ VAIO computer with an Intel Pentium cpu, a RADEON 9200 display adapter, and a FLATRON 19" LED monitor. 

Sorry that you can't seem to get it to run on your system.  Could it be that you are lacking the instalation of some driver?  In Control Panel, System, Hardware, Windows Update, I have the "If my device needs a driver, go to Windows Update without asking me" selected.  Could this possibly help you?  Good luck, and Happy New Year! : )

By the way, I tried to download your MODS programs, but got a "THIS PAGE WAS NOT FOUND" message.  Could you post one of those?  If you do, I'll be happy to see if I can run it on my syste, and to report it.

Title: Re: QB and VISTA
Post by: GordonSweet on December 25, 2007, 05:15:18 AM
Thanks for pointing out the missing MOD file Ralph. The problem was due to Orange who provide my free web space refuse to allow any files larger then 2 Mb to be uploaded on their latest sites. But thay do not have the sense to warn us it is not being accepted as they do if you exeed to total limit. I just had to memove one of the larger sample MOD files in the Zip.

I can see no drivers showoing in the HANNS Monitor installation disk. It just contains a PDF File and Adobe 6 which I do not need to instal. So I suppose like many others thery are no longer interested in supporting DOS Software.


Title: Re: QB and VISTA
Post by: Ralph on December 26, 2007, 02:59:21 AM

I downloaded the MODS zip file, and got seven .exe files. 

The first two, DMP32.EXE and DMP.EXE brought up a black, blank, dead screen. 

DSETUP.EXE ran fine.  So did ST3.EXE and WOWIIRUN.EXE.  That is, they both came up with a nice, readable screen, except that ST3.EXE had a few splotches.  I didn't try to do any more, as I don't know what I was supposed to do.

MWAMF.EXE and WOWII.EXE brought up a black screen for a second or so, then disappeared.

Is the above what you experience?

Title: Re: QB and VISTA
Post by: GordonSweet on December 26, 2007, 05:02:18 AM
As I pointed out in the README file these are very ancient DOS programs unlikely to run properly under any modern versions of Windows, as like the makers of my Flat Screen Montior MS now show little interests in supporting DOD software. So you must use dear old DOSBOX to get DMP and DMP32 to run, then as with all these programs you must hunt around to locate the MOD etc files to play. Of course you have to hope your sound card is still compatible with this old software.

However strangely ST3 is one of the few DOS programs that I can run under Win XP but due to character incompatibiity you cannot read all the screen properly. The reason why WOWIIRUN works and WOWWII does not is a s you can see from below WOWII works from DOS prompts which my program WOWIRUN introduces in its menu

Thanks for your interest         Gordon

WOWII Version 1.00 SOUNDBLASTER(PRO) MODPlayer Copyright (c) 1992 Jan Ole Suhr
Usage: WOWII MODFile[.MOD] [/H:xxxx] [/I:x] [/B:xxxxx] [/PRO] [/SB] [...]
       /H:xxxx defines the output frequency.
       /I:x specifies the IRQ of the SOUNDBLASTER (default 5).
       /B:xxxxx defines the size of the DMA-Buffer (1000-31000).
       /PRO enforces the SOUNDBLASTER Pro.
       /SB enforces the normal SOUNDBLASTER.
       /FLT enables the output filter of the SOUNDBLASTER PRO.
       /S start program with unRealtime Spectrum Analyzer.