Dec 122017
 
A multiple disk driver with partition utility. ASM source code included.
File PDISK.ZIP from The Programmer’s Corner in
Category Assembly Language
A multiple disk driver with partition utility. ASM source code included.
File Name File Size Zip Size Zip Type
286PD1.SYS 1789 659 deflated
286PD2.SYS 1789 660 deflated
BOOTCODE.ASM 1830 823 deflated
DOTRANS.ASM 2235 937 deflated
FDINS.C 6981 2779 deflated
FDINS.EXE 13529 7455 deflated
FDINT.TXT 1015 543 deflated
FDINTINS.C 9402 3516 deflated
FDINTINS.EXE 15303 8215 deflated
FDTBL.ASM 1411 756 deflated
FDTBLINT.ASM 1579 820 deflated
MAKEFILE 1063 406 deflated
PART.C 14373 4556 deflated
PART.EXE 22901 12293 deflated
PART.H 5960 2300 deflated
PART1.C 3956 1531 deflated
PDISK.ASM 10746 4256 deflated
PDISK1.SYS 1802 673 deflated
PDISK2.SYS 1802 673 deflated
PFORMAT.C 2503 1231 deflated
PFORMAT.EXE 18063 9817 deflated
RDIOCTL.ASM 318 218 deflated
RDPART.C 7141 2403 deflated
READ.ME 4204 2202 deflated
SCREEN.ASM 1200 403 deflated
SLEEP.C 725 381 deflated
TPCREAD.ME 199 165 deflated
UMUL.ASM 121 94 deflated

Download File PDISK.ZIP Here

Contents of the READ.ME file


This stuff is mostly self explanatory, but:
part takes one optional argument, which is the disk number with
which to start (either 0 or 1. 0 is default).

286pd1.sys and 286pd2.sys are for driving partitions on your first
and second disks, respectively. They will only work on 80186 or higher
processors. For 8086/8088 computers, use pdisk1.sys, pdisk2.sys. They
are just a *wee* bit slower....

fdins is for use when you're short of free space in "low menory" --
i.e. free interrupt vectors. fdintins, on the other hand, doesn't
use up any application space memory. In either case, these programs
don't do *anything* directly -- you run them in order to create a
.COM program that does the dirty work. You get TBL1.com, TBL2.com,
TBL1INT.com, or TBL2INT.com, depending on whether you run fdins,
fdintins and specifiy disk 1 or 2 (== 0 or 1).

pformat is for when you want to be particularly destructive with your
new partition. You run "pformat :" where must be a
valid pdisk. It's good for marking newly developed bad sectors,
I guess. Be careful.

According to tests I ran with the PC Magazine benchmark program, disk access
to a pdisk is actually faster than the normal DOS driver (i.e. C: or a DOS
3.3/4.x extended DOS partition). (This may only be true using the 286 version,
and may be affected by your usage. The main point is that you certainly do
not take a performance *cut* by using my program.)

I am not including most of the COPYING file that comes with stuff from the
Free Software Foundation (Richard Stallman, et al.) because I don't know
if I'm allowed, but that's what I intend for this software. Specifically,
you can *give* away as many copies of this software as you like. You can
charge a *reasonable* handling fee. You can even incorporate parts of it
into other projects, as long as you distribute at least the source you got
from pdisk. I don't want money or contributions, I want plaudits. I hope
this software is helpful to you.

When you find the inevitable bug (there are *none* in the driver, but I
don't absolutely swear for the partitioning program), please try to
fix it yourself and let me know the solution. Failing that, drop me a
line describing the situation exactly, especially including DOS version and
all hardware, including fixed disk and controller type. I don;t promise
to do anything about it, but I might.

One thing I recommend from experience: my boot code will only work on some
IBM compatibles. It is best to use the manafacturer's (or generic) MSDOS
fdisk to set up the initial partition, then use "format c: /s" to set up
your bootable DOS partition. If you can get this working right with pdisk,
that would be nice.

have fun. Scott E. Garfinkle
[email protected]

File. I hope I'm not violating their copyright, or anything.
>

NO WARRANTY

BECAUSE PDISK IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY NO
WARRANTY, TO THE EXTENT PERMITTED BY APPLICABLE STATE LAW. EXCEPT
WHEN OTHERWISE STATED IN WRITING, SCOTT GARFINKLE
AND/OR OTHER PARTIES PROVIDE PDISK "AS IS" WITHOUT
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
PERFORMANCE OF PDISK IS WITH YOU. SHOULD PDISK PROVE DEFECTIVE, YOU
ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL SCOTT GARFINKLE
AND/OR ANY OTHER PARTY
WHO MAY MODIFY AND REDISTRIBUTE PDISK AS PERMITTED ABOVE, BE LIABLE TO
YOU FOR DAMAGES, INCLUDING ANY LOST PROFITS, LOST MONIES, OR OTHER
SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
INABILITY TO USE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY THIRD PARTIES OR A
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS) PDISK, EVEN
IF YOU HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR
ANY CLAIM BY ANY OTHER PARTY.


 December 12, 2017  Add comments

Leave a Reply