mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
TMXR: Reject serial port attach config for programmaticly configured mux
This commit is contained in:
parent
dd92be296c
commit
dbc0ea4114
@ -3086,8 +3086,8 @@ while (*tptr) {
|
||||
serport = sim_open_serial (destination, NULL, &r);
|
||||
if (serport != INVALID_HANDLE) {
|
||||
sim_close_serial (serport);
|
||||
if (strchr (destination, ';') && mp->modem_control && !(sim_switches & SIM_SW_REST))
|
||||
return sim_messagef (SCPE_ARG, "Serial line parameters must be set within simulated OS: %s\n", 1 + strchr (destination, ';'));
|
||||
if (strchr (destination, ';') && (mp->modem_control || mp->port_speed_control) && !(sim_switches & SIM_SW_REST))
|
||||
return sim_messagef (SCPE_ARG, "%sSerial line parameters can only be set within simulated OS: %s\n", dev_name, 1 + strchr (destination, ';'));
|
||||
}
|
||||
else {
|
||||
char *eptr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user