mirror of
https://github.com/open-simh/simh.git
synced 2026-04-26 04:07:23 +00:00
SCP: Added generic output routine sim_printf to output to stdout and sim_log (and sim_deb when enabled)
The goals here being to simplify calling code while getting consistent output delivered everywhere it may be useful. Modified most places which explicitly used sim_log or merely called printf to now avoid doing that and merely call sim_printf().
This commit is contained in:
@@ -354,7 +354,7 @@ if (lk_rbuf[0] & 1) { /* peripheral command */
|
||||
break;
|
||||
|
||||
default:
|
||||
printf ("lk: unknown cmd %02X\n", lk_rbuf[0]);
|
||||
sim_printf ("lk: unknown cmd %02X\n", lk_rbuf[0]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user