|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 121 楼』:
使用 LLM 解释/回答一下
再更新如下:
1
加入: 压缩,解压缩FAT,比较压缩 FAT 的功能
参数为:
TOdisk -SFATZ 1:2 DFATZ
备份1:2分区的FAT,并压缩(级别是默认的6),文件名为 DFATZ
如果压缩级别为9,如下:
TOdisk -SFATZ9 1:2 DFATZ
比较时,压缩的FAT和未压缩的FAT,参数是一样的
(程序会自动检测是否是压缩)
2
省掉了一块64KB内存
(等一下根据用户的输入数据的大小来确定内存用量,这样更好)
3
掐死了两个BUG:
a, 比较压缩文件时,非压缩文件的缓冲指针不对
b, 备份单个硬盘的分区表链和DBR时,无效.
4
2.2版本后,由于编译时去除了程序中的DEBUG信息, 体积大大减小了! 减了50KB!
已重新上传
Last edited by GOTOmsdos on 2007-4-17 at 07:04 AM ]
The following is the update:
1
Added: Compress, decompress FAT, compare compressed FAT functions
Parameters are:
TOdisk -SFATZ 1:2 DFATZ
Backup the FAT of partition 1:2 and compress it (the level is the default 6), and the file name is DFATZ
If the compression level is 9, as follows:
TOdisk -SFATZ9 1:2 DFATZ
When comparing, the parameters are the same for the compressed FAT and the uncompressed FAT
(The program will automatically detect whether it is compressed)
2
Eliminated a piece of 64KB memory
(Wait a while to determine the memory usage according to the size of the user's input data, which is better)
3
Killed two bugs:
a, When comparing compressed files, the buffer pointer of the non-compressed file is incorrect
b, When backing up the partition table chain and DBR of a single hard disk, it is invalid.
4
After version 2.2, because the DEBUG information in the program was removed during compilation, the volume is greatly reduced! Reduced by 50KB!
Reuploaded
Last edited by GOTOmsdos on 2007-4-17 at 07:04 AM ]
|
|
2007-4-2 06:14 |
|
|
johnsonlam
银牌会员
     阿林
积分 1410
发帖 497
注册 2004-6-28 来自 九龍,香港
状态 离线
|
『第 122 楼』:
使用 LLM 解释/回答一下
太 好 了 , 可 惜 假 期 前 很 忙 , 暫 停 沒 空 更 新 網 頁 ...
Great, but it's too bad that I'm very busy before the holiday and have no time to update the webpage for the moment...
|

我 的 網 站 - http://optimizr.dyndns.org
|
|
2007-4-3 07:50 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 123 楼』:
使用 LLM 解释/回答一下
没关系,等你有时间再弄吧? 工作忙要注意休息啊
It doesn't matter. Wait until you have time to do it. You should pay attention to rest as you are busy with work.
|
|
2007-4-3 08:43 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 124 楼』:
使用 LLM 解释/回答一下
再次更新如下:
1
增加全部硬盘或单个硬盘的分区表链,DBR与硬盘原有信息的比较
2
把显示文件中自动检查压缩文件改为有 -PFSZ 和 -PFBZ 时才检查压缩文件, 这样就可满足当用户需要显示不解压的压缩文件的内容的要求.
例如:
压缩文件为: ZIPFILE
TOdisk -PFB ZIPFILE 12 34 56
不检查是否是解压文件,显示ZIPFILE的第12扇区的偏移34处,共56字节
TOdisk -PFBZ ZIPFILE 12 34 56
检查是否是解压文件,如果是就先解压ZIPFILE,再显示解压后的ZIPFILE的第12扇区的偏移34处,共56字节
TOdisk -PFS ZIPFILE 12 56
不检查是否是解压文件,显示ZIPFILE的第12扇区, 共56扇区
TOdisk -PFSZ ZIPFILE 12 56
检查是否是解压文件,如果是就先解压ZIPFILE,再显示解压后的ZIPFILE的第12扇区,共56扇区
已重新上传
Last edited by GOTOmsdos on 2007-4-17 at 07:05 AM ]
The following updates are as follows:
1. Add the comparison of the partition table chain of all hard disks or a single hard disk, DBR with the original information of the hard disk
2. Change the automatic check of compressed files in the display file to check compressed files only when there are -PFSZ and -PFBZ, so that the requirement that the user needs to display the content of un - decompressed compressed files can be met.
For example:
The compressed file is: ZIPFILE
TOdisk -PFB ZIPFILE 12 34 56
Do not check whether it is a decompressed file, display the 56 bytes at the offset of 34 in the 12th sector of ZIPFILE
TOdisk -PFBZ ZIPFILE 12 34 56
Check whether it is a decompressed file, if it is, first decompress ZIPFILE, then display the 56 bytes at the offset of 34 in the 12th sector of the decompressed ZIPFILE
TOdisk -PFS ZIPFILE 12 56
Do not check whether it is a decompressed file, display the 12th sector of ZIPFILE, a total of 56 sectors
TOdisk -PFSZ ZIPFILE 12 56
Check whether it is a decompressed file, if it is, first decompress ZIPFILE, then display the 12th sector of the decompressed ZIPFILE, a total of 56 sectors
Re - uploaded
Last edited by GOTOmsdos on 2007 - 4 - 17 at 07:05 AM ]
|
|
2007-4-3 12:02 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 125 楼』:
使用 LLM 解释/回答一下
TOdisk -CMOSKEY
有时当密码不满8位时,生成的CMOS密码可能不准确
TOdisk - CMOSKEY
Sometimes, when the password is less than 8 characters, the generated CMOS password may be inaccurate
|
|
2007-4-4 08:37 |
|
|
johnsonlam
银牌会员
     阿林
积分 1410
发帖 497
注册 2004-6-28 来自 九龍,香港
状态 离线
|
『第 126 楼』:
很 多 機 器 跑 ToDisk 會 當 機 , DJGPP 問 題 ?
使用 LLM 解释/回答一下
機 會 率 是 40% , 不 知 是 否 DJGPP 或 是 某 個 Class library 觸 發 ?
The chance rate is 40%, not sure if it's triggered by DJGPP or some Class library?
|

我 的 網 站 - http://optimizr.dyndns.org
|
|
2007-4-7 02:34 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 127 楼』:
使用 LLM 解释/回答一下
你是说的 TOdisk DJGPP版本?
我这里运行没问题.
不过可以再检查检查,看看是不是有地方不够完善.
(补充, 其实我做DJGPP版本主要是看能不能提速, 结果虽然作出来了,也可用超大内存和突破DOS64KB限制,运行也正常,可是仍然不能提速,甚至可能还慢了一点.所以那个 TOdisk DJGPP版本就当玩玩吧...)
Last edited by GOTOmsdos on 2007-4-7 at 07:06 AM ]
You mean the TOdisk DJGPP version?
It runs fine here.
But you can check again to see if there are any areas that are not perfect.
(Additional note, actually I made the DJGPP version mainly to see if I could speed it up. The result is that although it was made, it can use large memory and break through the DOS 64KB limit, and it runs normally, but it still can't speed up, and maybe it's even a little slower. So that TOdisk DJGPP version is just for fun...)
Last edited by GOTOmsdos on 2007-4-7 at 07:06 AM ]
|
|
2007-4-7 06:45 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 128 楼』:
使用 LLM 解释/回答一下
正在如下改动和新增:
1
写文件前检查可用的磁盘空间,压缩文件的估计空间(包括每次压缩后写入前现场检查可用的空间)
2
对后来加入的功能,增加操作时的中断功能
3
对后来加入的功能,增加显示完成量的及时显示, 百分比. 为了排解程序运行时的等待的枯燥,还加入了一组动态字符显示(-\|/),LINUX检查磁盘时显示的就是这个, 我觉得挺好玩,就加进来了...
Last edited by GOTOmsdos on 2007-4-7 at 08:10 AM ]
The following are the changes and additions:
1. Check the available disk space before writing a file, and estimate the space for the compressed file (including checking the available space on -site before writing after each compression)
2. For the functions added later, add the interrupt function during operation
3. For the functions added later, add the timely display of the completion amount, in percentage. To relieve the boredom of waiting during the program operation, a set of dynamic character displays (- \ | /) is also added. The LINUX system displays this when checking the disk. I think it's quite fun, so I added it...
Last edited by GOTOmsdos on 2007-4-7 at 08:10 AM ]
|
|
2007-4-7 07:01 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 129 楼』:
使用 LLM 解释/回答一下
以上功能已成功加入,初步测试通过.
打算重新加入支持软盘的功能, 不费事,改几句代码就行了
(以前的老版本是支持软盘的,而且当时还疯狂地设计为支持不能用扩展13中断的老硬盘的!,现在考虑还是把支持软盘的功能再加进来, 毕竟DOS和软盘哥儿两, 有时还是能救急的)
Last edited by GOTOmsdos on 2007-4-17 at 07:05 AM ]
The above functions have been successfully added and preliminary testing has passed.
Plan to re-add the function of supporting floppy disks, it's not troublesome, just change a few lines of code
(The previous old version supported floppy disks, and at that time it was wildly designed to support old hard drives that couldn't use extended interrupt 13!, Now consider adding the function of supporting floppy disks again, after all, DOS and floppy disks are a pair, sometimes they can still be used as a last resort)
Last edited by GOTOmsdos on 2007-4-17 at 07:05 AM ]
|
|
2007-4-8 09:34 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 130 楼』:
使用 LLM 解释/回答一下
对TOdisk后来的补充功能已成功加入支持软盘功能:
马上再对TOdisk原有的功能加入支持软盘功能
Last edited by GOTOmsdos on 2007-4-17 at 07:05 AM ]
The subsequent supplementary functions of TOdisk have successfully added support for floppy disk functions:
Immediately add support for floppy disk functions to the original functions of TOdisk
Last edited by GOTOmsdos on 2007-4-17 at 07:05 AM ]
|
|
2007-4-9 08:17 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 131 楼』:
使用 LLM 解释/回答一下
更新已告顺利完成
1
已经加入支持软盘的功能
当以扇区方式操作软盘的时候,可以用 A: 或 B:来代替 表示磁盘的1或2等等数字,
如:
TOdisk -DWF A: 12 34 C:\FILE 56
把A:的起始扇区12 偏移34处的数据存到C:\FILE , 共56个扇区
对于其他的功能,除了备份分区表,DBR,FAT的功能不支持软盘外(因为没必要),也一样可以这样用
2
检查磁盘空间(如是压缩文件就实时检查)
3
并对后来添加的功能加入一个显示由TOdisk生成的压缩文件的压缩信息的功能:
参数如下:
TOdisk -SZ ZIPFILE (SZ : Show Zipfile info)
显示
a
原来被压缩的大小
b
压缩后的大小
c
压缩比
d
是否有密码
至此, TOdisk 的全面功能更新已告完成
已重新上传了
最后打算添加的功能:
在主体程序中,TOdisk用 - 减号表示要操作的起始扇区, 用 + 加号表示要操作的扇区总数,但在文件参数中,不能用 - 减号, 就是说不能指定处理文件内容的第几扇区
(但在后来添加的功能中已经全面支持了), 所以,接下来,想加进这个功能(唯一不支持指定起始扇区的地方), 如果顺利加入的话, 那么 TOdisk 就可以说在磁盘扇区和文件内容的处理方面,指哪打哪了!
Last edited by GOTOmsdos on 2007-4-17 at 07:06 AM ]
The update has been successfully completed.
1
Support for floppy disks has been added. When operating the floppy disk in sector mode, you can use A: or B: instead of numbers like 1 or 2 to represent the disk. For example:
TOdisk -DWF A: 12 34 C:\FILE 56
Store the data starting from sector 12 and offset 34 on A: into C:\FILE, with a total of 56 sectors. For other functions, except that the functions of backing up the partition table, DBR, and FAT do not support floppy disks (because it is unnecessary), the same can be used in this way.
2
Check the disk space (if it is a compressed file, check it in real time).
3
And add a function to display the compression information of the compressed file generated by TOdisk for the newly added function:
The parameters are as follows:
TOdisk -SZ ZIPFILE (SZ: Show Zipfile info)
Display
a
Original compressed size
b
Compressed size
c
Compression ratio
d
Whether there is a password
So far, the comprehensive functional update of TOdisk has been completed. It has been re - uploaded.
The final planned function:
In the main program, TOdisk uses the minus sign (-) to represent the starting sector to be operated, and the plus sign (+) to represent the total number of sectors to be operated. But in the file parameter, the minus sign (-) cannot be used, that is, the sector number of the file content cannot be specified. (But it has been fully supported in the newly added functions later). So, next, I want to add this function (the only place where the starting sector cannot be specified). If it is successfully added, then TOdisk can be said to be able to accurately handle disk sectors and file contents!
Last edited by GOTOmsdos on 2007 - 4 - 17 at 07:06 AM ]
|
|
2007-4-10 05:02 |
|
|
wang6610
银牌会员
    
积分 1246
发帖 488
注册 2003-11-11
状态 离线
|
『第 132 楼』:
使用 LLM 解释/回答一下
又该写个同步的readme了。
It's time to write a synchronized readme again.
|
|
2007-4-10 05:33 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 133 楼』:
使用 LLM 解释/回答一下
没错, 一直在加新功能, 还没时间更新文档呢!
快弄了...
Yes, I've been adding new features all the time, and I just haven't had time to update the documentation yet! I'll get to it soon...
|
|
2007-4-10 05:45 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 134 楼』:
使用 LLM 解释/回答一下
刚刚加入了从指定扇区指定偏移处写文件内容写到另一文件的功能, 并支持压缩的源文件和目标文件的压缩
参数如下:
TOdisk -FWF FILE1 12 34 FILE2 56
从扇区12偏移34处把FILE1的内容写到FILE2,共写56字节
TOdisk -FWFZ FILE1 12 34 FILE2 56
(压缩,默认级别6)
已更新
Last edited by GOTOmsdos on 2007-4-17 at 07:06 AM ]
Just added the function to write file content from a specified sector and offset to another file, and support compression for source and target files.
Parameters are as follows:
TOdisk -FWF FILE1 12 34 FILE2 56
Write the content of FILE1 from sector 12 offset 34 to FILE2, writing 56 bytes in total
TOdisk -FWFZ FILE1 12 34 FILE2 56
(Compressed, default level 6)
Updated
Last edited by GOTOmsdos on 2007-4-17 at 07:06 AM ]
|
|
2007-4-10 12:56 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 135 楼』:
使用 LLM 解释/回答一下
发现如下BUG,并更正,
分卷功能时:
1
当创建已存在的文件,程序询问是否覆盖,不覆盖而输入另一个文件名时,便创建新分卷出错.
2
输入另一个不同驱动器上的文件名时,检查磁盘剩余空间的仍是改变前的驱动器
重新上传:
Last edited by GOTOmsdos on 2007-4-17 at 07:06 AM ]
The following bugs are found and corrected:
When using the volume splitting function:
1. When creating an existing file, when the program asks whether to overwrite and you choose not to overwrite and enter another file name, creating a new volume split errors.
2. When entering a file name on a different drive, the remaining disk space checked is still for the drive before the change.
Re-upload:
Last edited by GOTOmsdos on 2007-4-17 at 07:06 AM ]
|
|
2007-4-11 04:34 |
|
|