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-24 22:19
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Newbie here, question for the experts about a memory issue? View 741 Replies 9
Original Poster Posted 2005-02-27 00:00 ·  中国 辽宁 沈阳 中移铁通
初级用户
Credits 117
Posts 5
Joined 2005-02-12 00:00
21-year member
UID 36133
Gender Male
Status Offline
I run my finished 1.44M boot disk IMG in a VMWARE virtual machine. If I boot directly from the floppy image into MS-DOS7.1, then use MEM to check memory, the total conventional memory size is 640K. But if I add the image into an ISO made with EASYBOOT, boot from the CD, and then use MEM to check memory after loading the same IMG file, the total conventional memory size becomes 618K.
Also, I checked it with several of the latest antivirus programs, and there is absolutely no virus!!! Does anyone know why this happens
Floor 2 Posted 2005-02-27 00:00 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
The reason is quite obvious. Although on the surface both are using an IMG file and both are emulation, the essence of the emulation is very different.

VMWARE, VirtualPC, QEMU and that kind are full-system emulators. Although you give them the IMG file, they simulate the IMG file as a floppy disk, just like a real floppy disk.

Another kind of emulation is partial emulation. It only emulates the BIOS interface and does not emulate the rest. This kind of emulation needs to allocate a certain amount of conventional memory space to store the emulation code, generally several KB, for example memdisk is 2K and grub4dos is 3K. The mem command recognizes that the code space used for emulation exists as an extension to the system BIOS, so when it reports memory, it has already removed this portion from conventional memory.

Partial emulation only takes up this tiny bit of memory space, while real emulators like VMWARE, VirtualPC, and QEMU are all extremely huge. Although they create an environment very close to a real one for the user, their complexity is very high, the difficulty of emulation is very high, and the CPU and memory resources they consume are also very large. It is absolutely not something that can be done with just a few K.
因为我们亲手创建,这个世界更加美丽。
Floor 3 Posted 2005-02-27 00:00 ·  中国 辽宁 沈阳 中移铁通
初级用户
Credits 117
Posts 5
Joined 2005-02-12 00:00
21-year member
UID 36133
Gender Male
Status Offline
So does that mean if it's burned to a CD and the IMG file is booted from the CD on a real computer, then the situation of conventional memory being occupied will not occur?
Floor 4 Posted 2005-02-27 00:00 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
As long as it is made properly, of course that is the case. For example, the win98se CD boots by emulating a 1.44M floppy disk. This emulation is done by the BIOS, so it does not occupy the user's conventional memory.
因为我们亲手创建,这个世界更加美丽。
Floor 5 Posted 2005-02-27 00:00 ·  中国 辽宁 沈阳 中移铁通
初级用户
Credits 117
Posts 5
Joined 2005-02-12 00:00
21-year member
UID 36133
Gender Male
Status Offline
Among these programs, easyboot, Boot Scriptor, bcdw, diskmenu, grub, which one has better compatibility for making boot CDs
Floor 6 Posted 2005-02-28 00:00 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
The programs you mentioned all serve different purposes, so how can they be compared? Some are CD creation tools, some are boot management tools, so they are not comparable.

If you make it in the win98 CD format, there should be no compatibility problem. That is, booting by emulating a 1.44M floppy disk. This is a most basic CD standard. As for others, such as CDs made using hard disk emulation mode, or using “no emulation mode,” they are compatible with newer machines, but on very old machines they may fail to boot.
因为我们亲手创建,这个世界更加美丽。
Floor 7 Posted 2005-03-01 00:00 ·  中国 辽宁 沈阳 中移铁通
初级用户
Credits 117
Posts 5
Joined 2005-02-12 00:00
21-year member
UID 36133
Gender Male
Status Offline
Sure enough, an expert really does know this much. I've been using DOS since 1996, and after using DOS for so many years, I feel ashamed of my inferiority!!!!!!!!
Then which one can make a standard WIN98-format CD, EASYBOOT? DISKMEU, which one
And one more question I'd like to ask: under DOS, when using DEL or an external command, how can I delete all files in the current directory or some directory without a prompt? For example, if I use the internal command DEL and enter "DEL ." at the DOS prompt, it asks whether to delete all files and gives a Y or N choice. How can I stop it from showing that choice? Or what tool can do it (other than using echo y|del *.* )
Floor 8 Posted 2005-03-01 00:00 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
No need to be so polite. I only know a little myself, and am just showing off my poor knowledge. I'm afraid there may still be many mistakes, so I hope the brothers and sisters here won't hesitate to correct me.

What we call the so-called standard win98 format here is actually the boot mode of emulating a 1.44M floppy disk. As long as a CD creation method supports this mode, it can make a bootable CD just like win98 with the best compatibility.

Any CD creation software can make this kind of format, because this format is too basic and too universal. What you need to study is how to use those programs to achieve this. Just read the software instructions or help and learn how to use them.

If the software accepts a 1.44M file as a boot file, then a CD made this way is in this emulation mode. Generally you can find it in the menu. It seems you haven't mentioned many tools. Actually I have used winISO, and there are many others like it, but they are all more or less the same, and all can do it.

DOS command line (its shell is command.com) is rather weak in functionality. It's enough if it can be used somehow; there's no need to take it too seriously.
因为我们亲手创建,这个世界更加美丽。
Floor 9 Posted 2005-03-02 00:00 ·  中国 辽宁 沈阳 中移铁通
初级用户
Credits 117
Posts 5
Joined 2005-02-12 00:00
21-year member
UID 36133
Gender Male
Status Offline
One last favor I'd like to ask of you, expert: where can I find a Chinese command tutorial or instructions for CD SHELL (a better boot disk creation tool than DISKEMU)? I want to know how it can support Chinese, and how some commands are used! This question is rather difficult, so if there isn't any that's fine too! Thanks. My QQ7840433
Floor 10 Posted 2005-03-03 00:00 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
diskemu and cdshell are both very nice tools and very familiar-sounding, but I still haven't had time to get in touch with them, sorry.
因为我们亲手创建,这个世界更加美丽。
Forum Jump: