|
sunx
初级用户
 
积分 38
发帖 17
注册 2006-1-16
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
估计去掉com lpt pci dos还是能跑的, 只要bios的基本接口别变
因为在最老的机器里面, com lpt本来就没有,要靠多功能卡(isa扩展卡) 来附加
也本来就没有pci
basic的确是好东西, 最近的dos项目要不是对数据结构操作比较多, 我就是想选择 powerbasic之类的
同你所说的, 写起来快是最大的吸引力
要是硬件满足跑win系列, 能用win还是用win的好, 要是能上win, 打死我也不回去搞dos, 还是那原因, 写起来快啊, 不过win是收费的这个是个遗憾
Originally posted by netwinxp at 2007-7-27 23:30:
至于工控方面,九几年的时候基于MSDOS、DRDOS的特多,这几年呢基于windows的则占了大多数,采用VB+AD/DA采集卡驱动程序的越来越多了(开发速度快),这一 ...
Last edited by sunx on 2007-7-28 at 01:31 AM ]
It is estimated that it can still run without removing com, lpt, pci, DOS, as long as the basic interface of the BIOS does not change. Because in the oldest machines, com and lpt were not originally there, and they had to rely on multifunctional cards (ISA expansion cards) to be added. And there were originally no pci.
Basic is indeed a good thing. For the recent DOS projects, if it weren't for more operations on data structures, I would have chosen something like PowerBasic.
As you said, the biggest attraction is that it is fast to write.
If the hardware meets the requirements to run the Windows series, it is better to use Windows. If you can use Windows, I would never go back to doing DOS. It's still because it's fast to write, but the fact that Windows is paid is a pity.
Originally posted by netwinxp at 2007-7-27 23:30:
As for industrial control, in the early 1990s, there were many based on MSDOS, DRDOS. In recent years, those based on Windows have accounted for the majority, and more and more are using VB + AD/DA acquisition card driver programs (fast development speed), this...
Last edited by sunx on 2007-7-28 at 01:31 AM ]
|
|
2007-7-28 01:19 |
|
|
windowsvesta
初级用户
 
积分 138
发帖 67
注册 2007-7-4 来自 云南
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
Originally posted by netwinxp at 2007-7-27 11:30 PM:
至于工控方面,九几年的时候基于MSDOS、DRDOS的特多,这几年呢基于windows的则占了大多数,采用VB+AD/DA采集卡驱动程序的越来越多了(开发速度快),这一 ...
很多自动化项目上位机一般是“Windows”,下位机一般是UNIX或DOS。
直接在Windows上用AD卡,AD卡必须是带FIFO功能的,否则采样数据会丢失时间片段,因为Windows不是实时操作系统,时时刻刻有20mS~500mS的廷时都很正常。高精度仪器仪表一般是:单片机、ARM、采用DOS的IPC/PC104、采用UNIX的IPC/PC104、采用WinCE的IPC/PC104。只有普通自动化应用才是Windows,即一般意义上说的“系统集成”,并且难以突破1%的精度。
Last edited by windowsvesta on 2007-7-28 at 11:47 AM ]
Originally posted by netwinxp at 2007-7-27 11:30 PM:
As for industrial control, in the early 1990s, there were many based on MSDOS and DRDOS. In recent years, those based on Windows have accounted for the majority. More and more applications use VB + AD/DA card driver programs (because of fast development speed)...
For many automation projects, the host computer is generally "Windows", and the slave computer is generally UNIX or DOS.
When directly using an AD card on Windows, the AD card must have FIFO function, otherwise the sampled data will lose time segments, because Windows is not a real-time operating system, and it is normal to have delays of 20ms to 500ms from time to time. High-precision instruments and meters are generally: single-chip microcomputers, ARM, IPC/PC104 using DOS, IPC/PC104 using UNIX, IPC/PC104 using WinCE. Only ordinary automation applications are Windows, that is, the so-called "system integration" in general, and it is difficult to break through 1% accuracy.
Last edited by windowsvesta on 2007-7-28 at 11:47 AM ]
|
|
2007-7-28 10:24 |
|
|
netwinxp
高级用户
   
积分 741
发帖 366
注册 2007-7-25
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
实时性要求较强的下位机恐怕还是智能芯片比较合适,毕竟PC机的时钟还是会有漂移的,不是那么准,而智能芯片通常会带自己的开发系统,DOS好像也帮不上什么忙。
For lower - level machines with relatively strong real - time requirements, smart chips are probably more appropriate. After all, the clock of a PC will drift and is not so accurate. And smart chips usually come with their own development systems, and DOS probably can't help much either.
|
|
2007-7-28 11:00 |
|
|
windowsvesta
初级用户
 
积分 138
发帖 67
注册 2007-7-4 来自 云南
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
我见过美国人开发的一个系统,售价是$100万美金,相当现在的¥760万人民币,采用的是双主机结构,上位机是Windows NT,下位机是DOS,采用了两台工控机,一台显示器。架构是
硬件--->DOS--->Window NT
| |
|---------------------------
Last edited by windowsvesta on 2007-7-28 at 12:06 PM ]
I have seen a system developed by Americans, with a selling price of $1 million, equivalent to about 7.6 million yuan today. It adopts a dual-host structure, with the upper host being Windows NT and the lower host being DOS. Two industrial control computers and one monitor are used. The architecture is
Hardware ---> DOS ---> Window NT
| |
|---------------------------
Last edited by windowsvesta on 2007-7-28 at 12:06 PM ]
|
|
2007-7-28 11:53 |
|
|
windowsvesta
初级用户
 
积分 138
发帖 67
注册 2007-7-4 来自 云南
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
对于DOS程序员来说,
Basic程序员人数 > C语言程序员人数 > C++程序员人数。
所以说,
------采用Basic语言开发项目,是入门级的.
------采用TC+C语言开发项目,是大众级的.
------采用BC31 + C++语言开发项目,是研发级的.
------采用DJGPP + C++语言开发项目,是精英级的.
所以楼主不要忘记"金字塔"级的分布.
Last edited by windowsvesta on 2007-7-28 at 12:55 PM ]
For DOS programmers,
The number of Basic programmers > The number of C language programmers > The number of C++ programmers.
So,
------Developing projects using Basic language is for entry-level.
------Developing projects using TC + C language is for mass-level.
------Developing projects using BC31 + C++ language is for R&D-level.
------Developing projects using DJGPP + C++ language is for elite-level.
So the owner should not forget the "pyramid"-shaped distribution.
Last edited by windowsvesta on 2007-7-28 at 12:55 PM ]
|
|
2007-7-28 12:28 |
|
|
windowsvesta
初级用户
 
积分 138
发帖 67
注册 2007-7-4 来自 云南
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
Turboc C封装了TCC
Borland C++封装了BCC
不知何时DJGPP新版本能够封装GCC,如果封装了GCC,那它代替BC,就指日可待了。那一天真的到来了,我就义无反顾地抛弃BC奔向DJGPP,但现在还“为时尚早”。
Last edited by windowsvesta on 2007-7-28 at 12:54 PM ]
Turboc C encapsulates TCC
Borland C++ encapsulates BCC
I don't know when the new version of DJGPP can encapsulate GCC. If it encapsulates GCC, then replacing BC will be just around the corner. When that day really comes, I will unhesitatingly abandon BC and run to DJGPP, but now it's "still too early".
Last edited by windowsvesta on 2007-7-28 at 12:54 PM ]
|
|
2007-7-28 12:41 |
|
|
shanliang8008
银牌会员
    
积分 1148
发帖 514
注册 2007-6-1 来自 河北
状态 离线
|
|
2007-7-28 23:41 |
|
|
windowsvesta
初级用户
 
积分 138
发帖 67
注册 2007-7-4 来自 云南
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
把GCC这个现在具有这么强大影响力的工具,说成是linux下人才会被迫使用的东西
假设有100个IT人,在这些人中间,80人从无听过GCC,10人只听过GCC,4人曾用过GCC,只有1人经常使用GCC。所以比例是99:1。
Last edited by windowsvesta on 2007-7-29 at 03:38 PM ]
Saying that GCC, a tool with such a strong influence now, is something that only people under Linux would be forced to use
Suppose there are 100 IT people. Among these people, 80 have never heard of GCC, 10 have only heard of GCC, 4 have used GCC, and only 1 uses GCC regularly. So the ratio is 99:1.
Last edited by windowsvesta on 2007-7-29 at 03:38 PM ]
|
|
2007-7-29 15:36 |
|
|
sunx
初级用户
 
积分 38
发帖 17
注册 2006-1-16
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
to windowsvesta:
论据不能靠拍脑袋拍出来, 更不能 "因为ok所以ok"
以下几个数据供你参考
最主流的VB在2001年就只剩下21%的使用率
apache 在web服务器中占有率为52%, 2005年甚至达到过70%
希望你明白这两个数据代表什么
我不反对辩论
但是你是搞技术的, 应该严谨一点
Last edited by sunx on 2007-7-30 at 04:19 AM ]
to windowsvesta:
Arguments cannot be made by whim, and even less can it be "because it's okay so it's okay"
The following are several data for your reference
The most mainstream VB only had a 21% usage rate in 2001
Apache has a 52% market share in web servers, and even reached 70% in 2005
Hope you understand what these two data represent
I don't object to debate
But you are in technology, you should be more rigorous
Last edited by sunx on 2007-7-30 at 04:19 AM ]
|
|
2007-7-30 03:48 |
|
|
netwinxp
高级用户
   
积分 741
发帖 366
注册 2007-7-25
状态 离线
|
『第 25 楼』:
使用 LLM 解释/回答一下
同意楼上的。我们搞技术的,可以用理论为论据,也可以用实际数据为论据,还可以用反例来推翻,唯独不能用假设作为论据。
I agree with the person above. We technical people can use theories as evidence, can also use actual data as evidence, and can also use counterexamples to refute, but we can't use assumptions as evidence at all.
|
|
2007-7-30 06:55 |
|
|
windowsvesta
初级用户
 
积分 138
发帖 67
注册 2007-7-4 来自 云南
状态 离线
|
『第 26 楼』:
使用 LLM 解释/回答一下
MSN刚刚登录中国时,大家都认为又是一次“Office”与“WPS”的关系,可以将“QQ”彻底地扫入垃圾堆,事实是,如果您去网吧,即时聊天工具还是QQ,使用MSN的人在网吧里基本为零。MSN在中国的用户群只是“假洋鬼子”和“白领阶层”。
因为QQ已经拥有超大的用户群,那怕“按百分比计算”的市场份额是每年渐渐降低,但在绝对数量上还在不断上升。难道QQ这玩意,就有那么高的技术含量吗?全中国就没有第二家IT企业能搞得出来吗?但为什么没有人愿意去跟QQ对抗?因为那注定要摔得“头破血流”。
技术好的东西,不一定就是市场最好的。
DJGPP对BC的影响,就如同Linux对Windows的影响,口号叫得再响,再过十年,DOS下的霸主,还是BC。用手指头计算一下,Linux出现市场已一十六年的时间,有没有把Windows打倒就不说它了......
BC与DJGPP不是相互对手,而是相互配合,DJGPP是BC的补充,是BC的高级应用。即BC不能满足需求的情况下,才轮到DJGPP上场。形象比喻就是“BC是第一梯队,DJGPP是候补梯队”。即
if (BC 满足)
{
}
else if (DJGPP满足)
{
}
else //其它
{
}
这是我的观点!
Last edited by windowsvesta on 2007-7-30 at 12:00 PM ]
When MSN first logged into China, everyone thought it was just another relationship like "Office" and "WPS", and it could completely sweep "QQ" into the trash. The fact is, if you go to an internet café, the instant messaging tool is still QQ, and there are basically zero people using MSN in internet cafés. The user group of MSN in China is just "fake foreigners" and "white-collar workers".
Because QQ already has a huge user group, even if the market share "calculated by percentage" decreases gradually every year, the absolute number is still increasing. Does QQ have such high technical content? Is there no second IT enterprise in the whole country that can do it? But why no one is willing to compete with QQ? Because that is destined to end up "in a bad way".
A good technology doesn't necessarily mean it's the best in the market.
The impact of DJGPP on BC is just like the impact of Linux on Windows. No matter how loud the slogan is, ten years from now, BC will still be the overlord under DOS. Count with your fingers, Linux has been around for sixteen years, and whether it has knocked Windows down or not is another matter...
BC and DJGPP are not opponents of each other, but complement each other. DJGPP is a supplement to BC, an advanced application of BC. That is, when BC can't meet the needs, then DJGPP comes into play. The vivid metaphor is "BC is the first echelon, DJGPP is the reserve echelon". That is
if (BC meets the needs)
{
}
else if (DJGPP meets the needs)
{
}
else // others
{
}
This is my view!
Last edited by windowsvesta on 2007-7-30 at 12:00 PM ]
|
|
2007-7-30 09:28 |
|
|
windowsvesta
初级用户
 
积分 138
发帖 67
注册 2007-7-4 来自 云南
状态 离线
|
『第 27 楼』:
使用 LLM 解释/回答一下
Originally posted by netwinxp at 2007-7-28 11:00 AM:
实时性要求较强的下位机恐怕还是智能芯片比较合适,毕竟PC机的时钟还是会有漂移的,不是那么准,而智能芯片通常会带自己的开发系统,DOS好像也帮不上什么忙。
一般来说,具有“数量市场”、或者说X86架构的体积、成本太高的情况下的仪器仪表才用“智能芯片”。在复杂性系统中,它常被用作下位机的下位机。
一般采用以下的二级架构
智能芯片仪器仪表-----|
单片机型仪器仪表-----|
传感器--------------------|-----------------X86架构 + Windows
...... ----------------------|
其它工业现场信号-----|
复杂性较高时一般采用以下的三级架构
智能芯片仪器仪表-----|
单片机型仪器仪表-----|
传感器--------------------|-----------------(多个)X86架构 + DOS/UNIX/WinCE---------------X86+Windows
...... ----------------------|
其它工业现场信号-----|
涉及到“大量实时作图需要”的智能系统,还是X86架构 +DOS/UNIX/WinCE才能较好地综合满足要求。
Last edited by windowsvesta on 2007-8-2 at 12:50 PM ]
Originally posted by netwinxp at 2007-7-28 11:00 AM:
For lower-level machines with strong real-time requirements, intelligent chips are probably more appropriate. After all, the clock of a PC may drift and is not that accurate, while an intelligent chip usually comes with its own development system, and DOS seems to be of little help.
Generally speaking, "intelligent chips" are used for instrumentation where the "quantity market" or the volume and cost of the X86 architecture are too high. In complex systems, it is often used as a lower-level machine of the lower-level machine.
Generally, the following two-level architecture is adopted
Intelligent chip instrumentation-----|
Single-chip microcomputer type instrumentation-----|
Sensor--------------------|-----------------X86 architecture + Windows
...... ----------------------|
Other industrial field signals-----|
When complexity is relatively high, the following three-level architecture is generally adopted
Intelligent chip instrumentation-----|
Single-chip microcomputer type instrumentation-----|
Sensor--------------------|-----------------(Multiple) X86 architecture + DOS/UNIX/WinCE---------------X86+Windows
...... ----------------------|
Other industrial field signals-----|
For intelligent systems involving "a large number of real-time drawing needs", the X86 architecture + DOS/UNIX/WinCE can better comprehensively meet the requirements.
Last edited by windowsvesta on 2007-8-2 at 12:50 PM ]
|
|
2007-8-2 12:39 |
|
|
john12900
初级用户
 
积分 95
发帖 40
注册 2007-5-2
状态 离线
|
|
2007-8-3 08:23 |
|
|
johnsonlam
银牌会员
     阿林
积分 1410
发帖 497
注册 2004-6-28 来自 九龍,香港
状态 离线
|
『第 29 楼』:
使用 LLM 解释/回答一下
Originally posted by sunx at 2007-7-26 10:56 AM:
DOS编程是很熟的, 属于用debug.com 写程序的最早一代
但是多年没摸DOS了,
所以开工前曾经在这里发帖,想有经验的人推荐或者介绍几个现在比较成熟的DOS开发工具
不 是 誰 都 有 空 天 天 來 逛 啦
我认为最优组合是 DJGPP + ALEGRO
原因如下:
DJGPP是32位的, 有经验的都懂为什么32bit代码比16bit代码容易写,这个不用多说
DJGPP是基于GCC的, 品质有保障, 不用浪费时间去熟悉语法特点
DJGPP是免费的,没有潜在的版权风险
DJGPP 也 不 是 萬 能 的 , 它 好 處 只 是 免 費 和 有 DOS Externder 支 援 , 開 發 團 隊 不 大 , 有 Bug 是 難 以 避 免 的 ...
不 過 我 用 過 不 少 DJGPP 開 發 的 軟 體 , 如 Raine 模 擬 器 , 兼 容 不 算 差
, 可 能 是 DJGPP 語 法 不 "友 善" 吧 。
这种套件本来就不是1,2个人1,2年时间业余写写能搞好的
這 就 是 OpenSource 啊 , 你 找 到 問 題 就 去 報 告 , 等 有 能 之 士 去 改 良 ... 那 就 是 為 甚 麼 你 不 用 付 錢 。
不 喜 歡 DJGPP 不 要 緊 , 還 有 OpenWatcom 啊 !
要 是 你 能 用 匯 編 語 言 , NASM 或 MASM 都 是 好 選 擇
用这些没有经过严格测试, 没有专人维护, 缺乏技术支持, 缺乏实际应用的东西,等于让产品自杀
你 說 的 有 道 理 , 拿 個 賣 幾 千 元 的 OS 來 說 :
Microsoft Vista !!
经过严格测试 ( 挺 多 臭 蟲 )
专人维护 ( 得 要 花 天 文 數 字 )
技术支持 ( 開 發 員 才 懶 得 理 你 )
缺乏实际应用的东西 ( 還 不 是 用 Win2K, XP 的 東 西 ! )
Originally posted by sunx at 2007-7-26 10:56 AM:
DOS programming is very 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 a thread here, wanting experienced people to recommend or introduce a few relatively mature DOS development tools now
Not everyone has time to browse every day
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, this doesn't need to be explained more
DJGPP is based on GCC, with guaranteed quality, no need to waste time getting familiar with grammar characteristics
DJGPP is free, no potential copyright risks
DJGPP is not all-powerful either. Its advantage is just being free and having DOS Externder support. The development team is not large, and it is difficult to avoid having bugs...
However, I have used many software developed with DJGPP, such as the Raine emulator, and the compatibility is not bad, maybe because the DJGPP syntax is not "friendly".
This kind of suite is not something that can be well done by 1 or 2 people in 1 or 2 years of part-time writing
This is OpenSource. If you find a problem, you go to report it, and wait for capable people to improve it... That's why you don't need to pay.
It doesn't matter if you don't like DJGPP, there is also OpenWatcom!
If you can use assembly language, NASM or MASM are good choices
Using these things that haven't been strictly tested, don't have special maintenance, lack technical support, and lack practical applications is equivalent to letting the product commit suicide
What you said makes sense. Take a few thousand yuan OS for example:
Microsoft Vista!!
Strictly tested (quite a lot of bugs)
Special maintenance (costs astronomical figures)
Technical support (developers are too lazy to care about you)
Lack of practical application things (still not using things from Win2K, XP!)
|

我 的 網 站 - http://optimizr.dyndns.org
|
|
2007-8-4 12:24 |
|
|
windowsvesta
初级用户
 
积分 138
发帖 67
注册 2007-7-4 来自 云南
状态 离线
|
『第 30 楼』:
使用 LLM 解释/回答一下
前天下载了"DJGPP"学习编程,但是DJGPP的RHIDE的编译速度太慢了,慢过Visual C++,难以忍受,现在开始打起了“退堂鼓”,觉得还是重新拾起“BC”好。
Last edited by windowsvesta on 2007-8-4 at 12:47 PM ]
The day before yesterday I downloaded "DJGPP" to learn programming, but the compilation speed of RHIDE in DJGPP is too slow, slower than Visual C++, which is unbearable. Now I'm starting to have second thoughts and think it's better to pick up "BC" again.
Last edited by windowsvesta on 2007-8-4 at 12:47 PM ]
|
|
2007-8-4 12:43 |
|
|