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 23:25
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Where is the hope of DOS? Come here to see~~~~~~ View 1,782 Replies 13
Original Poster Posted 2006-10-28 07:35 ·  中国 上海 宝山区 电信
金牌会员
★★★★
小飞侠
Credits 4,590
Posts 1,812
Joined 2003-04-02 00:00
23-year member
UID 1400
Gender Male
From 上海市
Status Offline
http://www.daxia.com/bbs/moredata.asp?id=57185&syid=960787

<<Seekfor Embedded DOS v1.0.0.0>> Introduction
1. Basic Performance
(1) Supports FAT16/FAT32 file system
(2) Supports standard stdout, stdin operations (compatible with stdio.h)
(3) Supports resident programs (reside program)
(4) Supports environment variables
(5) Supports dynamic memory management (malloc + free)
(6) Supports running *.bat, *.exe, *.com files
(7) Supports autoexec.bat startup at boot
(8) Supports remote reading of disk contents (provides remotedisks.exe tool based on UART)
(9) Supports outputting all DOS APIs (applications can directly call using function pointers)
(10) Supports file - like system devices, all devices can be regarded as a file
(11) Supports custom handling of interrupt programs
2. Detailed Performance List
(1) FAT File System Performance
Supports FAT16/FAT32, and only needs to provide different function pointers like Sector_read(), Sector_write() for different hardware to easily install devices of different FAT types (this device exists as a disk).
(2) Supports Standard stdout, stdin Operations
Not only can the DOS core code directly use printf() to operate stdout and stdin, but also user applications can directly use similar APIs. Supports redirection of stdout and stdin. For example, the current code's stdout and stdin are directed to UART0, but can also be directed to any device as needed (such as stdout directed to LCD, stdin directed to Keyboard).
(3) Supports Resident Programs
Resident programs are called reside programs in MSDOS. They are programs that can be executed again after returning in main(). Generally used for real - time processing of interrupts.
(4) Supports Environment Variables
Supports 256 environment variables, and user programs can arbitrarily change, read, and set them.
(5) Supports Dynamic Memory Management
Standard malloc() + free() function calls.
(6) Supports Running *.bat, *.exe, *.com Files
*.bat, automatic batch files, with the same format as MSDOS, SFDOS will read and run line by line (currently does not support script code).
*.exe, executable files, actually BIN code compiled + file header generated by exemaker.exe (system - provided tool).
*.com, command files, actually BIN code compiled.
(7) Supports autoexec.bat Startup at Boot
The system will automatically find autoexec.bat in the root directory after initialization, and if it exists, it will automatically run. Generally, device drivers can be added to autoexec.bat, so that dynamic loading of device drivers and automatic execution of applications can be realized.
(8) Supports Remote Reading of Disk Contents
The system provides the remotedisks.exe tool to read or change all FAT information in SFDOS through UART.
(9) Supports Outputting All DOS APIs
The system provides an internal command exports, which can output all API pointer information of the system to any file.
For example, executing exports dos.h dos.c at the command line will automatically generate dos.h and dos.c files in the current directory, and user programs can include these two files in the project file to arbitrarily use the APIs provided by SFDOS.
(10) Supports File - like System Devices, All Devices Can Be Regarded as a File
The system regards all hardware devices as a special file. For example, UART0 can be installed into the system using Device_install(), and the file name can be arbitrary. Generally, use "COM0:", and after successful installation, user programs can directly use fopen("COM0:", "w") to open UART0 and then use fwrite() to write data to UART0, and the same applies to other devices.
(11) Supports Custom Handling of Interrupt Programs
The system contains default interrupt handling programs. If user programs need to handle interrupts, they can directly use setvect() to set the interrupt handling program pointer, and then the system will automatically call the user's interrupt handling program when an interrupt occurs.
(12) Good Portability Performance
The system realizes portability by separating kernel code and CPU - related code. Porting only needs to rewrite some necessary APIs and load stdout and stdin drivers to realize DOS.


Moderator Wengier must invite this brother Seekfor over
Think about how popular embedded systems are now

How promising it is to embed a DOS operating system with ARM ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Floor 2 Posted 2006-10-28 09:12 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline

  Super top~~Another creative idea~
Floor 3 Posted 2006-10-28 09:53 ·  中国 四川 成都 电信
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
The advantages of DOS are small size, hardware - friendly, convenient, and standardized.

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 4 Posted 2006-10-28 12:02 ·  中国 上海 宝山区 电信
金牌会员
★★★★
小飞侠
Credits 4,590
Posts 1,812
Joined 2003-04-02 00:00
23-year member
UID 1400
Gender Male
From 上海市
Status Offline
It's not about creativity, it's that someone has already implemented it~~~~~~~~~~~
I think we should invite him here
Floor 5 Posted 2006-10-28 22:16 ·  中国 广东 清远 电信
荣誉版主
Credits 57
Posts 23
Joined 2006-10-28 21:37
19-year member
UID 68686
Gender Male
Status Offline
Those who want the source code, add my QQ
Floor 6 Posted 2006-10-28 22:20 ·  中国 广东 清远 电信
荣誉版主
Credits 57
Posts 23
Joined 2006-10-28 21:37
19-year member
UID 68686
Gender Male
Status Offline
Floor 7 Posted 2006-10-28 22:29 ·  中国 广东 清远 电信
荣誉版主
Credits 57
Posts 23
Joined 2006-10-28 21:37
19-year member
UID 68686
Gender Male
Status Offline
C:\>
dir
Driver C label is [NO NAME]
List all files and directories of C:\
<DIR> mp3
<DIR> dicm
0 files
2 directories
0 bytes used
66797568 bytes available
C:\>cd mp3
C:\MP3\>dir
Driver C label is [NO NAME]
List all files and directories of C:\MP3\
788 demo.exe
1 files
0 directories
788 bytes used
66797568 bytes available
C:\MP3\>copy demo.exe \demo.exe

C:\MP3\>cd ..
C:\>dir
Driver C label is [NO NAME]
List all files and directories of C:\
<DIR> mp3
<DIR> dicm
788 demo.exe
1 files
2 directories
788 bytes used
66781184 bytes available
C:\>ren demo.exe demo.com
C:\>dir
Driver C label is [NO NAME]
List all files and directories of C:\
<DIR> mp3
<DIR> dicm
788 demo.com
1 files
2 directories
788 bytes used
66781184 bytes available
C:\>rename demo.com demo.exe
C:\>dir
Driver C label is [NO NAME]
List all files and directories of C:\
<DIR> mp3
<DIR> dicm
788 DEMO.EXE
1 files
2 directories
788 bytes used
66781184 bytes available
C:\>cls
C:\>dir
Driver C label is [NO NAME]
List all files and directories of C:\
<DIR> mp3
<DIR> dicm
788 DEMO.EXE
1 files
2 directories
788 bytes used
66781184 bytes available
C:\>del demo.exe
C:\>dir
Driver C label
List all files and directories of C:\
<DIR> mp3
<DIR> dicm
0 files
2 directories
0 bytes used
66797568 bytes available
C:\>copy con demo.bat
echo OK!^Z
C:\>dir
Driver C label is [NO NAME]
List all files and directories of C:\
<DIR> mp3
<DIR> dicm
8 demo.bat
1 files
2 directories
8 bytes used
66781184 bytes available
C:\>demo
C:\echo OK!
dir
Driver C label is [NO NAME]
List all files and directories of C:\
<DIR> mp3
<DIR> dicm
8 demo.bat
1 files
2 directories
8 bytes used
66781184 bytes available
echo on
C:\>dir
Driver C label is [NO NAME]
List all files and directories of C:\
<DIR> mp3
<DIR> dicm
8 demo.bat
1 files
2 directories
8 bytes used
66781184 bytes available
C:\>
Floor 8 Posted 2006-10-28 23:04 ·  中国 四川 成都 电信
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
Wow, it's really amazing. Embedded systems are really a promising field~~

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 9 Posted 2006-10-28 23:07 ·  中国 上海 宝山区 电信
新手上路
Credits 2
Posts 1
Joined 2006-10-28 22:02
19-year member
UID 68690
Gender Male
Status Offline
Indeed, DOS has been moribund for so many years~~~~~~~

We must definitely give it a new shot in the arm
Floor 10 Posted 2006-10-29 18:18 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline

  Powerful, supporting it………………Hope the future of DOS will be better.
Floor 11 Posted 2006-10-29 18:43 ·  中国 广西 贵港 电信
高级用户
★★
学无尽止
Credits 635
Posts 244
Joined 2006-04-15 05:07
20-year member
UID 53857
Gender Male
From 广西贵港
Status Offline
What is DOS, and what is the meaning of batch processing? What is the difference between them?
Floor 12 Posted 2006-10-29 21:31 ·  中国 浙江 台州 玉环市 电信
管理员
★★★★
DOS非常爱好者
Credits 6,215
Posts 2,601
Joined 2006-01-20 13:00
20-year member
UID 49256
Status Offline
Originally posted by seekfor at 2006-10-28 22:16:
Those who need the source code, please add my QQ



Where is your QQ? I can't find it!
Floor 13 Posted 2006-10-29 21:39 ·  中国 浙江 台州 玉环市 电信
管理员
★★★★
DOS非常爱好者
Credits 6,215
Posts 2,601
Joined 2006-01-20 13:00
20-year member
UID 49256
Status Offline
Found the BLOG, but this BLOG loads very slowly, and it doesn't come out for half a day!
Floor 14 Posted 2006-10-30 20:50 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
The bravest of operating systems. A strong post, give a thumbs up!

DOS is a very excellent operating system. It does not lose its charm because of its long history, and it still occupies an irreplaceable position in a sense. DOS is very small, which is both a shortcoming and an advantage. The popular open-source operating system LINUX today, like Microsoft's WINDOWS, is a complex operating system, and neither of them has the compact beauty of DOS. The price of virtual memory, virtual file system, and powerful functions is the loss of compact beauty. This is a case where you can't have both fish and bear's paws. The file system adopted by DOS is also very compact, not as complex as NTFS or EXT2. Although DOS is compact, it has complete room for development. You can access 4G of memory under DOS, and you can access arbitrarily large disk space at the underlying level through the functions of EBIOS. Therefore, DOS is not restricted in terms of functions.
因为我们亲手创建,这个世界更加美丽。
Forum Jump: