|
maple
中级用户
  
积分 417
发帖 137
注册 2003-5-30
状态 离线
|
|
2003-7-24 00:00 |
|
|
021850524
初级用户
 
积分 102
发帖 1
注册 2003-7-26
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
要是软启动,就jmp ffff:0000
更彻底更底层的就out 64,fe
If it's a soft boot, then jmp ffff:0000. For a more thorough and lower-level one, it's out 64,fe
|
|
2003-7-26 00:00 |
|
|
Roy
管理员
          專業島民
积分 4869
发帖 1633
注册 2002-12-10
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
以下是引用021850524在2003-7-26 14:28:29的发言:
要是软启动,就jmp ffff:0000
更彻底更底层的就out 64,fe
是指這個嗎?
C:\>debug
-a
****:0100 mov al,fe
****:0102 out 64,al
****:0104
-rcx
CX 0000
:4
-nreset.com
-w
Writing 00004 bytes
-q
C:\>
The following is a quote from 021850524 on July 26, 2003 at 14:28:29:
If it's a soft boot, then jmp ffff:0000
For a more thorough and lower-level one, it's out 64,fe
Is this referring to this?
C:\>debug
-a
****:0100 mov al,fe
****:0102 out 64,al
****:0104
-rcx
CX 0000
:4
-nreset.com
-w
Writing 00004 bytes
-q
C:\>
|

我的網站:http://mw16.2ya.com/ 我的網誌: http://scrappedblog.blogspot.com/
~
我的Winamp正在播放的歌曲:
 |
|
2003-7-26 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
以下是引用lydong在2003-4-7 12:46:41的发言:
软关机和重新启动的程序已经有这么多了,可是还没有可以直接重新启动DOS的程序,下面这个程序, 都不能顺利重启DOS.都是刚出现启动画面时就死机了,请问谁有办法呢?
用GRUB for DOS吧,可以实现直接在DOS下启动(同一个或另一个)DOS的。
The following is a quote from lydong on 2003-4-7 12:46:41:
There are already so many programs for soft shutdown and restart, but there is no program that can directly restart DOS. The following programs all cannot restart DOS smoothly. They all freeze when the startup screen just appears. May I ask who has a way?
Use GRUB for DOS, which can realize starting (the same or another) DOS directly under DOS.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-7-27 00:00 |
|
|
斑马王子
初级用户
 
积分 163
发帖 17
注册 2003-8-13
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
我对着六楼和二楼的两种都做了但是执行后不会关机啊??
为什么。使用masm的时候成功生成exe文件。但是执行了没什么结果啊
为什么??
请给予指示
I've done both for the sixth floor and the second floor, but it doesn't shut down after execution. Why? When using masm, the exe file is successfully generated, but there's no result after execution. Why? Please give instructions.
|
|
2003-8-14 00:00 |
|
|
斑马王子
初级用户
 
积分 163
发帖 17
注册 2003-8-13
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
还有我使用masm是成功编译了obj文件。但是在link成exe文件我上这样做的不知道有没有问题
c:\>link poweroff.obj
run file 这里我直接回车
list file 直接回车
libraries 直接回车
warning:no stack segment
我知道肯定是我在这里弄错了什么
我很久以前使用过但现在忘记了,那位大哥帮忙啊!
And I successfully compiled the obj file using masm. But I'm not sure if there's a problem when I link it into an exe file.
c:\>link poweroff.obj
run file I just pressed Enter here
list file pressed Enter directly
libraries pressed Enter directly
warning:no stack segment
I know I must have made a mistake here.
I used it a long time ago but now I've forgotten. Could any brother help?
|
|
2003-8-14 00:00 |
|
|
斑马王子
初级用户
 
积分 163
发帖 17
注册 2003-8-13
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
各位大侠,小弟犯错了。我做完程序后是在windows下运行的。我忘了这个程序是用来关闭DOS的。现在问题搞定了。
Dear experts, I made a mistake. After I finished the program, I ran it under Windows. I forgot that this program is used to shut down DOS. Now the problem is solved.
|
|
2003-8-14 00:00 |
|
|
lhyh
初级用户
 
积分 110
发帖 4
注册 2003-9-4
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
我需要MASM的详细使用介绍,请告诉我,谢谢!!!!
我的信箱lhyh@371.net。QQ:80847753
I need a detailed introduction to the use of MASM. Thank you!!!
My email: lhyh@371.net. QQ: 80847753
|
|
2003-9-8 00:00 |
|
|
笑傲江湖
初级用户
  鹰击长空
积分 271
发帖 61
注册 2003-8-20
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
我想是否要先满足两个条件才行:
1.BIOS support APM/ACPI fuction;
2.ATX power.
版主认为呢?
I wonder if I need to meet two conditions first:
1. BIOS supports APM/ACPI function;
2. ATX power. What does the moderator think?
|

适合的,就是最好的!
DOS,永远的初恋情人。 |
|
2003-9-11 00:00 |
|
|
profree
中级用户
  
积分 478
发帖 132
注册 2003-7-2
状态 离线
|
『第 25 楼』:
使用 LLM 解释/回答一下
有没有C语言的源代码?
Is there a C language source code?
|
|
2004-6-30 00:00 |
|
|
f319
新手上路

积分 14
发帖 9
注册 2008-11-24
状态 离线
|
『第 26 楼』:
使用 LLM 解释/回答一下
... 哎, 你们还是调用的系统中断呀。 还是不知道它究竟是怎么关机的呀。就是说你不知道那中断程序是怎么做到关机的..
... 重启就简单了, 只要把cs:ip设为ffff:0000就可以了,所以debug下一个jmp ffff:0000就可以重启了.(但这样没有保存什么数据)... 之所以可以这样重启是因为系统开机时cs:ip就设为ffff:0000, 系统执行的第一条指令就在ffff:0000处呀.
.... 但怎么关机呢?.
... Hey, you guys are still using the system interrupts. But you still don't know exactly how it shuts down. That is, you don't know how that interrupt program manages to shut down...
... Rebooting is simple. As long as you set cs:ip to ffff:0000, so in debug, a jmp ffff:0000 can reboot. (But this doesn't save any data)... The reason this reboot works is because when the system boots up, cs:ip is set to ffff:0000, and the first instruction the system executes is at ffff:0000...
.... But how to shut down?
|
|
2009-7-30 06:18 |
|