|
qyhren_1998
初级用户
 
积分 134
发帖 10
注册 2003-12-17
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
wengier djgpp集成开发环境用你说的命令行的命令吗?怎么说没有这个命令呢?
Does the Wengier DJGPP integrated development environment use the command you mentioned? Why does it say that this command does not exist?
|
|
2003-12-18 00:00 |
|
|
qyhren_1998
初级用户
 
积分 134
发帖 10
注册 2003-12-17
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
wengier,需要吧程序全部下载吗?太多了!搞不明白!我是学生,帮帮我吧!谢谢
wengier, do I need to download all the programs? There are too many! I don't understand! I'm a student, please help me! Thank you
|
|
2003-12-18 00:00 |
|
|
计算机
初级用户
 
积分 102
发帖 1
注册 2003-12-20
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
大家好呀!
我是新来的呀
!
Hello everyone!
I'm new here!
!
|
|
2003-12-20 00:00 |
|
|
晓欣
初级用户
 
积分 154
发帖 14
注册 2003-12-30
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
我在那个官方FTP中发现了很多文件,不知道哪些应该下,哪些可以不下,大虾们指点。。。。。。。。。
I found a lot of files in that official FTP, but I don't know which ones should be downloaded and which can be left. Guys, please give me some advice......
|
|
2003-12-30 00:00 |
|
|
mccoy
初级用户
 
积分 105
发帖 1
注册 2004-1-6
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
以下是引用TomLi在2003-8-12 13:27:02的发言:
Borland DOS POWER PACK
Borland C++ 4.5与Borland DOS POWER PACK配合可以开发出DOS下DPMI 16和DPMI 32应用程序,在DOS下可以使用4G内存,原来在BC++ 3.1下编写的DOS程序基本上不用改动,重新编译即可。特别是Borland DOS POWER PACK在DOS下可以使用WINDOWS 3.X格式的DLL库,同时也支持BGI图形接口,对于开发DOS GUI界面特别方便,不会出现内存不够的问题。
先跟站上的各位說聲對不起! 因為我只會用繁體的電腦.
您說到有這套軟體 在哪裡可以找得到呢?
現在開發的程序遇上了emm386 #12 Stack execption的錯誤.
而且一執行就死機.
stacks 加到18,512也做不到, 減縮源代碼也辦不到. 只能找看看這個東西可不可以解決我的困難, 不然就要porting 到djgpp上面去了. 怕時間上不許可就是了.
The following is the speech of TomLi on 2003-8-12 13:27:02:
Borland DOS POWER PACK
Borland C++ 4.5 in conjunction with Borland DOS POWER PACK can be used to develop DPMI 16 and DPMI 32 applications under DOS, with 4G memory available under DOS. DOS programs originally written under BC++ 3.1 basically need no changes and can be recompiled. In particular, Borland DOS POWER PACK can use DLL libraries in WINDOWS 3.X format under DOS and also supports the BGI graphics interface, which is very convenient for developing DOS GUI interfaces and will not encounter the problem of insufficient memory.
First, I would like to apologize to everyone on the site! Because I can only use a traditional Chinese computer.
You mentioned having this software . Where can I find it?
Now the developed program has encountered the error of emm386 #12 Stack execption.
And it freezes as soon as it is executed.
Adding stacks to 18,512 doesn't work, and reducing the source code doesn't work either. I can only see if this thing can solve my problem, otherwise I have to port it to djgpp. It's just that I'm afraid there isn't enough time.
|
|
2004-1-6 00:00 |
|
|
dwing
初级用户
 
积分 177
发帖 32
注册 2003-10-6
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
DJGPP和WATCOM都是DOS下的32位保护模式编程工具。
从这个角度看比BC,QC等强的多.
但我并不看好DJGPP,它的优势是支持GNU,含allegro库,有个较好的界面.
但有致命的缺点:不支持C++(至少我用的不支持),内嵌的汇编太难写,优化远没有WATCOM好.
DJGPP and WATCOM are both 32-bit protected mode programming tools under DOS. From this perspective, they are much stronger than BC, QC, etc. But I don't have a good view of DJGPP. Its advantages are supporting GNU, containing the allegro library, and having a relatively good interface. But it has fatal drawbacks: it doesn't support C++ (at least the one I used doesn't), the embedded assembly is too hard to write, and the optimization is far from as good as WATCOM.
此帖被 +2 点积分 点击查看详情 评分人:【 rsice 】 | 分数: +2 | 时间:2008-3-6 21:48 |
|
|

http://wex.cn/dwing |
|
2004-1-14 00:00 |
|
|
movenalnalby
中级用户
  
积分 334
发帖 56
注册 2004-1-4
状态 离线
|
|
2004-1-15 00:00 |
|
|
songjian
初级用户
 
积分 140
发帖 18
注册 2004-2-3
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
我同意21楼的观点。上边的编译器我都用过,最好用的是Watcom,功能也最强大www.openwatcom.org 有相关的资料。现在还提供DOS的动态链接库的功能。
Borland 4.51 + PowerPack 对于开发16位的DPMI很好。可以在Borland的FTP站点有下。
DJGPP 如果由于跨DOS和Linux开发还可以,要不就不太方便了,文档的帮助要比上面两个差一点。
我认为如果要开发现在的DOS程序,用Watcom比较好,第一是FREE的。第二支持32位的平面寻址。第三,可以支持动态链接(需要特别的DPMI Server支持)。
I agree with the view of post 21. I have used all the above compilers. The best one is Watcom, which is also the most powerful. There are relevant materials at www.openwatcom.org. It now also provides the function of DOS dynamic link libraries.
Borland 4.51 + PowerPack is very good for developing 16-bit DPMI. It can be downloaded from Borland's FTP site.
DJGPP is okay if it is for cross-DOS and Linux development, otherwise it is not very convenient. The documentation and help are a bit worse than the above two.
I think if you want to develop current DOS programs, Watcom is better. First, it is FREE. Second, it supports 32-bit flat addressing. Third, it can support dynamic linking (requiring special DPMI Server support).
|
|
2004-2-6 00:00 |
|
|
linzhixiao
初级用户
 
积分 160
发帖 15
注册 2004-1-6
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
请问用WATCOM C++如何写DOS32的键盘模拟输入程序
以下为:DOS16位的键盘模拟输入,但是因为DOS32 不支持pokeb,peek内存函数.本.我现在需要在DOS32也有此功能的函数,但我不能转换到WATCOM DOS32能支持的函数.(注意不是WATCOM DOS16位)
请懂WATCOM c/c++的高手,帮我一下,非常感谢.
void keyboard(int choice,char key)
{
int offset,i;
offset=peek(0x40,0x1c);
for(i=0;key!='\x0';i++)
{
if(choice==0)
{
pokeb(0x40,offset,0x00);
pokeb(0x40,offset,key);
}
if(choice!=0)
{
pokeb(0x40,offset,key);
pokeb(0x40,offset+1,0x00);
}
offset=offset+2;
if(offset==0x3e)offset=0x1e;
}
pokeb(0x40,0x1c,offset);
}
Please use WATCOM C++ to write a DOS32 keyboard simulation input program. The following is the DOS16-bit keyboard simulation input, but because DOS32 does not support the pokeb, peek memory functions. This. I now need to have this function in DOS32, but I can't convert it to the functions supported by WATCOM DOS32. (Note that it is not WATCOM DOS16-bit)
Please help me, experts who understand WATCOM c/c++, thank you very much.
void keyboard(int choice,char key)
{
int offset,i;
offset=peek(0x40,0x1c);
for(i=0;key!='\x0';i++)
{
if(choice==0)
{
pokeb(0x40,offset,0x00);
pokeb(0x40,offset,key);
}
if(choice!=0)
{
pokeb(0x40,offset,key);
pokeb(0x40,offset+1,0x00);
}
offset=offset+2;
if(offset==0x3e)offset=0x1e;
}
pokeb(0x40,0x1c,offset);
}
|
|
2004-2-7 00:00 |
|
|
songjian
初级用户
 
积分 140
发帖 18
注册 2004-2-3
状态 离线
|
『第 25 楼』:
使用 LLM 解释/回答一下
我发邮件给你了,你看看,再说。我也不是记得了,以前被人骗的,电脑被人骗了,连源码都没了。也懒得再开发了。
I've sent you an email. Take a look and then we can talk. I don't really remember either. I was scammed before. My computer was scammed, and even the source code is gone. I'm also too lazy to develop again.
|
|
2004-2-7 00:00 |
|
|
qinqong
高级用户
   
积分 599
发帖 148
注册 2003-10-30
状态 离线
|
『第 26 楼』:
使用 LLM 解释/回答一下
djgpp真是难呀,他上面的帮助文件都是e文,我搞了快半年了,竟然还是什么也不懂。要是有人把他们翻译过来就好了。
djgpp is really difficult. The help files above are all in English. I've been working on it for almost half a year, and I still don't understand anything. It would be great if someone could translate them.
|
|
2004-2-15 00:00 |
|
|
peter_field
初级用户
 
积分 120
发帖 5
注册 2004-2-23
状态 离线
|
『第 27 楼』:
使用 LLM 解释/回答一下
which web site will I could find the "UJGPP" and its graphics tools? sorry for my using of English. youmay fine My chinese character just some mass code most of time. thanks for you all.
which web site will I could find the "UJGPP" and its graphics tools? sorry for my using of English. you may fine My chinese character just some mass code most of time. thanks for you all.
|
|
2004-2-23 00:00 |
|
|
qinqong
高级用户
   
积分 599
发帖 148
注册 2003-10-30
状态 离线
|
『第 28 楼』:
使用 LLM 解释/回答一下
去这里看看吧:www.delorie.com/djgpp
Go here to have a look: www.delorie.com/djgpp
|
|
2004-2-23 00:00 |
|
|
gale
初级用户
 
积分 139
发帖 17
注册 2004-2-3
状态 离线
|
『第 29 楼』:
使用 LLM 解释/回答一下
poke和peek其实都是访问内存,等效如下:
void poke(int seg,int off,byte value)
{
asm{
mov ax,seg
mov es,ax
mov ax,off
mov es:,value
}
}
可能有人说要push pop一下,其实只要你用C编译器,是不用的,只要你不用 bp,sp寄存器,其他随便用!当然,如果你为了严谨,也可以把牵涉到的寄存器PUSH POP 一下!
Poke and peek actually both access memory, equivalent as follows:
void poke(int seg, int off, byte value)
{
asm {
mov ax, seg
mov es, ax
mov ax, off
mov es:, value
}
}
Some people might say to push and pop, but actually, if you use a C compiler, you don't need to. As long as you don't use the bp and sp registers, others can be used freely! Of course, if you want to be rigorous, you can also PUSH and POP the involved registers!
|
|
2004-3-2 00:00 |
|
|
towedm
初级用户
 
积分 115
发帖 4
注册 2003-6-1
状态 离线
|
『第 30 楼』:
使用 LLM 解释/回答一下
用Djgpp已经一年有余。
大家可以看看我的Djgpp作品。
http://towedm.nease.net/towedm/towedm30.rar
希望能同大家共同交流Djgpp的使用心得体会。
I've been using Djgpp for more than a year.
You can take a look at my Djgpp works.
http://towedm.nease.net/towedm/towedm30.rar
Hope to communicate with you about the experience of using Djgpp.
|

欢迎大家访问我的主页http://towedm.nease.net
希望能交些使用BC、TC、VC或Djgpp和Allegro的朋友。
Towedm3.0我在Djgpp下开发的CAD类作品。 |
|
2004-3-22 00:00 |
|