litchie / dospad

iDOS - DOSBox port on iOS
https://litchie.com/dospad
GNU General Public License v2.0
618 stars 133 forks source link

How do I mount a different folder as c drive on startup? #151

Closed Banjo-Oz closed 2 months ago

Banjo-Oz commented 3 months ago

I added this to the DOSPAD.CFG file but it doesn't seem to work.

[autoexec] MOUNT -u c MOUNT c .\drivec C:

Typing the first two commands manually after boot does work, so it's not the commands. It just seems like the [autoexec] section is being run before the default mounting rather than after it (as would be expected). How do I fix this?

PS I also tried

[autoexec] MOUNT -u c MOUNT c ~/Documents/drivec C:

but that has the same result (works on commandline, ignored in config file).

litchie commented 3 months ago

iDOS automounts ~/Documents folder as C. I think we probably can detect the drivec folder which can be detected and used as root for C.

litchie commented 2 months ago

Use *.idos package format and tap on it from Files app to launch iDOS, then the package will be mounted as C.

litchie commented 2 months ago

Or name the drivec folder as C.harddisk