Hello,
I have to write a DOS real-mode driver. Where is this beast documented??
Regards, Vasili N Galchin
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
Hello,
I have to write a DOS real-mode driver. Where is this beast documented??
Regards, Vasili N Galchin
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
In a few weeks what I am about to tell you will make sense and I hope you
take my advice
DON’T JUMP! IT’s NOT WORTH IT
-----Original Message-----
From: Galchin Vasili [mailto:xxxxx@yahoo.com]
Sent: Thursday, March 06, 2003 3:14 PM
To: NT Developers Interest List
Subject: [ntdev] DOS driver interface … YUCK …
Hello,
I have to write a DOS real-mode driver. Where is this beast documented??
Regards, Vasili N Galchin
Do you Yahoo!?
Yahoo! http:</http:>
Tax Center - forms, calculators, tips, and more — You are currently
subscribed to ntdev as: xxxxx@websense.com To unsubscribe send a blank
email to xxxxx@lists.osr.com
Hi Ali,
I might slit my wrists … but seriously is this documented somewhere. I know how to write W2K and Linux, but not DOS driver.
Regards, Vasili
“Mesdaq, Ali” wrote:In a few weeks what I am about to tell you will make sense and I hope you take my advice DON’T JUMP! IT’s NOT WORTH IT-----Original Message-----
From: Galchin Vasili [mailto:xxxxx@yahoo.com]
Sent: Thursday, March 06, 2003 3:14 PM
To: NT Developers Interest List
Subject: [ntdev] DOS driver interface … YUCK …
Hello,
I have to write a DOS real-mode driver. Where is this beast documented??
Regards, Vasili N Galchin
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more — You are currently subscribed to ntdev as: xxxxx@websense.com To unsubscribe send a blank email to xxxxx@lists.osr.com—
You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
Greetings,
This google search was more challenging than most, but here’s a start:
http://www.clipx.net/ng/dos5/index.php
http:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/other/hh/ot
her/vdd_24px.asp
http:ther/vdd_24px.asp>
Harmony,
–Christine
-----Original Message-----
From: Galchin Vasili [mailto:xxxxx@yahoo.com]
Sent: Thursday, March 06, 2003 3:14 PM
Hello,
I have to write a DOS real-mode driver. Where is this beast documented??
Regards, Vasili N Galchin</http:></http:>
It is so easy. There are numerous books.
Do you have access to Borland C++ 3.x? If so, I have a very nice DOS
framework I wrote to allow you to write DOS device drivers in C. I do
not recommend using much of the C runtime library as it loads lots of
unneeded stuff.
What I did was rewrite C0.ASM so that it reflects a “device driver
model”; synonymous with the way there are different C0.ASM files for the
different memory models; tiny, small, medium, large and huge.
I even added support so that you can drop initialization code after init
by putting it in its own section and placing it at the bottom of the EXE
file. I simply set the memory allocation size for the driver to be the
size of the driver minus the address of the “_FENCE” section. Using a
#pragma, you can put your initialization routines in the _FENCE section
so they get dropped.
It produces very tight drivers. If you are interested - if anyone is
interested - I can send you the framework that includes a driver I wrote
using it.
It even allow you to place a main() in the fenced init section that will
allow the .EXE to be run from the command line so that you can use the
same EXE file to control the device.
I did this many years ago, but I think I know where I put the code
Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Galchin Vasili
Sent: Thursday, March 06, 2003 3:14 PM
To: NT Developers Interest List
Subject: [ntdev] DOS driver interface … YUCK …
Hello,
I have to write a DOS real-mode driver. Where is this beast
documented??
Regards, Vasili N Galchin
Do you Yahoo!?
Yahoo! http:</http:>
Tax Center - forms, calculators, tips, and more — You are currently
subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a
blank email to xxxxx@lists.osr.com
In the dark DOS ages the only good source of information was Ralf Brown’s
Interrupt List: http://www-2.cs.cmu.edu/afs/cs/user/ralf/pub/WWW/files.html.
Now google can help; there were some books about this topic (seach for
“undocumented DOS”, “secret DOS” etc.). Also, there probably is a lot of TSR
(terminated and stay resident) programs with sources available – depending
what you need to do TSR can be better choice. Finally, there was Open DOS
from Caldera (?) with sources available.
Best regards,
Michal Vodicka
STMicroelectronics Design and Application s.r.o.
[michal.vodicka@st.com, http:://www.st.com]
From: xxxxx@yahoo.com[SMTP:xxxxx@yahoo.com]
Reply To: xxxxx@lists.osr.com
Sent: Friday, March 07, 2003 12:37 AM
To: xxxxx@lists.osr.com
Subject: [ntdev] RE: DOS driver interface … YUCK …<<message: microsoft exchange message>>
>
></message:>
One of my favorite DOS books was “The Waite Groups MS-DOS Developers Guide”.
It has chapters on drivers and TSR’s. Not sure where you could find it
though. Undocumented DOS by Shulman might be helpful as well.
Jim Austin
From: Galchin Vasili
>Reply-To: “NT Developers Interest List”
>To: “NT Developers Interest List”
>Subject: [ntdev] DOS driver interface … YUCK …
>Date: Thu, 6 Mar 2003 15:13:58 -0800 (PST)
>
>
>Hello,
>
> I have to write a DOS real-mode driver. Where is this beast
>documented??
>
>Regards, Vasili N Galchin
>
>
>
>
>
>---------------------------------
>Do you Yahoo!?
>Yahoo! Tax Center - forms, calculators, tips, and more
>
>—
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
“The Microsoft Encylopediae” … circa 1994
–
Gary G. Little
Have Computer, will travel …
909-698-3191
909-551-2105
“Galchin Vasili” wrote in message news:xxxxx@ntdev…
Hello,
I have to write a DOS real-mode driver. Where is this beast documented??
Regards, Vasili N Galchin
------------------------------------------------------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
The one that MS recalled because of the huge number or errors?
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Friday, March 07, 2003 11:18 AM
To: NT Developers Interest List
Subject: [ntdev] Re: DOS driver interface … YUCK …
“The Microsoft Encylopediae” … circa 1994
–
Gary G. Little
Have Computer, will travel …
909-698-3191
909-551-2105
“Galchin Vasili” wrote in message
news:xxxxx@ntdev…
Hello,
I have to write a DOS real-mode driver. Where is this beast
documented??
Regards, Vasili N Galchin
_____
Do you Yahoo!?
Yahoo! http:</http:>
Tax Center - forms, calculators, tips, and more
—
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Galchin Vasili wrote:
I have to write a DOS real-mode driver. Where is this beast
documented??
In addition to all the other sources people have mentioned, there’s
Robert Lai’s “Writing MS-DOS Device Drivers” (Addison-Wesley 2d ed
1992). I’m sure this is out of print, but maybe you could find a used
copy somewhere. I can’t vouch for this book – I picked up a copy years
ago just because it was about drivers and I figured I might need it
someday, but I never (thank goodness!) needed to use it.
–
Walter Oney, Consulting and Training
Basic and Advanced Driver Programming Seminars
Now teaming with John Hyde for USB Device Engineering Seminars
Check out our schedule at http://www.oneysoft.com