![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-10-27 05:13 |
47,815 topics / 349,928 posts / today 0 new / 48,289 members |
| DOS启动盘 & LOGO技术 (启动盘室) » Where is the hope of DOS? Come here to see~~~~~~ |
| Printable Version 1,987 / 13 |
| Floor1 沈洁 | Posted 2006-10-28 07:35 |
| 金牌会员 Posts 1,812 Credits 4,590 From 上海市 | |
|
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 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |
|
| Floor2 lxmxn | Posted 2006-10-28 09:12 |
| 版主 Posts 4,938 Credits 11,386 | |
|
Super top~~Another creative idea~ |
|
| Floor3 electronixtar | Posted 2006-10-28 09:53 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
|
The advantages of DOS are small size, hardware - friendly, convenient, and standardized.
|
|
| Floor4 沈洁 | Posted 2006-10-28 12:02 |
| 金牌会员 Posts 1,812 Credits 4,590 From 上海市 | |
|
It's not about creativity, it's that someone has already implemented it~~~~~~~~~~~
I think we should invite him here |
|
| Floor5 seekfor | Posted 2006-10-28 22:16 |
| 荣誉版主 Posts 23 Credits 57 | |
|
Those who want the source code, add my QQ
|
|
| Floor6 seekfor | Posted 2006-10-28 22:20 |
| 荣誉版主 Posts 23 Credits 57 | |
| Floor7 seekfor | Posted 2006-10-28 22:29 |
| 荣誉版主 Posts 23 Credits 57 | |
|
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:\> |
|
| Floor8 electronixtar | Posted 2006-10-28 23:04 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
|
Wow, it's really amazing. Embedded systems are really a promising field~~
|
|
| Floor9 kokorosz | Posted 2006-10-28 23:07 |
| 新手上路 Posts 1 Credits 2 | |
|
Indeed, DOS has been moribund for so many years~~~~~~~
We must definitely give it a new shot in the arm |
|
| Floor10 lxmxn | Posted 2006-10-29 18:18 |
| 版主 Posts 4,938 Credits 11,386 | |
|
Powerful, supporting it………………Hope the future of DOS will be better. |
|
| Floor11 chainliq | Posted 2006-10-29 18:43 |
| 高级用户 Posts 244 Credits 635 From 广西贵港 | |
|
What is DOS, and what is the meaning of batch processing? What is the difference between them?
|
|
| Floor12 雨露 | Posted 2006-10-29 21:31 |
| 管理员 Posts 2,601 Credits 6,215 | |
Originally posted by seekfor at 2006-10-28 22:16: Where is your QQ? I can't find it! |
|
| Floor13 雨露 | Posted 2006-10-29 21:39 |
| 管理员 Posts 2,601 Credits 6,215 | |
|
Found the BLOG, but this BLOG loads very slowly, and it doesn't come out for half a day!
|
|
| Floor14 不点 | Posted 2006-10-30 20:50 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
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. |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |