China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-30 07:21
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Disk sector reading and writing, partition information management tool Dsptw (updated on 2008.11.29) View 112,574 Replies 565
Floor 256 Posted 2007-06-21 20:26 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
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 ]
Floor 257 Posted 2007-06-21 20:31 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
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.
Floor 258 Posted 2007-06-21 20:46 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
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 ]
Floor 259 Posted 2007-06-21 22:06 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Windows 一键还原
http://www.yjhy.com
Floor 260 Posted 2007-06-23 01:12 ·  中国 江苏 常州 溧阳市 电信
银牌会员
★★★
Credits 2,404
Posts 946
Joined 2005-09-08 13:44
20-year member
UID 42345
Status Offline
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!
Floor 261 Posted 2007-07-03 11:59 ·  中国 浙江 宁波 电信
中级用户
★★
Credits 295
Posts 70
Joined 2003-07-24 00:00
22-year member
UID 7462
Gender Male
Status Offline
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.
Floor 262 Posted 2007-07-03 19:04 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
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, Downloads: 312)
Floor 263 Posted 2007-07-04 20:16 ·  中国 浙江 宁波 电信
中级用户
★★
Credits 295
Posts 70
Joined 2003-07-24 00:00
22-year member
UID 7462
Gender Male
Status Offline
Now the GHOST image is placed in the ACRONIS secure zone, and one - key recovery is perfectly coordinated.
Floor 264 Posted 2007-07-04 20:19 ·  中国 浙江 宁波 电信
中级用户
★★
Credits 295
Posts 70
Joined 2003-07-24 00:00
22-year member
UID 7462
Gender Male
Status Offline
By the way, friends who have HPA, after UNLOCK, can DSPT correctly display the volume label?
Floor 265 Posted 2007-07-09 15:16 ·  中国 北京 联通
新手上路
Credits 9
Posts 5
Joined 2005-10-26 20:19
20-year member
UID 44116
Status Offline
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...
Floor 266 Posted 2007-07-09 18:56 ·  美国 ThePlanet机房
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
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
Floor 267 Posted 2007-07-12 10:24 ·  中国 浙江 宁波 电信
中级用户
★★
Credits 295
Posts 70
Joined 2003-07-24 00:00
22-year member
UID 7462
Gender Male
Status Offline
Unable to download and test.
Floor 268 Posted 2007-07-12 16:22 ·  中国 重庆 合川区 电信
初级用户
Credits 21
Posts 10
Joined 2006-05-26 09:38
20-year member
UID 56015
Status Offline
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 ]
Floor 269 Posted 2007-07-12 16:26 ·  中国 安徽 六安 舒城县 电信
初级用户
Credits 56
Posts 29
Joined 2007-04-01 06:43
19-year member
UID 83584
Gender Male
Status Offline
Have time to download and take a look.
Floor 270 Posted 2007-07-12 22:53 ·  中国 北京 鹏博士宽带
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
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 1 16 17 18 19 20 38 Next ›
Forum Jump: