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-26 06:27
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Yu Fei, please come in, a DOSIMG question View 1,136 Replies 8
Original Poster Posted 2003-01-14 00:00 ·  中国 河北 唐山 教育网
中级用户
★★
Credits 373
Posts 69
Joined 2002-10-16 00:00
23-year member
UID 7
Gender Male
Status Offline
Yu Fei, please come in, a DOSIMG question

Why is it that when an image is made from a floppy with a few bad sectors, DOSIMG can't extract it, but UNDISK can?
Floor 2 Posted 2003-01-14 00:00 ·  中国 山东 济南 教育网
初级用户
我帅我存在
Credits 151
Posts 25
Joined 2003-01-10 00:00
23-year member
UID 721
Gender Male
Status Offline
Oh, it's like this. I do a strict check on the FAT of the disk image to determine whether this file is a disk image. If the check result is incorrect, then I don't perform the extraction. For disk images made from disks with bad sectors, in the FAT table their "total number of sectors" * "bytes per sector" != "disk image file length", so it is considered not to be a disk image. If I remove this check, then it can be extracted. The reason I perform a strict check is to avoid treating non-disk-image files as disk image files. If this causes inconvenience, I will relax these checks in the next version.
我是一颗菠菜,菜菜,菜菜,菜菜,菜菜菜菜菜
Floor 3 Posted 2003-01-19 00:00 ·  中国 山东 济南 教育网
初级用户
我帅我存在
Credits 151
Posts 25
Joined 2003-01-10 00:00
23-year member
UID 721
Gender Male
Status Offline
Recently I've been doing some extensions for Delphi for DOS. When this thing is finished, I'll use it to make the next version of DOSIMG, so under pure DOS there will be no need to specially load an extender to run DOSIMG. And it will be a 32-bit DOS program, able to make full use of memory, and it will have a window interface (a DOS character window; if I want to make a graphical window, that will depend on the progress of Delphi for DOS), no longer just command-line only. But exactly when it can be finished depends on the progress of Delphi for DOS. I hope the extensions I wrote can become part of DWPL version 2.2.0.
我是一颗菠菜,菜菜,菜菜,菜菜,菜菜菜菜菜
Floor 4 Posted 2003-01-19 00:00 ·  中国 河北 唐山 教育网
中级用户
★★
Credits 373
Posts 69
Joined 2002-10-16 00:00
23-year member
UID 7
Gender Male
Status Offline
Very nice. Also, I think DOSIMG's shortcomings are that it's a bit slow, and it doesn't support very many formats.
Floor 5 Posted 2003-01-19 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Actually, making DOSIMG not need the CWSDPMI extender isn't difficult either. For example, you can directly STUB it with WDOS/X 0.95, and then DOSIMG.EXE alone will be enough to run it.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 6 Posted 2003-01-20 00:00 ·  中国 山东 济南 教育网
初级用户
我帅我存在
Credits 151
Posts 25
Joined 2003-01-10 00:00
23-year member
UID 721
Gender Male
Status Offline
Yeah, the slow speed is because when it was first written in Turbo Pascal, due to DOS limitations I didn't dare make use of memory, so the data operations were basically all done on disk. Later, after changing it to Free Pascal, I didn't modify that, so it became even slower. For the next version I plan to rewrite all the code in Delphi, add support for more file formats (if possible, even CD images), and support both command-line and character-window operation. Besides extracting the entire image file, it will also be able to do other operations, such as add, delete, copy, move, and so on. Because there is too much work to do, it's hard for me to guarantee when the next version will be finished. :-(
我是一颗菠菜,菜菜,菜菜,菜菜,菜菜菜菜菜
Floor 7 Posted 2003-01-21 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Here is the C source code of CDMAKE, an ISO CD image creation program under DOS:
http://www.alumni.caltech.edu/~pje/cdmake.txt
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 8 Posted 2003-01-21 00:00 ·  中国 山东 济南 教育网
初级用户
我帅我存在
Credits 151
Posts 25
Joined 2003-01-10 00:00
23-year member
UID 721
Gender Male
Status Offline
Wengier, thank you so much! ^;^
我是一颗菠菜,菜菜,菜菜,菜菜,菜菜菜菜菜
Floor 9 Posted 2003-07-04 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
First learn how to ask a question.
Make your post title better.
In the future, posts with titles like this may end up in only these three ways:
1。Nobody pays any attention to them. (This is the best case.)
2。Moved to the off-topic section.
3。Deleted.
======
Calling on someone by name to answer is not encouraged.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Forum Jump: