中国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 05:55
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS软件下载 & 游戏分享 (下载室) » Program to restart DOS
Printable Version  1,841 / 8
Floor1 Lydong Posted 2003-04-01 00:00
元老会员 Posts 407 Credits 1,468 From 广州
Restart

C>DEBUG↓
-A↓
XXXX:0100 XOR AX,AX↓
XXXX:0102 INT 19↓
XXXX:0104 ↓
-N,CQ.COM↓
-RCX↓
:4↓
-W↓
-Q↓

It only reloads the DOS system. Its advantage is that it can restart DOS directly without going through the hardware system initialization process, so it is the fastest. But sometimes it may not work. If any expert can adapt it into a more practical “reload DOS” program, please post it.
Floor2 Wengier Posted 2003-04-01 00:00
系统支持 Posts 10,521 Credits 27,736
Actually it's just two lines:

MOV AX,0
INT 19
Floor3 Lydong Posted 2003-04-01 00:00
元老会员 Posts 407 Credits 1,468 From 广州
When writing a program with debug, how do you determine the length to write into the program? (For example, how is the value after RCX determined?)
Floor4 Lydong Posted 2003-04-01 00:00
元老会员 Posts 407 Credits 1,468 From 广州
After running the program above, it shows " Boot from ATAPI CD-ROM : Failure ..." and then just stops. Any way around this?
Floor5 pluto_zj Posted 2003-05-06 00:00
初级用户 Posts 19 Credits 162
One line is enough, just use INT 19H directly
Floor6 Wengier Posted 2003-05-06 00:00
系统支持 Posts 10,521 Credits 27,736
If you call INT 19 directly, then what about the value in AX? Better initialize it first.
Floor7 hanshen Posted 2003-09-30 00:00
初级用户 Posts 29 Credits 194
No, that's not right. The modified one he made doesn't require restarting the machine.
If you put this program on a bootable floppy, after booting copy this software to the hard disk, remove the floppy,
run it, and the hard disk can boot directly, without going through the BIOS startup process, saving boot time!!!
He modified the INT 19 call; this is not a simple INT 19 call.
Floor8 Wengier Posted 2003-09-30 00:00
系统支持 Posts 10,521 Credits 27,736
Better to use GRUB, it's the easiest to use:
root (hd0,0)
chainloader +1
and that's OK.
Floor9 陈沫 Posted 2003-10-07 00:00
中级用户 Posts 54 Credits 250
Some senior member wrote a very good one for ATX
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023