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-08-01 14:27
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Help] Software to restart the computer under DOS 6, View 2,161 Replies 15
Original Poster Posted 2003-09-28 00:00 ·  美国
初级用户
Credits 121
Posts 10
Joined 2003-09-28 00:00
22-year member
UID 10456
Gender Male
Status Offline
  I have a NOVELL3.12 DOS network around me, and sometimes I need to restart the workstation. Does anyone have software under DOS

that can restart the computer? If you can help me write a small program, I would be extremely grateful.


                E_MAIL:xq98ck@tom.com

Floor 2 Posted 2003-09-28 00:00 ·  中国 陕西 西安 教育网
高级用户
★★
OS/2女孩
Credits 639
Posts 183
Joined 2003-06-14 00:00
23-year member
UID 5148
Gender Female
Status Offline
It seems the webmaster's boot disk already has it (REBOOT。EXE)
, DOS/V also has this command, and you can also directly write an interrupt command and compile it with NASM
into a command only 6-8BITE in size. But since you are a NOVELL3.12
user, I don't know whether the interrupt is compatible (most likely it is).
REM 喜欢DOS,因为它的简单
REM 喜欢OS/2,因为它不再矫饰
REM 喜欢BASIC,因为它并不幼稚
REM 喜欢GNU,因为它杂乱无章
Floor 3 Posted 2003-09-28 00:00 ·  中国 浙江 嘉兴 电信
初级用户
Credits 107
Posts 2
Joined 2003-07-09 00:00
23-year member
UID 6608
Gender Male
Status Offline
You can restart directly with int 19!
Floor 4 Posted 2003-09-28 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Why is the DOS version so old? I strongly recommend upgrading to 7.x or FreeDOS.
Wengier - 新DOS时代

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

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

Floor 5 Posted 2003-09-29 00:00 ·  中国 河北 石家庄 桥西区 联通
中级用户
★★
疯狂的流浪者
Credits 276
Posts 56
Joined 2003-09-25 00:00
22-year member
UID 10329
Gender Male
Status Offline
Just make one yourself in assembly
mov ax 0000h
mov bx 0ffffh
push ax
push bx
retf
临河居士
http://www.xygod.pc5.org
Floor 6 Posted 2003-09-29 00:00 ·  中国 陕西 西安 教育网
高级用户
★★
OS/2女孩
Credits 639
Posts 183
Joined 2003-06-14 00:00
23-year member
UID 5148
Gender Female
Status Offline
I suggest you use NASM to compile it; that way you can save about 1K of header information.
REM 喜欢DOS,因为它的简单
REM 喜欢OS/2,因为它不再矫饰
REM 喜欢BASIC,因为它并不幼稚
REM 喜欢GNU,因为它杂乱无章
Floor 7 Posted 2003-09-29 00:00 ·  中国 广东 深圳 电信
初级用户
Credits 121
Posts 10
Joined 2003-09-28 00:00
22-year member
UID 10456
Gender Male
Status Offline
Thank you, everyone. Wish you all a happy National Day holiday!
Floor 8 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
Isn't it included in the Win98 boot setup!?
http://lingding.vicp.net
或许能帮你忙
Floor 9 Posted 2003-11-03 00:00 ·  中国 浙江 嘉兴 电信
初级用户
Credits 107
Posts 2
Joined 2003-07-09 00:00
23-year member
UID 6608
Gender Male
Status Offline
You can use int 18 or int19!
Floor 10 Posted 2003-11-03 00:00 ·  中国 湖北 武汉 联通
高级用户
★★
Credits 677
Posts 194
Joined 2003-09-13 00:00
22-year member
UID 9778
Gender Male
Status Offline
Very simple!
If you know QB, just use this statement!
OUT &H64, &HFE
Of course, you can also use DEBUG to write this statement directly into a COM!
Floor 11 Posted 2003-11-04 00:00 ·  中国 广东 中山 电信
初级用户
Credits 175
Posts 25
Joined 2003-10-23 00:00
22-year member
UID 11741
Gender Male
Status Offline
Floor 12 Posted 2004-02-08 00:00 ·  中国 广东 珠海 电信
初级用户
Credits 104
Posts 4
Joined 2004-02-03 00:00
22-year member
UID 16608
Gender Male
Status Offline
The following is quoted from xy_god at 2003-9-29 13:27:27:
自己   用汇编做一个好了
mov ax 0000h
mov bx 0ffffh
push ax
push bx
retf


Is this written using the Debug command?
If using debug, how do you save it at the end? Use w?
Floor 13 Posted 2004-02-11 00:00 ·  中国 辽宁 沈阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
You can use DEBUG to write this program:

C:\>DEBUG
-A
JMP FFFF:0000
-R CX
5
-N BOOT.COM
-W
-Q
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Floor 14 Posted 2004-06-30 00:00 ·  中国 云南 红河哈尼族彝族自治州 电信
中级用户
★★
Credits 478
Posts 132
Joined 2003-07-02 00:00
23-year member
UID 6296
Gender Male
Status Offline
How can this be done in C?
Floor 15 Posted 2004-06-30 00:00 ·  中国 河北 秦皇岛 联通
中级用户
★★
Credits 258
Posts 58
Joined 2003-10-11 00:00
22-year member
UID 11070
Gender Male
Status Offline
Using INT 19h is a good choice
奋发向上!!!
Forum Jump: