Category : Tutorials + Patches
Archive   : DOSTIPS6.ZIP
Filename : DOSCOPY
Output of file : DOSCOPY contained in archive : DOSTIPS6.ZIP
(PC Magazine Vol 6 No 2 Jan 27, 1987 User-to-User)
If you need to make multiple copies of a floppy disk, DOS's
DISKCOPY forces you to reinsert the source disk for each copy made.
DOS can be patched so this is not necessary by resetting 2 bytes in
memory to zero and branching to the write disk routine after the
question: "COPY another diskette (Y/N)?" occurs.
Type in the appropriate DEBUG scripts for DOS 2.1, 3.1, or 3.2
using any pure-ASCII word processor. Make sure you leave a blank line
before the W in each case, and hit the Enter key at the end of each
line, especially the last one. Then put the correct script file,
DEBUG.COM, and DISKCOPY.COM on your disk and type:
DEBUG < SCRIPT.21
(changing the extension as appropriate for the DOS version you are
using).
To use the program, you must have enough memory to hold the disk
you are copying as well as DOS and the program DISKCPYM.COM -- about
448K.
Note, however, that while the 3.x versions prompt you to insert
a new blank disk after finishing the first copy, the 2.1 version does
not. If you try the 2.1 version, after the initial copy is made the
program will ask: "Copy another (Y/N)?" At this point insert the new
disk, since the program will begin making the new copy as soon as you
hit the Y.
SCRIPT.21:
N DISKCOPY.COM
L
N DISKCPYM.COM
A 240
MOV WORD PTR[01AA],050C
JMP 208
W
Q
- - -
SCRIPT 3.1:
N DISKCOPY.COM
L
N DISKCPYM.COM
A 215
MOV DX,07C4
PUSH DX
PUSH CS
CALL 0CA0
CALL 0C58
MOV DX,07F8
PUSH DX
PUSH CS
CALL 0CA0
MOV AL,[0120]
AND AL,DF
CMP AL,[07A0]
JZ 023C
CMP AL,[07A1]
JNZ 0215
STC
JMP 024E
MOV WORD PTR [0111],0000
CALL 03C2
CLC
JMP 0215
NOP
NOP
NOP
NOP
NOP
NOP
RET
W
Q
- - -
SCRIPT.32:
N DISKCOPY.COM
L
N DISKCPYM.COM
A 70E
MOV DX,0EF4
PUSH DX
PUSH CS
CALL 13D2
CALL 138A
MOV DX,0F28
PUSH DX
PUSH CS
CALL 13D2
MOV AL,[0369]
AND AL,DF
CMP AL,[0ED0]
JZ 0735
CMP AL,[0ED1]
JNZ 070E
STC
JMP 0747
MOV WORD PTR [035C],0000
CALL 07AD
CLC
JMP 070E
NOP
NOP
NOP
NOP
NOP
NOP
RET
W
Q
Editor's Note: If you don't want to patch a copy of DISKCOPY.COM,
you can always set up a RAMdisk the exact size of a floppy disk,
diskcopy your source disk into it, and then use the RAMdisk as the new
source disk and copy back onto floppies.
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/