12 12
发新话题
打印

放个简单的“DISKEMU”实例,抛砖引玉

放个简单的“DISKEMU”实例,抛砖引玉

:entrypoint
:setdac
:backcolor
setresolution 640 480
backcolor 1
cls
transparent off
:colorblock
colorblock shadow 7 0 28 79 28
:maintext
:drawtext
drawtext 28 6 14 1 "Windows XP OEM 安装光盘
drawtext 24 9 15 1 "1. 安装联想 Win XP Pro SP2
drawtext 24 11 15 1 "2. 自动安装联想 Win XP Pro SP2
drawtext 24 13 15 1 "3. 运行 Windows PE ( ERD2003 )
drawtext 24 15 15 1 "4. 运行 MS-DOS 7.1
drawtext 24 17 15 1 "5. 运行常用磁盘工具
drawtext 24 19 15 1 "6. 从硬盘启动计算机
drawtext 24 21 15 1 "7. 重新启动计算机
drawtext 1 28 9 7 "用数字或光标键选择启动项, 回车(Enter)键执行
drawtext 55 28 4 7 "默认硬盘启动倒计时:
:drawline
drawhline pixel 15 0 639 444
drawhline pixel 7 0 639 445
drawhline pixel 7 0 639 446
drawhline pixel 7 0 639 447
drawhline pixel 7 0 639 464
drawhline pixel 7 0 639 465
drawhline pixel 7 0 639 466
drawvline pixel 15 0 445 467
drawhline pixel 8 0 639 467
drawvline pixel 8 639 445 467
:keymap
onkey 1 goto run1
onkey 2 goto run2
onkey 3 goto run3
onkey 4 goto run4
onkey 5 goto run5
onkey 6 goto run6
onkey 7 goto run6
goto ~
:menutime
menubar 23 43
menucolor 8 @auto
highlight
highlight 19
timerpos 76 28
timercolor 12 7
getkey showtime 20 entr
onkey entr setkey 6
onkey 0xE00D setkey 6
onkey up goto menu5
onkey down goto menu7
setdefault menu6
goto keymap
:menu1
menubar 23 50
menucolor 8 @auto
highlight
highlight 9
getkey
onkey entr setkey 1
onkey 0xE00D setkey 1
onkey up goto menu7
onkey down goto menu2
setdefault menu1
goto keymap
:run1
run LEGE.BIN
getkey
goto backcolor
:menu2
menubar 23 54
menucolor 8 @auto
highlight
highlight 11
getkey
onkey entr setkey 2
onkey 0xE00D setkey 2
onkey up goto menu1
onkey down goto menu3
setdefault menu2
goto keymap
:run2
run LEGX.BIN
getkey
goto backcolor
:menu3
menubar 23 54
menucolor 8 @auto
highlight
highlight 13
getkey
onkey entr setkey 3
onkey 0xE00D setkey 3
onkey up goto menu2
onkey down goto menu4
setdefault menu3
goto keymap
:run3
run XPPE.BIN
getkey
goto backcolor
:menu4
menubar 23 42
menucolor 8 @auto
highlight
highlight 15
getkey
onkey entr setkey 4
onkey 0xE00D setkey 4
onkey up goto menu3
onkey down goto menu5
setdefault menu4
goto keymap
:run4
run Win9X.IMG
getkey
goto backcolor
:menu5
menubar 23 43
menucolor 8 @auto
highlight
highlight 17
getkey
onkey entr setkey 5
onkey 0xE00D setkey 5
onkey up goto menu4
onkey down goto menu6
setdefault menu5
goto keymap
:run5
batch DISK.CMD
getkey
goto backcolor
:menu6
menubar 23 43
menucolor 8 @auto
highlight
highlight 19
getkey
onkey entr setkey 6
onkey 0xE00D setkey 6
onkey up goto menu5
onkey down goto menu7
setdefault menu6
goto keymap
:run6
boot 80
getkey
goto backcolor
:menu7
menubar 23 41
menucolor 8 @auto
highlight
highlight 21
getkey
onkey entr setkey 7
onkey 0xE00D setkey 7
onkey up goto menu6
onkey down goto menu1
setdefault menu7
goto keymap
:run7
reboot
getkey
goto backcolor

TOP

放个简单的“DISKEMU”实例,抛砖引玉

启动:


磁盘工具:


其它磁盘工具:(Wbat)

TOP

放个简单的“DISKEMU”实例,抛砖引玉

好!好!好!

TOP

放个简单的“DISKEMU”实例,抛砖引玉

ding
[img]http://photos.gznet.com/photos/1041512/1041512-vpLoAlESgC.gif[/img][img]http://www.danasoft.com/sig-chi.jpg[/img]

TOP

放个简单的“DISKEMU”实例,抛砖引玉

hao

TOP

放个简单的“DISKEMU”实例,抛砖引玉

好东西

TOP

放个简单的“DISKEMU”实例,抛砖引玉

再放一个带图片:


:backcolor
transparent off
backgroundimage pixel BACK_01.BMP
setresolution 640 480 32
cls
repaint
:colorblock
colorblock pixel 7 1 445 638 466
:drawtext
drawtext 10 6 13 15 "Windows PE 工具光盘
drawtext 7 9 10  15 "1. 运行 Windows PE ( ERD 2003 )
drawtext 7 11 10 15 "2. 运行 MS-DOS V7.1 引导盘
drawtext 7 13 10 15 "3. 运行 Windows ME 引导盘
drawtext 7 15 10 15 "4. 运行 DR-DOS V7.03 引导盘
drawtext 7 17 10 15 "5. 运行常用磁盘工具
drawtext 7 26 10 15 "从硬盘启动计算机
drawtext 30 26 10 15 "重新启动计算机
drawtext 1 28 4 7 "默认硬盘启动倒计时:
drawtext 35 28 9 7 "用数字或光标键选择启动项, 回车(Enter)键执行
:drawline
drawhline pixel 15 0 639 444
drawvline pixel 15 0 445 467
drawhline pixel 8 0 639 467
drawvline pixel 8 639 445 467
:keymap
onkey 1 goto run1
onkey 2 goto run2
onkey 3 goto run3
onkey 4 goto run4
onkey 5 goto run5
onkey 6 goto run6
onkey 7 goto run7
goto ~
:menutime
menubar 6 23
menucolor 15 9 10 15
highlight
highlight 26
timerpos 21 28
timercolor 12 7
getkey showtime 10 entr
onkey entr setkey 6
onkey 0xE00D setkey 6
onkey up goto menu5
onkey left goto menu5
onkey down goto menu7
onkey right goto menu7
setdefault menu6
goto keymap
:menu1
menubar 6 38
menucolor 15 9 10 15
highlight
highlight 9
getkey
onkey entr setkey 1
onkey 0xE00D setkey 1
onkey up goto menu7
onkey down goto menu2
setdefault menu1
goto keymap
:run1
run XPPE.BIN
getkey
goto backcolor
:menu2
menubar 6 33
menucolor 15 9 10 15
highlight
highlight 11
getkey
onkey entr setkey 2
onkey 0xE00D setkey 2
onkey up goto menu1
onkey down goto menu3
setdefault menu2
goto keymap
:run2
run WIN9X.IMA
getkey
goto backcolor
:menu3
menubar 6 32
menucolor 15 9 10 15
highlight
highlight 13
getkey
onkey entr setkey 3
onkey 0xE00D setkey 3
onkey up goto menu2
onkey down goto menu4
setdefault menu3
goto keymap
:run3
run WINME.IMA
getkey
goto backcolor
:menu4
menubar 6 33
menucolor 15 9 10 15
highlight
highlight 15
getkey
onkey entr setkey 4
onkey 0xE00D setkey 4
onkey up goto menu3
onkey down goto menu5
setdefault menu4
goto keymap
:run4
run DRDOS.IMA
getkey
goto backcolor
:menu5
menubar 6 26
menucolor 15 9 10 15
highlight
highlight 17
getkey
onkey entr setkey 5
onkey 0xE00D setkey 5
onkey up goto menu4
onkey down goto menu6
setdefault menu5
goto keymap
:run5
batch DISK.CMD
getkey
goto backcolor
:menu6
menubar 6 23
menucolor 15 9 10 15
highlight
highlight 26
getkey
onkey entr setkey 6
onkey 0xE00D setkey 6
onkey up goto menu5
onkey left goto menu5
onkey down goto menu7
onkey right goto menu7
setdefault menu6
goto keymap
:run6
boot 80
getkey
goto backcolor
:menu7
menubar 29 44
menucolor 15 9 10 15
highlight
highlight 26
getkey
onkey entr setkey 7
onkey 0xE00D setkey 7
onkey up goto menu6
onkey left goto menu6
onkey down goto menu1
onkey right goto menu1
setdefault menu7
goto keymap
:run7
reboot
getkey
goto backcolor

TOP

放个简单的“DISKEMU”实例,抛砖引玉

谢谢了,不错的

TOP

放个简单的“DISKEMU”实例,抛砖引玉

不好意思我很菜不太看的明,能讲解一下吗?谢谢
如需见日出;
必需汗成河,
努力未收获;
它日必有用。
刻录之家:3364720   

TOP

放个简单的“DISKEMU”实例,抛砖引玉

引用:
下面引用由HUXQ1682005/05/14 11:07pm 发表的内容:
不好意思我很菜不太看的明,能讲解一下吗?谢谢
偶在盘上再查一下,把所有命令列出来尔一看就明白了。

TOP

 12 12
发新话题