1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 12:02:14 +00:00

SCP, HP2100, HP3000, I650: Move one time initialization activities to cpu_reset

The paradigm of using a "weak" linker reference to find what was
previously the vm_init_routine() doesn't work reliably on all compile
environments supported by the simulators.  This has been reported
in #794 and it came up again in #862.  This change assures that
it will not come up again AND it reliably solves the problem with
Visual Studio compilers (and linker) that randomly chooses whether
to have the desired effect or not.

Of the 82 simulators which are currently part of simh, only these
three used the sim_vm_init() interface, so removing it had relatively
minor impact.
This commit is contained in:
Mark Pizzolato
2020-05-26 06:25:01 -07:00
parent 6b5d3d0c7e
commit f519513f50
13 changed files with 62 additions and 38 deletions

Binary file not shown.