![]() |
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-11-25 10:18 |
47,820 topics / 349,938 posts / today 0 new / 48,298 members |
| DOS开发编程 & 发展交流 (开发室) » [Recommendation] I propose that someone take the lead in establishing a DOS kernel development project |
| Printable Version 89,243 / 82 |
| Floor16 johnsonlam | Posted 2007-01-27 14:03 |
| 银牌会员 Posts 497 Credits 1,410 From 九龍,香港 | |
Originally posted by Buddha doesn't light at 2007-1-23 07:50 AM: Only after seeing what Wengier said did I know that you are the author of GRUB for DOS, which is really modest. You know more than many people.
Then it is to reverse assemble... In fact, we can also refer to the source code of FreeDOS. Understanding "how to boot" is more meaningful than purely copying.
In fact, to be completely non-infringing, we can only start from FreeDOS, because reverse assembly is also inappropriate, but learning from it without copying is the spirit of GNU. LZ-DOS is an improvement of the core MS-DOS 7.10 (the booting part of Win98SE). Russians only removed what they thought was useless (probably the Win98SE GUI part).
It is not feasible to join FreeDOS, because the developers there are not of one mind. We can just borrow the knowledge in the files.
Very good, but there still needs a leader to organize the development and testing team. |
|
| Floor17 johnsonlam | Posted 2007-01-27 14:08 |
| 银牌会员 Posts 497 Credits 1,410 From 九龍,香港 | |
Originally posted by Budian at 2007-1-24 07:46 AM: Excuse me... "The flock of sheep each take their own place" is the process of FreeDOS. For a full 10 years, its compatibility is still not as good as a LZ-DOS... Division of labor and cooperation is very important, otherwise it will become the sticky situation of FreeDOS |
|
| Floor18 johnsonlam | Posted 2007-01-27 14:13 |
| 银牌会员 Posts 497 Credits 1,410 From 九龍,香港 | |
Originally posted by Buddha</i> at 2007-1-27 08:34 AM: Lucho's single-floppy version has the dual kernel of LZ-DOS + E.DR-DOS... Also has tools such as QCACHE, QHIMEM, QCDROM, AEFDISK, FM, etc. http://johnson.tmfc.net/dos/lucho.html |
|
| Floor19 Wengier | Posted 2007-01-27 16:27 |
| 系统支持 Posts 10,521 Credits 27,736 | |
Originally posted by johnsonlam at 2007-1-27 01:03 AM: Regarding this LZ-DOS, in fact, I had studied it last year. At that time, after research, it was determined that its English/Russian version of the IO.SYS file was simply modified and compressed on the basis of the English/Russian version of the MS-DOS 7.1 kernel, and the COMMAND.COM was modified on the basis of DOS 6.x. There were some discussions in the forum about its compatibility and compression issues, such as here: http://www.cn-dos.net/forum/viewthread.php?tid=21627 At that time, it was found through research that the Russian did not remove the Win9x GUI support part, nor did he delete any important functions. The reason why the volume is relatively small is mainly because it has been compressed. It can start the Win9x GUI normally (which I verified at that time), but there are two points to note, namely path setting and default language code page. Because its English version is modified and compressed on the basis of the English version of the MS-DOS 7.1 kernel, its default language code page is 437. And there is a requirement for Win98 startup, that is, the path setting in MSDOS.SYS must be correct, and the DOS startup code page must be the same as the Win98 code page, otherwise a registry error prompt will appear. For the former, I have posted a special post in the forum for detailed introduction; for the latter, if the code pages are not the same, you can use the COUNTRY command in CONFIG.SYS to modify. At that time, through these settings, I successfully started various Chinese and English versions of WIN from Win3.x to 98SE on LZ-DOS. |
|
| Floor20 johnsonlam | Posted 2007-01-28 02:56 |
| 银牌会员 Posts 497 Credits 1,410 From 九龍,香港 | |
Originally posted by Wengier at 2007-1-27 04:27 PM: Thank you, I missed it. The Russian revealed that this is for "internal, special, military and space" use!! The problem is -- we lack software... |
|
| Floor21 不点 | Posted 2007-01-28 04:40 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
johnsonlam: Your Q series is included in many utility software. In contrast, the understanding of grub4dos is still very low. Actually, I only found out a few days ago that you are the author of Q. And precisely because of this, I reposted the post in the development room. I never came to the development room before.
Although I know you are suitable for being the development and management person of this project, I am also embarrassed to say it directly. After all, you already have your own project, and considering that adding extra pressure on you is not good. I have another proposal. Those who come here should preferably state whether they can be a maintainer. If not, they should state the reason for not being able to. Considering that some people can actually be maintainers but are not very proactive, I think it is necessary to add this proposal to promote this matter. In addition, I think we should not be too rigid about the "infringement" issue. If we strictly follow the EULA, we can do nothing. I think that is just a tight rein. We can ask software companies, is it completely reasonable for you to hide technical secrets? How can we know if there are bombs in your product without disassembling? Our understanding of "reasonableness" may be different. Humans are advanced animals, so thoughts determine actions. Let's not forget that Microsoft's actions may not be reasonable and legal (Microsoft has also been sued and lost). I think as long as we make it so that possible accusers can't find any handle. Again, don't overbind your own hands and feet. Of course, I don't mean to "steal" other people's code at all. If we master its technical secrets, we don't need to "steal" at all. And to master technical secrets, how can you do without debug? I have read "Unpublished DOS Core Technology" before. Authors like this are all proficient players of debug. I think debug is legal; otherwise, why does DOS come with this tool? Our purpose is to find out those secrets that Microsoft shouldn't hide, which does not constitute an infringement of its intellectual property rights. Strictly speaking, its secrets are nothing but used to strangle competitors, which belongs to the category of unfair competition. Therefore, strictly speaking, we have the right to require Microsoft to disclose those secrets, at least morally, Microsoft should do so. So don't worry, our approach is completely reasonable, legal, and reasonable. --------------- Also, the latest report: Set Backup and Optimize in scanreg.ini to zero, change it to this: ;Registry backup is skipped altogether if this is set to 0 Backup=0 ;Registry automatic optimization is skipped if this is set to 0 Optimize=0 In addition, disable scanregw in msconfig. In this way, Windows 98SE can start. ----------------------- However, since this is just a compressed product, then it is of no significance. I am going to study the startup process of IO.SYS and post my research experience here. Wengier and everyone, if you have any suggestions and warnings, hurry up and say, so that I don't go the wrong way. |
|
| Floor22 johnsonlam | Posted 2007-01-28 07:59 |
| 银牌会员 Posts 497 Credits 1,410 From 九龍,香港 | |
Originally posted by Budian at 2007-1-28 04:40 AM: You misunderstood. I am in charge of the website and contact, and the author is Jack Ellis.
Sorry, Jack is currently not interested in participating in other plans and only wants to do a good job on the current Q-series drivers.
I think that if one has to be a maintainer, many people will have pressure. I don't know programming and don't understand assembly language, otherwise I would have helped.
We don't need full recognition from US or international law, but what you said is right. The selfishness of software companies has made human progress too slow. We don't have to comply completely. But I think there should be a moral bottom line. We can't copy others and claim it as our own. We should be on the right side in terms of courtesy and morality. We can disassemble but can't copy MS's source code. I agree with not overbinding our own hands and feet.
Completely agree.
After listening to Brother Jack talk a lot about driver knowledge, I think there may still be room for improvement. |
|
| Floor23 本是 | Posted 2007-01-28 11:41 |
| 银牌会员 Posts 790 Credits 2,227 | |
|
Regarding IO.EXE/.SYS:
Although I know that 704--726 is decrypting the code from 205--704 and writing it to 202--703, I myself wrote the decryption code and tried to modify the file header, and finally updated the boot image with this new IO.SYS, and it started successfully in QEMU. Just now I couldn't find the entry of LZDOS's IO.SYS/EXE? Please WENGIER give everyone a little hint!!! [ Last edited by 本是 on 2007-1-28 at 12:46 PM ] Attachments io.rar (73.62 KiB) io_sys.gif (2.36 KiB) |
|
| Floor24 不点 | Posted 2007-01-28 11:58 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
johnsonlam: I was careless. Thank you for the clarification. Also, I can very much understand your and Jack's thoughts. Then we'll just wait and see if anyone volunteers.
Original poster: Well done! I really want to get this modified IO.SYS from you. Can you make a download link? |
|
| Floor25 Kinglion | Posted 2007-01-31 22:37 |
| 铂金会员 Posts 1,924 Credits 5,802 From 金獅電腦軟體工作室 | |
|
You can refer to the source code of DOS 6.0 publicly released by Micro$oft Corporation. It is about 20MB approximately.
|
|
| Floor26 不点 | Posted 2007-02-01 23:22 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
This is: I downloaded your IO.SYS and found another secret.
1. How come your IO.SYS is exactly the same length as LZ-DOS's IO.SYS, both 75885 bytes? If LZ means "compression", then I think its significance is not great. It's not as practical as wengier's io.sys. "Compression" can only increase the difficulty of our unpacking, so it's a bad practice. The IO.SYS in WinME is compressed. 2. Directly overwriting Microsoft's IO.SYS with your IO.SYS results in being unable to boot DOS (it will freeze). 3. Keep Microsoft's IO.SYS as C:\IO.SYS. At this time, by using GRUB's chainloader to boot your IO.SYS (which has been renamed to IO_1.SYS), then you can successfully enter DOS and also enter Win98. 4. Use your IO.SYS as C:\IO.SYS and rename Microsoft's IO.SYS to IO_MS.SYS. At this time, even if you use GRUB's chainloader to boot IO_MS.SYS, it's all a failure. It seems like it freezes, but the NumLock key on the keyboard can switch the NumLOCK indicator light. You can also restart the machine with Ctrl+Alt+Del. This last phenomenon shows that GRUB's chainloader hasn't grasped the deep secret of IO.SYS. |
|
| Floor27 本是 | Posted 2007-02-02 01:31 |
| 银牌会员 Posts 790 Credits 2,227 | |
Originally posted by Budian at 2007-2-1 23:22: 1. My this IO.SYS was originally the IO.SYS of LZ-DOS, just decrypted a segment, and the file length was not changed. 2. Regarding the crash problem, it is suggested debug io.sys e 0002 ce 01 b3 01 w q Change back to the original value. In this way, the EXE file header will be the same as the original LZ's. There should be no crash problem. 3. Even if it is encrypted, it can be used after decryption. Because there is a secret in it! Maybe they added, subtracted, multiplied and divided something... |
|
| Floor28 brglng | Posted 2007-02-13 03:21 |
| 银牌会员 Posts 466 Credits 1,200 From 上海 | |
|
I think the research on IO.SYS of MSDOS 8.0 can also be regarded as a part of this project.
|
|
| Floor29 不点 | Posted 2007-03-04 12:21 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
From the analysis of this boot process, it can be known that after IO.SYS takes over control, the entry point is at the beginning of the second sector.
IO.SYS is loaded into 4 sectors by the boot sector, and the loaded address is 0000:0700, and the control transfer CS:IP=0070:0200, which is the beginning of the second sector of IO.SYS. In addition, BP, SP, SI, DI, SS, DS, ES and the stack contents are all meaningful, and detailed explanations are made in the following comments. |
|
| Floor30 acen | Posted 2007-03-07 05:47 |
| 新手上路 Posts 2 Credits 4 | |
| Prev 1 2 3 4 5 … 6 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |