|
我修改,goto 34 那个
debug off
write 0x60000 0
write 0x64000 0
default 1
title Now Using Driver Pack is /SRS_F6/SRS.zip
clear
title [01] Boot Menu
ECHO Loading SRS_F6 Tool(KERNEL.IMG)...
map --mem /SRS_F6/KERNEL.IMG (hd10)
map --hook
ECHO Finish loading SRS_F6 (KERNEL.IMG) !
find --set-root /SRS_F6/MENU || rootnoverify (pd)
FAT file copy /SRS_F6/MENU (hd10,0)/_MENU
write --offset=200 (hd10,0)/_setenvi.bat \r\nset USRMENU=Yes\r\n
ECHO Loading DriversPack (/SRS_F6/SRS.ZIP) ...
find --set-root /SRS_F6/SRS.ZIP || rootnoverify (pd)
FAT file copy /SRS_F6/SRS.ZIP (hd10,0)/_SRS.ZIP
write --offset=0x40 (hd10,0)/_setenvi.bat \r\nset srs=srs\r\n
ECHO Finish loading DriversPack (/SRS_F6/SRS.ZIP) !
GOTO 34
boot
title [02] Setup WIN$.ISO
ECHO Loading SRS_F6 Tool(kernel.img)...
map --mem /SRS_F6/KERNEL.IMG (hd10)
map --hook
ECHO Finish loading SRS_F6 (KERNEL.IMG) !
write --offset=200 (hd10,0)/_setenvi.bat \r\nset WIN$=Yes\r\n
ECHO Loading /WIN$.ISO ...
find --set-root /WIN$.ISO || rootnoverify (pd)
map --mem /WIN$.ISO (0xff)
map --hook
ECHO Finish loading /WIN$.ISO .
ECHO Loading DriversPack (/SRS_F6/SRS.ZIP) ...
find --set-root /SRS_F6/SRS.ZIP || rootnoverify (pd)
FAT file copy /SRS_F6/SRS.ZIP (hd10,0)/_SRS.ZIP
write --offset=0x40 (hd10,0)/_setenvi.bat \r\nset srs=srs\r\n
ECHO Finish loading DriversPack (/SRS_F6/SRS.ZIP) !
GOTO 34
boot
title [03] Only Load WIN$.ISO
find --set-root /WIN$.ISO || rootnoverify (pd)
ECHO Loading /WIN$.ISO ...
map --mem /WIN$.ISO (0xff)
map --hook
ECHO Finish loading /WIN$.ISO!
GOTO 35
boot
title [04] Boot XPCMDCON.ISO
ECHO Loading SRS_F6 Tool(kernel.img)...
map --mem /SRS_F6/KERNEL.IMG (hd10)
map --hook
ECHO Finish loading SRS_F6 (KERNEL.IMG) !
ECHO Loading /XPCMDCON.iso ...
find --set-root /SRS_F6/XPCMDCON.ISO || rootnoverify (pd)
map --mem /SRS_F6/XPCMDCON.ISO (0xff)
map --hook
ECHO Finish loading /XPCMDCON.iso .
write --offset=200 (hd10,0)/_setenvi.bat \r\nset CMDCON=Yes\r\n
ECHO Loading DriversPack (/SRS_F6/SRS.ZIP) ...
find --set-root /SRS_F6/SRS.ZIP || rootnoverify (pd)
FAT file copy /SRS_F6/SRS.ZIP (hd10,0)/_SRS.ZIP
write --offset=0x40 (hd10,0)/_setenvi.bat \r\nset srs=srs\r\n
ECHO Finish loading DriversPack (/SRS_F6/SRS.ZIP) !
GOTO 34
boot
title [05] SRS Into Windows
ECHO Loading SRS_F6 Tool(kernel.img)...
map --mem /SRS_F6/KERNEL.IMG (fd0)
map --hook
ECHO Finish loading SRS_F6 (KERNEL.IMG) !
write --offset=200 (fd0)/_setenvi.bat \r\nset injectSRS=Yes\r\n
ECHO Loading DriversPack (/SRS_F6/SRS.ZIP) ...
find --set-root /SRS_F6/SRS.ZIP || rootnoverify (pd)
FAT file copy /SRS_F6/SRS.ZIP (fd0)/_SRS.ZIP
write --offset=0x40 (fd0)/_setenvi.bat \r\nset srs=srs\r\n
ECHO Finish loading DriversPack (/SRS_F6/SRS.ZIP) !
map --mem (fd0)/F6.GZ (fd1)
map --hook
map --unmap=0x80:0xfe
map --rehook
rootnoverify (fd0)
chainloader /io.sys
title [06] USB 2.0 [plpbt.bin]
kernel (hd-1,0)/plpbt.bin
title [07] Swap (hd0) & (hd1) for USB-HDD booting.\n only use for"[1]User Menu"、"[2]Setup WIN$.ISO"
write 0x60000 1
ECHO Endabled Swap (hd0) & (hd1) for USB-HDD booting
checkrange 1 read 0x60000 && ECHO 0x60000 is 1
pause
configfile (hd-1,0)/SRS_F6_EN
title [08] Use /OEM_SRS.ZIP
configfile (hd-1,0)/SRS_F6_OEM_EN
title [09] Use /SRS_F6/SRS1.ZIP
configfile (hd-1,0)/SRS_F6_EN1
title [10] Use /SRS_F6/SRS2.ZIP
configfile (hd-1,0)/SRS_F6_EN2
title [11] Use /SRS_F6/SRS3.ZIP
configfile (hd-1,0)/SRS_F6_EN3
title [12] Use /SRS_F6/SRS4.ZIP
configfile (hd-1,0)/SRS_F6_EN4
title [13] Use /SRS_F6/SRS5.ZIP
configfile (hd-1,0)/SRS_F6_EN5
title [14] Use /SRS_F6/SRS6.ZIP
configfile (hd-1,0)/SRS_F6_EN6
title [15] Use /INTEL1.ZIP
configfile (hd-1,0)/INTEL1
title [16] Use /INTEL2.ZIP
configfile (hd-1,0)/INTEL2
title [17] Use /INTEL3.ZIP
configfile (hd-1,0)/INTEL3
title [18] Use /INTEL4.ZIP
configfile (hd-1,0)/INTEL4
title [19] Use /INTEL5.ZIP
configfile (hd-1,0)/INTEL5
title [20] Use /AMD1.ZIP
configfile (hd-1,0)/AMD1
title [21] Use /AMD2.ZIP
configfile (hd-1,0)/AMD2
title [22] Use /NV1RAID.ZIP
configfile (hd-1,0)/NV1RAID
title [23] Use /NV1AHCI.ZIP
configfile (hd-1,0)/NV1AHCI
title [24] Use /NV2RAID.ZIP
configfile (hd-1,0)/NV2RAID
title [25] Use /NV2AHCI.ZIP
configfile (hd-1,0)/NV2AHCI
title [26] Use /HP.ZIP
configfile (hd-1,0)/HP
title [27] Use /IBM.ZIP
configfile (hd-1,0)/IBM
title [28] Use /OEM1.ZIP
configfile (hd-1,0)/OEM1
title [29] Use /OEM2.ZIP
configfile (hd-1,0)/OEM2
title [30] Use /OEM3.ZIP
configfile (hd-1,0)/OEM3
title [31] Use /OEM4.ZIP
configfile (hd-1,0)/OEM4
title [32] Use /OEM5.ZIP
configfile (hd-1,0)/OEM5
title [33] Use /OEM6.ZIP
configfile (hd-1,0)/OEM6
title
checkrange 1 read 0x60000 && write (hd10,0)/_setenvi.bat \r\nset USBHDD=Yes\r\n
map --mem (hd10,0)/F6.GZ (fd0)
map --mem (hd10,0)/F6.GZ (fd1)
map --hook
map (hd10) (hd0)
map (hd0) (hd10)
map --hook
rootnoverify (hd0,0)
chainloader /io.sys
title
map --mem=0x8000 /WINNT.SIF (rd) && write 0x64000 1
checkrange 1 read 0x64000 || configfile (hd-1,0)/bootntldr
checkrange 1 read 0x64000 && configfile (hd-1,0)/unattend |
|