|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 91 楼』:
使用 LLM 解释/回答一下
Originally posted by johnsonlam at 2007-1-12 10:12 AM:
謝 謝 !
即 是 說 可 以 甚 麼 參 數 都 不 用 去 clone WindowsXP 或 Linux 了 , 真 好 !
处理较小的XP(比如2,3G左右的)还可以,我733MHZ的CPU,大约15-20分钟,还可接受。但要处理LINUX,就不太适合了,将近10G!就要较长时间了。
将来有时间的话,用XMS就好了。
关于英文文档,已经补充完了,明天回去把它编译到程序中去。
Last edited by GOTOmsdos on 2007-1-12 at 11:24 AM ]
Originally posted by johnsonlam at 2007-1-12 10:12 AM:
Thanks!
That means you can clone Windows XP or Linux without any parameters, that's great!
Processing a smaller XP (such as about 2 or 3 GB) is still okay. My CPU is 733 MHz, and it takes about 15-20 minutes, which is acceptable. But for processing Linux, it's not very suitable. It's nearly 10 GB! It will take a longer time.
In the future, if I have time, I'll use XMS.
The English documentation has been completed. I'll compile it into the program tomorrow when I go back.
Last edited by GOTOmsdos on 2007-1-12 at 11:24 AM ]
|
|
2007-1-12 11:21 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 92 楼』:
使用 LLM 解释/回答一下
英文文档基本完成了,但明天还要调整一下
Last edited by GOTOmsdos on 2007-1-12 at 12:46 PM ]
The English document is basically completed, but it needs to be adjusted tomorrow
Last edited by GOTOmsdos on 2007-1-12 at 12:46 PM ]
|
|
2007-1-12 12:42 |
|
|
osfree
初级用户
 
积分 72
发帖 34
注册 2007-1-12 来自 中国大陆
状态 离线
|
|
2007-1-13 02:16 |
|
|
chainliq
高级用户
    学无尽止
积分 635
发帖 244
注册 2006-4-15 来自 广西贵港
状态 离线
|
『第 94 楼』:
使用 LLM 解释/回答一下
GOTOMSDOS兄,
你机子上的毒清完没呀,符件上不会有LOGO啦吧```呵呵,开个玩笑!!顶```
Brother GOTOMSDOS,
Has the virus on your computer been completely cleaned up? There won't be a LOGO on the attachment anymore, heh heh! Just kidding! Up!
|

学无尽止 |
|
2007-1-13 02:59 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 95 楼』:
使用 LLM 解释/回答一下
承蒙关心,正在杀!
系统盘已经杀完了,这就没问题了,不去动其他盘上的EXE,就没问题的
编译TOdisk的BC31文件在杀完毒的盘上的,更新程序要在纯DOS下去编译的,没问题的
Thanks for your concern, it's being cleaned up!
The system disk has been cleaned up, so that's fine. If you don't touch the EXEs on other disks, it'll be okay.
The BC31 file for compiling TOdisk is on the disk that was cleaned, and the update program needs to be compiled in pure DOS, which is fine.
|
|
2007-1-13 03:35 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 96 楼』:
使用 LLM 解释/回答一下
英文文档已基本完善好了,正在检查校对。。
另,需要对程序两个参数做改进:
1 允许 V 不带数字,以2047为默认(DOS单个文件的最大容量2048MB)
2 增加全局开关 -i , 等价于 -ir 加 -iw
Last edited by GOTOmsdos on 2007-1-13 at 06:20 AM ]
The English document has been basically perfected and is being checked and proofread.
In addition, improvements need to be made to two parameters of the program:
1. Allow V without a number, with 2047 as the default (the maximum capacity of a single DOS file is 2048MB)
2. Add a global switch -i, which is equivalent to -ir plus -iw
Last edited by GOTOmsdos on 2007-1-13 at 06:20 AM ]
|
|
2007-1-13 05:01 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 97 楼』:
BC31 的奇怪的出错警告:Unable to open include file 'string.h'
使用 LLM 解释/回答一下
有点奇怪:
好长时间没更新程序了,刚才想改进两个小地方,可是在改好源码(就两个小地方,跟全局无关的)后,编译时出错了:(敢肯定,最上一次成功编译后,一直没动源码!)
出错如下:(BC31)
MAKE Version 3.6 Copyright (c) 1992 Borland International
Available memory 15728640 bytes
bcc -c -O2 -Z -ml crc32.c
Borland C++ Version 3.1 Copyright (c) 1992 Borland International
crc32.c:
Error zutil.h 21: Unable to open include file 'stddef.h'
Error zutil.h 23: Unable to open include file 'string.h'
Error zutil.h 24: Unable to open include file 'stdlib.h'
Error zutil.h 38: Unable to open include file 'errno.h'
Error zutil.h 97: Unable to open include file 'alloc.h'
Error crc32.c 37: Unable to open include file 'limits.h'
*** 6 errors in Compile ***
Available memory 4187800
** error 1 ** deleting crc32.obj
Unable to open include file 'stddef.h'。。。。。。
就是不能打开包含档案,可是这些档案明明有的,INCLUDE的路径也正确
以为是磁盘有问题,换了其他分区上的BC31,也是同样的错误!
(如果是磁盘有问题,怎会碰巧是不同的分区有问题的文件是一模一样的?!)
在纯DOS,用SCANDISK整理后,仍是同样的错误!
在XP,用CHKDSK /F 整理后,仍是同样的错误!
以为是BC31程序有问题,下载了新的BC31,也是同样的错误!
把改了的文件换成原先的文件,仍然是同样的错误!
删掉*。OBJ *。LIB文件仍然不行!
在纯DOS,和XP的COMMAND都是同样的错误!
是用MAKEFILE方式编译的(程序较复杂,不方便用其他方式编译。试了在BC界面单独COMPILE某个同样需要'string.h'等等头文件的C文件,就没问题!)
这个出错跟什么编译方式应该没关系的吧。(以前都可以的)
(补充:以前曾经遇到过这个问题,可是重启后就好了,这次重启多次就是不行!)
极度地不解中。。。
Last edited by GOTOmsdos on 2007-1-14 at 12:13 AM ]
A bit strange:
I haven't updated the program for a long time. Just now, I wanted to improve two small parts. But after modifying the source code (just two small parts, not related to the global), there was an error during compilation: (I'm sure I didn't touch the source code since the last successful compilation!)
The error is as follows: (BC31)
MAKE Version 3.6 Copyright (c) 1992 Borland International
Available memory 15728640 bytes
bcc -c -O2 -Z -ml crc32.c
Borland C++ Version 3.1 Copyright (c) 1992 Borland International
crc32.c:
Error zutil.h 21: Unable to open include file 'stddef.h'
Error zutil.h 23: Unable to open include file 'string.h'
Error zutil.h 24: Unable to open include file 'stdlib.h'
Error zutil.h 38: Unable to open include file 'errno.h'
Error zutil.h 97: Unable to open include file 'alloc.h'
Error crc32.c 37: Unable to open include file 'limits.h'
*** 6 errors in Compile ***
Available memory 4187800
** error 1 ** deleting crc32.obj
Unable to open include file 'stddef.h'......
That is, it can't open the include file, but these files are clearly present, and the INCLUDE path is correct
I thought it was a disk problem, so I changed to BC31 on another partition, and it was the same error!
(If it's a disk problem, how could it happen that the files in different partitions that are exactly the same are problematic?!)
In pure DOS, after organizing with SCANDISK, it's still the same error!
In XP, after organizing with CHKDSK /F, it's still the same error!
I thought it was a problem with the BC31 program, so I downloaded the new BC31, and it's still the same error!
Replacing the modified file with the original file is still the same error! Deleting the *.OBJ *.LIB files still doesn't work!
In pure DOS and XP's COMMAND, it's the same error!
It's compiled using the MAKEFILE method (the program is complicated, so it's not convenient to compile in other ways. I tried compiling a C file that also needs 'string.h' and other header files alone in the BC interface, and there's no problem!)
This error shouldn't be related to the compilation method. (It was okay before)
(Additional: I once encountered this problem before, but it was fine after restarting. This time, restarting multiple times doesn't work!)
Extremely puzzled...
Last edited by GOTOmsdos on 2007-1-14 at 12:13 AM ]
|
|
2007-1-13 13:19 |
|
|
johnsonlam
银牌会员
     阿林
积分 1410
发帖 497
注册 2004-6-28 来自 九龍,香港
状态 离线
|
『第 98 楼』:
使用 LLM 解释/回答一下
Originally posted by GOTOmsdos at 2007-1-13 01:19 PM:
有点奇怪:
好长时间没更新程序了,刚才想改进两个小地方,可是在改好源码(就两个小地方,跟全局无关的)后,编译时出错了:(敢肯定,最上 ...
環 境 變 數 不 夠 用 ?
shell=command.com /e:1024 /p
Originally posted by GOTOmsdos at 2007-1-13 01:19 PM:
A bit strange:
I haven't updated the program for a long time. Just now, I wanted to improve two small places. But after modifying the source code (just two small places, not related to the global), there was an error during compilation: (I'm sure, the top...
Insufficient environment variables?
shell=command.com /e:1024 /p
|

我 的 網 站 - http://optimizr.dyndns.org
|
|
2007-1-13 15:23 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 99 楼』:
使用 LLM 解释/回答一下
Originally posted by johnsonlam at 2007-1-13 03:23 PM:
環 境 變 數 不 夠 用 ?
配置中的环境变量很少的
好吧,我试一试。。。
Originally posted by johnsonlam at 2007-1-13 03:23 PM:
Not enough environment variables?
There are very few environment variables in the configuration
Okay, I'll give it a try...
|
|
2007-1-13 23:06 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 100 楼』:
使用 LLM 解释/回答一下
试过了,仍是同样的出错
把CONFIG。SYS,AUTOEXEC。BAT重命名后,仍是同样的出错
用最新病毒库的诺顿查了BC31和程序源码目录,没有毒
极度不解中(我现在真的找不出原因)
Last edited by GOTOmsdos on 2007-1-14 at 12:07 AM ]
Tried it, still the same error.
After renaming CONFIG.SYS and AUTOEXEC.BAT, still the same error.
Checked the BC31 and program source code directories with Norton with the latest virus definitions, no virus.
Extremely puzzled (I really can't find the reason now)
Last edited by GOTOmsdos on 2007-1-14 at 12:07 AM ]
|
|
2007-1-13 23:57 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 101 楼』:
终于解决了!!!
使用 LLM 解释/回答一下
由于怀疑机子上的BC31有问题,试了TC2,TC3,差不多也是同样的问题
下了DOS联盟的BC31,结果仍然是同样的出错!
我已经绝望了!
但是,我仍不死心,因为我认定了源码是没问题的,机器和DOS的配置没问题,
再下载别的BC31试试。。
下了恒创DOS的BC31,一试,果真成功了!(但是,仅仅只能在WINDOWS 的DOS窗口(COMMAND)里成功,在纯DOS里仍然不行!真是怪!)
一看,原先的BC31和恒创DOS的BC31版本是一样的3。1,但是前者24M,后者40M!
现在,基本断定这应该是原先版本的BC31的BUG吧?
在此,特别感谢恒创DOS版!
Last edited by GOTOmsdos on 2007-1-19 at 01:22 AM ]
Because I suspected that there was something wrong with BC31 on the machine, I tried TC2 and TC3, and it was almost the same problem.
I downloaded BC31 from the China DOS Union forum, and the result was still the same error!
I was already desperate!
But, I still wouldn't give up, because I was convinced that the source code was okay, the machine and DOS configuration were okay,
and I downloaded another BC31 to try.
I downloaded BC31 from Hengchuang DOS, and as soon as I tried it, it really succeeded! (But, it only succeeded in the DOS window (COMMAND) of WINDOWS, and still didn't work in pure DOS! It's really strange!)
I took a look, the original BC31 and the BC31 from Hengchuang DOS were the same version 3.1, but the former was 24M and the latter was 40M!
Now, it's basically concluded that this should be a bug of the original version of BC31?
Here, I especially thank the Hengchuang DOS version!
Last edited by GOTOmsdos on 2007-1-19 at 01:22 AM ]
|
|
2007-1-14 03:40 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 102 楼』:
使用 LLM 解释/回答一下
英文帮助又润色过了,基本定稿了,现在把它编译到程序中。。。
The English help has been polished again and is basically finalized. Now compile it into the program...
|
|
2007-1-14 04:24 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 103 楼』:
使用 LLM 解释/回答一下
Originally posted by johnsonlam at 2007-1-12 10:15 AM:
也 許 將 沒 用 的 東 西 去 掉 了 , 據 說 compiler 會 加 入 許 多 沒 用 的 東 西
會 Assembly 的 人 要 去 掉 那 些 可 能 並 不 難 ...
更 何 況 ...
我不理解的是居然减缩掉了超过一半!
Originally posted by johnsonlam at 2007-1-12 10:15 AM:
Maybe removing useless things, it is said that the compiler will add a lot of useless things
People who know Assembly should not find it difficult to remove those...
Moreover...
What I don't understand is that it was actually reduced by more than half!
|
|
2007-1-14 04:36 |
|
|
chainliq
高级用户
    学无尽止
积分 635
发帖 244
注册 2006-4-15 来自 广西贵港
状态 离线
|
『第 104 楼』:
使用 LLM 解释/回答一下
呵呵,頂` GOTOMSDOS兄果然利害```
Hehe, top ` GOTOMSDOS brother is really amazing```
|

学无尽止 |
|
2007-1-17 11:42 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 105 楼』:
使用 LLM 解释/回答一下
Originally posted by 本是 at 2007-1-11 09:37 AM:
用UNREAL模式+XMS调用(请参考REALMEM.ZIPhttp://ftp.lanet.lv/ftp/mirror/x2ftp/msdos/programming/memory/realmem.zip])
很感谢,
可是,你提供的下载文件却是 REAL 模式 +XMS 啊...
Originally posted by 本是 at 2007-1-11 09:37 AM:
Use real mode + XMS calls (refer to REALMEM.ZIPhttp://ftp.lanet.lv/ftp/mirror/x2ftp/msdos/programming/memory/realmem.zip])
Thanks a lot,
But the download file you provided is real mode + XMS...
|
|
2007-2-21 11:43 |
|