TASEmulators / pcem

PCem (short for PC Emulator) is an IBM PC emulator. This version of PCem has multi-threading disabled in order to ensure determinism when running though libTAS.
http://tasvideos.org/EmulatorResources/PCem.html
GNU General Public License v2.0
5 stars 1 forks source link

Hotkey for disk eject #6

Closed slamotas closed 3 years ago

slamotas commented 3 years ago

Hotkeys for disk swapping were previously implemented (#3), and currently there is no clean way to eject the mounted disk. You can specify an unmountable file and then try to mount it to eject the disk, but this is kind of hacky. It would be better to have a hotkey that ejects the CD or floppy.

My proposed solution is pretty simple: for the existing disk swapping hotkeys, the Up arrow is not used, so this could be used to eject the disk, e.g. Ctrl + Period + Up would eject drive A.

slamotas commented 3 years ago

Just tested out the new commit, it works great. Thanks!