中国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 01:10
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS开发编程 & 发展交流 (开发室) » DOS Quick Restart
Printable Version  2,221 / 2
Floor1 cdsign Posted 2010-05-16 11:27
新手上路 Posts 1 Credits 4
debug
a
int 19
g
Floor2 gssxd Posted 2010-06-21 22:38
新手上路 Posts 3 Credits 6
It seems not to be a restart.
Floor3 netwinxp Posted 2010-06-22 18:42
高级用户 Posts 366 Credits 741
INT 19 is to reload the disk boot. If a resident program has modified the interrupt vector before, directly using INT 19H will cause a system crash.

You can directly JMP FAR F000:FFF0. It can also be done through I/O.

debug
-a100
mov dx,0cf9
mov al,6;3 is for shutting down, but it is only effective after writing data to the CMOS shutdown status byte first.
out dx,al
int 20
-rcx:9
-n reboot.com
-w
-q

[ Last edited by netwinxp on 2010-6-22 at 18:47 ]
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023