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 06:14
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Disk sector reading and writing, partition information management tool Dsptw (updated on 2008.11.29) View 112,558 Replies 565
Floor 61 Posted 2006-12-29 07:28 ·  中国 江苏 南京 联通
高级用户
★★
Credits 525
Posts 222
Joined 2006-08-28 21:07
19-year member
UID 61476
Status Offline
Originally posted by amao at 2006-12-20 04:37:
Tested in VMWare, unformatted partitions are mistakenly recognized as DOS FAT16 partitions, and actual machine testing has not been done.


SPFDISK doesn't seem to have this problem. You can find its source code and read it.

The /ghost parameter should preferably display the used space and remaining space of FAT and NTFS partitions.
Floor 62 Posted 2006-12-30 23:55 ·  中国 广东 广州 天河区 电信
初级用户
Credits 152
Posts 17
Joined 2003-02-12 00:00
23-year member
UID 906
Gender Male
Status Offline
Can the landlord make an interface and turn it into a comprehensive disk management tool, convenient for use on PE?
Floor 63 Posted 2006-12-31 00:17 ·  中国 北京 华北计算技术研究所
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
Originally posted by cfgs at 2006-12-30 23:55:
Can the LZ master make an interface and make it into a comprehensive disk management tool, convenient to use on PE.


This is a DOS program and cannot be used on PE.
Floor 64 Posted 2006-12-31 05:55 ·  中国 贵州 遵义 电信
新手上路
Credits 18
Posts 9
Joined 2006-07-28 00:20
19-year member
UID 59399
Status Offline
Originally posted by 19951001 at 2006-12-26 23:26:

Comparison: if the same, return value is 0; if different, it will be displayed on the screen, and the return result is 100


Thank you for the reply from the楼主. The楼主 is really amazing. I've been looking for a software that can randomly access sectors under DOS. I also planned to make a simple one by myself, but I didn't start because of insufficient level. I didn't expect that the one made by the楼主 is small and powerful, really compact yet powerful! Support!

[ Last edited by xuxuezeng on 2006-12-31 at 05:57 AM ]
Floor 65 Posted 2007-01-01 00:57 ·  中国 北京 中移铁通
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
Unformatted partitions are displayed as Dos Fat16, this is caused by the partition flag set by the Microsoft partition program. Currently, I am looking for a solution, and it seems that the solution to this problem won't be available until 2007.

If you find any problems during the use of the program, please report to the forum in time, and I will repair the bugs as soon as possible.

Please also put forward any functional suggestions, and I will do my best to complete them.
Floor 66 Posted 2007-01-01 01:51 ·  美国 缅因州
中级用户
★★
Credits 316
Posts 152
Joined 2006-06-18 13:01
20-year member
UID 57204
Gender Male
Status Offline
A good software can be released only with a sense of responsibility. Support the landlord
Floor 67 Posted 2007-01-02 00:40 ·  中国 天津 河北区 联通
初级用户
★★
Credits 128
Posts 75
Joined 2005-10-30 15:39
20-year member
UID 44301
Gender Male
From 黄河北道,天子渡
Status Offline
Great stuff, thanks for sharing.
Floor 68 Posted 2007-01-02 04:24 ·  中国 广东 珠海 电信
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Originally posted by xuxuezeng at 2006-12-31 05:55 AM:


, I've been thinking about finding a software that can randomly access sectors under DOS, and I also prepared to make a simple one by myself, but I'm not skilled enough and haven't started..


It is suggested that you can also refer to the way of handling sectors in TOdisk I wrote. It has many functions and is not too large in capacity. The most distinctive functions are as follows:

1
Can handle any hard disk, partition, sector, and supports processing multiple tasks at one time, so you don't need to enter commands multiple times, just enter commands at one time.
2
Supports the function of saving data as a file / restoring a file to a sector, and has a powerful compression function (its kernel uses the ZLIB library of the same type in LINUX), and can also split volumes. Therefore, it has the main functions of GHOST and can partially replace GHOST...

Address:
http://johnson.tmfc.net/dos/todisk.html

[ Last edited by GOTOmsdos on 2007-1-9 at 06:45 AM ]
Floor 69 Posted 2007-01-02 06:57 ·  中国 福建 福州 电信
初级用户
Credits 25
Posts 12
Joined 2006-11-17 01:26
19-year member
UID 70738
Gender Male
Status Offline
Top, accepted!
Floor 70 Posted 2007-01-09 03:40 ·  中国 北京 华北计算技术研究所
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
Ghost-like versions add the /ghost parameter, and the hard disk number starts from 1 (see the attachment)

I encountered a problem with INT25 reading the disk. Which expert can help solve it? As follows:
Problem solved on 2007.1.15

[ Last edited by 19951001 on 2007-1-16 at 02:46 AM ]
Floor 71 Posted 2007-01-09 04:23 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
I feel that the linked list saving and restoring function of the program by brother 19951001 has certain practicality. I have downloaded and tried it, saved it, but haven't used the restoring yet.
Floor 72 Posted 2007-01-09 05:00 ·  中国 北京 华北计算技术研究所
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
Originally posted by GOTOmsdos at 2007-1-9 04:23:
I feel that the linked list saving and restoring function of brother 19951001's program has certain practicality. I have downloaded and tested it, saved it, but haven't used the restore yet.


The restore function has been tested many times on my side, and no problems have been found. It should be fine.
Floor 73 Posted 2007-01-09 05:29 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Maybe the saved file of the undo function of DISKGEN is also saving the partition linked list (I didn't look carefully, maybe it is)
Floor 74 Posted 2007-01-09 11:30 ·  中国 江苏 南京 电信
高级用户
★★
Credits 525
Posts 222
Joined 2006-08-28 21:07
19-year member
UID 61476
Status Offline
Originally posted by GOTOmsdos at 2007-1-9 05:29:
Maybe the save file of the undo function in DISKGEN also saves the partition linked list (I didn't look closely, maybe it does)


Modifying the partition should only require saving this.
Floor 75 Posted 2007-01-10 02:01 ·  中国 北京 华北计算技术研究所
高级用户
★★
流落街头
Credits 570
Posts 272
Joined 2005-10-17 10:51
20-year member
UID 43609
Gender Male
From 北京
Status Offline
The version on floor 71 is old.

[ Last edited by 19951001 on 2007-1-16 at 02:09 AM ]
‹ Prev 1 3 4 5 6 7 38 Next ›
Forum Jump: