Computing.Net > Forums > Disk Operating System > Editing command.com and IO.sys? dri

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Editing command.com and IO.sys? dri

Reply to Message Icon

Name: runnertag
Date: October 25, 2004 at 12:58:40 Pacific
OS: MS-DOS 7.10
CPU/Ram: Intel Celeron 500MHZ/128
Comment:

I want to know a couple of things about the real nitty-gritty details of DOS. First, are the drivers loaded into the RAM when the computer first boots, or are they just referenced as needed? Second, What is the boot order for the required DOS files (command.com, config.sys, autoexe.bat, and IO.sys). Last, Is there any way to edit/create my own version of Command.com and IO.sys? I know they are compliled in binary, but I'm just wondering if there is any way to really mess with them besides editing config.sys and autoexe.bat. Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: jboy
Date: October 25, 2004 at 18:11:03 Pacific
Reply:

You may find this page instructive.

"Is there any way to edit/create my own version of Command.com and IO.sys? I know they are compliled in binary, but I'm just wondering if there is any way to really mess with them besides editing config.sys and autoexe.bat"

Editing config.sys & autoexec.bat have no effect on either command.com or io.sys (??)

IF you know what you're doing (or have very good instructions) you can edit/patch command.com with a hex editor for a specific purpose - there are no general 'tweaks' (afaik).

Generally, playing around with those files would be like a monkey mating with a football - you're not going to accomplish anything useful without knowing the mechanics.

You'd need to be a pretty competent programmer in order to cook up your own versions

Click


0

Response Number 2
Name: Mechanix2Go
Date: October 25, 2004 at 23:15:01 Pacific
Reply:

jboy, way ahead of the pack, as usual.

I think his key phrase is 'mess with.'

M2


0

Response Number 3
Name: jboy
Date: October 25, 2004 at 23:54:18 Pacific
Reply:

Aw, well, experimentation is fine (with backups) but you make more progress if you start out with a bit of understanding.

My first effort was to modify command.com with debug to change the default prompt colour - pretty simple (from a book) but that was just changing one little bit of pre-existing code.


Click


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Editing command.com and IO.sys? dri

invalid command.com www.computing.net/answers/dos/invalid-commandcom/4521.html

DOS ..8GB barrier www.computing.net/answers/dos/dos-8gb-barrier/16132.html

Which file loads first Command.com or Config.sys? www.computing.net/answers/dos/which-file-loads-first-commandcom-or-configsys/2775.html