|
sunx
初级用户
 
积分 38
发帖 17
注册 2006-1-16
状态 离线
|
『楼 主』:
近日DOS开发的一些预研成果
使用 LLM 解释/回答一下
DOS编程是很熟的, 属于用debug.com 写程序的最早一代
但是多年没摸DOS了,
所以开工前曾经在这里发帖,想有经验的人推荐或者介绍几个现在比较成熟的DOS开发工具
但是很可惜, 没人回复, 只好自己一个个对比
我把我的一些结论供遇到类似问题的同行参考一下
我认为最优组合是 DJGPP + ALEGRO
原因如下:
DJGPP是32位的, 有经验的都懂为什么32bit代码比16bit代码容易写,这个不用多说
DJGPP是基于GCC的, 品质有保障, 不用浪费时间去熟悉语法特点
DJGPP是免费的,没有潜在的版权风险
ALEGRO已经有了通常需要的所有UI控件, checkbox, radiobox, text, list, 等, 并且可以非常容易的支持GB编码的中文 (说需要UNICODE格式那是外行的误解), 无需patch源代码就可以完美显示中文, 这也是比较重要的, 如果需要patch源代码那样以后随着alegro版本升级要不断维护自己的patch并且还不确定patch的原理是否仍然可行, 这会是个长期拖累
成熟的编译器 + 成熟的图形库, 开发产品和自己写个小程序玩玩是不一样的, 成熟这两个字的意义非常重要
IDE的话,rh不好用, 建议使用VC然后调用bat来实现整合
最后:
我强烈建议!!!!, 不要相信那些论坛经常看到推销的 xxx开发包 之类
我测试了所有能找到的, 压根就没一个好用的,不是年久失修就是编程环境恶劣,或者兼容性有问题
这种套件本来就不是1,2个人1,2年时间业余写写能搞好的
用这些没有经过严格测试, 没有专人维护, 缺乏技术支持, 缺乏实际应用的东西,等于让产品自杀
个人意见, 大家见仁见智
Last edited by sunx on 2007-7-26 at 11:03 AM ]
DOS programming is quite familiar, belonging to the earliest generation of writing programs with debug.com. But I haven't touched DOS for many years. So before starting work, I once posted here, hoping that experienced people would recommend or introduce a few relatively mature DOS development tools now. But unfortunately, no one replied, so I had to compare one by one. I would like to share my some conclusions for peers who encounter similar problems for reference. I think the optimal combination is DJGPP + ALEGRO. The reasons are as follows: DJGPP is 32-bit. Those who have experience all know why 32-bit code is easier to write than 16-bit code, which doesn't need to be explained more. DJGPP is based on GCC, with guaranteed quality, no need to waste time to get familiar with grammar characteristics. DJGPP is free, no potential copyright risks. ALEGRO already has all the commonly needed UI controls, checkbox, radiobox, text, list, etc., and can very easily support GB-encoded Chinese (saying that UNICODE format is needed is a misunderstanding of laypeople), can perfectly display Chinese without patching the source code. This is also relatively important. If patching the source code is needed, then in the future, with the version upgrade of alegro, one has to continuously maintain their own patch and is not sure whether the principle of the patch is still feasible, which will be a long-term drag. Mature compiler + mature graphics library. Developing products is different from playing with a small program by oneself. The significance of the word "mature" is very important. For IDE, rh is not easy to use. It is recommended to use VC and then call bat to achieve integration. Finally: I strongly suggest!!!! Do not believe those "xxx development packages" often seen in forums for promotion. I tested all that can be found, and there isn't a single one that works well. Either it is out of date, or the programming environment is bad, or there are compatibility problems. Such a suite is not something that can be well done by one or two people in one or two years in their spare time. Using these things that haven't been strictly tested, don't have special maintenance, lack technical support, and lack practical application is equivalent to letting the product commit suicide. Personal opinions, everyone has their own views. Last edited by sunx on 2007-7-26 at 11:03 AM ]
|
|
2007-7-26 10:56 |
|
|
zqlcch
初级用户
 
积分 178
发帖 85
注册 2006-7-6
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
但DJGPP+ALLEGRO目前发现一个缺点,编译出来的程序在AMD690芯片组或ATI早期的芯片组上键盘会失去响应,我试了4片(华硕、昂达)不同的主板,都有这种情况,楼主不妨有空验证一下或修正一下,年事已高,现在已经没有去找BUG的能力了。
如果要显示的内容少就直接改字体文件,100多个ASCII字符就用了,其实ALLEGRO的字体对应的是一幅图片,图片你要多大都成。
我强烈建议!!!!, 不要相信那些论坛经常看到推销的 xxx开发包之类。
这句话我反对,Winsail和ecurb2006的二进制开发包本身就是免费的,ecurb功能弱了一点,个人感觉winsail还是很方便的,我可不是winsail的托,以前用winsail写了好几个程序,都还不错。但像工控行业那种需要长时间稳定运行的环境我是没有试过。
Last edited by zqlcch on 2007-7-26 at 11:23 AM ]
But a shortcoming of DJGPP + ALLEGRO has been found currently. The compiled program will lose keyboard response on AMD 690 chipset or early ATI chipset. I have tried 4 different motherboards (ASUS, ONDA), and all have this situation. The owner may verify or correct it when free. I am getting old and now have no ability to find bugs.
If the content to be displayed is small, directly modify the font file. More than 100 ASCII characters are used. In fact, the ALLEGRO font corresponds to an image, and you can make the image as large as you want.
I strongly suggest!!!! Do not believe those xxx development kits often seen in forums for sale.
I object to this. The binary development kits of Winsail and ecurb2006 themselves are free. The ecurb function is a bit weak. Personally, I feel Winsail is still very convenient. I am not a shill for Winsail. I have written several programs with Winsail before, and they are all pretty good. But I haven't tried the environment like the industrial control industry that needs long-term stable operation.
Last edited by zqlcch on 2007-7-26 at 11:23 AM ]
|
|
2007-7-26 11:21 |
|
|
sunx
初级用户
 
积分 38
发帖 17
注册 2006-1-16
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
对于少数跑不起来的硬件,那当然也没办法
只要硬件支持, djgpp还是首选的东西
Winsail和ecurb2006, 如果用在商业产品中,是要收费的
ecurb2006 免费包现在只支持16bit
Winsail 我感觉是从一个几年没更新过的sourceforge项目改来的
这两者我的使用感觉是,都比较粗糙, 并且整体观感, 是从一个缺乏整体设计的东西层层patch出来的, 所以有很多凌乱的地方, 看着心里不舒坦
个人意见, 当中抵触到厂家的地方, 见谅
Last edited by sunx on 2007-7-26 at 01:23 PM ]
For a small number of hardware that can't run, of course there's no way.
As long as the hardware supports it, djgpp is still the first choice.
Winsail and ecurb2006, if used in commercial products, are chargeable.
The free package of ecurb2006 currently only supports 16-bit.
I feel that Winsail is modified from a SourceForge project that hasn't been updated for several years.
My feeling about both of these is that they are relatively crude, and overall, they are patched layer by layer from something lacking overall design, so there are many messy places, which makes me uncomfortable to look at.
Personal opinion, forgive me if it touches on the manufacturer.
Last edited by sunx on 2007-7-26 at 01:23 PM ]
|
|
2007-7-26 13:10 |
|
|
windowsvesta
初级用户
 
积分 138
发帖 67
注册 2007-7-4 来自 云南
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
能用DJGPP的地方,为什么不直接使用Windows,我很不解!
楼主能解释一下吗?
我个人的感觉是“DJGPP是好东西,但生不逢时,它比WinCE编程更加复杂,群众基础还不是很好,几乎没有中文文档”!
Last edited by windowsvesta on 2007-7-26 at 02:12 PM ]
Why use DJGPP when you can use Windows directly? I don't understand!
Can the owner explain it?
My personal feeling is "DJGPP is a good thing, but it was born at the wrong time. It is more complicated than programming for WinCE, has not had a good mass base, and there are almost no Chinese documents"!
Last edited by windowsvesta on 2007-7-26 at 02:12 PM ]
|
|
2007-7-26 14:02 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
WinSail 开发的目的是用于工业控制场合,它已经经过市场近十年的实际应用,安全、稳定、可靠,值得大家信赖!
界面一:
界面二:
界面三:
界面四:
界面五:
Last edited by firstsail on 2007-7-26 at 08:07 PM ]
The purpose of WinSail's development is for industrial control applications. It has undergone nearly ten years of practical application in the market, and it is safe, stable, and reliable, worthy of everyone's trust!
Interface 1:
Interface 2:
Interface 3:
Interface 4:
Interface 5:
Last edited by firstsail on 2007-7-26 at 08:07 PM ]
|
|
2007-7-26 15:05 |
|
|
sunx
初级用户
 
积分 38
发帖 17
注册 2006-1-16
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
你似乎不知道DJGPP是什么
DJGPP是个编译器, 和TC,BC没本质区别
你竟然能把一个编译器和Windows来比, 无语
Originally posted by windowsvesta at 2007-7-26 14:02:
能用DJGPP的地方,为什么不直接使用Windows,我很不解!
楼主能解释一下吗?
我个人的感觉是“DJGPP是好东西,但生不逢时,它比WinCE编程更加复杂, ...
You seem not to know what DJGPP is. DJGPP is a compiler, no essential difference from TC, BC. You can actually compare a compiler with Windows, speechless.
Originally posted by windowsvesta at 2007-7-26 14:02:
Where there can use DJGPP, why not directly use Windows, I am very puzzled!
Can the landlord explain it for me?
My personal feeling is "DJGPP is a good thing, but it was born at an inopportune moment, it is more complicated than WinCE programming,...
|
|
2007-7-27 04:15 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
我对DJGPP的看法,只能代表我个人的观点,不代表普便性!
我们常说,"DOS编程"、“windows编程”、“WinCE编程”这样的话,如果我们一定要咬文嚼字,一定要分析其语句的汉语语法,我们可以把这句话看成"根本无知的人才能说出的话".DOS是操作系统,它能编程吗?"windows"也是操作系统,它能编程吗?
我们常说的"DOS编程",泛指利用DOS下的编译器来编程,比如说Turboc C、Basic、BC31、Pascal、DJGPP等工具来编程.
我们常说的"Windows编程",泛指利用Windows下的编译器来编程,比如说Visual C++、Borland C++、Visual Basic、Visual Foxpro等工具来编程.
所以IT词汇,只要大家约定俗成即可!
"XXX开发包",它与DJGPP、它与Borland C++/Turboc C、它与Basic等等,并不是互斥关系,而是相互配合关系。比如说,将“开发包”的C++源代码放在DJGPP的编译器下编译后,至少95%以上的代码不作任何修改就可以成为DJGPP下的开发包。广义上说:"XXX开发包"是不依赖编译器的。
关于DOS下的C++编译器,我个人的观点,还是优先推荐Borland C++3.1,关于DOS下的C编译器,优先推荐Turboc C、关于DOS下的Basic编译器,优先推荐QBasic、关于DOS下的Pascal编译器,优先推荐Turboc Pascal。
我优先推荐Borland C++3.1,是因为:
(1)它集“编辑、编译、链接、调试”于一身。
(2)DOS下的C++程序员,至少90%以上都熟悉它,有广大的群众基础。
(3)DOS下的C++编程,至少95%的实际编程应用能够得到满足。
(4)在图书馆,现在(2007年)都还能买到关于“BC31/45"的函数库的书。
(5)汉语是单音节词汇,“BC31”只有“BC”两个字母,并且是连续的两个字母,很好记忆;而“DJGPP”是五个字母,并且字母是分散的,不好记忆。所以在名称上,以中国人的习惯,BC就优于DJGPP。
基于上面五点,DJGPP要超越BC31,还有很长的一段路要走,并且走得会相当艰难......。
Last edited by firstsail on 2007-7-27 at 11:42 AM ]
My View on DJGPP, which Only Represents My Personal Opinion, Not Universality!
We often say phrases like "DOS programming", "Windows programming", "WinCE programming". If we must be pedantic and analyze the Chinese grammar of these sentences, we can regard such words as "what only an utterly ignorant person would say". DOS is an operating system; can it program? "Windows" is also an operating system; can it program?
The "DOS programming" we often talk about generally refers to programming using compilers under DOS, such as tools like Turbo C, Basic, BC31, Pascal, DJGPP, etc.
The "Windows programming" we often talk about generally refers to programming using compilers under Windows, such as tools like Visual C++, Borland C++, Visual Basic, Visual Foxpro, etc.
So for IT vocabulary, as long as everyone reaches a common understanding!
"XXX development kit" is not mutually exclusive with DJGPP, with Borland C++/Turbo C, with Basic, etc., but rather a complementary relationship. For example, after compiling the C++ source code of the "development kit" under the DJGPP compiler, at least more than 95% of the code can become a development kit under DJGPP without any modification. Broadly speaking, "XXX development kit" is independent of compilers.
Regarding C++ compilers under DOS, in my personal opinion, I still prefer Borland C++ 3.1 first. Regarding C compilers under DOS, I prefer Turbo C first. Regarding Basic compilers under DOS, I prefer QBasic first. Regarding Pascal compilers under DOS, I prefer Turbo Pascal first.
I prefer Borland C++ 3.1 first because:
(1) It integrates "editing, compiling, linking, debugging" into one.
(2) At least more than 90% of C++ programmers under DOS are familiar with it, having a vast mass base.
(3) At least 95% of actual programming applications under DOS C++ programming can be satisfied.
(4) In libraries, books about "BC31/45" function libraries are still available now (2007).
(5) Chinese is monosyllabic vocabulary. "BC31" has only two letters "BC" and they are two consecutive letters, which is easy to remember; while "DJGPP" has five letters and the letters are scattered, which is not easy to remember. So in terms of name, from the Chinese habit, BC is superior to DJGPP.
Based on the above five points, there is still a long way for DJGPP to surpass BC31, and it will be quite difficult to do so......
Last edited by firstsail on 2007-7-27 at 11:42 AM ]
|
|
2007-7-27 10:01 |
|
|
sunx
初级用户
 
积分 38
发帖 17
注册 2006-1-16
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
不完全同意firstsail说的,
不过当中大部分和我的贴要讨论的东西不沾边, 这里我只辩论和主题有关的:
对于一个开发者, 总是在寻找更好用的开发工具
不是说能满足编程需要这个最低纲领就ok了
wps的第一个版本是用 debug.com 写出来的, 现在我们不可能再去干这样的事情, 因为时代在进步, 开发工具的发展在不断简化程序员工作. 但是就当时的特定时代,debug.com就是唯一的最好的开发工具
BC也一样, BC有他的辉煌业绩,在16bit纯dos开发范畴, BC是举世公认的最好
但是BC已经停止发展很多年, 这很多年中的新技术,BC都是没有支持的
1. BC不支持32bit, 写过很多dos程序的人,肯定都对 seg:ofs 和 64k最大内存段限制深怀无奈, 现在的产品,有个大点的数据表很正常吧, 在16bit下处理大数据,想想都烦躁
2. BC下缺乏强大的图形支持, 没办法, 你也说了,我们是中国人, 中国人要汉字就得和图形打交道, 有BGI图形, 有TV UI, 可惜没有 TV+BGI GUI
3. DJGPP的编译器就是GCC, 在现在来说 GCC的群众基础恐怕比BC大多了, 用windows的不一定会用BC, 但是用过linux的就肯定和GCC打过交道
4. 除非别无选择,否则还是不要使用一个已经停止发展的东西, 实际上BC的现状连一个开源工具都不如, borland公司不管他了,业余程序员想改进他也没法; 反之DJGPP/Alegro 一直都在发展, 你报个bug上去, 很快就会在下一个版本中改正
-----------------------------------------------------------------------------------------------------------
最后,我实在忍不住想说一句, 你的第五点实在是有点太无厘头了, 要不以后我们选东西就学周星驰好,带把尺量长度, 哈哈, 调侃一下,没什么恶意
I don't completely agree with what firstsail said.
But most of it has nothing to do with the things I want to discuss in my post. Here I only argue about what is related to the topic:
For a developer, always looking for a better development tool.
It's not that just meeting the programming needs is enough.
The first version of WPS was written with debug.com. Now we can't do such things again because times are progressing and the development of development tools is continuously simplifying programmers' work. But in that specific era at that time, debug.com was the only best development tool.
BC is the same. BC has its glorious achievements. In the category of 16-bit pure DOS development, BC is universally recognized as the best. But BC has stopped developing for many years. For the new technologies in these many years, BC has no support.
1. BC doesn't support 32-bit. People who have written many DOS programs must have deeply felt the helplessness about seg:ofs and the 64K maximum memory segment limit. Now for products, it's very normal to have a larger data table. Dealing with large data in 16-bit is annoying to think about.
2. There is a lack of powerful graphics support under BC. Well, you said we are Chinese. Chinese people need Chinese characters and have to deal with graphics. There are BGI graphics and TV UI. Unfortunately, there is no TV+BGI GUI.
3. The DJGPP compiler is GCC. In the present, the mass base of GCC is恐怕 much larger than BC. People using Windows may not necessarily use BC, but people who have used Linux must have dealt with GCC.
4. Unless there is no other choice, still don't use something that has stopped developing. Actually, the current situation of BC is not even as good as an open-source tool. Borland company doesn't care about it. Amateur programmers want to improve it but can't; on the contrary, DJGPP/Alegro is always developing. You report a bug, and it will be corrected in the next version soon.
-----------------------------------------------------------------------------------------------------------
Finally, I really can't help but say one thing. Your fifth point is really a bit too absurd. Otherwise, in the future, when we choose things, we'll learn from Stephen Chow. Take a ruler to measure length. Haha, just a joke. No malicious intent.
|
|
2007-7-27 15:41 |
|
|
zqlcch
初级用户
 
积分 178
发帖 85
注册 2006-7-6
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
DJGPP在国外的使用范围非常广,像多平台模拟器mame都是用djgpp+allegro做的,反而的BC基本是消失也。。
由于母语的问题,DJGPP在中国使用的人非常少,这是中国人学习计算机的硬伤啊。
DJGPP is very widely used abroad. For example, the multi-platform emulator mame is made with djgpp + allegro. On the contrary, BC has basically disappeared.
Due to the problem of mother tongue, very few people in China use DJGPP. This is a weak point for Chinese people to learn computer.
|
|
2007-7-27 18:34 |
|
|
windowsvesta
初级用户
 
积分 138
发帖 67
注册 2007-7-4 来自 云南
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
既然“DJGPP”基于DOS下的32位运行,有那么大的市场,为什么外国佬不把它发展成象Visual C++的样式,这是技术问题,还是开发投入与市场回报不成正比?
Last edited by windowsvesta on 2007-7-27 at 07:07 PM ]
Since "DJGPP" is based on 32-bit operation under DOS and has such a large market, why don't foreigners develop it into the style like Visual C++? Is this a technical issue, or is it that the development investment is not proportional to the market return?
Last edited by windowsvesta on 2007-7-27 at 07:07 PM ]
|
|
2007-7-27 19:02 |
|
|
windowsvesta
初级用户
 
积分 138
发帖 67
注册 2007-7-4 来自 云南
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
我相信,只要Borland公司愿意,开发DOS下的32位的保护模式编译器,绝对是最好的32位的保护模式编译器!但是,Borland为什么不愿意将“BC”升级为32位的保护模式编译器呢?
我个人认为DOS下的32位的保护模式编译器不会掀起太大的波浪,只会在“特殊场合”上有所应用,并且主要限于“精英级的人”在使用!所以DJGPP天生就是“精英的、非大众化的”。
UNIX走精英之路,Windows走大众之路,谁输谁赢?
Last edited by windowsvesta on 2007-7-27 at 07:35 PM ]
I believe that as long as Borland is willing, developing a 32-bit protected mode compiler under DOS will definitely be the best 32-bit protected mode compiler! But why doesn't Borland want to upgrade "BC" to a 32-bit protected mode compiler?
Personally, I think that a 32-bit protected mode compiler under DOS won't cause a big stir, and will only be applied in "special occasions", and mainly limited to "elite people" using it! So DJGPP is naturally "elite and non-popular".
UNIX takes the elite path, Windows takes the popular path, who wins and who loses?
Last edited by windowsvesta on 2007-7-27 at 07:35 PM ]
|
|
2007-7-27 19:18 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
“BC不支持32bit, 写过很多dos程序的人,肯定都对 seg:ofs 和 64k最大内存段限制深怀无奈”。
只有在汇编语言年代,才经常跟“Seg : Off”打交道,进入高级语言(如BC31)时代后,这样的交道,可以说是“千年等一回了”。
现在的产品,有个大点的数据表很正常吧, 在16bit下处理大数据,想想都烦躁
如果处理大量数据不怕“毫秒”级的滞后,完全可以用XMS扩展内存解决,并且XMS内部处理本身也是“保护模式”的。
BC下缺乏强大的图形支持, 没办法, 你也说了,我们是中国人, 中国人要汉字就得和图形打交道, 有BGI图形, 有TV UI, 可惜没有 TV+BGI GUI。
其实BC31是DOS下所有编译器中,具有最强大的图形支持,只是没有GUI部份,所以我推出了WinSail的GUI部份,就是为了弥补它的不足,就如同Alegro弥补DJGPP的不足。
DJGPP的编译器就是GCC, 在现在来说 GCC的群众基础恐怕比BC大多了, 用windows的不一定会用BC, 但是用过linux的就肯定和GCC打过交道
我不太认同,TCC、BCC、GCC这些工具,主要还是UNIX下编程的人,才会被迫使用它,从而熟悉它。有一个数据是:“过半的数据库应用是用Visual Basic”写出来的。所以说用xCC的人绝对是凤毛麟角!只有高手级的人物才会熟练地使用它。
除非别无选择,否则还是不要使用一个已经停止发展的东西, 实际上BC的现状连一个开源工具都不如,
事实是:DJGPP也不可能提供源代码公开吧!Windows也没有提供源代码,老百姓不也同样用得欢!
最后,我实在忍不住想说一句, 你的第五点实在是有点太无厘头了, 要不以后我们选东西就学周星驰好,带把尺量长度, 哈哈, 调侃一下,没什么恶意。
SunX兄可不要低估了“英文名称”在中国人眼中的感受,“Alegro”这些词汇在"牛津字典"里面查不到吧,在"金山词霸"里面也找不到,总之到今天为止,我还无法将它拼读出来,看到不懂的"英文字母组合"就两眼昏花,不知道上帝为什么要创造"拉丁语系"。
看看现在的“名星”,大多数人都经过了“风水师”的改造,例如“成龙”呀、“王菲” 呀、还有“周星驰”等等。“风水学”,可是一本难以捉摸的科学!信之有,不信之无.
所以我认为"DJGPP"只有在UNIX下才有它的生命力!才有它发展的土壤.
Last edited by firstsail on 2007-7-27 at 09:33 PM ]
"BC does not support 32-bit. Those who have written many DOS programs must have deeply felt the helplessness regarding the seg:ofs and the 64k maximum memory segment limit."
Only in the assembly language era did people often deal with "Seg : Off". After entering the high-level language (such as BC31) era, such dealings can be said to be "a wait of a thousand years".
Now products have a relatively large data table, which is very normal. Just thinking about handling large data under 16-bit makes people feel irritable.
If you are not afraid of "millisecond"-level lag when handling a large amount of data, you can completely use XMS extended memory to solve it, and the XMS internal processing itself is also in "protected mode".
BC lacks powerful graphic support. Well, you also said that we are Chinese. Chinese people need Chinese characters and have to deal with graphics. There are BGI graphics and TV UI. Unfortunately, there is no TV+BGI GUI.
In fact, BC31 has the most powerful graphic support among all compilers under DOS. It just has no GUI part. So I launched the GUI part of WinSail to make up for its deficiencies, just as Alegro makes up for the deficiencies of DJGPP.
The DJGPP compiler is GCC. In today's terms, GCC has a much larger user base than BC. Those who use Windows may not necessarily use BC, but those who have used Linux must have dealt with GCC.
I don't quite agree. Tools like TCC, BCC, and GCC are mainly used by people programming under UNIX, who are forced to use them and thus become familiar with them. There is a data: "More than half of database applications are written in Visual Basic". So people who use xCC are definitely very few! Only high-level experts are proficient in using it.
Unless there is no other choice, it is still not to use something that has stopped developing. In fact, the current situation of BC is not even as good as an open-source tool.
The fact is: DJGPP may not provide open source code either! Windows doesn't provide open source code either, and ordinary people still use it happily!
Finally, I really can't help but say that your fifth point is a bit too nonsensical. Otherwise, in the future, when we choose things, we can learn from Stephen Chow, measuring length with a ruler, haha, just a joke, no malice.
Brother SunX should not underestimate the feeling of Chinese people towards "English names". Words like "Alegro" can't be found in the "Oxford Dictionary" or in the "Kingsoft Ciba". In short, so far, I still can't pronounce it. Seeing unfamiliar "combinations of English letters" makes my eyes go blurry. I don't know why God created the "Latin family".
Look at today's "celebrities", most of them have been transformed by "feng shui masters", such as Jackie Chan, Faye Wong, and Stephen Chow, etc. "Feng shui" is a hard-to-fathom science! Believe it or not.
So I think "DJGPP" only has its vitality under UNIX! Only there is the soil for its development.
Last edited by firstsail on 2007-7-27 at 09:33 PM ]
|
|
2007-7-27 21:01 |
|
|
netwinxp
高级用户
   
积分 741
发帖 366
注册 2007-7-25
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
现在计算机硬件发展太快了,我提一个疑问——据说intel下一代芯片组将砍掉LPT、COM、PCI,基于老内核的DOS恐怕很难再适应了,不知大家有何打算?
Now the computer hardware is developing too fast. I raise a question - it is said that the next generation of Intel chipset will cut off LPT, COM, PCI. DOS based on the old kernel may have a hard time adapting. I wonder what everyone's plan is?
|
|
2007-7-27 22:23 |
|
|
netwinxp
高级用户
   
积分 741
发帖 366
注册 2007-7-25
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
至于工控方面,九几年的时候基于MSDOS、DRDOS的特多,这几年呢基于windows的则占了大多数,采用VB+AD/DA采集卡驱动程序的越来越多了(开发速度快),这一两年,甚至AD/DA卡也越来越少了,直接采用USB的开始逐步流行起来了。说起自由来,裸机最自由了,我们为什么要用操作系统呢?为的是调用它的功能,可是DOS能给我们的功能绝大部分只集中在DISK方面。
As for industrial control, there were a lot based on MSDOS and DRDOS in the early 1990s. In recent years, those based on Windows have accounted for the majority. More and more use VB + AD/DA acquisition card driver programs (fast development speed). In the past one or two years, even AD/DA cards are becoming fewer and fewer, and those directly using USB are gradually becoming popular. When it comes to freedom, bare metal is the freest. Why do we use an operating system? It's to call its functions. But most of the functions that DOS can offer us are concentrated mostly in the DISK aspect.
|
|
2007-7-27 23:30 |
|
|
sunx
初级用户
 
积分 38
发帖 17
注册 2006-1-16
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
工作是实实在在的, 没法建立在如果上
无论什么原因, bc没发展32位,没有了就是没有了, 我说borland当时是因为没有能力更新BC编译核心 (BC队伍散了, 并且delphi项目很紧迫), 很多人一定不愿意接受
至于32位好不好, 这个无需争论, 因为这是共识性的东西
-----------------------------------------------------------------------------------------
顺便对firstsail说一句, 你和我较劲没意义啊
因为作为开发者,我们需要的不仅仅是可用, 而是尽量好用
我当然明白 seg:ofs 也能满足使用, 当然也清楚 xms可以存数据, 但是这不能作为让我放着 32位平板寻址不用, 去靠调整段来访问超过64k的数据, 靠xms管理接口来来回拷贝切换内存的理由
就像, 明明我可以坐车去的地方, 你非要我走路去, 这是没有理由的
人的时间精力有限, 所以不得不在方法上作最优选择
同样原因, 从稳定性,从生命力考虑, 从长期成本, 我知道bc+winsail 也能用, 但是这不能作为要求我放着 djgpp+alegro 又开源又免费用户群又广泛, 这么优秀的东西不用的理由啊
另外,否定一个东西之前,应该先充分了解这个东西 , 这样你的判断才会有理有据.
DJGPP是开源的, 每个包的s结尾的版本就是源代码,
你还把GCC这个现在具有这么强大影响力的工具,说成是linux下人才会被迫使用的东西
论及 djgpp/gcc/linux, 你应该至少把那些都拿过来, 写上几个比hellworld 复杂点的程序, 那样才会有真实的观感
我对winsail又没什么仇, 如果东西好,我也一样会用
Last edited by sunx on 2007-7-28 at 01:33 AM ]
Work is something tangible; it can't be based on "what ifs."
For whatever reason, Borland didn't develop 32-bit, and it just didn't happen. I say that Borland at that time didn't have the ability to update the BC compilation core (the BC team disbanded, and the Delphi project was very urgent), and many people must be unwilling to accept that.
As for whether 32-bit is good or not, there's no need to argue about this because it's something that's a matter of consensus.
-----------------------------------------------------------------------------------------
By the way, I want to say to firstsail that it's pointless for you to argue with me.
Because as developers, what we need is not just to be usable, but to be as easy to use as possible.
Of course I understand that seg:ofs can also meet the usage, and I'm also clear that XMS can store data, but that can't be a reason for me to give up using 32-bit flat addressing, to rely on adjusting segments to access data exceeding 64k, and to rely on the XMS management interface to copy and switch memory back and forth.
It's like, there's a place I can go by car, but you非要 me to walk there, and there's no reason for that.
People's time and energy are limited, so one has to make the optimal choice in terms of methods.
For the same reason, considering stability, vitality, and long-term costs, I know that BC + Winsail can also be used, but that can't be a reason for me to give up using DJGPP + Allegro, which is open-source, free, has a wide user base, and is such an excellent thing.
Also, before denying something, one should fully understand that thing first, so that one's judgment will be reasonable and well-founded.
DJGPP is open-source; the version ending with s in each package is the source code.
You also said that GCC, which now has such strong influence, is something that only people under Linux would be forced to use.
When it comes to DJGPP/GCC/Linux, you should at least take all those and write a few programs more complex than hellworld, so that there will be a real feeling.
I have no grudge against Winsail. If the thing is good, I will use it too.
Last edited by sunx on 2007-7-28 at 01:33 AM ]
|
|
2007-7-28 01:12 |
|
|