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 21:56
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » DOS Quick Restart View 2,092 Replies 2
Original Poster Posted 2010-05-16 11:27 ·  中国 四川 成都 电信
新手上路
Credits 4
Posts 1
Joined 2010-05-15 22:32
16-year member
UID 166940
Gender Male
Status Offline
debug
a
int 19
g
Floor 2 Posted 2010-06-21 22:38 ·  中国 广东 深圳 电信
新手上路
Credits 6
Posts 3
Joined 2010-05-19 21:30
16-year member
UID 167215
Gender Male
Status Offline
It seems not to be a restart.
Floor 3 Posted 2010-06-22 18:42 ·  中国 福建 厦门 电信
高级用户
★★★
Credits 741
Posts 366
Joined 2007-07-25 19:11
19-year member
UID 94024
Gender Male
Status Offline
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 ]
Forum Jump: