| 
 | 
 
做了一个小玩具 
一步装系统的 
下载地址:http://www.ctdisk.com/file/7880214 
调用YBZXT即可 
格式: 
YBZXT ISO文件绝对路径 [1 KEY 仿真盘驱动] 
因为各种问题 
所以到DOS下一游了一下 
请帮忙品鉴 
更新了一下 
补上CD支持 
源码:- !BAT    by 2011czmxbb52 @ 20120622
 
 - checkrange 20111001:-1 read 0x8278 || call :error Not supported grub4dos version!
 
 - map --mem=0x20000 %~f0 (rd) > nul
 
 - cat --locate=\x1f\x8b --number=1 (rd)+1 > nul || exit 2
 
 - calc *0x82d8=*0x82d8-%?% > nul
 
 - calc *0x82d0=*0x82d0+%?% > nul
 
 - map --mem (rd)+1 (fd7) > nul
 
 - map --rehook
 
 - write (md)0x20001+1 %1
 
 - ::ISO文件位置
 
 - if /i not "%3"=="" write (md)0x20002+1 %3 && write 0x44FFF 1
 
 - if /i not "%4"=="" write (md)0x20003+1 %3 && write 0x44FFE 1
 
 - command %~dp0/F6IMG %~dp0/SRS
 
 - cat (md)0x20003+1 | set mapdri=
 
 - checkrange 1 read 0x44FFE && echo You specify the %mapdrv% driver as you want to use the emulation disk drive is loading ... && map --mem (hd-1,0)/%mapdri%.gz (fd1)
 
 - checkrange 1 read 0x44FFE || if not exist (fd1)/TXTSETUP.OEM && map --mem (hd-1,0)/wvblock.gz (fd1)
 
 - if not exist %~f1 && goto :prompt ! goto :install
 
  
- :write_untt
 
 - insmod (fd7)/INIFILE.MOD
 
 - cat (md)0x20002+1 | command INIFILE (fd7)/winnt.sif [UserData] ProductKey=
 
 - delmod INIFILE
 
  
- :install
 
 - insmod (fd7)/FAT.MOD
 
 - map --mem (fd7)/MSDOS.GZ (hd)
 
 - map --hook
 
 - checkrange 1 read 0x44FFE && call :write_untt
 
 - command fat copy (fd7)/winnt.sif (hd-1,0)/winnt.sif
 
 - cat (md)0x20001+1 | set file=
 
 - map %file% (0xFF) || map --mem %file% (0xFF)
 
 - map --e820cycles=3
 
 - map --unmap=7
 
 - map --hook
 
 - chainloader (hd-1,0)+1 || chainloader (hd-1,0)/io.sys
 
 - rootnoverify (hd-1,0)
 
 - boot
 
  
- :prompt
 
 - clear
 
 - echo The file you specified was not found.
 
 - echo -e -n \n
 
 - echo At the prompt enter the ISO file you want to use.
 
 - echo -e -n \n
 
 - set /p file=YBZXT>
 
 - if not exist %file% && goto :prompt ! goto :install
 
  复制代码 
[ 本帖最后由 2011czmxbb52 于 2012-6-22 21:02 编辑 ] |   
 
评分
- 
查看全部评分
 
 
 
 
 
 |