|
yysn
初级用户
 
积分 65
发帖 26
注册 2010-7-29
状态 离线
|
『楼 主』:
关于程序大于64K后,无法运行的问题
使用 LLM 解释/回答一下
我的程序,编译链接后大概在60-70K之间,内存小模式。。。
我发现,在有的DOS上,超过64K就无法运行了,但是有的机器上,又可以运行。。。程序没什么变化。。。
这是为什么啊?
My program, after compilation and linking, is about 60-70K, in small memory model...
I found that on some DOS machines, it can't run when exceeding 64K, but on some machines, it can run... The program hasn't changed...
Why is this?
|
|
2010-11-9 11:45 |
|
|
zhgwbzhd
高级用户
   
积分 506
发帖 187
注册 2005-12-4
状态 离线
|
|
2010-11-16 22:18 |
|
|
yysn
初级用户
 
积分 65
发帖 26
注册 2010-7-29
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
都加上了,是不是在某种情况下有限制啊?
All added, is there any limitation under certain circumstances?
|
|
2010-11-18 21:42 |
|
|
netwinxp
高级用户
   
积分 741
发帖 366
注册 2007-7-25
状态 离线
|
|
2010-11-26 07:49 |
|
|
johnsonlam
银牌会员
     阿林
积分 1410
发帖 497
注册 2004-6-28 来自 九龍,香港
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
Originally posted by yysn at 2010-11-9 11:45 AM:
我发现,在有的DOS上,超过64K就无法运行了,但是有的机器上,又可以运行。。。程序没什么变化。。。
这是为什么啊?
相 信 是 HIMEM 和 EMM386 配 置 出 問 題 , 這 裡 有 些 可 取 代 HIMEM 和 EMM386 的 檔 案 和 文 件 , 內 有 範 例 , 雖 然 是 英 文 , 可 試 試 看 :
http://johnson.tmfc.net/dos/driver.html
Originally posted by yysn at 2010-11-9 11:45 AM:
I found that on some DOS systems, it cannot run when it exceeds 64K, but on some machines, it can run... The program has not changed...
Why is that?
Believe it is a problem with HIMEM and EMM386 configuration. Here are some files and documents that can replace HIMEM and EMM386. There are examples inside. Although it is in English, you can give it a try:
http://johnson.tmfc.net/dos/driver.html
|

我 的 網 站 - http://optimizr.dyndns.org
|
|
2010-11-29 17:34 |
|
|
yysn
初级用户
 
积分 65
发帖 26
注册 2010-7-29
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
编译成Large模式44
----------------------------------
编译成L模式之后,程序大了好多啊!
Compile to Large mode 44
----------------------------------
After compiling to L mode, the program has become much larger!
|
|
2010-12-3 15:53 |
|
|
lauey
初级用户
 
积分 30
发帖 9
注册 2008-4-27
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
1、楼主能够说明下你是什么程序,用什么编译器吗?
2、small内存模式,由于“段”的原因,因为限制就是2^16=64k,所以。。。
1、Can the owner explain what program you are and what compiler you use?
2、Small memory model, due to the "segment" reason, because the limit is 2^16 = 64k, so...
|
|
2010-12-3 15:57 |
|
|
yysn
初级用户
 
积分 65
发帖 26
注册 2010-7-29
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
楼上的,我是编译出来的可执行文件超过了64K
The person upstairs, my compiled executable file exceeds 64K.
|
|
2010-12-13 21:16 |
|