Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request command-line support for loading floppy *and* hard disk images #127

Open
spyffe opened this issue Jul 18, 2020 · 2 comments
Open

Comments

@spyffe
Copy link

spyffe commented Jul 18, 2020

It is currently impossible (as far as I can tell after code inspection) to specify both a HDD image and a floppy image on the command line. This would be very useful when initializing hard drives and installing software on them.

(As an aside, the emulator properly supports selecting both types of images when I pass no arguments and pick them through the UI instead. That's extremely slow, though, since the UI obviously doesn't support pasting in paths.)

Here are the parts of the code that would need to be fixed:

In Win68k pmain, the logic for recognizing which drives to populate only allows three cases:

  • -h hdimage.hdf attaches exactly one hard drive image
  • fdimage.xdf attaches one floppy disk image
  • fdimage1.xdf fdimage2.xdf attaches two floppy disk images

In the RetroArch wrapper, pre_main passes arguments through to P68K, but the only case where it passes -h hdimage.hdf through to the Win68k engine is if the user passes only one argument ending in hdf.

@negativeExponent
Copy link
Collaborator

why cmdline? are you using other launchers? i used to just mount an hdf to the HDD0 and change boot order to only boot from floppy. this way you can swap disks while preventing hdd0 to boot. yeah its confusing.

@negativeExponent
Copy link
Collaborator

whats the usecase for this mechanics? and is it necessary to boot from HD in this case? or still on FDD?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants