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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user