When I was making IMG images with custom sizes (I made ones a bit over 3M, over 8M, over 10M, etc.), I found a problem:
After I use WINIMAGE to add folders and files into the IMG, then boot DOS with this IMG, (DOS loads the TW Chinese character support system). Under DOS, when I use the DIR command, part of the filenames come out garbled, (there are also cases where opening text is garbled, for example using TYPE XXX.BAT shows garbled text). Because only part of it is garbled and most of it displays normally, I didn't pay much attention to it at first, but when I switched to IMG files of other sizes, similar problems also appeared! I remade several more with different sizes, and the same problem still appeared!!
It makes no sense~~~ I can't figure it out. I don't know whether anyone else has run into this kind of problem?
I created the IMG files according to the format below:
Image size sectors per cluster sector count (bytes) heads
1.44MB 1(512) 2880 bytes 1
2.88MB 2(1024) 5760 bytes 2
4.32MB 2(1024) 8640 bytes 2
5.76MB 4(2048) 11520 bytes 4
7.20MB 8(4096) 14400 bytes 8
8.64MB 8(4096) 17280 bytes 8
10.08MB 8(4096) 20160 bytes 8
11.52MB 8(4096) 23040 bytes 8
12.96MB 16(8192) 25920 bytes 16
14.40MB 16(8192) 28800 bytes 16
15.84MB 16(8192) 31680 bytes 16
17.28MB 16(8192) 34560 bytes 16
The directory layout inside the IMG file I made:
\
|_tools
| |_DM.EXE
| |_DG.EXE
| |_PQMAGIC
| | |_PQ.EXE
| | |_PQ.XXX (this is just PQ's config file)
| |_HDD.EXE
| |_XXX.EXE(other tools)
|_help
| |_XXX.TXT
| |_XX.TXT
|
|__BAT
| |_XX.BAT
| |_XX.BAT
|
io.sys
.
.
.
.
.
(these are just some files in the root directory of MSDOS.7.1)
That's roughly what it looks like. I just can't figure it out. It's only 3 directory levels, and it seems the problem often shows up on the 2nd and 3rd levels, while the 1st level rarely has problems.
Hope someone can patiently read through this and think about it together. I've been busy with this all night, going to sleep now. 88
After I use WINIMAGE to add folders and files into the IMG, then boot DOS with this IMG, (DOS loads the TW Chinese character support system). Under DOS, when I use the DIR command, part of the filenames come out garbled, (there are also cases where opening text is garbled, for example using TYPE XXX.BAT shows garbled text). Because only part of it is garbled and most of it displays normally, I didn't pay much attention to it at first, but when I switched to IMG files of other sizes, similar problems also appeared! I remade several more with different sizes, and the same problem still appeared!!
It makes no sense~~~ I can't figure it out. I don't know whether anyone else has run into this kind of problem?
I created the IMG files according to the format below:
Image size sectors per cluster sector count (bytes) heads
1.44MB 1(512) 2880 bytes 1
2.88MB 2(1024) 5760 bytes 2
4.32MB 2(1024) 8640 bytes 2
5.76MB 4(2048) 11520 bytes 4
7.20MB 8(4096) 14400 bytes 8
8.64MB 8(4096) 17280 bytes 8
10.08MB 8(4096) 20160 bytes 8
11.52MB 8(4096) 23040 bytes 8
12.96MB 16(8192) 25920 bytes 16
14.40MB 16(8192) 28800 bytes 16
15.84MB 16(8192) 31680 bytes 16
17.28MB 16(8192) 34560 bytes 16
The directory layout inside the IMG file I made:
\
|_tools
| |_DM.EXE
| |_DG.EXE
| |_PQMAGIC
| | |_PQ.EXE
| | |_PQ.XXX (this is just PQ's config file)
| |_HDD.EXE
| |_XXX.EXE(other tools)
|_help
| |_XXX.TXT
| |_XX.TXT
|
|__BAT
| |_XX.BAT
| |_XX.BAT
|
io.sys
.
.
.
.
.
(these are just some files in the root directory of MSDOS.7.1)
That's roughly what it looks like. I just can't figure it out. It's only 3 directory levels, and it seems the problem often shows up on the 2nd and 3rd levels, while the 1st level rarely has problems.
Hope someone can patiently read through this and think about it together. I've been busy with this all night, going to sleep now. 88
