中国DOS联盟论坛

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-20 07:01
47,820 topics / 349,938 posts / today 0 new / 48,297 members
DOS开发编程 & 发展交流 (开发室) » Comprehensively enhance the integration of "disk/system backup/files/compression" all in one TOdisk
Printable Version  29,062 / 183
Floor121 GOTOmsdos Posted 2007-04-02 06:14
铂金会员 Posts 1,827 Credits 5,154
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 ]
Floor122 johnsonlam Posted 2007-04-03 07:50
银牌会员 Posts 497 Credits 1,410 From 九龍,香港

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...
Floor123 GOTOmsdos Posted 2007-04-03 08:43
铂金会员 Posts 1,827 Credits 5,154
It doesn't matter. Wait until you have time to do it. You should pay attention to rest as you are busy with work.
Floor124 GOTOmsdos Posted 2007-04-03 12:02
铂金会员 Posts 1,827 Credits 5,154
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 ]
Floor125 GOTOmsdos Posted 2007-04-04 08:37
铂金会员 Posts 1,827 Credits 5,154
TOdisk - CMOSKEY
Sometimes, when the password is less than 8 characters, the generated CMOS password may be inaccurate
Floor126 johnsonlam Posted 2007-04-07 02:34
银牌会员 Posts 497 Credits 1,410 From 九龍,香港
The chance rate is 40%, not sure if it's triggered by DJGPP or some Class library?
Floor127 GOTOmsdos Posted 2007-04-07 06:45
铂金会员 Posts 1,827 Credits 5,154
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 ]
Floor128 GOTOmsdos Posted 2007-04-07 07:01
铂金会员 Posts 1,827 Credits 5,154
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 ]
Floor129 GOTOmsdos Posted 2007-04-08 09:34
铂金会员 Posts 1,827 Credits 5,154
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 ]
Floor130 GOTOmsdos Posted 2007-04-09 08:17
铂金会员 Posts 1,827 Credits 5,154
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 ]
Floor131 GOTOmsdos Posted 2007-04-10 05:02
铂金会员 Posts 1,827 Credits 5,154
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 ]
Floor132 wang6610 Posted 2007-04-10 05:33
银牌会员 Posts 488 Credits 1,246
It's time to write a synchronized readme again.
Floor133 GOTOmsdos Posted 2007-04-10 05:45
铂金会员 Posts 1,827 Credits 5,154
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...
Floor134 GOTOmsdos Posted 2007-04-10 12:56
铂金会员 Posts 1,827 Credits 5,154
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 ]
Floor135 GOTOmsdos Posted 2007-04-11 04:34
铂金会员 Posts 1,827 Credits 5,154
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 ]
Prev  1 … 6 7 8 9 10 11 12 … 13  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023