|
whowin
初级用户
 
积分 174
发帖 37
注册 2006-9-28
状态 离线
|
『楼 主』:
我说DOS,我仍然在DOS下工作
使用 LLM 解释/回答一下
我玩DOS,大概得有20多年了,应该从85年底或者86年初就知道DOS了,那个时候DOS是个人机最好的操作系统。
现在我仍然在DOS下做事,主要是基于86架构的机器,基于DJGPP+ALLEGRO,有些简单的事也用TURBO C,汇编很少用了,只是偶尔不得不用的时候。
DOS的优势在于可以无所顾忌地操作硬件,速度极快,所以我的程序基本都运行在自己专门做的主板上,比如新近为一个项目开发的主板,使用AMD gx3的套片,桥使用CS5536,配上ALC202的AC97声卡,配上bt878a图像采集芯片,再用CS5536上的I2C连接一颗AIT2138的图像解码芯片和一颗DS3231高准确度的时钟芯片,把DOS一转,全部都是对芯片直接编程,跑起来爽!
DOS的麻烦在于它的不可重入性,使得构建多任务的时候要小心翼翼,不能随心所欲,不过也大可不必为此去修改DOS,因为现如今的DOS6.22真的是非常稳定,一改不一定会怎么样,我年轻的时候,就曾经在一个项目中把DOS改的面目全非,从键盘、显示到磁盘操作,结果是所有的调试工具都无法支持,那个项目把我给累死了。
不知道现在还有多少人真正的在DOS下开发,前两年的一个国外的项目,先是用WINCE,老外使用后说不稳定,可靠性不好,后来我用DOS给重新做了,老外连连说好,本来嘛,想开就开,想关就关,用个200的CPU,做图像采集实时性巨好。还有什么可说的。
I've been playing with DOS for about 20 years. I should have known about DOS from the end of 1985 or the beginning of 1986. At that time, DOS was the best operating system for personal computers.
Now I'm still doing things under DOS, mainly on 86-architecture machines, based on DJGPP + ALLEGRO. I also use TURBO C for some simple tasks. I rarely use assembly language now, only occasionally when I have to.
The advantage of DOS is that it can operate hardware without any scruples and is extremely fast. So my programs basically run on the motherboards I made specifically. For example, the newly developed motherboard for a project uses an AMD gx3 chipset, the bridge uses CS5536, is equipped with an ALC202 AC97 sound card, an bt878a image capture chip, and connects an AIT2138 image decoding chip and a DS3231 high-accuracy clock chip via I2C on CS5536. When DOS is started, it's all directly programming the chips, which is cool to run!
The trouble with DOS is its non-reentrancy, which makes it necessary to be very careful when building multitasking, not being able to do as one pleases. But there's no need to modify DOS for this because DOS 6.22 nowadays is really very stable. If you change it, who knows what might happen. When I was young, I once completely changed DOS in a project, from the keyboard, display to disk operations. As a result, none of the debugging tools could support it, and that project really wore me out.
I don't know how many people are really developing under DOS now. A foreign project a couple of years ago first used WINCE. The foreigner said it was unstable and not reliable after using it. Then I redid it with DOS, and the foreigner kept saying it was good. Originally, it's just to start when you want to and shut down when you want to. Using a 200 CPU, the real-time performance of image capture is extremely good. What else is there to say.
|
|
2007-5-30 17:33 |
|
|
wang6610
银牌会员
    
积分 1246
发帖 488
注册 2003-11-11
状态 离线
|
|
2007-5-30 19:08 |
|
|
enjoyer
中级用户
   部落守望者
积分 351
发帖 140
注册 2006-6-19
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
手段真漂亮,一直都是我所想的。楼主以后多指教指教!
The means are really smart, it's always what I've thought. LZ, please give more guidance in the future!
|

一切从底层开始 |
|
2007-5-30 21:46 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
|
2007-5-31 12:13 |
|
|
ecurb2006
中级用户
   www.ecgui.com
积分 272
发帖 123
注册 2006-9-23
状态 离线
|
『第 5 楼』:
好文章!!!
使用 LLM 解释/回答一下
操作系统还是简单,稳定的好!
自己写的GUI在DOS上跑的还是不错的.(也支持Linux,uC/OS-II)
Operating systems are still better if they are simple and stable!
The self-written GUI running on DOS is still pretty good. (Also supports Linux, uC/OS-II)
|

eCGUI-微型嵌入式GUI/ DOS/Linux/uC/OS-II/等 图形界面开发
www.ecgui.com
|
|
2007-5-31 12:23 |
|
|
CrispH
初级用户
 
积分 108
发帖 49
注册 2007-3-9
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
AMD Geode GX3 + CS5536 是个不错的平台哦. 我有这个 跑 WIN XP 都还不错哦! 跑 DOS 当然很爽啦!!
我自己有做 GX2 + CS5535 的平台移植, 上 XP 也可以的 ...
AMD Geode GX3 + CS5536 is a pretty good platform. I have this and it runs WIN XP quite well! And of course, it runs DOS very smoothly!!
I have my own port of the GX2 + CS5535 platform, and it can also run XP...
|
|
2007-6-2 00:44 |
|
|
whowin
初级用户
 
积分 174
发帖 37
注册 2006-9-28
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
很遗憾:AMD已经停产了GX1和GX2,同时考虑到欧洲无铅化的要求,迫不得已我才开了这块GX3的板子,因为原来相同功能的系统,一直跑在一块GX1的板子上,用的GX1-200,已经足够了,采用GX3无形中增加了不少成本,而且由于是自己做的主板,光各种测试,改板一般就得半年,无奈呀!
It's a pity that AMD has discontinued GX1 and GX2. Also, considering the European lead-free requirements, I had no choice but to start making this GX3 board. Originally, the same functional system was always running on a GX1 board using GX1-200, which was sufficient. Using GX3 has undoubtedly increased a lot of cost. Moreover, since it's a self-made motherboard, it generally takes half a year just for various tests and board modifications. What a hassle!
|
|
2007-6-2 09:06 |
|
|
ang66
新手上路

积分 10
发帖 5
注册 2007-5-31
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
大叔,你真是牛人啊!我还没出生你就在玩DOS,叫你大叔不过分吧?
Uncle, you're really amazing! You were playing DOS before I was even born. It's not too much to call you uncle, right?
|
|
2007-6-2 13:54 |
|
|
whowin
初级用户
 
积分 174
发帖 37
注册 2006-9-28
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
当然不过分,不过现在的年轻人没人再热心DOS了,似乎DOS是个很简单很容易的东西,其实在WINDOWS下编程才真正的没有意思,在WINDOWS下做程序能不能做的好更多的取决于你对WINDOWS的了解有多少,一切都是WINDOWS帮你做好的,你只要学会堆砌就好了,当然这也是本事。不知道WINDOWS害了多少程序员。
我曾经有个客户,做IVR的,很久以前(大概是95年或者96年)我们有过合作,当时是为了把DIAGLOGIC的一块E1卡接入国内的电话交换网,由于当时的中国一号信令有别于欧洲2号信令,所以国外的东西接入都很困难,当时DIAGLOG办事处的一位先生怎么也搞不定,无奈找到了我,我们也是用了2周的业余时间才搞定,那段源代码在当时卖了2万,据说他们一转手卖了5万,去年他找我是因为他们的IVR系统是买的别人的产品,在WINDOWS下做的,在大话务量的情况下常出莫名其妙的问题,由于底层都是WINDOWS的,所以厂家说也解决不了问题,他要求我们从底层做起,在什么系统下做没有关系,反正这样一做以后,再有问题不管是什么自己都可以想办法解决,我给他做了,好像花了2-3个月,很遗憾没有出问题。
WINDOWS的特点是,你一定要派个人看着它,否则后果是不可预测的。
Of course, it's not excessive. But now young people are no longer enthusiastic about DOS. It seems that DOS is a very simple and easy thing. In fact, programming under WINDOWS is really not interesting. Whether you can do a good job in programming under WINDOWS depends more on how much you know about WINDOWS. Everything is done well by WINDOWS, and you just need to learn to pile things up. Of course, that's also a skill. I don't know how many programmers have been harmed by WINDOWS.
I once had a client who was doing IVR. A long time ago (probably around 1995 or 1996), we had a cooperation. At that time, it was to connect a DIAGLOGIC E1 card to the domestic telephone switching network. Since the China No. 1 signaling was different from the European No. 2 signaling at that time, it was very difficult to connect foreign things. A gentleman from the DIAGLOG office couldn't handle it at all. Helplessly, he found me. It took us 2 weeks of spare time to get it done. The source code at that time was sold for 20,000 yuan. It is said that they resold it for 50,000 yuan. Last year, he found me because their IVR system was a product bought from others, which was made under WINDOWS. It often had inexplicable problems under heavy call volume. Since the bottom layer was all WINDOWS, the manufacturer said they couldn't solve the problem. He asked us to start from the bottom layer. It didn't matter under what system it was done. Anyway, after doing this, if there were any problems in the future, no matter what, he could figure out a way to solve them by himself. I did it for him. It seemed to take 2-3 months. Unfortunately, there were no problems.
The characteristic of WINDOWS is that you must have someone watching it, otherwise the consequences are unpredictable.
|
|
2007-6-2 14:42 |
|
|
ang66
新手上路

积分 10
发帖 5
注册 2007-5-31
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
不管是什么,只要能有效的解决问题就行,是吧,大叔?
No matter what it is, as long as it can effectively solve the problem, right, uncle?
|
|
2007-6-2 14:58 |
|
|
love4u
新手上路

积分 14
发帖 7
注册 2007-6-3
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
看来各位都是BT级的人物呀!!!
难道大家都不玩基于OpenGl开发的游戏吗???
It seems that everyone here is at the BT level!!!
Don't everyone play games developed based on OpenGl???
|
|
2007-6-3 22:18 |
|
|
love4u
新手上路

积分 14
发帖 7
注册 2007-6-3
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
楼主,把你的MSN交出来!!!!
楼主,把你的QQ交出来!!!!
我的邮箱是:time24inlove@hotmail.com
L楼 主, 把 你 的 MSN 交 出 来!!!!
楼 主, 把 你 的 QQ 交 出 来!!!!
我 的 邮 箱 是:time24inlove@hotmail.com
The building owner, hand over your MSN!!!!
The building owner, hand over your QQ!!!!
My email is: time24inlove@hotmail.com
|
|
2007-6-3 22:19 |
|
|
zhgwbzhd
高级用户
   
积分 506
发帖 187
注册 2005-12-4
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
楼主真是一个牛人了,想当初我还不知道世间有计算机这一说呢。呵呵
现在吃的饭也主要靠dos这个东西了。
The building owner is really an amazing person. Back then, I didn't even know there was such a thing as a computer. Hehe. Now the meals I eat mainly rely on this thing called DOS.
|
|
2007-6-4 09:31 |
|
|
enjoyer
中级用户
   部落守望者
积分 351
发帖 140
注册 2006-6-19
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
还有靠DOS吃饭的,楼上朋友给介绍介绍吗,是什么行当?
There are still people making a living with DOS? Can the friend upstairs introduce it? What kind of profession is it?
|

一切从底层开始 |
|
2007-6-4 12:49 |
|
|
stockghost
中级用户
  
积分 215
发帖 105
注册 2007-6-2
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
还是老弟厉害,我也玩了不少年电脑了,从AppleII开始,越来越落伍了.
Still, the younger brother is amazing. I've also played with computers for many years, starting from Apple II, and I'm getting more and more outdated.
|
|
2007-6-4 20:41 |
|