中国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-10-31 16:15
47,815 topics / 349,930 posts / today 0 new / 48,290 members
DOS开发编程 & 发展交流 (开发室) » [Help] Software to restart the computer under DOS 6,
Printable Version  2,592 / 15
Floor1 glmov Posted 2003-09-28 00:00
初级用户 Posts 10 Credits 121
  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:[email protected]

Floor2 lemonhall Posted 2003-09-28 00:00
高级用户 Posts 183 Credits 639
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).
Floor3 Vincent Posted 2003-09-28 00:00
初级用户 Posts 2 Credits 107
You can restart directly with int 19!
Floor4 Wengier Posted 2003-09-28 00:00
系统支持 Posts 10,521 Credits 27,736
Why is the DOS version so old? I strongly recommend upgrading to 7.x or FreeDOS.
Floor5 xy_god Posted 2003-09-29 00:00
中级用户 Posts 56 Credits 276
Just make one yourself in assembly
mov ax 0000h
mov bx 0ffffh
push ax
push bx
retf
Floor6 lemonhall Posted 2003-09-29 00:00
高级用户 Posts 183 Credits 639
I suggest you use NASM to compile it; that way you can save about 1K of header information.
Floor7 glmov Posted 2003-09-29 00:00
初级用户 Posts 10 Credits 121
Thank you, everyone. Wish you all a happy National Day holiday!
Floor8 陈沫 Posted 2003-10-07 00:00
中级用户 Posts 54 Credits 250
Isn't it included in the Win98 boot setup!?
Floor9 Vincent Posted 2003-11-03 00:00
初级用户 Posts 2 Credits 107
You can use int 18 or int19!
Floor10 qb45 Posted 2003-11-03 00:00
高级用户 Posts 194 Credits 677
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!
Floor11 warm Posted 2003-11-04 00:00
初级用户 Posts 25 Credits 175
Floor12 tangkui Posted 2004-02-08 00:00
初级用户 Posts 4 Credits 104
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?
Floor13 Kinglion Posted 2004-02-11 00:00
铂金会员 Posts 1,924 Credits 5,800 From 金獅電腦軟體工作室
You can use DEBUG to write this program:

C:\>DEBUG
-A
JMP FFFF:0000
-R CX
5
-N BOOT.COM
-W
-Q
Floor14 profree Posted 2004-06-30 00:00
中级用户 Posts 132 Credits 478
How can this be done in C?
Floor15 jihao1234567 Posted 2004-06-30 00:00
中级用户 Posts 58 Credits 258
Using INT 19h is a good choice
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023