1
0
mirror of https://github.com/open-simh/simh.git synced 2026-05-01 22:16:21 +00:00

PDP11, PDP10, VAX780: CR11 is BR6, CD11 is BR4

This commit is contained in:
Bob Supnik
2017-03-07 09:05:59 -08:00
committed by Mark Pizzolato
parent d7a98da256
commit ae3179e2fe
7 changed files with 115 additions and 46 deletions

View File

@@ -1,6 +1,6 @@
/* pdp11_io_lib.c: Unibus/Qbus common support routines
Copyright (c) 1993-2008, Robert M Supnik
Copyright (c) 1993-2017, Robert M Supnik
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
@@ -190,7 +190,7 @@ t_stat show_vec (FILE *st, UNIT *uptr, int32 arg, void *desc)
{
DEVICE *dptr;
DIB *dibp;
uint32 vec, numvec, radix = DEV_RDX;
uint32 vec, numvec, br_lvl, radix = DEV_RDX;
if (uptr == NULL)
return SCPE_IERR;
@@ -228,6 +228,10 @@ else {
}
}
}
br_lvl = dibp->vloc / 32;
if (br_lvl < 4) /* VAXen do 0-3, others 4-7 */
br_lvl = br_lvl + 4;
fprintf (st, ", BR%d", br_lvl);
return SCPE_OK;
}