First post, by nsputnik
I am trying to run DOS-based sequencers Texture and Voyetra Sequencer Plus Gold 4.11 (not yet teste) with hardware MIDI input and output on Raspberry Pi 4. My experiments have been conducted on macOS 10.13 using MAME 0.226 (64-bit), with the intent to migrate this setup (files and command) to Raspberry Pi OS. If MAME proves unworkable, I may explore alternatives such as patched DOSBox with MIDI in support or Running on Box86 and Wine on a Pi4. DOSBox and DOSBox-X do not feature MIDI in as a standard feature or I would use that, it would be much easier.
Steps Taken
1. Disk Image Creation and Configuration
• Disk Creation with CHDMAN:
◦ Used dd to create a raw disk image and converted it to a .chd using chdman.
◦ Set standard drive geometry (e.g., 512 cylinders, 16 heads, 63 sectors) to create a 250 MB virtual hard disk image.
• Booting with DOS Images:
◦ Tried multiple DOS boot images, including MS-DOS 6.22 and FreeDOS.
◦ Encountered challenges with the system recognizing the hard disk initially. After dozens failed of launches MAME Eventually booted into on of the MS-DOS 6.22 images and the at586 ROM.
• Formatting the Hard Drive:
◦ After successfully connecting the hard disk after many failures, formatted it using fdisk and format c: /s.
◦ Transferred system files and copied additional files from the boot floppy to make the disk bootable with COPY A:\*.* C:\ /-Y and SYS C:
2. ROM and Emulation Experiments
• Systems Tried:
◦ Tested ibm5170, ct486, and finally settled on at586 MAME since it was the only one that would recognize the HD image.
◦ I had to add roland__6801v0b55p__15179222.bin to the zipped ROMs. It came from the mpu401.zip file. I didn't try just placing mpu401.zip ROMs directory but maybe that would have worked. I based that descion on the error message about MAME not finding the Roland .bin file.
• MIDI Device Integration:
◦ Assigned the MPU-401 interface to isa2 in the MAME slot configuration with -isa2 mpu401 when launching the MAME instance.
◦ Verified the MPU-401 initialization via verbose logs but faced issues with IRQ and I/O port detection in DOS applications like Textures.
3. IRQ and I/O Challenges
◦ Once Texture is booted, it is frozen (as it does on the hardware when there is no MIDI interface) when it does not see the virtual MIDI interface. MPU-401 should default to I/O port 0x330 and IRQ 2 or 9 but I have no way to set it or know how it is auto setting in MAME, or do I?
◦ No options in MAME to explicitly configure IRQs or I/O ports, leading to compatibility issues with DOS software.
◦ With DOSBox for MacOS (not patched for Midi in) I can get hardware MID out to a USB midi interface if I first run this in terminal: address=220 irq=7 dma=1 But it does not seem to work in MAME.
Any suggestions on how to get this running?