>This is driving me NUTS! I've searched & searched, but so far no luck.
>Does anyone have information on what the new DOS calls are for DOS 5.0?
>Even the best of our local book stores (University Bookstore) do not have
>ANY books on this yet.
How about searching in the latest Interrupt List (INTER26[AB].ZIP) which is
available from SIMTEL20 (pd:<msdos.info>INTER26*.ZIP, ~230K each). I
remember there were some references to DOS 5, but forget whether it was
DR DOS, PC-DOS or MS-DOS 5.0. Nevertheless, look at this first.
>sys...@toy.uucp (SYSTEM 0PERATOR)
>Fred's Waffle BBS, a stealth board
Hope this helps
Holger
--
| | / Holger Veit | INTERNET: ve...@du9ds3.uni-duisburg.de
|__| / University of Duisburg | BITNET: veit%du9ds3.uni-duisburg.de@UNIDO
| | / Fac. of Electr. Eng. | UUCP: ...!uunet!unido!unidui!hl351ge
| |/ Dept. f. Dataprocessing |
How about looking on pages 1-3 of the "Getting Started" doc that came with
PC-DOS 5.0. It lists new and enhanced functions and hardware support for
versions 3.3, 4.0, and 5.0.
FYI, in case your MD-DOS documentation omitted this detail:
5.0 New functions--
autoconf, doskey, edit, fc, help, meutonini, mirror, qbasic, setver,
undelete, and unformat.
Enhanced functions--
attrib, comp, dir, diskcopy, dosshell, find, format, graphics, restore,
and mouse.
New device drivers--
emm386, himem, smartdrv
--gary
--
Gary A. Feurer Instructional Technology
303B Hall Education Building work: (302) 451-2751
University of Delaware home: (215) 255-5124
Newark, DE 19716 feu...@brahms.udel.edu
Assuming, of course, you are talking about functions as commands rather
functions as interrupts. --gary
This is a bit long, but here goes:
From my scratchy notes these are some/most of the function changes in DOS5.0
If I misread my scratches please excuse. Test them and see if I got it right.
Also there should be a Technical reference available/imminent from MSoft.
Directory functions should give: Total Bytes, Total addition of bytes in
directory and byte usage in directory - don't have the structures.
fn 4Eh Find First File gives free disk total space used.
fn 56h Rename files will now permit renaming directories. It shuffles the
dir name space on the disk to fit longer/shorter names in.
new fn 32h Get DPB - Establish whether Removable CDROM/WORM - gets info out of
CMOS. Has something to do with autosensing of type of disk in drive in
relation to formatting ie, can detect 720k/1.44 in 3-1/2" drive and permits
you just to say format a: rather than format a: /n80 /s8
new fn 1Fh Get Default DPB. see new fn 32h. CX == no, 1-25 = A-Z, 0 is default.
fcb fn's. DOS 5.0 supports link to FAT file pointer. Much faster file access -
just watch XTGold rip through the disk when it starts.
IOCTL fn 44 beefed up - new sub fn's
4410h Query IOCTL handle
4411h Query IOCTL Device Have someting to do with error codes
ie, printer out of paper. Return in CX.
fn 4B01h Load Program - new function - Load program and pass control to task
switcher.
new fn 4B05h Set Execution State - specify task fragment/background - set
execution to be suspended or terminated.
new fn 51h - Get PSP Address - something do do with lo/hi?????
fns 5700 and 5701 - Get/set date/time now co-operate!! Can keep date/time
stamp of a file the same. Yukky boon for virus writers!!
fn 30h Get dos version. Now that we have the setver command it will return the
setver dos version, so to get the REAL version number use AL = 06h ie 3006h.
END - Please excuse the incompleteness but the above should least wet your
appetites. Maybe someone has more complete and guaranteed accurate stuff.
DISCLAIMER : The above is not necessarily accurate and is advisory only.
Use at your own risk. See Microsoft for the gospel stuff.
--
Andrew Turner a...@csc.canberra.edu.au
Die, v: To stop sinning suddenly.
-- Elbert Hubbard
>fn 56h Rename files will now permit renaming directories. It shuffles the
>dir name space on the disk to fit longer/shorter names in.
Sigh. And on Page 120 of the MS-Dos 4.0 User's Guide and Reference:
"The rename command, which you use to rename file, cannot be used to
rename directories. Instead, you use a combination of the xcopy, del,
and rd commands to rename a directory."
An example of one comitte not talking to another?
--
| Gordon Harry Shephard | Distributed Computing Support Group |
| Academic Computing Services | Phone: (604)291-3930 (604)464-4991 |
| Simon Fraser University | USE...@SFU.BITNET |
| Burnaby, BC, Canada. V5A 1S6 | Shep...@Whistler.sfu.ca |
>Sigh. And on Page 120 of the MS-Dos 4.0 User's Guide and Reference:
> ^--- Make that 5.0.
I voted for Bush once. As it's turning out, once was once too often.
}fn 4Eh Find First File gives free disk total space used.
It doesn't. No changes from previous versions--that addition would
probably break existing code, because it would have to increase the size
of the returned data. Besides, you can already get that info from other
calls.
}fn 56h Rename files will now permit renaming directories. It shuffles the
}dir name space on the disk to fit longer/shorter names in.
That function has been able to rename directories since v3.0, though not
moving them to another directory. I checked, and DOS 5.0 doesn't allow
moving directories, either.
}new fn 32h Get DPB - Establish whether Removable CDROM/WORM - gets info out of
}CMOS. Has something to do with autosensing of type of disk in drive in
}relation to formatting ie, can detect 720k/1.44 in 3-1/2" drive and permits
}you just to say format a: rather than format a: /n80 /s8
}
}new fn 1Fh Get Default DPB. see new fn 32h. CX == no, 1-25 = A-Z, 0 is default.
Both 1Fh and 32h have been around a long time (1Fh since 1.0, 32h since
2.0), but may now be documented. Neither function however does any type
of autosensing--they just return what DOS currently thinks the drive
parameters are.
}IOCTL fn 44 beefed up - new sub fn's
} 4410h Query IOCTL handle
} 4411h Query IOCTL Device Have someting to do with error codes
}ie, printer out of paper. Return in CX.
No, they ask the device driver whether a particular generic IOCTL call
(INT 21/AX=440Ch or 440Dh) is supported.
}fn 4B01h Load Program - new function - Load program and pass control to task
}switcher.
That's also been around since DOS 2.0.
}new fn 4B05h Set Execution State - specify task fragment/background - set
}execution to be suspended or terminated.
This is indeed a new function.
}new fn 51h - Get PSP Address - something do do with lo/hi?????
Also present since 2.0.
}fns 5700 and 5701 - Get/set date/time now co-operate!! Can keep date/time
}stamp of a file the same. Yukky boon for virus writers!!
Huh? You've been able to use those two in concert to preserve the timestamp
of a file since they were introduced in DOS 2.0.
}fn 30h Get dos version. Now that we have the setver command it will return the
}setver dos version, so to get the REAL version number use AL = 06h ie 3006h.
No, you need fn 3306h to get the true DOS version. Function 30h now takes
AL = 00h or 01h to determine what gets returned in BH, the OEM number or
the DOS location flags (DOS in ROM, DOS in HMA).
--
{backbone}!cs.cmu.edu!ralf ARPA: RA...@CS.CMU.EDU FIDO: Ralf Brown 1:129/53
BITnet: RALF%CS.CMU.EDU@CARNEGIE AT&Tnet: (412)268-3053 (school) FAX: ask
DISCLAIMER? Did | It isn't what we don't know that gives us trouble, it's
I claim something?| what we know that ain't so. --Will Rogers
<In <1991Jun21.0...@csc.canberra.edu.au> a...@softserver.canberra.edu.au (Andrew Turner) writes:
<>fn 56h Rename files will now permit renaming directories. It shuffles the
<>dir name space on the disk to fit longer/shorter names in.
<Sigh. And on Page 120 of the MS-Dos 4.0 User's Guide and Reference:
<
< "The rename command, which you use to rename file, cannot be used to
< rename directories. Instead, you use a combination of the xcopy, del,
< and rd commands to rename a directory."
<An example of one comitte not talking to another?
No, just the brain damage of COMMAND.COM. The "rename command" is a
function of COMMAND.COM. The "fn 56h" is part of DOS. And DOS has *always*
allowed things that COMMAND.COM didn't (like using rename to move files!)
--
Leonard Erickson leo...@qiclab.rain.com
personal: CIS: [70524,2603] 70524...@compuserve.com
business: CIS: [70376,1107] 76376...@compuserve.com
Mainly because DOS (up to 3.3 at least - dunno about 4.0 onwards) nearly
always used the FCB based routines and not the file handle routines.
Since FCB's don't know about directories then the FCB rename (which COMMAND.COM
uses) can't move files between directories :-(
Has this been fixed in DOS 4 upwards?
--
Stephen Harris
Disclaimer: me have an opinion? | Email: ..!ukc!axion!tharr!sweh
What an idea! | sweh%tharr...@uk.co.bt.axion
Wanted: humour transplant | tharr!sw...@uk.ac.ukc
<-- tharr *free* public access to Usenet in the UK 0234 841503 -->