Open TomBoehm opened 2 years ago
When mounting the drive in dosbox-x use the -freesize
option followed by the capacity.
-freesize [size] Specify the free disk space of drive in MB (KB for floppies).
Basically DOS programs cannot handle the large capacity of modern disks, so dosbox-x limits the amount of disk space reported as free space. But even that may be to much for some applications, so you can limit it further with the -freesize
option.
thx rderooy.
we tested with:
[dosbox]
freesizecap = fixed
[autoexec]
mount -freesize 50 F /Volumes/FIRMA/CTL7/
(mount -freesize 10 F /Volumes/FIRMA/CTL7/)
on both arm64 & arm64_sdl version: DIR => 52,428,800 Bytes free (DIR => 10,485,760 Bytes free) but within the dbase application "O Bytes free"
same config with the x86 version: DIR => 52,428,800 Bytes free dbase application: 52,428,800 Bytes free
The DOSBox-X x86 version that worked was also the mac version?
If so, this indeed seems like a ARM specific bug.
yes - both Mac Versions, x86 & arm64 - latest release tested on the same M1 MacMini
For the time being we run this dbase application using DOSBox-X x86 version via Rosetta. But the app is terribly slow that way. Maybe you could give me a hint, what we could improve in the above configuration to get more speed?
One thing you should probably do is to set:
hard drive data rate limit = 0
floppy drive data rate limit = 0
Unless your interested in emulating the speed of slow hdd/fdd's of back in the day...
Code of Conduct & Contributing Guidelines
Have you checked that no other similar bug report(s) already exists?
What operating system(s) this bug have occurred on?
macOS Monterey, Version 12.1
What version(s) of DOSBox-X have this bug?
0.83.21_arm64 & 0.83.21_arm64_sdl
Describe the bug
dbase recognizes disk as full (0 Bytes free) while DIR sees the correct value.
both arm64 & arm64_sdl version see: with DIR: 19 Dir(s) 1,838,527,709,184 Bytes free but the dbase application claims "O Bytes free"
same app & same disk with the x86 version (on the sam M1 Mac): with DIR: 1,838,527,709,184 Bytes free (same as above) and dbase reports "2.013.265.920 Bytes free"
From macOS df reports available: 3590874272 (df -h 1.7Ti) and the Finder sais available: 1,84 TB
The mounted disk is on a SMB mount (mount F /Volumes/FIRMA/CTL7/ ) but same result when that folder resides on the internal/local disk.
Expected behavior
No response
Steps to reproduce the behaviour
since a dbase application is required - hard to reproduce, but I can provide the application for testing
Used configuration
Emulator log
No response
Additional context
No response