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-07-23 05:45
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Plug and Play under DOS View 1,006 Replies 11
Original Poster Posted 2003-06-26 00:00 ·  中国 湖北 随州 电信
元老会员
★★★
Credits 1,987
Posts 632
Joined 2002-10-27 00:00
23-year member
UID 73
Gender Male
Status Offline
While modifying the boot disk this time, I kept thinking about one question: Win98's Plug and Play function is implemented through HWINFO + INF. First it uses HWINFO to find out the hardware model, then it searches the device's INF document in the WINDOWS\INF folder, and installs the driver according to the description in the INF document.

So under DOS this function could also be implemented: use HWINFO to find out the hardware model, and load the driver according to the result.
Its biggest use would be loading sound cards and network cards. It's especially useful on a boot CD; by then it would really be possible to get online and use multimedia.


http://dos.e-stone.cn/dosbbs
uploadImages/200311161145850422.swf
Floor 2 Posted 2003-06-26 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
Then talk about the specific method?
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 3 Posted 2003-06-26 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Yeah, talk about how to implement it... for example DUSE...
Wengier - 新DOS时代

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

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

Floor 4 Posted 2003-06-26 00:00 ·  中国 湖北 随州 电信
元老会员
★★★
Credits 1,987
Posts 632
Joined 2002-10-27 00:00
23-year member
UID 73
Gender Male
Status Offline
This is only an idea of mine, and in principle it can be implemented; what I said above is the basic idea. The actual implementation will still depend on WENGIER and everyone studying it together. HWINFO has several small tools, and these tools will record the detected configuration. What we need to do is read the hardware information from the document, assign the hardware information to variables, and then use batch files to call the relevant driver programs according to the variable values.
The key problem is how to set the text information from the file into variables. As long as we can find such a tool, everything will be OK.
For example, if a kind of sound card is found, HWINFO will record it in the corresponding document in the UTILS folder. At that time, use a batch file to set that sound card information into the sound card variable. Finally, extract and load that sound card driver from the complete sound card program package.
http://dos.e-stone.cn/dosbbs
uploadImages/200311161145850422.swf
Floor 5 Posted 2003-06-26 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Mm... that's a good line of thought... moderator yiyesong is really amazing... hehe~~~~~~~
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 6 Posted 2003-06-26 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
I can't handle the actual implementation yet... but the new moderator kevinet really does have that ability... He's proficient in C++, hardware operation, software use, boot disk creation, English, Russian, German, and so on...
Wengier - 新DOS时代

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

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

Floor 7 Posted 2003-06-26 00:00 ·  中国 湖北 随州 电信
元老会员
★★★
Credits 1,987
Posts 632
Joined 2002-10-27 00:00
23-year member
UID 73
Gender Male
Status Offline
Actually it's not hard to implement, as long as we can find a tool that can set text information from a document into variables. wengier, you mean kevinet knows three foreign languages? That's incredible. What exactly does he do?
http://dos.e-stone.cn/dosbbs
uploadImages/200311161145850422.swf
Floor 8 Posted 2003-06-26 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
The following is quoted from yiyesong's post at 2003-6-26 20:41:59:
Actually it's not hard to implement, as long as we can find a tool that can set text information from a document into variables.


How could it be that easy? To make DOS truly support PnP, there are still a lot of related things to deal with... And there is so much hardware too; it's impossible for just one or two people to make it call each one separately.
Wengier - 新DOS时代

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

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

Floor 9 Posted 2003-07-01 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
The tool for setting text information from a document into variables can be designed by ourselves, using C/C++—a real product of CDU itself! Also, I want to ask everyone this: on a worldwide scale, does DOS already support PnP? If not a single company has yet developed a DOS that supports PnP, then we really have to pay attention to the problem of key technology leaks; this is a trade secret! You should know that in the future our China DOS Union will take off on the strength of this technology!
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 10 Posted 2003-07-15 00:00 ·  中国 湖南 湘潭 电信
初级用户
Credits 102
Posts 1
Joined 2003-07-15 00:00
23-year member
UID 6942
Gender Male
Status Offline
KKKKKKKKKKKKKKKk, the backwardness of China's software industry is exactly because of this so-called conservatism. Dizzy......
Floor 11 Posted 2003-07-15 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
The following is quoted from siton's post at 2003-7-15 16:04:28:
KKKKKKKKKKKKKKKk, the backwardness of China's software industry is exactly because of this so-called conservatism. Dizzy......


What conservatism? Explain yourself a bit more clearly?
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 12 Posted 2003-07-15 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
There are PnP managers under DOS. For example, CTCM.EXE is one.
Wengier - 新DOS时代

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

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

Forum Jump: