LanE:其实只用EDIT切割就能做到。
以下附上我的最新研究成果:
我发现之所以124K的IO.SYS不能从软盘中启动,似乎是因为它从软盘启动时要检测自身大小。经多次试验,我已确定这个大小为192,001字节(即文件头190,976字节+镜像1,024字节+1字节),也就是说,若低于这个大小IO.SYS就不能从软盘中启动,但却可以从硬盘中启动。其实它只检查是否到了这个大小,却并不检查是什么内容,因此,即使在后面全部是00 00H都可以,此时无论是从软盘还是硬盘它都能启动了。不过这样做显然比较浪费空间,好的解决方法有两种:
方法1:取消IO.SYS从软盘启动时的这个大小校检(Roy试试吧);
方法2:将用DoubleSpace压缩后的自定义LOGO嵌入到IO.SYS的124-191K的空间中,以有效利用这部分空间来显示自定义启动LOGO画面。
欢迎大家提出方法和建议,谢谢!
此IO.SYS(192,001字节)的下载地址是:
打开附件 链接已失效(管理员注)
大家拿去试试吧。
LanE: Actually, it can be done just by using EDIT to cut.
The following is attached with my latest research results:
I found that the reason why the 124K IO.SYS cannot boot from a floppy disk seems to be that when it boots from a floppy disk, it detects its own size. After multiple tests, I have determined that this size is 192,001 bytes (that is, 190,976 bytes of the file header + 1,024 bytes of the image + 1 byte). That is to say, if it is smaller than this size, IO.SYS cannot boot from a floppy disk, but can boot from a hard disk. In fact, it only checks whether it has reached this size, but does not check what the content is. Therefore, even if all the following are 00 00H, it can. At this time, it can boot from both the floppy disk and the hard disk. However, this is obviously a waste of space. There are two good solutions:
Method 1: Cancel this size check when IO.SYS boots from a floppy disk (Roy, give it a try);
Method 2: Embed the custom LOGO compressed by DoubleSpace into the 124-191K space of IO.SYS to effectively use this part of the space to display the custom boot LOGO screen.
Everyone is welcome to put forward methods and suggestions. Thank you!
The download address of this IO.SYS (192,001 bytes) is:
Open the attachment Link has expired (Administrator's note)
Go and give it a try.