home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
RBBS in a Box Volume 1 #3.1
/
RBBSIABOX31.cdr
/
dull
/
drives4.pat
< prev
next >
Wrap
Text File
|
1984-11-22
|
2KB
|
59 lines
THE 1.0+ LEVEL SUPER-DRIVE UTILITIES SUPPLIED WITH THE AST BOARDS
REQUIRE THAT THE DIP SWITCHES BE SET TO INDICATE THE TOTAL NUMBER
OF DRIVES ON YOUR SYSTEM, BOTH REAL AND RAM. AST SUPPLIES A PATCH
FOR DOS 1.1 TO MAKE IT THINK YOU ALWAYS HAVE 4 DRIVES. THE FOLLOWING
PATCH WILL DO THE SAME FOR DOS 2.1.
IF YOU RUN OTHER OPERATING SYSTEMS ON YOUR PC (NOTABLY THE UCSD P-SYSTEM)
THEY MAY HANG IF YOU SET THE DIP SWITCHES TO MORE THAN THE NUMBER OF REAL
DRIVES YOU HAVE INSTALLED.
THE FOLLOWING DEBUG SCRIPT WILL VERIFY THAT THE BOOT SECTOR IS CORRECT
FOR THIS PATCH. IT ASSUMES THAT DRIVE A: CONTAINS DEBUG.COM AND A DOS 2.1
BOOT FLOPPY.
A>DEBUG
-l100 0 0 1
-u1bd
XXXX:01BD CD11 INT 11
XXXX:01BF D0C0 ROL AL,1
XXXX:01C1 D0C0 ROL AL,1
XXXX:01C3 250300 AND AX,0003
XXXX:01C6 7501 JNZ 01C9
XXXX:01C8 40 INC AX
XXXX:01C9 40 INC AX
THE INSTRUCTIONS AT XXXX:1BD THRU XXXX:1C9 MUST MATCH THE ABOVE FOR YOU TO
INSTALL THE PATCH WITH THE SCRIPT BELOW. IF THEY DON'T, DON'T APPLY THE
PATCH. IGNORE INSTRUCTIONS AFTER XXXX:1C9.
-a1bd
XXXX:01BD NOP
XXXX:01BE NOP
XXXX:01BF XOR BP,BP
XXXX:01C1 XOR AX,AX
XXXX:01C3 MOV AL,04
XXXX:01C5 OR BYTE PTR [BP+0410],C0
<CTRL-BREAK>
-w100 0 0 1
Writing 0100 bytes
-q
A>
THE ABOVE PATCH SETS TWO BITS IN THE EQUIPMENT FLAG AT 40:10 TO 1'S.
WHENEVER YOU BOOT FROM A FLOPPY PATCHED AS ABOVE, DOS WILL THINK YOU
HAVE 4 DRIVES INSTALLED. SUPERDRV WILL THEN ALLOW YOU TO DEFINE UP TO
3 RAM DRIVES (NO. REAL + NO. RAM <= 4.)
THIS PATCH HAS BEEN TESTED WITH DOS 2.1 ON AN IBM-PC-1 (MAX 64K ON MOTHER
BOARD), 256K ON A MEGAPLUS BOARD, TWO REAL FLOPPY DRIVES, AND VERSION 1.20
OF SUPERDRV. THIS VERSION OF SUPERDRV DETECTS THAT YOU ARE RUNNING
DOS 2.1 AND WILL SETUP 180 OR 360kB MAX CAPACITY DRIVES (AS INDICATED BY
CHKDSK.)
IF YOU HAVE QUESTIONS ABOUT THIS PATCH, OR FIND PROBLEMS, PLEASE LEAVE A
MESSAGE ADDRESSED TO MARK GAYMAN ON THIS RBBS.
)
IF YOU HAVE QUESTIONS ABOUT THIS PATCH, OR FIND PROBLEMS, PLEASE LEAVE A
MESSAGE ADDRESSED TO MARK GAYMAN ON