First post, by marooned_on_mars
- Rank
- Member
Regardless of what type of disk writing action I do (from copying to directory creation) DosBox hangs, and the HDD file bloats (gets over 2GB in size)
Here's the creation in bximage
========================================================================
bximage
Disk Image Creation Tool for Bochs
$Id: bximage.c 10933 2012-01-04 19:34:08Z vruppert $
========================================================================
Do you want to create a floppy disk image or a hard disk image?
Please type hd or fd. [hd]
What kind of image should I create?
Please type flat, sparse or growing. [flat]
Enter the hard disk size in megabytes, between 1 and 129023
[10] 200
I will create a 'flat' hard disk image with
cyl=406
heads=16
sectors per track=63
total sectors=409248
total size=199.83 megabytes
What should I name the image?
[c.img]
Writing: [] Done.
I wrote 209534976 bytes to c.img.
The following line should appear in your bochsrc:
ata0-master: type=disk, path="c.img", mode=flat, cylinders=406, heads=16, spt=63
ImgMount in DosBox (before formatting):
imgmount 2 C:\Portable\Games\DosBox\c.img -t hdd -size 512,63,16,406 -fs none
ImgMount in DosBox (after formatting with FreeDos's FDISK):
imgmount c C:\Portable\Games\DosBox\c.img -t hdd -size 512,63,16,406 -fs fat
When I load DosBox all that I can see as a hint to the problem is in the console:
Using Partition 0 on drive; skipping 63 sectors
Loaded image has no valid magicnumbers at the end!
Mounted FAT volume is FAT32 with 17395994 clusters
The weird thing is that I formatted the partition as FAT12 not 32, as I assumed FAT32 wouldn't work.