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:14
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Seriously, regarding the application of DOS on industrial control computers! Give some opinions! View 2,753 Replies 19
Original Poster Posted 2003-11-23 00:00 ·  中国 四川 成都 中国科学院光电技术研究所
初级用户
Credits 189
Posts 21
Joined 2003-11-23 00:00
22-year member
UID 13227
Gender Male
Status Offline
Recently, I was working on a project. To avoid using a hard disk with a relatively large size, I chose an electronic disk DOC (DISK ON CHIP), which is only 64M. So I had to use DOS for the OS. But I found it really a bit inconvenient when writing software!

I want to continuously display three kinds of 14 images at three moments respectively under pure DOS (assuming they have been saved on the hard disk): 8 coded raster BMP images, 4 phase - shifted raster BMP images, and 2 fully - bright and fully - dark raster images. The effect I want to achieve is: shield the characters when entering the DOS system (that is, no startup screen appears), and then have an image processing program on the PC control sending instructions through the serial port to control when to display which kind of image among the three kinds.

The industrial control computer has no keyboard or mouse. After power - on, it can complete the task without any control. This is my goal. It seems that making a batch file with DOS can realize this, but I don't know how. Haha!

It feels like the OS has changed, and a lot of things need to be learned and done again. Oh, in the end, should I choose DOS???

I just found this site today, and I think it's very good!

Is there anyone who has made industrial control computers with DOS? I really hope to communicate with you!!

68278802
medalas@163.net
Floor 2 Posted 2003-11-24 00:00 ·  中国 河北 石家庄 联通
初级用户
Credits 102
Posts 1
Joined 2003-11-24 00:00
22-year member
UID 13287
Gender Male
Status Offline
When fighting, it's better to use the moves you are more familiar with
Floor 3 Posted 2003-11-26 00:00 ·  中国 广东 中山 电信
初级用户
Credits 175
Posts 25
Joined 2003-10-23 00:00
22-year member
UID 11741
Gender Male
Status Offline
Yes, I use DOS. And I don't even use a monitor, just a printer.

What machine are you using,楼主? (I'm using an ordinary P4 machine)

Also, why not use a USB flash drive? How much is your 64M doc?
Floor 4 Posted 2003-11-26 00:00 ·  中国 四川 成都 中国科学院光电技术研究所
初级用户
Credits 189
Posts 21
Joined 2003-11-23 00:00
22-year member
UID 13227
Gender Male
Status Offline
64M DOC is 495 yuan! I'm using Yanxiang's 104-1541CLDN. What about you? Using a USB flash drive. There aren't many motherboards that support USB flash drive booting now! Please contact me via QQ or MAIL upstairs!
Floor 5 Posted 2003-11-27 00:00 ·  中国 广东 中山 电信
初级用户
Credits 175
Posts 25
Joined 2003-10-23 00:00
22-year member
UID 11741
Gender Male
Status Offline
845gl (Generally, motherboards produced in 2003 all support USB flash drive booting)
1.7G CPU
128M RAM
64M USB flash drive (150 yuan)

The total is more than 1300, but the speed should be faster than that of the 104 board.

How much is your 1541cldn?
Floor 6 Posted 2004-01-30 00:00 ·  中国 广东 广州 盈联宽带
初级用户
Credits 103
Posts 1
Joined 2004-01-30 00:00
22-year member
UID 16330
Gender Male
Status Offline
As far as I know, many industrial control computers use the DOS platform. I also want to compile an industrial control software with GUI under DOS. I plan to use FREE DOS and DJGPP. I wonder how much time it will take for a C language programmer with medium level, because my whole system's hardware is almost the same.
Floor 7 Posted 2004-02-03 00:00 ·  中国 江苏 南京 联通
初级用户
Credits 140
Posts 18
Joined 2004-02-03 00:00
22-year member
UID 16630
Gender Male
Status Offline
I'm quite interested. I'm involved in Watcom C/C++ development and have also used DJGPP. Previously, I developed a stock analysis system under Novell, with my own GUI package. When developing under protected mode with DJGPP, the DPMI Server is not very stable. I used it before, and memory management was not good. DOS4G/W is relatively more reliable.
Floor 8 Posted 2004-02-07 00:00 ·  中国 广东 广州 荔湾区 电信
初级用户
Credits 112
Posts 5
Joined 2003-11-15 00:00
22-year member
UID 12856
Gender Male
Status Offline
Regarding the issue of shielding DOS boot information raised by the first friend, it can be solved. It can be easily done through DOS batch processing and a DOS BANNER program. I am also involved in industrial control computers and am also working on projects. I hope to communicate with you. Because I also have some technical problems that I can't solve.

For brother songjian who previously developed the stock analysis system under Novell, I have the same feeling as you. DOS4G/W is indeed much more reliable.

I am working on the toll collection system in traffic engineering. When my software runs, it performs a large number of write operations on the hard disk because the toll transaction records are split into many small files (ranging from tens of bytes to hundreds of KB) and stored on the hard disk. After running for a period of time, the hard disk always reports FAT errors, and many lost clusters are found, and files are often lost. I have been unable to solve it completely. It's very frustrating. Do you all have any good methods to solve it? It can be from the development perspective or from the on-site maintenance perspective. I think the stock analysis system under Novell must also have a large number of disk write operations and the generation of small-byte files. I wonder if brother songjian has any good suggestions? My E-MAIL is morixin@163.com or txliou@163.com. My operating system platform is MS-DOS 7.0.

I am in Guangzhou! This problem is very urgent! You can call me at 020-83730652, 013924105150 or I can call you.
Floor 9 Posted 2004-02-07 00:00 ·  中国 江苏 南京 电信
初级用户
Credits 140
Posts 18
Joined 2004-02-03 00:00
22-year member
UID 16630
Gender Male
Status Offline
When I developed the stock analysis system, I initially used the directory method for historical data, but it was not very convenient for analysis. If I wanted to analyze, I usually used the large file method. I created a file of several hundred megabytes, which included an index of the file content. Since my development purpose was different, I rebuilt a file of over 1 gigabyte every month. I don't know if this method is useful to you. But if you must use small files, it's also possible. The first step is not to directly read from and write to the disk, but to use the cache method. Second, do something similar to the closing of the stock analysis system every day to organize the data. You can contact me by email.
Floor 10 Posted 2004-02-26 00:00 ·  中国 广东 广州 海珠区 电信
初级用户
Credits 152
Posts 10
Joined 2004-02-24 00:00
22-year member
UID 18295
Gender Male
Status Offline
You use a 1.7G CPU to run DOS, which is too luxurious. If it's just for control, a 386 - level chip is enough.
Floor 11 Posted 2004-02-26 00:00 ·  中国 广东 深圳 南山区 电信
初级用户
★★
鹰击长空
Credits 271
Posts 61
Joined 2003-08-20 00:00
22-year member
UID 8964
Gender Male
Status Offline
ICOP embedded mainboard supports USB flash drive booting, provides TCP/IP development package under DOS, ultra-low power consumption can reach 5V@350mA, -20℃ low temperature booting...
For details, please visit http://www.icop.com.cn
Tel:0755-26742770-400 Mr. Zhang
适合的,就是最好的!
DOS,永远的初恋情人。
Floor 12 Posted 2004-02-26 00:00 ·  中国 北京 联通
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
"Charge flow records are split into many small files (ranging from tens of bytes to a few hundred KB) and stored on the hard disk. After running for a period of time, the hard disk always reports FAT errors, and many lost clusters are found, with files often being lost.

The FAT system has a limit on the number of files, and there is also a limit on the number of files in the root directory. Is it caused by this?

I think that using large file management as mentioned by SONGJIAN is better. Now most games almost use this method."

Teamwork !
Floor 13 Posted 2004-04-06 00:00 ·  中国 广东 深圳 南山区 电信
初级用户
★★
鹰击长空
Credits 271
Posts 61
Joined 2003-08-20 00:00
22-year member
UID 8964
Gender Male
Status Offline
This is caused by the management mechanism of FAT. It is suggested to make a backup of the FAT area.
适合的,就是最好的!
DOS,永远的初恋情人。
Floor 14 Posted 2004-04-07 00:00 ·  中国 河北 唐山 联通
初级用户
Credits 183
Posts 31
Joined 2002-11-30 00:00
23-year member
UID 371
Gender Male
Status Offline
It is suggested that you establish a larger data file, and classify the bytes according to the content to set up an indexing method similar to database management to store small file data in categories. The data saved to disk is first buffered in memory and then saved to disk when a certain amount and time are reached. When I program the disk saving time, the shortest time is generally set to 1 to 5 minutes.
我的论坛 http://zjp-vlk.vicp.net/bbs 我在它就在!
Floor 15 Posted 2004-04-08 00:00 ·  中国 辽宁 丹东 联通
中级用户
★★
Credits 316
Posts 74
Joined 2004-03-04 00:00
22-year member
UID 19167
Gender Male
Status Offline
Brother songjian:
I have just started learning to use WATCOM. I don't know the functions for entering and exiting graphic mode under WATCOM. Please give me some guidance.
Thank you
Forum Jump: