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-07-31 19:49
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Original] TOdisk32 Initial Version (DJGPP) View 10,752 Replies 13
Original Poster Posted 2007-02-27 11:54 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Try DJGPP....
After going through many difficulties, I finally successfully compiled TOdisk using DJGPP... It runs normally
This is the initial version of TOdisk32
(Requires more than 50MB of memory)
Welcome to play...
Attachments
TOdisk32.zip (96.8 KiB, Credits to download 1 pts, Downloads: 51)
Floor 2 Posted 2007-02-28 00:52 ·  中国 天津 电信
初级用户
★★
Credits 178
Posts 85
Joined 2006-07-06 15:25
20-year member
UID 58125
Status Offline
Oh, finally got it done. It must require more than 50MB of memory. Did you use a fixed-size array? It's recommended to use pointers + the malloc function. At least if there's not enough memory, you can give a prompt. Keep improving. This tool is very convenient.
Floor 3 Posted 2007-02-28 07:21 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Just had a successful experiment. It's the initial version, so there's still room for improvement.

With such a large memory, arrays definitely won't be used. We'll use pointers + malloc.

Currently, I'm trying to find ways to improve the speed. Now I want to figure out the reasons for GHOST's ultra-fast speed. Is it because of super-fast compression, or the use of UDMA, or using XMS with assembly in real mode?

Hope those who know can share.

(I downloaded the source code of GHOST FOR LINUX, but didn't find relevant functions. There are many libraries, but I don't know if they are there? And I don't know how to call them? The documentation doesn't seem to have it.. I saw a source code dd_rescue, but it doesn't seem to have compression function..)

[ Last edited by GOTOmsdos on 2007-2-28 at 07:22 AM ]
Floor 4 Posted 2007-03-09 23:44 ·  中国 广东 广州 中国科学院广州分院能源研究所
中级用户
★★
Credits 254
Posts 63
Joined 2003-04-08 00:00
23-year member
UID 1430
Gender Male
Status Offline
Tried it out, and so far no issues have been found
Floor 5 Posted 2007-03-10 04:20 ·  中国 北京 昌平区 联通
高级用户
★★
Credits 506
Posts 187
Joined 2005-12-04 22:41
20-year member
UID 46500
Gender Male
Status Offline
Floor 6 Posted 2007-03-22 03:24 ·  中国 福建 厦门 电信
中级用户
★★
Credits 480
Posts 197
Joined 2006-09-20 00:40
19-year member
UID 63115
From 黄冈
Status Offline
Support

Download and have a look
Floor 7 Posted 2007-03-22 04:37 ·  中国 河北 唐山 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
Support original creation. In the long run, GOTO has boldly taken the first step to realize the localization of the core part of backup software. If the version is mature, and then using Easy Language as the shell, it will completely be our own independent intellectual property rights in China.
DOS之家 http://doshome.com 站长 葛明阳
Floor 8 Posted 2007-03-22 05:11 ·  中国 香港
银牌会员
★★★
阿林
Credits 1,410
Posts 497
Joined 2004-06-28 00:00
22-year member
UID 27551
Gender Male
From 九龍,香港
Status Offline
Originally posted by GOTOmsdos at 2007-2-28 07:21 AM:
Currently, I want to find ways to improve speed, and now I want to figure out the reasons for the super-fast speed of GHOST. Is it due to super-fast compression, or the use of UDMA, or using XMS in real mode with assembly?



1) Ghost processes files as units, extracting only useful data

2) Ghost has its own read/write program (not dependent on the operating system)

3) Low compression (if the parameter -z9 is not forced, the strongest in the image screen is -z3)

4) Maybe the Block Transfer method mentioned by Jack Ellis, at least transferring data in blocks of 16K each. Many I/O subroutines attached to C in the market are not efficient enough
我 的 網 站 - http://optimizr.dyndns.org
Floor 9 Posted 2010-02-10 22:35 ·  中国 四川 成都 电信
初级用户
Credits 30
Posts 15
Joined 2006-06-28 20:37
20-year member
UID 57708
Status Offline
ghost is developed with DJGPP and compressed with UPX!
Floor 10 Posted 2010-05-03 00:15 ·  中国 河北 邢台 电信
新手上路
Credits 4
Posts 2
Joined 2006-09-25 07:02
19-year member
UID 63593
Status Offline
Is this the latest version?
Floor 11 Posted 2010-05-12 11:11 ·  中国 北京 联通
新手上路
Credits 10
Posts 5
Joined 2010-05-11 21:07
16-year member
UID 166636
Gender Male
From 北京
Status Offline
Something similar to ghost? Let's use it.
Floor 12 Posted 2010-05-15 11:30 ·  中国 广东 东莞 电信
新手上路
Credits 2
Posts 1
Joined 2010-05-14 14:24
16-year member
UID 166835
Gender Male
Status Offline
Learning
Floor 13 Posted 2010-05-20 21:11 ·  中国 海南 海口 电信
中级用户
★★
Credits 215
Posts 105
Joined 2007-06-02 22:33
19-year member
UID 90083
Gender Male
Status Offline
Come and take a look, thanks to GOTOmsdos!
Floor 14 Posted 2018-12-28 22:19 ·  中国 四川 成都 联通
新手上路
Credits 10
Posts 5
Joined 2015-10-23 21:21
10-year member
UID 181297
Gender Male
Status Offline
Great stuff, thanks for sharing.
Forum Jump: