MiSTer-devel / PCXT_MiSTer

PCXT port for MiSTer by spark2k06.
GNU General Public License v3.0
14 stars 8 forks source link

Disk misdetection/corruption when image created from other program #15

Closed arromdee closed 2 years ago

arromdee commented 2 years ago

1) Go into dosbox-x and create a disk image using "imgmake small.img -t hd -size 31". 2) Copy this disk image over to Mister and boot the PCXT core 3) Press F2 on boot to manually select what to boot from (all PCXT ROMs are based on XTIDE bios) 4) Notice that the drive shows up as 504m in size. If you try to use it anyway, DOS tells you the correct size but you eventually get disk corruption. 5) In ao486, if you rename it to .vhd, the disk size is briefly shown on startup and it is not 504m; it's correct. I haven't extensively used it in ao486 to determine whether it's corrupted.

This could conceivably be the fault of dosbox-x, XTIDE, serdrive, or the core. It's a bug somewhere, and I don't have the expertise to determine where. I'm posting this here in the hope that, if it isn't actually the fault of any Mister related code, someone could at least look at the image and describe what's wrong with it so I can report it to dosbox-x or XTIDE.

Other people have reported problems creating images through external programs, such as https://misterfpga.org/viewtopic.php?p=56312#p56312 .

arromdee commented 2 years ago

small.img.gz

spark2k06 commented 2 years ago

We are not going to focus on improving the serdrive as the idea is that it will disappear in the future and be replaced by a "real" 8-bit FDD and HDD implementation, so I am closing this issue.