Qbasicnews.com
May 23, 2022, 09:20:21 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1] 2 3
  Print  
Author Topic: Fix for annoying floppy access when using the QB IDE in XP  (Read 14027 times)
Plasma
Na_th_an
*****
Posts: 1770


WWW
« on: May 01, 2004, 02:32:06 AM »

From the readme, because I'm lazy:
------------------------
qbxpfloppy.zip - Patch for Q(uick)BASIC to stop repeated floppy drive access when running under Windows XP

If you have a floppy drive and use the QB IDE in Windows XP, you've probably noticed the annoying floppy drive access in the open dialog box. It happens when you select open from the menu, and every time you change directories.

This is caused by Microsoft's crappy drive-detection method, which is basically to try and set every drive (A-Z) as the default (current) drive and see whether or not it fails. Brilliant. Under Windows XP, this causes the repeated floppy access.

To fix this, I rewrote the drive detection routine using Int 21/AX=4408h (IOCTL - Check if block device removeable) and Int 2F/AX=150Bh (MSCDEX - Drive check). This should still find all your drives without trying to access them all every time you change directories.

I also patched PDS 7.x to remove the annoying warning message at startup about only being certified for use with MS-DOS.

Included are the patched executables for QBASIC 1.x, QuickBASIC 4.5, PDS 7.x, and VBDOS Standard/Pro.

(QuickBasic 2.x, 3.x, and 4.0 use a different drive detection method that doesn't cause repeated floppy drive access, so I didn't need to patch them.)
-----------------------------------

Something else interesting I found while patching VBDOS...the only difference between VBDOS.EXE for Standard/Pro is 2 bytes. Tongue
Logged
relsoft
*/-\*
*****
Posts: 3927



WWW
« Reply #1 on: May 01, 2004, 07:14:53 AM »

I'm no XP user that that's darn cool!!!!
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
jatos
Ancient QBer
****
Posts: 464



« Reply #2 on: May 01, 2004, 09:00:19 AM »

Why do so many dislike XP? Is this the worst os the've written. However that patch may be handy as I am going to putting pro on my pc(which my dad purchased by accident, instead of me for 13 quid!
JAmie
Logged

atos-Software
http://www.datacentertalk.com - interested in how web hosting works? Here the place to go to find out.
Zack
*/-\*
*****
Posts: 3974



WWW
« Reply #3 on: May 02, 2004, 12:03:08 PM »

I love XP.
But yeah!!!!!!!!!!!!!!!!!!!!! I've been trying to fix that for ages. Finally. Thanks Smiley
Although now I use QB4MED (thanks again, Plasma), which solved that. Tongue
Logged

f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Hellbound
Forum Regular
**
Posts: 114


« Reply #4 on: May 02, 2004, 12:05:32 PM »

Thanks dude I was about to go crazy with that stupid floppy crap, I never had that problem until I got XP.
Logged
Sterling Christensen
Na_th_an
*****
Posts: 1328


« Reply #5 on: May 02, 2004, 04:50:58 PM »

You rock, Plasma!
Logged
Plasma
Na_th_an
*****
Posts: 1770


WWW
« Reply #6 on: May 02, 2004, 05:27:11 PM »

Thanks guys. Glad to see there's some use for it. Smiley
Logged
jatos
Ancient QBer
****
Posts: 464



« Reply #7 on: May 02, 2004, 05:39:21 PM »

As for XP I like things about it but boy would I hate it to be my only OS!
Also anyone know anything about customising the way xp work?
Also does qb patch work for 98 machines?Huh?? This prob ain't native to XP pro.
Logged

atos-Software
http://www.datacentertalk.com - interested in how web hosting works? Here the place to go to find out.
Zack
*/-\*
*****
Posts: 3974



WWW
« Reply #8 on: May 02, 2004, 05:45:17 PM »

Jatos: the problem doesn't exist on Win98. :wink:
"Customizing the way xp works" Huh? You want the source code to tweak?
Logged

f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
jatos
Ancient QBer
****
Posts: 464



« Reply #9 on: May 02, 2004, 06:04:13 PM »

It would be handy but I suspect it may involve something highly illegal to get it. No I mean how I can write my own apps to customise it.
Logged

atos-Software
http://www.datacentertalk.com - interested in how web hosting works? Here the place to go to find out.
Zack
*/-\*
*****
Posts: 3974



WWW
« Reply #10 on: May 02, 2004, 06:20:44 PM »

"Customize it"....
"Customize" is a very general term - what do you mean, like write an app to change the screensaver, background, etc.?
Logged

f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Plasma
Na_th_an
*****
Posts: 1770


WWW
« Reply #11 on: May 02, 2004, 06:31:56 PM »

Quote from: "jatos"
Also does qb patch work for 98 machines?Huh?? This prob ain't native to XP pro.


The patched version works with all versions of Windows and DOS (from 3.0+). But it won't do anything different unless you're using Windows XP (and possibly NT/2K, haven't tested it with those yet).
Logged
KiZ
__/--\__
*****
Posts: 2879


WWW
« Reply #12 on: May 03, 2004, 06:34:45 AM »

Quote from: "jatos"
Also anyone know anything about customising the way xp work?


XP was released as a binary coded OS, meaning it is extremely difficult to modify. Get Linux or Unix, they are open source and invite you to customize them in a deep way.
Logged
Agamemnus
x/ \z
*****
Posts: 3491



« Reply #13 on: May 03, 2004, 01:01:39 PM »

That's great!

Thanks, you're awesome!
Logged

Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
jatos
Ancient QBer
****
Posts: 464



« Reply #14 on: May 04, 2004, 04:10:29 AM »

XP; how do I write my own login client; get some progs to run at startup and how do I get at the darned registry in an app?

Another thing is there a way of making an app with specifies where the user.dat registry file is?
Logged

atos-Software
http://www.datacentertalk.com - interested in how web hosting works? Here the place to go to find out.
Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!