| Recommend this page to a friend! |
| Packages of Matthew Asham | Binkterm PHP | docs/proposals/OtherEmulatorConsiderations.md | Download |
|
|||||||||||||||||||||
Other Emulator Considerations> Draft Notice: This document is a draft, was generated by AI, and may not have been reviewed for accuracy. OverviewThis document assesses the effort involved in adding support for additional emulators (such as MAME, PCem, QEMU, etc.) to the DOS door multiplexing bridge. What's Already DoneThe Adding a new emulator requires only:
1. Create a class extending The Hard Parts for MAME SpecificallySerial communication is the core challenge. The entire system is built around a serial port abstraction ? DOSBox uses a TCP nullmodem, DOSEMU uses a PTY. MAME would need to expose its emulated serial port similarly:
MAME is machine-centric, not OS-centric. DOSBox boots a DOS environment and any game can run within it. With MAME you'd be emulating specific hardware (e.g., Drop file injection. Currently Effort by Emulator| Emulator | Effort | Notes | |---|---|---| | PCem / 86Box | Low?Medium | TCP serial interface, directory mounts similar to DOSBox | | QEMU | Medium | Serial socket is straightforward; per-session disk image needed | | MAME (PC driver) | Medium?High | Serial I/O varies by driver; disk image complexity; sparse docs | What a MAME Implementation Would Need
RecommendationIf the goal is simply to support an alternative DOS emulator, PCem or 86Box would be considerably easier targets than MAME, as they use TCP serial and directory mounts analogous to DOSBox. MAME is an arcade and hardware emulator first ? DOS PC support exists but integration is rougher and the tooling is less suited to this use case. |