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

All VAXen: Do a powerup reset when changing CPU model

Any change that enables or disables devices should perform a powerup
reset to properly configure bus address/vector activity.
This commit is contained in:
Mark Pizzolato
2022-07-15 09:08:42 -10:00
parent 5a07375342
commit 4bf39c63ea
7 changed files with 21 additions and 21 deletions

View File

@@ -1834,7 +1834,7 @@ else if (MATCH_CMD(gbuf, "MICROVAX") == 0) {
vc_dev.flags = vc_dev.flags | DEV_DIS; /* disable QVSS */
lk_dev.flags = lk_dev.flags | DEV_DIS; /* disable keyboard */
vs_dev.flags = vs_dev.flags | DEV_DIS; /* disable mouse */
reset_all (0); /* reset everything */
reset_all_p (0); /* powerup reset everything */
#endif
}
else if (MATCH_CMD(gbuf, "VAXSTATION") == 0) {
@@ -1844,7 +1844,7 @@ else if (MATCH_CMD(gbuf, "VAXSTATION") == 0) {
vc_dev.flags = vc_dev.flags & ~DEV_DIS; /* enable QVSS */
lk_dev.flags = lk_dev.flags & ~DEV_DIS; /* enable keyboard */
vs_dev.flags = vs_dev.flags & ~DEV_DIS; /* enable mouse */
reset_all (0); /* reset everything */
reset_all_p (0); /* powerup reset everything */
#else
return sim_messagef(SCPE_ARG, "Simulator built without Graphic Device Support\n");
#endif