PDP10, PDP11, Unibus VAX: Indicate when CH11 set parameters haven't been set
This commit is contained in:
parent
f42cf0e0a5
commit
fc33892d24
1 changed files with 5 additions and 2 deletions
|
@ -448,7 +448,7 @@ t_stat ch_reset (DEVICE *dptr)
|
|||
|
||||
t_stat ch_show_peer (FILE* st, UNIT* uptr, int32 val, CONST void* desc)
|
||||
{
|
||||
fprintf (st, "peer=%s", peer);
|
||||
fprintf (st, "peer=%s", peer[0] ? peer : "unspecified");
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
|
@ -471,7 +471,10 @@ t_stat ch_set_peer (UNIT* uptr, int32 val, CONST char* cptr, void* desc)
|
|||
|
||||
t_stat ch_show_node (FILE* st, UNIT* uptr, int32 val, CONST void* desc)
|
||||
{
|
||||
fprintf (st, "node=%o", address);
|
||||
if (address == -1)
|
||||
fprintf (st, "node=unspecified");
|
||||
else
|
||||
fprintf (st, "node=%o", address);
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue