![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-14 23:19 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS开发编程 & 发展交流 (开发室) » [Repost] DJGPP - A 32-bit C programming environment |
| Printable Version 20,127 / 52 |
| Floor1 Wengier | Posted 2003-05-05 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
When it comes to C language under DOS, most friends will think of Borland C. Unfortunately, a larger game involves a large amount of data such as images and sounds. Obviously, writing programs in 16-bit real mode will be hindered by the memory limit of 640K : (And it is not so convenient to write 32-bit programs with BC. Some friends have switched to Windows 95 programming, and the remaining game programmers still fighting in the DOS environment have started to use other C languages designed for 32-bit protected mode. Watcom C once became popular all over the country. And another powerful C system DJGPP has been ignored. Yunfeng has also learned to use Watcom C, but once he tried DJGPP, he completely deleted Watcom C from the hard drive, and now writes this small article to promote this powerful tool in China
The following text does not intend to belittle the powerful functions of other C language systems, and the comments are only the opinions of Yunfeng. First of all, DJGPP is a GNU software. In other words, you can get the entire source code of the system and modify it arbitrarily. Because of this, DJGPP develops much faster than other commercial C systems. Countless computer experts are constantly improving it and injecting new vitality into it; and the discovered BUG can also be removed in the first time. Through the Internet, you can always use the latest technology in the world without paying for it I like the 32-bit protected mode engine CWSDPMI of DJGPP very much. At least its loading speed is much faster and its volume is much smaller than the commonly used DOS/4GW of Watcom C. If you don't use DPMI and switch to VCPI, you don't even need the program CWSDPMI Secondly, DJGPP has rich peripheral software. I am very satisfied with the integrated environment RHIDE compiled for DJGPP. It is simply wonderful. The interface is imitated according to my familiar Borland C++ 3.1, and many considerate designs are added in the details. Especially the built-in Debug, which not only has functions exceeding Turbo Debug, but also has first-class stability. This IDE not only supports C, but also supports C++, Obj C, Pascal, Asm, Ada and other Gnu versions of multiple languages, making mixed programming a piece of cake. And another game development library called Allegro is all-inclusive and is a must-have for game programmers. If you are still using Borland C to write programs, then it is the easiest to switch to DJGPP It is still the same interface, the same to write your program, but you don't have to consider far pointers, near pointers; what 64K limit; what extended memory, upper memory. Just do as you want, and you will like such a good thing -------------------------------------------------------------------------------- You can find DJGPP on many FTP sites, for example ft://ftp.cdrom.com/pub/simtelnet/gnu/djgpp/ ft://ftp.simtel.net/pub/simtelnet/gnu/djgpp/ The latest version of DJGPP can be found below. The file with b is the executable file, the one with d is various documents, and the one with s is the source code To make your DJGPP run, the following files are necessary: gcc281b.zip 1.34M Gnu C compiler bnu281b.zip 1.90M Essential for the Djgpp series, linker, etc. djdev202b.zip 1.42M Gnu C library files, header files, etc. csdpmi4b.zip 41k DPMI support engine Some other packages are briefly introduced below rhide14b.zip 1.31M DJGPP supporting integrated environment mak377b.zip 248K Gnu Make tool alleg311.zip 1.43M A powerful game development library gpp281b.zip 1.29M Gnu C++ compiler There are many other software packages, which will not be described one by one here. You can first download that LISTINGS.zip back and read it slowly ![]() |
|
| Floor2 Wengier | Posted 2003-05-05 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
Description: DJGPP is quite famous abroad now, and it is a powerful tool for developing protected mode programs under DOS. Moreover, when RHIDE is used, the interface becomes a full graphical mode, just like Turbo C++, which is really great!
|
|
| Floor3 Dark-Destroy | Posted 2003-05-05 00:00 |
| 元老会员 Posts 3,551 Credits 8,312 | |
|
After downloading RHIDE, I don't know how to use it. All are in English and I can't understand.
|
|
| Floor4 红色狂想 | Posted 2003-05-05 00:00 |
| 金牌会员 Posts 1,501 Credits 4,289 From 河南省 | |
|
How to install and use it after downloading all? Can you please ask站长 Wengier to introduce it specifically?
|
|
| Floor5 红色狂想 | Posted 2003-05-05 00:00 |
| 金牌会员 Posts 1,501 Credits 4,289 From 河南省 | |
|
Is there really no one to answer me?
|
|
| Floor6 Wengier | Posted 2003-05-05 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
Someone answer! Extract RHIDE to the DJGPP folder, set the DJDIR and DJGPP environment variables, and then run the RHIDE.EXE program.
|
|
| Floor7 xxlwsj | Posted 2003-05-05 00:00 |
| 初级用户 Posts 14 Credits 137 | |
|
RHIDE doesn't work under Windows 2000. It always fails to find the path for saving, while it works fine under Windows 98 and DOS.
|
|
| Floor8 Wengier | Posted 2003-05-05 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
The following is a quote from xxlwsj on 2003-5-5 21:48:59: It can be seen that this is a "Command Prompt" bug in Win2K. |
|
| Floor9 红色狂想 | Posted 2003-05-06 00:00 |
| 金牌会员 Posts 1,501 Credits 4,289 From 河南省 | |
|
站长 Wengier:
I downloaded all the files in the download address you introduced at the top (ftp://ftp.cdrom.com/pub/simtelnet/gnu/djgpp/) to my local. Is there a file named RHIDE in it? What version of DJGPP is this? Also, after downloading all, I found many compressed package files. Do I need to decompress all of them? |
|
| Floor10 Wengier | Posted 2003-05-06 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
There is this file inside, but you need to look for it carefully. For example, download and decompress the executable programs of DJGPP itself, BNU tools, and RHIDE in full.
|
|
| Floor11 红色狂想 | Posted 2003-05-06 00:00 |
| 金牌会员 Posts 1,501 Credits 4,289 From 河南省 | |
|
The download speed is really slow. I didn't wait for it yesterday! Why are there so many files? There are way more than before. Are they all DJGPP files?
Also, what version of DJGPP is this? |
|
| Floor12 Wengier | Posted 2003-05-06 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
All are DJGPP files, but only one is the main program, and the others are auxiliary programs, such as GUI interfaces, compilers, debuggers, etc. However, if there are no auxiliary programs at all, then almost nothing can be done.
|
|
| Floor13 红色狂想 | Posted 2003-05-06 00:00 |
| 金牌会员 Posts 1,501 Credits 4,289 From 河南省 | |
|
So, is the directory hierarchy inside it not allowed to be changed?
|
|
| Floor14 红色狂想 | Posted 2003-05-06 00:00 |
| 金牌会员 Posts 1,501 Credits 4,289 From 河南省 | |
|
站长Wengier, come quickly!
What I want to ask is: Is the internal directory hierarchy unable to be changed? What is the version number? |
|
| Floor15 Wengier | Posted 2003-05-06 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
Just decompress it according to the original directory hierarchy.
|
|
| 1 2 3 4 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |