mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
S3: Provide readable 7 segment error code display
As discussed in #1052
This commit is contained in:
committed by
Mark Pizzolato
parent
243951a791
commit
eb753fc82f
@@ -609,12 +609,12 @@ if (opaddr == 0xf0) { /* Is it command format?
|
||||
if (qbyte & 0x01) display[2][3] = '|' ;
|
||||
if (rbyte & 0x01) display[2][7] = '|' ;
|
||||
/* Print display segment array */
|
||||
sim_printf("\n");
|
||||
sim_printf("\r\n");
|
||||
for (i = 0; i < 3; i++) {
|
||||
for (j = 0; j < 9; j++) {
|
||||
sim_printf ("%c", display[i][j]);
|
||||
}
|
||||
sim_printf ("\n");
|
||||
sim_printf ("\r\n");
|
||||
}
|
||||
reason = STOP_HALT;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user