1
0
mirror of https://github.com/simh/simh.git synced 2026-02-03 23:23:55 +00:00

VAX, MicroVAX2: Add display of ROM and NVR address ranges

This commit is contained in:
Mark Pizzolato
2017-12-18 05:10:27 -08:00
parent 51700bc139
commit bdddcb4004
4 changed files with 25 additions and 2 deletions

View File

@@ -206,6 +206,7 @@ REG rom_reg[] = {
};
MTAB rom_mod[] = {
{ MTAB_XTD|MTAB_VDV, 0, "ADDRESS", NULL, NULL, &show_mapped_addr, (void *)ROMBASE, "Display base address" },
{ UNIT_NODELAY, UNIT_NODELAY, "fast access", "NODELAY", NULL, NULL, NULL, "Disable calibrated ROM access speed" },
{ UNIT_NODELAY, 0, "1usec calibrated access", "DELAY", NULL, NULL, NULL, "Enable calibrated ROM access speed" },
{ 0 }
@@ -234,8 +235,13 @@ REG nvr_reg[] = {
{ NULL }
};
MTAB nvr_mod[] = {
{ MTAB_XTD|MTAB_VDV, 0, "ADDRESS", NULL, NULL, &show_mapped_addr, (void *)NVRBASE, "Display base address" },
{ 0 }
};
DEVICE nvr_dev = {
"NVR", &nvr_unit, nvr_reg, NULL,
"NVR", &nvr_unit, nvr_reg, nvr_mod,
1, 16, NVRAWIDTH, 4, 16, 32,
&nvr_ex, &nvr_dep, &nvr_reset,
NULL, &nvr_attach, &nvr_detach,

View File

@@ -337,6 +337,7 @@ REG rom_reg[] = {
};
MTAB rom_mod[] = {
{ MTAB_XTD|MTAB_VDV, 0, "ADDRESS", NULL, NULL, &show_mapped_addr, (void *)ROMBASE, "Display base address" },
{ UNIT_NODELAY, UNIT_NODELAY, "fast access", "NODELAY", NULL, NULL, NULL, "Disable calibrated delay - ROM runs like RAM" },
{ UNIT_NODELAY, 0, "1usec calibrated access", "DELAY", NULL, NULL, NULL, "Enable calibrated ROM delay - ROM runs slowly" },
{ 0 }
@@ -365,8 +366,13 @@ REG nvr_reg[] = {
{ NULL }
};
MTAB nvr_mod[] = {
{ MTAB_XTD|MTAB_VDV, 0, "ADDRESS", NULL, NULL, &show_mapped_addr, (void *)NVRBASE, "Display base address" },
{ 0 }
};
DEVICE nvr_dev = {
"NVR", &nvr_unit, nvr_reg, NULL,
"NVR", &nvr_unit, nvr_reg, nvr_mod,
1, 16, NVRAWIDTH, 4, 16, 32,
&nvr_ex, &nvr_dep, &nvr_reset,
NULL, &nvr_attach, &nvr_detach,