VOGONS


v0.71's image file size detection

Topic actions

Reply 18 of 20, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

How you can have images larger than 500 MB in official DOSBox:

- Create one with BxImage.
The geometry values have to be recalculated:

Cylinders maxes out at 1024 for DOSBox, however heads can be up to 256.
BxImage will suggest a cylinders value above 1024, so divide cylinders by 2 and multiply heads with 2. Cylinders still bigger than 1024? Do it again and again. You'll get up to about 8 gigs with that.

Example:

From BxImage: -size 512,63,16,1422
Recalculated: -size 512,63,32,711

1+1=10