Skip to content

Support inserting and ejecting CD-ROMs - #221

Merged
dingusdev merged 3 commits into
dingusdev:masterfrom
mihaip:upstream-insert-cdrom
Aug 24, 2026
Merged

Support inserting and ejecting CD-ROMs#221
dingusdev merged 3 commits into
dingusdev:masterfrom
mihaip:upstream-insert-cdrom

Conversation

@mihaip

@mihaip mihaip commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Includes device-level support for inserting disks (and clearing the image when ejecting) and a SDL "UI" (drag and drop) for triggering insertions.

mihaip added 3 commits August 23, 2026 17:04
Create the replacement backend before swapping it in. This lets callers
try a new image without losing the one that is already open.
Put runtime media changes behind a shared machine/device API, and reject
insertion while a disc is still present.

Guest eject requests now clear the mounted image, while host insertion
reports the media change through SCSI and ATAPI unit attention.
Pass SDL file-drop events through the shared media API and report when
the drive is unavailable or still occupied.

Advertise ISO and Toast images in the macOS bundle so they can also be
dropped on the app icon.
@dingusdev

Copy link
Copy Markdown
Owner

While this looks mostly solid, we are trying to refactor the debugger to make it more manageable. Moreover, I don't think using the debugger is the best way to insert a CD.

@mihaip
mihaip force-pushed the upstream-insert-cdrom branch from 1605bd4 to 321d822 Compare August 24, 2026 00:45
@mihaip

mihaip commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

@dingusdev I dropped the debugger command, the SDL drag-and-drop is more interesting to me, the debugger was completeness.

@dingusdev
dingusdev merged commit cbeffad into dingusdev:master Aug 24, 2026
7 checks passed
@mihaip
mihaip deleted the upstream-insert-cdrom branch August 24, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants