中国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-08-16 00:29
47,813 topics / 349,903 posts / today 1 new / 48,258 members
DOS开发编程 & 发展交流 (开发室) » Disk sector reading and writing, partition information management tool Dsptw (updated on 2008.11.29)
Printable Version  117,154 / 565
Floor256 19951001 Posted 2007-06-21 20:26
高级用户 Posts 272 Credits 570 From 北京
Originally posted by lianjiang2004 at 2007-6-21 07:25:
Ask, what is the difference between diskrw and dsptw? In previous versions, dspt included the functions of diskrw and dpit. Now in the beta version, there are only two files, and there is no win32 version of dpit. So I ask if there are any differences in the new version.



diskrw is still part of dsptw. It's just that some people like diskrw, so I simply released the win32 version. I will organize the win32 version of dpit when I have time.

[ Last edited by 19951001 on 2007-6-21 at 08:56 PM ]
Floor257 19951001 Posted 2007-06-21 20:31
高级用户 Posts 272 Credits 570 From 北京
Originally posted by lianjiang2004 at 2007-6-21 07:19:

Paste part of the partition table data for reference.
8001010007FEFFFF3F00000081142A01
00000000000000000000000000000000
0000C1FF0FFEFFFFC0142A013E219D03
00000000000000000000000000000000
55AA


This partition table is special because the second 16 bytes in the 64-byte partition table entry are all zeros. If the program treats all zeros as the end of the partition table entry, it can only back up one partition table entry. I think the Gotomsdos program made this mistake.
Floor258 19951001 Posted 2007-06-21 20:46
高级用户 Posts 272 Credits 570 From 北京
The test version on 2007.6.21 has been uploaded

to lianjiang2004:
Please delete the previous version.

[ Last edited by 19951001 on 2007-6-21 at 08:52 PM ]
Floor259 lianjiang2004 Posted 2007-06-21 22:06
金牌会员 Posts 1,884 Credits 3,946
Floor260 terse Posted 2007-06-23 01:12
银牌会员 Posts 946 Credits 2,404
The reason for such expectations is also because of the reasons mentioned above, and also because under DOS, the detailed information (such as size) of the NTFS partition cannot be obtained. Also, it is wanted to be used to judge multiple hard disks. Although MINITO can do it, if it is not in real mode, parameters must be added, then the hard disk parameters cannot be obtained and there is no way to choose. So now I first use GDISK to get the hard disk information to intuitively select the hard disk to be operated (if there are multiple hard disks), and then run MINITO. There is no other meaning, just wanting to make GHOST under DOS more convenient!
Floor261 cba-xyz Posted 2007-07-03 11:59
中级用户 Posts 70 Credits 295
The DOS version of DSPT cannot correctly display the label of the TRUEIMAGE safe area. The partition flag is 0XBC. Changing it to 0X1B can correctly identify the label of the safe area. Please correct it.
Floor262 19951001 Posted 2007-07-03 19:04
高级用户 Posts 272 Credits 570 From 北京
Originally posted by cba-xyz at 2007-7-3 11:59:
The DOS version of DSPT cannot correctly display the volume label of the TRUEIMAGE safe area. The partition flag is 0XBC, changing it to 0X1B can correctly identify the volume label of the safe area. Please correct it.


Corrected

Attachments
DSPT.rar (17.85 KiB)
Floor263 cba-xyz Posted 2007-07-04 20:16
中级用户 Posts 70 Credits 295
Now the GHOST image is placed in the ACRONIS secure zone, and one - key recovery is perfectly coordinated.
Floor264 cba-xyz Posted 2007-07-04 20:19
中级用户 Posts 70 Credits 295
By the way, friends who have HPA, after UNLOCK, can DSPT correctly display the volume label?
Floor265 wstest Posted 2007-07-09 15:16
新手上路 Posts 5 Credits 9
G:\usbhdd>DSPTW.EXE f: /pdr /Y

2:1


G:\>DSPTW.EXE f: /pdr /Y > drv.txt
The system cannot find the file specified.

Part of the command line results output of DSPTW.exe cannot be redirected to a file or variable... The problem I am encountering now is that the post-processing cannot be carried out...
Floor266 19951001 Posted 2007-07-09 18:56
高级用户 Posts 272 Credits 570 From 北京
Originally posted by wstest at 2007-7-9 15:16:
G:\usbhdd>DSPTW.EXE f: /pdr /Y

2:1


G:\>DSPTW.EXE f: /pdr /Y > drv.txt
The system cannot find the file specified.

Part of the command line results of DSPTW.exe cannot be redirected to the text...


There is no problem with my test here. Is there any friend who has encountered a similar problem?
The following is the result of my executing the command:

Attachments
cmd.GIF (14.62 KiB)
Floor267 cba-xyz Posted 2007-07-12 10:24
中级用户 Posts 70 Credits 295
Unable to download and test.
Floor268 hlytg Posted 2007-07-12 16:22
初级用户 Posts 10 Credits 21
Tested: The total number of sectors of the hard disk detected in dspt is inconsistent with that detected in dsptw. There is an error in dsptw detection. Please correct it.

[ Last edited by hlytg on 2007-7-12 at 04:24 PM ]
Floor269 time868 Posted 2007-07-12 16:26
初级用户 Posts 29 Credits 56
Have time to download and take a look.
Floor270 19951001 Posted 2007-07-12 22:53
高级用户 Posts 272 Credits 570 From 北京
Originally posted by hlytg at 2007-7-12 16:22:
After testing: The total number of sectors of the hard disk detected in dspt is inconsistent with the total number of sectors of the hard disk detected in dsptw. There is an error in dsptw detection. Please correct it.

[ Last edited by hlytg on 2007-7-12 at 04:24 PM ]


dspt uses the extended Int13 to obtain the number of disk sectors. dsptw uses deviceIocontrol to obtain the total number of sectors in the win32 environment. There is a certain error. The maximum error is 255×63 sectors, which is 7.8M. I have explained this error in previous posts.

[ Last edited by 19951001 on 2007-7-12 at 11:18 PM ]
Prev  115 16 17 18 19 20 2138  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023