Tried building this. My cmake environment seems broken when it comes to using make, it seems to recurse until it hangs the system, so I use Ninja to build, "cmake -G Ninja .."
Had to work around, I think, our termio not supporting 57600 baud with some #if 0.
Dies here,
emxomf: Index too large
emxomfld: a.out to omf conversion failed for 'src/cpu/UaeCpu.a'.
ninja: build stopped: subcommand failed.
Investigating but I'd guess there is inline assembler that needs adjusting for aout, probably .section directives. Aout is very simple.
My quick hack,
diff --git a/src/rs232.c b/src/rs232.c
index 8175421b..a731cdd7 100644
--- a/src/rs232.c
+++ b/src/rs232.c
@@ -396,10 +396,12 @@ static bool RS232_SetBaudRate(int nBaud)
{ 9600, B9600 },
{ 19200, B19200 },
{ 38400, B38400 },
+#if 0
{ 57600, B57600 },
{ 115200, B115200 },
#ifdef B230400 /* B230400 is not defined on all systems */
{ 230400, B230400 },
+#endif
#endif
{ -1, -1 }
};
diff --git a/src/scc.c b/src/scc.c
index c37197c4..9eb61030 100644
--- a/src/scc.c
+++ b/src/scc.c
@@ -770,11 +770,13 @@ static void SCC_Serial_Set_BaudRate ( int Channel, int value )
switch (value)
{
+#if 0
#ifdef B230400 /* B230400 is not defined on all systems */
case 230400: new_speed = B230400; break;
#endif
case 115200: new_speed = B115200; break;
case 57600: new_speed = B57600; break;
+#endif
case 38400: new_speed = B38400; break;
case 19200: new_speed = B19200; break;
case 9600: new_speed = B9600; break;