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 00:58
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Now there is a very good programming environment under DOS - DJGPP View 54,249 Replies 136
Floor 16 Posted 2003-12-18 00:00 ·  中国 山东 青岛 联通
初级用户
Credits 134
Posts 10
Joined 2003-12-17 00:00
22-year member
UID 14131
Gender Male
Status Offline
Does the Wengier DJGPP integrated development environment use the command you mentioned? Why does it say that this command does not exist?
Floor 17 Posted 2003-12-18 00:00 ·  中国 山东 青岛 联通
初级用户
Credits 134
Posts 10
Joined 2003-12-17 00:00
22-year member
UID 14131
Gender Male
Status Offline
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
Floor 18 Posted 2003-12-20 00:00 ·  中国 浙江 金华 电信
初级用户
Credits 102
Posts 1
Joined 2003-12-20 00:00
22-year member
UID 14249
Gender Male
Status Offline
Hello everyone!
I'm new here!
!
Floor 19 Posted 2003-12-30 00:00 ·  中国 四川 成都 联通
初级用户
Credits 154
Posts 14
Joined 2003-12-30 00:00
22-year member
UID 14671
Gender Male
Status Offline
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......
Floor 20 Posted 2004-01-06 00:00 ·  中国 台湾 中华电信(HiNet)
初级用户
Credits 105
Posts 1
Joined 2004-01-06 00:00
22-year member
UID 15010
Gender Male
Status Offline
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.
Floor 21 Posted 2004-01-14 00:00 ·  中国 北京 北京云方舟科技有限公司
初级用户
Credits 177
Posts 32
Joined 2003-10-06 00:00
22-year member
UID 10774
Status Offline
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.
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
rsice +2 2008-03-06 21:48
http://wex.cn/dwing
Floor 22 Posted 2004-01-15 00:00 ·  中国 山西 太原 联通
中级用户
★★
Credits 334
Posts 56
Joined 2004-01-04 00:00
22-year member
UID 14870
Gender Male
Status Offline
How to do advertising!
Floor 23 Posted 2004-02-06 00:00 ·  中国 江苏 南京 联通
初级用户
Credits 140
Posts 18
Joined 2004-02-03 00:00
22-year member
UID 16630
Gender Male
Status Offline
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).
Floor 24 Posted 2004-02-07 00:00 ·  中国 浙江 温州 电信
初级用户
Credits 160
Posts 15
Joined 2004-01-06 00:00
22-year member
UID 15000
Gender Male
Status Offline
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);
}
Floor 25 Posted 2004-02-07 00:00 ·  中国 江苏 南京 电信
初级用户
Credits 140
Posts 18
Joined 2004-02-03 00:00
22-year member
UID 16630
Gender Male
Status Offline
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.
Floor 26 Posted 2004-02-15 00:00 ·  中国 河南 郑州 联通
高级用户
★★
Credits 599
Posts 148
Joined 2003-10-30 00:00
22-year member
UID 12192
Gender Male
Status Offline
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.
Floor 27 Posted 2004-02-23 00:00 ·  中国 广东 佛山 顺德区 电信
初级用户
Credits 120
Posts 5
Joined 2004-02-23 00:00
22-year member
UID 18196
Gender Male
Status Offline
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.
Floor 28 Posted 2004-02-23 00:00 ·  中国 河南 郑州 联通
高级用户
★★
Credits 599
Posts 148
Joined 2003-10-30 00:00
22-year member
UID 12192
Gender Male
Status Offline
Go here to have a look: www.delorie.com/djgpp
Floor 29 Posted 2004-03-02 00:00 ·  中国 福建 福州 电信
初级用户
Credits 139
Posts 17
Joined 2004-02-03 00:00
22-year member
UID 16635
Gender Male
Status Offline
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!
Floor 30 Posted 2004-03-22 00:00 ·  中国 浙江 台州 电信
初级用户
Credits 115
Posts 4
Joined 2003-06-01 00:00
23-year member
UID 2750
Gender Male
Status Offline
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类作品。
Forum Jump: