On a different topic, maybe some of you are interested.
Here is a small patch that enables MIDI over UART. This was easy because the core already has the MIDI interface implemented.
Support for MT32-pi could probably added easily, but I don't have one to test it.
Code: Select all
diff --git a/X68000/MiSTer/X68000.sv b/X68000/MiSTer/X68000.sv
--- a/X68000/MiSTer/X68000.sv (revision f85249ee523e7e2bb10283cd3e6d14663a4b9bcc)
+++ b/X68000/MiSTer/X68000.sv (revision 71c69f9d8675b448452bcd9f2f23281da8fe3267)
@@ -180,7 +180,7 @@
assign VGA_SL = 0;
assign VGA_F1 = 0;
assign VGA_SCALER = 0;
-assign {UART_RTS, UART_TXD, UART_DTR} = 0;
+assign {UART_RTS, UART_DTR} = 0;
assign {DDRAM_CLK, DDRAM_BURSTCNT, DDRAM_ADDR, DDRAM_DIN, DDRAM_BE, DDRAM_RD, DDRAM_WE} = 0;
assign LED_USER = ioctl_download & ~ldr_done;
@@ -195,7 +195,7 @@
`include "build_id.v"
parameter CONF_STR = {
- "X68000;;",
+ "X68000;UART115200,MIDI;",
"-;",
"O01,Aspect ratio,Original,Full Screen,[ARC1],[ARC2];",
"-;",
@@ -455,6 +455,9 @@
.pSramld(sramld),
.pSramst(sramst),
+ .pMidi_in(UART_RXD),
+ .pMidi_out(UART_TXD),
+
.pVideoR(VGA_R),
.pVideoG(VGA_G),
.pVideoB(VGA_B),