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 03:01
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Now there is a very good programming environment under DOS - DJGPP View 54,263 Replies 136
Floor 91 Posted 2006-10-08 01:48 ·  中国 重庆 万州区 电信
初级用户
Credits 112
Posts 48
Joined 2006-10-06 03:41
19-year member
UID 64666
Status Offline
DJGPP, where can I find the user manual for this thing? I've searched for a long time and haven't found it...
Floor 92 Posted 2006-10-11 20:17 ·  中国 山东 潍坊 联通
新手上路
Credits 14
Posts 4
Joined 2006-10-11 04:23
19-year member
UID 65263
Status Offline
I installed a DJPPNOI-WIN98 program, but I compiled a small program in RHIDE. When performing the compilation, the following appeared: "Don't know how to build 21.o from c:\21 (the name of the program is 21). What's the matter? And the run commands are gray. Please give detailed instructions. I am in urgent need. Thanks a lot."
Floor 93 Posted 2006-11-08 06:12 ·  中国 北京 联通
初级用户
Credits 174
Posts 37
Joined 2006-09-28 03:38
19-year member
UID 63879
Status Offline
1、you need to use project
2、you need to set in OPTION
Then it may be completed. If you use some third-party libraries, you may also need to put it into the project. However, it is very easy to use after getting used to it, and there are no inexplicable problems.
Floor 94 Posted 2006-11-17 02:11 ·  中国 广东 广州 电信
初级用户
Credits 88
Posts 45
Joined 2006-11-03 02:41
19-year member
UID 69367
Gender Male
Status Offline
Floor 95 Posted 2007-02-22 02:29 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
In RHIDE, how can I view the function description?
Clicked the help index, and it said that LIBC cannot be opened.
What files need to be downloaded to be able to see?
Floor 96 Posted 2007-02-23 09:08 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Does DJGPP also support BIOS interrupts? If not, does it support reading and writing to hard drives larger than 137GB? What specific functions are used?
Floor 97 Posted 2007-02-23 10:47 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
When opening the libc reference in rhide, it says "can't open the help file 'libc'". What should I do?
Floor 98 Posted 2007-02-23 13:12 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
These days I'm thinking about whether I can turn my system backup tool Todisk into a DOS32 program (mainly wanting to increase the speed to be similar to GHOST... not sure if it's possible...), and I'm frantically looking for ways:
1
Directly access 4GB memory in real mode
2
WATCOM C/C++
3
BC4.5 + POWERPACK FOR DOS
I searched the Internet for a long time, and finally downloaded it on my own forum (DOS forum)!
4
DJGPP

1
Unfortunately, it seems that it can only be called with assembly
2
No progress
3,4
After researching, I feel it's not bad. I've already realized the compilation of DOS32 DPMI, and I've already realized supporting reading and writing files exceeding 64KB at one time!

Especially, I feel that the DJGPP interface is exactly the same as BC! It's really good!
The documentation is also as detailed as BC! It's very convenient to look up...
It feels like a super upgraded version of TC/BC! Really cool!

[ Last edited by GOTOmsdos on 2007-2-23 at 01:16 PM ]
Floor 99 Posted 2007-02-23 13:47 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Just found another problem again:
In BC4.5 + POWERPACK FOR DOS,
when compiling DPMI32 DOS programs, a single read/write of a file can exceed 64KB
But when compiling DPMI16DOS programs, it can't...
If it's really not possible, then what are the advantages of DPMI16DOS programs over real-mode DOS programs?

[ Last edited by GOTOmsdos on 2007-2-23 at 02:05 PM ]
Floor 100 Posted 2007-02-24 11:50 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Does ALLEGRO have an audio library? For example, playing WAV, MIDI, etc...
Ah, I saw it. There is SOUND.H in 400...
But, does it have bus restrictions? ISA, PCI?

[ Last edited by GOTOmsdos on 2007-2-24 at 12:02 PM ]
Floor 101 Posted 2007-02-25 08:21 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Originally posted by TomLi at 2003-8-12 12:00 AM:
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, and 4G memory can be used under DOS. The DOS programs originally written under BC++ 3.1...


I have downloaded and installed Borland C++ 4.5 and Borland DOS POWER PACK, but when compiling BC3.1 programs in DPMI mode, a large number of undeclared errors occur, and it is completely impossible to compile..
While with DJGPP, for now, except for FP_OFF, FP_SEG, most things are fine!
Many real-mode interrupts and functions can be used as they are!
The interface is also the same as TC/BC, as if it is a powerful upgraded version of TC/BC!
For those who have used TC/BC before, it is really unimaginable if they don't use DJGPP!

[ Last edited by GOTOmsdos on 2007-2-26 at 10:01 AM ]
Floor 102 Posted 2007-02-25 08:38 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
I've tasted the power of DOS32!
I directly used the unremarkable malloc() in DJGPP to apply for more than 300MB of memory! File reading and writing succeeded!
Floor 103 Posted 2007-02-25 13:25 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
I've been using DJGPP for a few days and it feels really good. So far, no bugs have been found in the kernel. However, I found that rhide.exe is very unstable and often exits without reason (register errors can be seen in pure DOS)! This happens both in Windows and DOS. This is really frustrating.... (For general small programs, directly using its command-line GCC is very stable and has no problems...)

[ Last edited by GOTOmsdos on 2007-2-26 at 09:32 AM ]
Floor 104 Posted 2007-03-26 00:05 ·  中国 江西 南昌 电信
中级用户
★★
Credits 486
Posts 171
Joined 2006-02-12 13:53
20-year member
UID 50233
Status Offline
DPMI mode has long been there, just not very perfect
Those who do not study the past are condemned to repeat it
Floor 105 Posted 2007-03-30 11:32 ·  中国 江苏 连云港 电信
初级用户
Credits 52
Posts 15
Joined 2006-10-30 03:42
19-year member
UID 68835
Gender Male
Status Offline
Downloaded DJGPP, but spent a long time without figuring it out, feeling depressed.
Forum Jump: