![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-06 08:20 |
47,812 topics / 349,914 posts / today 0 new / 48,268 members |
| DOS启动盘 & LOGO技术 (启动盘室) » Please clarify your specific needs. For example, do you want to know how to add specific drivers to the MS-DOS 7.1 boot disk, or what general methods are there? Please provide more detailed information. |
| Printable Version 2,396 / 7 |
| Floor1 xiaoyunwang | Posted 2007-10-21 21:51 |
| 高级用户 Posts 374 Credits 940 From 湖南张家界 | |
|
Urgent! How to make the MS-DOS 7.1 boot disk support IDE/ATAPI, SATA, SCSI/ASPI, USB various drivers
Recently, the younger brother wants to make a boot disk. Without setting the boot options in config.sys, he wants the MS-DOS 7.1 boot disk to support IDE/ATAPI, SATA, SCSI/ASPI, USB hard disks, optical drives, mobile disks, flash drives, USB mice and other drivers. Please let the brothers and sisters point out what is wrong with the following configuration, or what drivers are still missing, and whether it will crash when there are USB devices. I feel that some drivers seem to be repeated on a certain device driver (such as USB devices). Please let the brothers and sisters reply with a more comprehensive and optimized program plan. Just modify it on the original post! Thank you very much! Urgently need your help! If there is any batch code for intelligent detection, it will be better! The following is a simple description of the drivers I used: ASPICD.SYS SCSI optical drive support ASPIDISK.SYS SCSI disk support ASPIOHCI.SYS Driver program for USB drives with OHCI interface from Iomega Corporation ASPIUHCI.SYS Driver program for USB drives with UHCI interface from Iomega Corporation CP936UNI.TBL Simplified Chinese (GB) code page for DOSLFN 0.32o, used for Chinese and English long filename support DUSE.EXE Driver program for USB drives under DOS, which can drive USB hard disks, USB optical drives, USB floppy drives, etc. DI1000DD.SYS Driver program for USB/SCSI hard disks in Motto Hairu ECHO.SYS Tool to display text in CONFIG.SYS GCDROM.SYS SATA optical drive support HIMEM.SYS Tool provided in MS-DOS 7.10 to provide XMS memory, supporting large memory LOWDMA.SYS Provides ISA DMA UMB support for floppy disks UDMAJR.SYS Supports hard disks with TB-level capacity and UltraDMA33/66/100/133/166 various modes under DOS UMBPCI.SYS Supports K8 chipset, provides the most excellent UMB memory driver, and the conventional memory after startup is as high as 630K! USBASPI.SYS The latest version 2.06 of the USB driver in Motto Hairu USBCD.SYS Driver program for USB/SCSI optical drives in Motto Hairu VIDE-CDD.SYS The best general IDE/ATAPI optical drive driver under DOS, which occupies very little memory The following is the content of the config.sys file in my MS-DOS 7.1 boot disk: rem made by Wang Xiaoyun rem ------------------------------------------------------------------------------ rem Enable DOS to support hard disks with TB-level capacity and UltraDMA33/66/100/133/166 various modes and large memory support rem Supports K8 chipset, provides the most excellent UMB memory driver, and the conventional memory after startup is as high as 630K! rem Supports IDE/ATAPI, SATA, SCSI/ASPI, USB optical drives and hard disks rem Supports USB floppy drives, USB flash drives (such as USB drives), drivers for OHCI interface and UHCI interface rem Provides ISA DMA UMB support for floppy disks rem Supports serial (Serial) and PS/2 port mice, supports USB interface mouse driver rem Fully supports Chinese and English long filenames rem ------------------------------------------------------------------------------ dos=high,umb files=20 buffers=30 stacks=9,256 shell=COMMAND.COM /p /f /e:1440 lastdrive=z DEVICE=ECHO.SYS N/o/w c/o/n/f/i/g /d/r/i/v/e/r/s /, /m/a/d/e /b/y /W/a/n/g /X/i/a/o/y/u/n . . . DEVICE=HIMEM.SYS /testmem:off device=UDMAJR.SYS rem Which is better to use emm386.exe or umbpci.sys to manage upper memory? Will it reduce efficiency if neither is used? DEVICE=UMBPCI.SYS DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD DEVICEHIGH=GCDROM.SYS /D:SATA-CD DEVICEHIGH=USBCD.SYS /D:USB-CD DEVICEHIGH=ASPICD.SYS /D:SCSI-CD DEVICEHIGH=DUSE.EXE DEVICE=ASPIDISK.SYS DEVICE=USBASPI.SYS DEVICE=ASPIOHCI.SYS /INT /ALL DEVICE=ASPIUHCI.SYS /INT /ALL DEVICE=DI1000DD.SYS DEVICE=LOWDMA.SYS NUMLOCK=ON COMMENT With TB level hard-disk and UltraDMA33/66/100/133/166 mode support COMMENT With IDE/ATAPI,SATA,SCSI/ASPI,USB cdrom and hard-disk support COMMENT With serial , ps/2 and usb mouse support COMMENT Made by Wang Xiaoyun The following is the content of msdos.sys: ;MS-DOS 7.10 System Configuration File ;(C)Copyright Microsoft Corp. WinDir=A:\ WinBootDir=. HostWinBootDrv=A BootGUI=0 DisableLog=1 BootWarn=0 BootMenu=0 BootMenuDefault=1 BootMenuDelay=0 DoubleBuffer=0 Drvspace=0 Dblspace=0 Logo=0 SystemReg=0 ; ;================================= ;Made by Wang Xiaoyun ;All rights reserved. ;================================= ; The following is the content of autoexec.bat: @echo off rem made by Wang Xiaoyun rem Part of the code refers to Ge Mingyang (gmy) from DOS Home (http://doshome.com) production if %RAMDRIVE%*==* goto begin echo Attention: This file is the boot batch loading file, it has been run once! It cannot be run again! echo Prompt: You can type help in any directory to get more functions! ECHO ┏━━━━━━━━━━━━━━━━━━┓ ECHO ┃ System Administrator Portable CD ┃ ECHO ┃ Made by Wang Xiaoyun All rights reserved, piracy is not allowed ┃ ECHO ┗━━━━━━━━━━━━━━━━━━┛ goto QUIT :begin PROMPT=$P$G SET DIRCMD=/O:N xmsdsk 8192 /y >NUL findramd.exe >nul if not %RAMDRIVE%*==* goto noramd echo ERROR: ramdrive is not found. echo SORRY: Be will not use the disk. goto QUIT :noramd md %RAMDRIVE%\temp >NUL set temp=%RAMDRIVE%\temp set tmp=%RAMDRIVE%\temp path=%RAMDRIVE%\;%RAMDRIVE%\temp;a:\ copy /y command.com %RAMDRIVE%\ >NUL set comspec=%RAMDRIVE%\command.com IF EXIST ebd.cab GOTO EXT echo ERROR: ebd.cab not found. echo SORRY: Be will not use the disk. echo. GOTO QUIT :EXT cls echo. echo Preparing to start your computer. echo This may take a few minutes. Please wait... echo ------------------------------------------------------------------ echo With TB level hard-disk and UltraDMA33/66/100/133/166 mode support echo With IDE/ATAPI,SATA,SCSI/ASPI,USB cdrom and hard-disk support echo With K8 firewire and power umb mem driver support echo With serial , ps/2 and usb mouse support echo Made by Wang Xiaoyun echo ------------------------------------------------------------------- copy /y extract.exe %RAMDRIVE%\ > NUL %RAMDRIVE%\ cd\ extract /y /e /l %RAMDRIVE% a:\ebd.cab > NUL start.BAT :QUIT The following is the content of start.bat (located in the virtual memory disk created by XMSDSK): @echo off %RAMDRIVE%\ cd\ cls if not %CDROM%*==* goto end call tway.bat call mouse.bat DOSLFN /z:Cp936uni.tbl >NUL lh SHSUCDX /D:?IDE-CD /D:?SATA-CD /D:?USB-CD /D:?SCSI-CD /D:?USBCDROM findcd /s >NUL :end rem Set title set title=System Administrator Portable CD rem Run the first batch processing Batch processing to start the application.BAT There is also a batch processing executed after the execution of an application batch processing as follows: @echo off %RAMDRIVE%\ cd\ set s= for %%b in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist %%b:\tools\xiaoyun.bat set s=%%b if not %s%*==* set PATH=%PATH%;%s%:\;%s%:\tools cls if not %title%*==* echo Thank you for using %title% ! ECHO ┏━━━━━━━━━━━━━━━━━━┓ ECHO ┃ System Administrator Portable CD ┃ ECHO ┃ Made by Wang Xiaoyun All rights reserved, piracy is not allowed ┃ ECHO ┗━━━━━━━━━━━━━━━━━━┛ echo Restart: Press R echo Shutdown: Press S echo Return: Press M echo Help: Press H echo This help Press end echo More functions: Press help echo. if not %RAMDRIVE%*==* echo Virtual memory disk=%RAMDRIVE% if not %CDROM%*==* echo Total number of optical drives= %CDROM% , optical drive letters in turn= %CDROM1% %CDROM2% %CDROM3% %CDROM4% %CDROM5% %CDROM6% %CDROM7% %CDROM8% %CDROM9% %CDROM10% %CDROM11% %CDROM12% %CDROM13% %CDROM14% %CDROM15% %CDROM16% %CDROM17% %CDROM18% %CDROM19% %CDROM20% %CDROM21% %CDROM22% %CDROM23% %CDROM24% %CDROM25% %CDROM26% rem How to simplify this possible 26 optical drives with for statement? Please let the brothers and sisters give me an optimized plan, please beg, and after the boot disk runs, when detecting that the hard disk has an ntfs partition, load the ntfs driver, otherwise do not load, how to write this code? 请问Using the loadsys program to load drivers, using the mem memory viewing method to judge whether a certain driver is loaded successfully and then continue to load the next driver, otherwise unload this driver first and then load the next driver, is this approach可取? |
|
| Floor2 lianjiang2004 | Posted 2007-10-21 22:03 |
| 金牌会员 Posts 1,884 Credits 3,946 | |
|
It looks super powerful, heh heh............
|
|
| Floor3 xiaoyunwang | Posted 2007-10-22 08:16 |
| 高级用户 Posts 374 Credits 940 From 湖南张家界 | |
|
Please ask your fellow seniors to copy my post and then make modifications to it, and then post it! I'm begging you, help me, a newbie!......
|
|
| Floor4 fastslz | Posted 2007-10-22 09:38 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
As for learning, it's okay, but not very practical. The more drivers are mounted, the more unstable DOS becomes. Selective mounting is more practical. I've been rolling in DOS since 1997, and I've been in the forum for several years without releasing a boot disk. The forum is full of experts. In the end, the administrator's boot disk is still more stable! If you really want to create a super - powerful boot disk, you can update the drivers in the administrator's boot disk and add more selective boot items.
CDROM1% %CDROM2% %CDROM3% %CDROM4% %CDROM5% CALL XXX.bat shift The syntax of goto shift can refer to the 98 boot disk By the way, the drivers you mounted are not many. There are more IDE/ATAPI, SATA, SCSI/ASPI, USB drivers. In short, it's enough : - ) [ Last edited by fastslz on 2007 - 10 - 22 at 09:40 AM ] |
|
| Floor5 tianlijian | Posted 2008-11-27 23:38 |
| 初级用户 Posts 45 Credits 120 | |
|
I don't know how to do it, but I've learned a lot.
|
|
| Floor6 Qtwdftxvt | Posted 2008-11-28 13:19 |
| 初级用户 Posts 101 Credits 190 | |
|
Sometimes manual loading is better than just putting everything on the boot disk.
|
|
| Floor7 xiaoyunwang | Posted 2008-11-28 23:25 |
| 高级用户 Posts 374 Credits 940 From 湖南张家界 | |
Originally posted by xiaoyunwang at 2007-10-21 09:51 PM: Now take a look, O(∩_∩)O haha~, how naive it was then! [ Last edited by xiaoyunwang on 2008-11-29 at 01:10 ] |
|
| Floor8 雨露 | Posted 2008-11-29 08:04 |
| 管理员 Posts 2,601 Credits 6,215 | |
|
There are so many boot disks, but after using them all, the one from the webmaster is still the best!
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |