[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2007-02-12T21:00:16-05:00 http://www.petesqbsite.com/phpBB3/app.php/feed/topic/2008 2007-02-12T21:00:16-05:00 2007-02-12T21:00:16-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14185#p14185 <![CDATA[Stupid question but i really need help!]]>
What I said in my last post assumed that your opening QB through Windows, not the DOS prompt.

CDRIVE

Statistics: Posted by CDRIVE — Mon Feb 12, 2007 9:00 pm


]]>
2007-02-12T20:43:30-05:00 2007-02-12T20:43:30-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14184#p14184 <![CDATA[Stupid question but i really need help!]]>
CDRIVE

Statistics: Posted by CDRIVE — Mon Feb 12, 2007 8:43 pm


]]>
2007-02-12T19:17:57-05:00 2007-02-12T19:17:57-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14182#p14182 <![CDATA[Re: STARTING QBASIC]]> Statistics: Posted by pronoland — Mon Feb 12, 2007 7:17 pm


]]>
2007-02-12T18:44:50-05:00 2007-02-12T18:44:50-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14181#p14181 <![CDATA[Stupid question but i really need help!]]>
CDRIVE

Statistics: Posted by CDRIVE — Mon Feb 12, 2007 6:44 pm


]]>
2007-02-12T18:15:53-05:00 2007-02-12T18:15:53-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14180#p14180 <![CDATA[STARTING QBASIC]]> QBasic? :cry: :cry:

Code:

Statistics: Posted by pronoland — Mon Feb 12, 2007 6:15 pm


]]>
2007-02-12T18:00:41-05:00 2007-02-12T18:00:41-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14179#p14179 <![CDATA[Stupid question but i really need help!]]>
Select "Save" or
Save As or
Run your program until your at the "Press any key to continue prompt".
Doing any of these things makes QB release its hold on the processor.

CDRIVE

Statistics: Posted by CDRIVE — Mon Feb 12, 2007 6:00 pm


]]>
2007-02-12T00:44:52-05:00 2007-02-12T00:44:52-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14177#p14177 <![CDATA[Stupid question but i really need help!]]>
i've heard you can use DOSBOX to run it, try that...



also when you check its properties in windows XP(right click)

i have the command line like this...

C:\DOWNLO~1\qb\QB.EXE /l


i also run it in FULL screen mode...

Statistics: Posted by sid6.7 — Mon Feb 12, 2007 12:44 am


]]>
2007-02-11T22:12:14-05:00 2007-02-11T22:12:14-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14176#p14176 <![CDATA[Stupid question but i really need help!]]>
As far as I know (correct me if I'm wrong) XP is the first Windows OS that does not include TRUE DOS. I'm not certain about 2000 & ME though.
Sorry I didn't see this sooner, but meh...oh well. :D Well, you were half right on that one...XP isn't based in DOS, but neither is 2000. ME is. Windows 2000 and XP are based in the NT kernel which is NOT rooted in MSDOS whatsoever. ME, 98, 95...typically these are referred to as the "9x Windows" and use the MSDOS kernel to initialize, but then portions of the kernel are overwritten, extending the operating system. It's not that they run "on top" of MSDOS, it's like these Windows versions integrate themselves into MSDOS, so it's not like it's just a program running inside of MSDOS. Windows 3 worked the same way, it just wasn't nearly as efficient. These things are what keep the 9x line a "true" OS, and I use this information to shoot down the boneheads who whine about "like zomg windows 95 isnt a true OS!".

NTVDM is interesting. As far as I know, it's an actual virtual machine, not an emulator, which in this case means it essentially creates an isolated copy of your system and functions on that. Virtual machines and emulators are similar, but writers of both types of software get mighty pissed off if you call one the other. :D So when you run NTVDM, you're running an actual copy of MSDOS inside a copy of your system.

Frankly, I liked the MSDOS-rooted Windows versions better...they gave the feeling of "total control"...if you knew what you were doing, you didn't need the GUI, and if trouble sprang up and Windows wouldn't boot, you could just boot to DOS and have a chance of saving the system. That total control aspect is gone now.

Statistics: Posted by Nodtveidt — Sun Feb 11, 2007 10:12 pm


]]>
2007-02-11T20:26:22-05:00 2007-02-11T20:26:22-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14175#p14175 <![CDATA[Stupid question but i really need help!]]> http://www.brisray.com/qbasic/qdload.htm

I know nothing about this sites files as I have my own version of 4.5. The files at this site should include all you need. including the compiler. If I were you I would choose version 4.5, also known as QB45. It is the most popular of the QB versions.

Good Luck,
CDRIVE

Statistics: Posted by CDRIVE — Sun Feb 11, 2007 8:26 pm


]]>
2007-02-11T18:58:11-05:00 2007-02-11T18:58:11-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14174#p14174 <![CDATA[Re: Stupid question but i really need help!]]> I think I need an editor first, to write my code. then a compiler, right?
Where can I download these? is therea set of guidelines on how to get
started?

Statistics: Posted by pronoland — Sun Feb 11, 2007 6:58 pm


]]>
2006-12-22T16:22:44-05:00 2006-12-22T16:22:44-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=13680#p13680 <![CDATA[Update On QB45 IN XP]]>
I did some experimenting with the following operations while running XP. QB newbie's, like me, may find the results useful. My goal was to see if there was a way to run QB and Pete's QBASIC simultaneously with out experiencing sluggishness in the XP IDE.

(1) Opening and running QB from the DOS prompt window.
(2) Opening and or running apps, files, & web pages from the DOS prompt window.
(3) Opening and running apps, files, & web pages from "QB45[SHELL]DOS prompt" with the "SHELL" command.

My results (in the same number order as above) were interesting.

(1) No perceptible difference between opening QB45 from a mouse click or through a DOS prompt. QB runs fine either way.
(2) No perceptible difference. All apps, files and web pages opened quickly and behaved normally.
(3) No perceptible difference . All apps, files and web pages opened quickly and behaved normally. I was excited!!!!

Number 3 was a "EUREKA!" moment for me. However it was short lived. While anything I opened with QB ran great, QB wasn't!
QB gets shoved into memory (and is inactive) temporarily, while the "SHELL" command has turned control over to the DOS prompt. Once you've opened the app with the DOS prompt the prompt also becomes inactive. If you punch in "EXIT", seemingly, nothing happens. No prompts are accepted until the app you opened is closed through the windows interface. When you close the app, DOS magically inputs & prints the "EXIT" command that you may have typed an hour ago!!!!! At that point QB is restarted but you don't have the app or web page open any longer. So it's a zero sum gain.

Perhaps if some of the more advanced on the group could explain why QB seems to suck up processor cycles like a black hole? It doesn't seem to do that on W98. Maybe if we knew the why, we could find a work around????

CDRIVE







[/url][/list][/list][/quote][/i][/u][/code]

Statistics: Posted by CDRIVE — Fri Dec 22, 2006 4:22 pm


]]>
2006-12-22T01:07:33-05:00 2006-12-22T01:07:33-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=13661#p13661 <![CDATA[Stupid question but i really need help!]]>
As far as I know (correct me if I'm wrong) XP is the first Windows OS that does not include TRUE DOS. I'm not certain about 2000 & ME though. The DOS that's included with XP is an APPLICATION not an OS. When you call the DOS prompt in XP you're actually calling "NTVDM.EXE" (NT Virtual DOS Machine). It's not a true DOS. It's a DOS Emulator and you won't find this file on any W3.x to W98SE machines. Because of this, Windows XP is control of DOS at all times. Not the other way around. Even if you try to boot to it your not booting to true DOS. You are calling NTVDM.EXE and booting to a pseudo DOS, which is actually Windows SAFE MODE in a DOS skin. In W98 you could boot to true DOS. In Windows versions 3.x-W98SE, DOS was the underlying OS. DOS would boot first then Windows ran on top of it and they were inexorably linked to each other, when Windows was running. Windows could not operate without DOS, but booting to DOS, while not starting Windows, was no problem. This had great advantages for those who new their way around DOS. They were two separate operating systems but only DOS was autonomous. Windows was totally reliant on DOS, but DOS was not reliant on Windows.

I went nearly 8 years with no Anti Virus software on any of my machines. Most nasty's that make their home on your HD (including spyware) are difficult to remove manually, even if you've identified the offending files. This is because Windows won't let you delete, move, or rename them, because they're usually RUNNING in the background. That's why I love DOS and will miss it dearly. Booting to true DOS does not start Windows and that's where those nasty's reside. Usually in Windows startup folders. In DOS I had free rein to find those files and kill them. Actually I just REN'd their extension until I was positive that they didn't belong. Then I killed them. You see, they were not running in DOS, and that made them easy to manipulate. XP is a totally different animal. It does not need DOS but NTVDM.EXE needs Windows XP!

So here's my take regarding running QB45 in XP vs. W98:
My QB45 had no problems running in a DOS window while running W98 or 98SE. I rarely booted to DOS to run it. Windows and apps ran fast. So did QB, so I had no reason to deprive myself of the Windows IDE or API. I believe that when QB was accessed though Windows, it simply linked to and ran in DOS, that was running from the time of bootup. It's either that or Windows was creating a copy of DOS and putting it in a window? I like to think of it as a DOS Portal instead of a window. The only issues I ever had was when my QB program was calling a Windows file that was already open. That's normal, and that's a good thing!

XP, on the other hand doesn't seem to like to share control of the computer, and I think that's the underlying problem it has with the QB Interpreter. I know that sounds sophomoric but hey? I don't know what the answer is for blissful programming in the XP environment ,but I do know this: It doesn't matter if you access QB from a XP mouse click, running a DOS window, or booting up to DOS. It's all the same! It's not DOS! Opening QB through a DOS prompt will buy you absolutely nothing. QB won't run any faster and neither will XP. You'll experience the same slooooow Windows apps no matter how you start QB.

If someone finds a cure (like installing and running true DOS under XP at bootup) I want to be the first to know! Until that time I'm just going to live with it, or do my QB'ing on my W98 laptop. So far I find it slow but manageable on XP. I'm able to read the groups on line tutorials and have QB open. I can type in and run code that I see in your files. Changing web pages is slooower but I'll live with it. QB runs fine though!

Well, this was one hell of a long winded second post here. Please forgive me if posts this lengthy are frowned upon. It's just that I miss DOS so much that I had to share this feeling of loss with people who care! :-)

CDRIVE

Statistics: Posted by CDRIVE — Fri Dec 22, 2006 1:07 am


]]>
2006-12-21T22:43:06-05:00 2006-12-21T22:43:06-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=13658#p13658 <![CDATA[Re: Stupid question but i really need help!]]>
I have a question; Is it possible to use Qbasic on Windows Xp and if it is how
would i go about installing and running it?
if you get an error go to c:\windows\repair and copy autorun.nt to c:\windows\system32 this fixes the problem.

Statistics: Posted by comperr — Thu Dec 21, 2006 10:43 pm


]]>
2006-12-21T12:36:50-05:00 2006-12-21T12:36:50-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=13654#p13654 <![CDATA[Stupid question but i really need help!]]> Statistics: Posted by Guest — Thu Dec 21, 2006 12:36 pm


]]>
2006-12-09T15:04:45-05:00 2006-12-09T15:04:45-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=13447#p13447 <![CDATA[Stupid question but i really need help!]]> Statistics: Posted by Mike Alexander — Sat Dec 09, 2006 3:04 pm


]]>