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 11:13
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Develop Our Own OS for Chinese People!! View 3,421 Replies 30
Original Poster Posted 2003-12-10 00:00 ·  中国 广西 桂林 教育网
初级用户
Credits 125
Posts 9
Joined 2003-12-10 00:00
22-year member
UID 13941
Gender Male
Status Offline
Since foreigners can copy the Unix kernel and make a Linux, then why can't we absorb the best parts of DOS, Unix, and OS/2 to develop an OS of our own?!

Some people say our Chinese technical level still isn't enough. I don't think so. It's not that Chinese people aren't good enough at programming, but that our development thinking may be a bit lacking. Many people may think that to absorb the ideas of Unix, Linux, and OS/2, we have to completely analyze their kernels. Actually that's not necessarily so. There are already plenty of books analyzing these kernels. We can just read them and absorb the ideas in them, without having to fully understand their source code.

DOS with available source code is a very good model. Its scale isn't too big, and everyone is familiar with it. We could completely analyze the DOS source code and on that basis rewrite a completely localized 32-bit, multitasking, multi-user DOS-like operating system, while also keeping compatibility with the DOS command line. Then later add an X-Wndows to it—isn't that exactly the successful approach Linux took?

Some people may say that this kind of thing already exists abroad, and is already being done. But that's still somebody else's. We still have to do Chinese localization and so on, and after all that back and forth, the effort spent won't be that much less.

What we most need to do right now is carry out “DOS source code analysis.” As a model we can choose some version of any DOS with public source code, including Ms-dos6.22 (its source code has also been made public). We only need to analyze the kernel part. The external commands can be left alone for now, otherwise the scope will be too large.

Some people may say that we might as well analyze the Linux kernel, study Linux, and do Linux Chinese localization. But the Linux kernel is too huge. Even with so much reference material, it still takes a long time to fully understand its kernel. With that much time, if we had reference materials, DOS would already have been thoroughly analyzed. Linux Chinese localization in China doesn't seem to have been very successful either. After all, it's still someone else's thing.

Some people may say that DOS source code has comments, but does having comments make it easy to understand? Is everyone's English really that good? We are doing “DOS source code analysis” so the road ahead will be easier, and so people won't have to waste time struggling through English.


Finally, let me emphasize my point: what we want is to rewrite a localized OS, not to Chinese-localize DOS!!!!
QQ:13688252
DOS 是我的初恋,ASM 是我的母语
Floor 2 Posted 2003-12-11 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Support, but the source code of MS-DOS 6.22 is not public. There is, however, incomplete source code for MS-DOS 6.0. On the other hand, the source code for FreeDOS, OpenDOS, PTS-DOS, etc. is completely public.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-12-11 00:00 ·  中国 广西 桂林 教育网
初级用户
Credits 125
Posts 9
Joined 2003-12-10 00:00
22-year member
UID 13941
Gender Male
Status Offline
Strongly propose: this forum should organize a “DOS source code analysis” project team!!
Let's stop going around in circles over “DOS boot disks” all the time! After “DOS source code analysis,” we can then join with all the domestic elite to rewrite a completely localized OS. Many hands provide great strength. That would be hundreds of times better than “DOS boot disks”!
QQ:13688252
DOS 是我的初恋,ASM 是我的母语
Floor 4 Posted 2004-01-04 00:00 ·  中国 安徽 合肥 电信
初级用户
Credits 121
Posts 4
Joined 2003-08-19 00:00
22-year member
UID 8909
Gender Male
Status Offline
I'm also someone who came from DOS,
but I don't really understand much!
Still, I support it! I believe you definitely need open-minded thinking!
Floor 5 Posted 2004-01-04 00:00 ·  中国 北京 海淀区 教育网
元老会员
★★
Credits 840
Posts 294
Joined 2003-09-27 00:00
22-year member
UID 10424
Gender Male
Status Offline
This kind of topic has no meaning at all.
It belongs to that sort of thing that keeps talking about “we,” “Chinese people,” “our own,” at the drop of a hat.
I hate seeing “we” abused like this.
What do you have to do with other people?
Did foreigners develop an os by standing up on some forum and calling for it?
“All you people” have left is calling for this and calling for that everywhere.
When someone else finally makes it, “you people” are happier than anyone: look, “we,” “our own”!


Floor 6 Posted 2004-01-04 00:00 ·  中国 北京 海淀区 教育网
元老会员
★★
Credits 840
Posts 294
Joined 2003-09-27 00:00
22-year member
UID 10424
Gender Male
Status Offline
Let me show a little more contempt!
“We still have to do Chinese localization and so on, and after all that back and forth, the effort spent won't be that much less”
The hard work and effort of quite a few people doing Chinese localization in China is plain for all to see.
Granted, it has played a certain role in promotion and popularization.
But let me tell you, compared with the toil put in by the original software authors, it doesn't even begin to compare.
I'm not denying the work of those doing Chinese localization, and if anyone wants to make trouble unreasonably I absolutely won't accept it.
What I'm talking about is which is more important and which is less.
What “the effort spent won't be that much less,” ptooey!
Floor 7 Posted 2004-01-04 00:00 ·  中国 北京 海淀区 教育网
元老会员
★★
Credits 840
Posts 294
Joined 2003-09-27 00:00
22-year member
UID 10424
Gender Male
Status Offline
“Some people may say that DOS source code has comments, but does having comments make it easy to understand? Is everyone's English really that good? We are doing “DOS source code analysis” so the road ahead will be easier, and so people won't have to waste time struggling through English.”

Aren't you ashamed? With comments, you still say you can't understand it; with English, you still complain it's not as easy to understand as Chinese.
Aren't you ashamed?!!!
And with that you're still shouting about “Chinese people” and “our own”?
Brother, go home. Stop making a fool of yourself.
You've made Chinese people lose all face.
Floor 8 Posted 2004-01-04 00:00 ·  中国 河南 郑州 联通
高级用户
★★
Credits 599
Posts 148
Joined 2003-10-30 00:00
22-year member
UID 12192
Gender Male
Status Offline
What I would like, though, is to get the MS-DOS source code. Please point me in the right direction.
Floor 9 Posted 2004-01-14 00:00 ·  中国 北京 北京云方舟科技有限公司
初级用户
Credits 177
Posts 32
Joined 2003-10-06 00:00
22-year member
UID 10774
Status Offline
There are major reasons why we can't develop our own OS: there is too little material in Chinese.
At most we could write something like DOS that only supports VGA. Even if you finally understand a bit about the SVGA interface, you can still only use 60Hz refresh. Who could stand a GUI like that!
Also, without any documentation at all for USB, all kinds of sound cards, DVD, CDRW, 3D graphics cards, and all their drivers, how are you supposed to write an OS?????
http://wex.cn/dwing
Floor 10 Posted 2004-01-15 00:00 ·  中国 山西 太原 联通
中级用户
★★
Credits 334
Posts 56
Joined 2004-01-04 00:00
22-year member
UID 14870
Gender Male
Status Offline
Say fewer things blaming each other!!
Produce some results

Just watch

5 years from now, an expert named movenalnalby......
Hehehe
Hahaha

We should work hard starting now

Who wants me to translate!
lbyoopp@yahoo.com
lbyoopp@mymail.com.cn
Floor 11 Posted 2004-01-16 00:00 ·  中国 黑龙江 大庆 大庆油田信息港
初级用户
Credits 113
Posts 5
Joined 2004-01-16 00:00
22-year member
UID 15619
Gender Male
Status Offline
Isn't using freedos fine? Why must it be our own os? “Our own” is nothing more than a Chinese interface. It would be more worth considering developing some practical software, like network software such as a web browser with perfect Chinese support.
Floor 12 Posted 2004-01-16 00:00 ·  中国 广东 广州 海珠区 电信
初级用户
Credits 134
Posts 9
Joined 2003-11-08 00:00
22-year member
UID 12647
Gender Male
Status Offline
Following this...
Floor 13 Posted 2004-01-17 00:00 ·  中国 辽宁 抚顺 联通
银牌会员
★★★
论坛候鸟
Credits 1,131
Posts 332
Joined 2003-11-27 00:00
22-year member
UID 13461
Gender Male
Status Offline
This post has been deleted by the original author


Floor 14 Posted 2004-01-21 00:00 ·  中国 广东 广州 白云区 电信
中级用户
★★
Credits 250
Posts 54
Joined 2003-06-08 12:00
23-year member
UID 4318
Gender Male
Status Offline
Replying to “llm”:
Make more technical contributions and talk less empty philosophy.
This is a rare technical forum, after all!






http://lingding.vicp.net
或许能帮你忙
Floor 15 Posted 2004-01-21 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
22-year member
UID 7953
Gender Male
Status Offline
Basic OS requirements

DBR boot sector -- must be written entirely in ASM, cannot call any interrupts -- for this part we can directly use someone else's DOS
IO.SYS -- must also be written entirely in ASM, cannot call any interrupts, same as above. But this part can't use someone else's, because this is where the core functionality is implemented. Taking someone else's and modifying it (byte-level modification) is meaningless; it needs source-level modification. For the moment I still don't really know ASM or C (in ASM I know a few NOP, MOV, INT; in C I know a few cio, printf, for)
COMMAND.COM -- this part is easier; there are plenty of C experts here (though I'm not one yet). For execution efficiency, it can't be written in QB... best to compile the commands into the internal part (the common ones)
... (hope everyone works together)

About the memory management mechanism
I don't want to say much here. For compatibility and expandability, two sets of memory management mechanisms must be made.
1. 640K + XMS
2. Define a new kind of memory
A 32-bit system can be made (64-bit??? I'm not against it, but I'm afraid it may be technically difficult), and then make a 16-bit Pure DOS virtual machine...
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Forum Jump: