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-09-15 05:48
中国DOS联盟论坛 » DOS软件下载 & 游戏分享 (下载室) » Program to restart DOS View 1,839 Replies 8
Original Poster Posted 2003-04-01 00:00 ·  中国 广东 广州 增城区 电信
元老会员
★★★
Credits 1,468
Posts 407
Joined 2002-10-21 00:00
23-year member
UID 34
Gender Male
From 广州
Status Offline
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.
欢迎大家观临我的个人主页:

http://dosdiy.bluepc.com.cn/
http://dosdiy.ys168.com/


EMAIL: lydong@china.com.cn lydong@yeah.net
----------------------------------------------
Floor 2 Posted 2003-04-01 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Actually it's just two lines:

MOV AX,0
INT 19
Wengier - 新DOS时代

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

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

Floor 3 Posted 2003-04-01 00:00 ·  中国 广东 广州 增城区 电信
元老会员
★★★
Credits 1,468
Posts 407
Joined 2002-10-21 00:00
23-year member
UID 34
Gender Male
From 广州
Status Offline
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?)
欢迎大家观临我的个人主页:

http://dosdiy.bluepc.com.cn/
http://dosdiy.ys168.com/


EMAIL: lydong@china.com.cn lydong@yeah.net
----------------------------------------------
Floor 4 Posted 2003-04-01 00:00 ·  中国 广东 广州 增城区 电信
元老会员
★★★
Credits 1,468
Posts 407
Joined 2002-10-21 00:00
23-year member
UID 34
Gender Male
From 广州
Status Offline
After running the program above, it shows " Boot from ATAPI CD-ROM : Failure ..." and then just stops. Any way around this?
欢迎大家观临我的个人主页:

http://dosdiy.bluepc.com.cn/
http://dosdiy.ys168.com/


EMAIL: lydong@china.com.cn lydong@yeah.net
----------------------------------------------
Floor 5 Posted 2003-05-06 00:00 ·  中国 重庆 电信
初级用户
网管
Credits 162
Posts 19
Joined 2003-05-02 00:00
23-year member
UID 1819
Gender Male
Status Offline
One line is enough, just use INT 19H directly
在DOS的世界里寻觅属于自己的完美~~~~~~
Floor 6 Posted 2003-05-06 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
If you call INT 19 directly, then what about the value in AX? Better initialize it first.
Wengier - 新DOS时代

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

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

Floor 7 Posted 2003-09-30 00:00 ·  中国 广东 深圳 罗湖区 电信
初级用户
Credits 194
Posts 29
Joined 2003-08-13 00:00
23-year member
UID 8524
Gender Male
Status Offline
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.
Floor 8 Posted 2003-09-30 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Better to use GRUB, it's the easiest to use:
root (hd0,0)
chainloader +1
and that's OK.
Wengier - 新DOS时代

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

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

Floor 9 Posted 2003-10-07 00:00 ·  中国 广东 广州 白云区 电信
中级用户
★★
Credits 250
Posts 54
Joined 2003-06-08 12:00
23-year member
UID 4318
Gender Male
Status Offline
Some senior member wrote a very good one for ATX
http://lingding.vicp.net
或许能帮你忙
Forum Jump: