China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-31 23:53
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Help] reboot command written with debug View 1,421 Replies 5
Original Poster Posted 2003-06-26 00:00 ·  中国 安徽 合肥 电信
中级用户
Credits 272
Posts 43
Joined 2003-04-04 00:00
23-year member
UID 1392
Gender Male
Status Offline
Could an expert please explain this assembly program
debug
-a 100
-mov ax,0040
-mov ds,ax
-mov si,0072
-mov ,ax
-jmp ffff:0
-int 20
-rcx
-0014
-n reboot.com
-w
-q
Floor 2 Posted 2003-06-27 00:00 ·  中国 安徽 合肥 电信
中级用户
Credits 272
Posts 43
Joined 2003-04-04 00:00
23-year member
UID 1392
Gender Male
Status Offline
Expert???!!~~~
Floor 3 Posted 2003-06-27 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
But this is the DOS beginner section!
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 4 Posted 2003-06-27 00:00 ·  中国 安徽 合肥 电信
中级用户
Credits 272
Posts 43
Joined 2003-04-04 00:00
23-year member
UID 1392
Gender Male
Status Offline
Oh, I forgot about that.
Could I ask the moderator to move it over?
Floor 5 Posted 2003-06-27 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Okay, it's been moved here!

Actually this bit is just using DEBUG to set register values, then jumping to reboot the computer..
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 6 Posted 2003-07-11 00:00 ·  中国 河南 郑州 联通
初级用户
Credits 180
Posts 25
Joined 2003-07-11 00:00
23-year member
UID 6759
Gender Male
Status Offline
Since it's rebooting anyway, why worry about so much?

Just one line
INT 19


OK?
Forum Jump: