mirror of
https://github.com/simh/simh.git
synced 2026-01-26 12:02:14 +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 (qbyte & 0x01) display[2][3] = '|' ;
|
||||||
if (rbyte & 0x01) display[2][7] = '|' ;
|
if (rbyte & 0x01) display[2][7] = '|' ;
|
||||||
/* Print display segment array */
|
/* Print display segment array */
|
||||||
sim_printf("\n");
|
sim_printf("\r\n");
|
||||||
for (i = 0; i < 3; i++) {
|
for (i = 0; i < 3; i++) {
|
||||||
for (j = 0; j < 9; j++) {
|
for (j = 0; j < 9; j++) {
|
||||||
sim_printf ("%c", display[i][j]);
|
sim_printf ("%c", display[i][j]);
|
||||||
}
|
}
|
||||||
sim_printf ("\n");
|
sim_printf ("\r\n");
|
||||||
}
|
}
|
||||||
reason = STOP_HALT;
|
reason = STOP_HALT;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user