无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 1914|回复: 1
打印 上一主题 下一主题

DISKEMU脚本问题

[复制链接]
跳转到指定楼层
1#
发表于 2005-4-4 21:12:38 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
以下脚本,在显示菜单时,有时或在有些机上,看不到菜单。黑乎乎的。。。。问题出在哪?
cd BOOT
batch diskemu.cmd onlogo

:onlogo
transparent on
setresolution 640 480 32
timerpos 60 15
timercolor 255 @auto
forecolor 255
backcolor 0
processparam pixel 255 0 0 270 525 280
menubar 3 25
menucolor 255 0 @auto
call drawmenu
goto item1
:drawmenu
cls
print
print
print
print请选择要启动的选项:
print
print
print    1. Microsoft Windows PE
print    2. Microsoft DOS
print    3. 从硬盘启动
print    4. 从软盘启动
print    5. 重启计算机
print    6. 退出到命令行模式
print
print
print 使用 ↑ 键 ↓ 键来移动高亮显示条到所要的选项,按 Enter 键做个选择。
print 正在数秒,归零后高亮显示条所在的选项将自动启动。剩下的秒数:
return

;主按键区调用
:mainkey
onkey esc call Prompt
onkey 1 call PE
onkey 2 call DOS
onkey 3 boot 80
onkey 4 boot 0
onkey 5 reboot
onkey 6 call Prompt
return

:item1
highlight 6
getkey showtime showprocess 30 entr
onkey entr setkey 1
onkey down goto item2
onkey up goto item6
call mainkey
goto item1

:item2
highlight 7
;等待20秒,缺省按键 Enter
getkey showtime showprocess 30 entr
onkey entr setkey 2
onkey down goto item3
onkey up goto item1
call mainkey
goto item2

:item3
highlight 8
;等待20秒,缺省按键 Enter
getkey showtime showprocess 30 entr
onkey entr setkey 3
onkey down goto item4
onkey up goto item2
call mainkey
goto item3

:item4
highlight 9
;等待20秒,缺省按键 Enter
getkey showtime showprocess 30 entr
onkey entr setkey 4
onkey down goto item5
onkey up goto item3
call mainkey
goto item4

:item5
highlight 10
;等待20秒,缺省按键 Enter
getkey showtime showprocess 30 entr
onkey entr setkey 5
onkey down goto item6
onkey up goto item4
call mainkey
goto item5

:item6
highlight 11
;等待20秒,缺省按键 Enter
getkey showtime showprocess 30 entr
onkey entr setkey 6
onkey down goto item1
onkey up goto item5
call mainkey
goto item6

;执行WINPE
:PE
run winpe.bin
getkey
call drawmenu
return
:DOS
run dos.img
getkey
call drawmenu
return
;退出至命令行
:Prompt
setresolution 640 480 8
cd /
cls
quit
2#
发表于 2005-4-5 05:02:08 | 只看该作者

DISKEMU脚本问题

你把显示模式设置“setresolution 640 480 32”改为“setresolution 640 480”试试看。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-12-5 08:35

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表