1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

alpha, HP2100, ID16, ID32, I7094, PDP11 and VAX: Fix array REG definitions

Array REGister definitions have been made consistent by passing the
name of the array object.  This allows proper sizing assessment
to occur in the register validation logic.

Some previously described array REGister initializers were not really
arrays.  Some were structures and others were merely pointers to
someplace in memory that it was desirable to view as a scalar array.

Structures or other blob data should now use SAVEDATA.  Virtual
arrays intended to be interpret some part of memory as scalar data
now use VBRDATA initializers.
This commit is contained in:
Mark Pizzolato
2020-03-06 16:29:17 -08:00
parent 5a293ac4ff
commit 80d9393b83
13 changed files with 30 additions and 30 deletions

View File

@@ -136,8 +136,8 @@ REG pas_reg[] = {
{ BRDATA (CMD, pas_cmd, 16, 16, PAS_LINES) },
{ BRDATA (RBUF, pas_rbuf, 16, 8, PAS_LINES) },
{ BRDATA (XBUF, pas_xbuf, 16, 8, PAS_LINES) },
{ BRDATA (IREQ, &int_req[l_PAS], 16, 32, PAS_LINES / 16) },
{ BRDATA (IENB, &int_enb[l_PAS], 16, 32, PAS_LINES / 16) },
{ VBRDATA (IREQ, int_req[l_PAS], 16, 32, PAS_LINES / 16) },
{ VBRDATA (IENB, int_enb[l_PAS], 16, 32, PAS_LINES / 16) },
{ BRDATA (RARM, pas_rarm, 16, 1, PAS_LINES) },
{ BRDATA (XARM, pas_xarm, 16, 1, PAS_LINES) },
{ BRDATA (RCHP, pas_rchp, 16, 1, PAS_LINES) },