中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-15 00:41
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS开发编程 & 发展交流 (开发室) » [Help] reboot command written with debug
Printable Version  1,499 / 5
Floor1 superdos Posted 2003-06-26 00:00
中级用户 Posts 43 Credits 272
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
Floor2 superdos Posted 2003-06-27 00:00
中级用户 Posts 43 Credits 272
Expert???!!~~~
Floor3 Wengier Posted 2003-06-27 00:00
系统支持 Posts 10,521 Credits 27,736
But this is the DOS beginner section!
Floor4 superdos Posted 2003-06-27 00:00
中级用户 Posts 43 Credits 272
Oh, I forgot about that.
Could I ask the moderator to move it over?
Floor5 Wengier Posted 2003-06-27 00:00
系统支持 Posts 10,521 Credits 27,736
Okay, it's been moved here!

Actually this bit is just using DEBUG to set register values, then jumping to reboot the computer..
Floor6 slbbs Posted 2003-07-11 00:00
初级用户 Posts 25 Credits 180
Since it's rebooting anyway, why worry about so much?

Just one line
INT 19


OK?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023