Search found 13 matches

by GPfault
Wed Dec 03, 2003 2:39 am
Forum: QBasic / QuickBasic related
Topic: QuickBasic for Linux?
Replies: 0
Views: 1416

QuickBasic for Linux?

Linux has the potential to offer huge resources to a Linux version of QBASIC.  I can just imagine...

Also, linux has a dos emulator that probably could support QBASIC.

QBASIC RULES!!!! LINUX RULES!!!! MICROSOFT SUX!!!!!

(although for a website like this one to be dedicated to the Microsoft ...
by GPfault
Wed Dec 03, 2003 2:34 am
Forum: QBasic / QuickBasic related
Topic: my program. 1 error driving me mad.
Replies: 4
Views: 1719

Re: my program. 1 error driving me mad.

DIM is not an executable statement, but CLS is.  QBASIC might not be expecting any DIM's after a CLS.

In a program, ALL declarations should come FIRST.  This is standard convention, and also some brain-dead interpreters require this.

Try moving the DIM to the first line. Think of it as ...
by GPfault
Wed Dec 03, 2003 2:29 am
Forum: QBasic / QuickBasic related
Topic: Legal?
Replies: 8
Views: 2474

Re: Legal?

That's spelled copyRIGHT, not copyWRITE.

Copyright
   Lit.  The right to copy
by GPfault
Wed Dec 03, 2003 2:26 am
Forum: QBasic / QuickBasic related
Topic: Severe Error: Expression too complex!
Replies: 2
Views: 1378

Re: Severe Error: Expression too complex!

See if you can perform the computation in stages.  Use some intermediate variables.  A few little chunks are more managable than one huge chunk.
For instance a+b* 123-SQR(72+4^a)*LOG(b)*(23^a ----1)
could be split up as follows:

temp1 = (72+4^a)
temp2 = (23^a ----1)
temp3 = SQR(temp1)*LOG ...
by GPfault
Tue Apr 29, 2003 12:49 am
Forum: QBasic / QuickBasic related
Topic: QB 4.5 or 7.1?
Replies: 14
Views: 4776

Re: QB 4.5 or 7.1?

OTOH, DirectQB isnt compatible with 7.1.  Your call
by GPfault
Tue Mar 11, 2003 9:19 pm
Forum: QBasic / QuickBasic related
Topic: Integrated digital audio
Replies: 2
Views: 1468

Re: Integrated digital audio

I assume you're talking about using a sound card?

You should be aware of how any "sound library" will work:

Only one "sound stream/buffer" can be active at once.  "Multiple sounds" at once is actually a bunch of sounds being combined into one chunk, then sent out to the sound card as a sum of ...
by GPfault
Thu Feb 20, 2003 9:20 pm
Forum: QBasic / QuickBasic related
Topic: Qbasic and windows xp
Replies: 2
Views: 1851

Re: Qbasic and windows xp

I've got good news and bad news.

:) You can do it.  XP allows "DOS BOX" stuff
:( You'll have to download QBasic from this website, because XP doesn't come with it.

What you need to do is set it up so that QBasic or whatever you want to use is in a directory (preferably QB or something like ...
by GPfault
Thu Jan 16, 2003 9:31 pm
Forum: QBasic / QuickBasic related
Topic: HELP ME!!!!!
Replies: 3
Views: 2013

Re: HELP ME!!!!!

You can't go over 65535 due to the 16-bit nature of a near pointer.  You'd be better off if you downloaded the PC Gamer Encyclopedia thingamajig and studied VESA.  You can't go over 65535 even with assembler.  You should use VESA to set the 640x480x256 mode, and use the windowing ...
by GPfault
Thu Jan 16, 2003 9:20 pm
Forum: QBasic / QuickBasic related
Topic: Help me
Replies: 2
Views: 1622

Re: Help me

It will work in ALMOST any video mode.  It won't work in screen 7 or 12 because they have more than one bit plane.  You'll need to figure out how to change the bit plane register.  Find out which OUT port to access.  I used DEBUG to single step the VGA BIOS plotting a pixel, and ...
by GPfault
Thu Jan 16, 2003 9:15 pm
Forum: QBasic / QuickBasic related
Topic: VESA standard VS DirectQB & Future Library
Replies: 4
Views: 2530

VESA standard VS DirectQB & Future Library

I'm designing a graphics program, and I want to be able to have 16-bit color and 32-bit color.  DirectQB only gives me the familiar screen 13, and future library aborts if given a bad mode.  I'm thinking of writing my own VESA routines in MASM (I happen to have the VESA specs)
Also ...
by GPfault
Tue Jan 07, 2003 9:43 pm
Forum: QBasic / QuickBasic related
Topic: is it possible
Replies: 1
Views: 1569

Re: is it possible

You might try interfacing with COM1 for local connections.

For online, you'll probably need to figure out how to access a network from QBasic.  You might need to write an assembly module that executes INT 21h or whatever to access the network driver.

You should probably study the workings of ...
by GPfault
Fri Dec 20, 2002 9:23 pm
Forum: Other programming languages
Topic: Thanks for Hosting ReLib
Replies: 1
Views: 2125

Re: Thanks for Hosting ReLib

Thank YOU for providing it.  It has given me insight on how to write a good game.  If I disagree would only recognize MMX, then I'd be in BUSINESS!

This library is COOL ;D;D;D;D;D
by GPfault
Wed Dec 18, 2002 9:19 pm
Forum: Other programming languages
Topic: VESA standard vs. DirectQB
Replies: 0
Views: 1732

VESA standard vs. DirectQB

I'm trying to write a video game for QB7.1, but I can't use DirectQB (it doesn't LIB correctly >:().  I can use MASM to access the INT 10h, but I'm curious if there would be any problems.  Is it safe to execute video interrupts whenever I want, or do I have to inform QBasic about it ...