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

3b2: Refactoring in preparation for Rev 3

Refactor in preparation for the addition of a Rev 3 simulator for the
3B2/1000 system.

This change also includes a full cleanup of the rat's-nest of includes
and externs that plagued the 3B2 simulator and made it difficult to
understand and maintain. Headers are now required in the following
order:

  compilation unit -> "3b2_defs.h" -> {... dependencies ...}

Finally, HELP has been added to the CPU device.
This commit is contained in:
Seth Morabito
2020-03-26 13:30:08 -07:00
parent 083080e71d
commit 1a3e5af755
34 changed files with 8865 additions and 664 deletions

View File

@@ -192,7 +192,7 @@
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
>
<File
RelativePath="..\3B2\3b2_cpu.c"
RelativePath="..\3B2\3b2_400_cpu.c"
>
</File>
<File
@@ -220,11 +220,11 @@
>
</File>
<File
RelativePath="..\3B2\3b2_mau.c"
RelativePath="..\3B2\3b2_400_mau.c"
>
</File>
<File
RelativePath="..\3B2\3b2_mmu.c"
RelativePath="..\3B2\3b2_400_mmu.c"
>
</File>
<File
@@ -236,11 +236,11 @@
>
</File>
<File
RelativePath="..\3B2\3b2_sys.c"
RelativePath="..\3B2\3b2_400_sys.c"
>
</File>
<File
RelativePath="..\3B2\3b2_sysdev.c"
RelativePath="..\3B2\3b2_400_stddev.c"
>
</File>
<File
@@ -480,7 +480,7 @@
Filter="h;hpp;hxx;hm;inl;inc"
>
<File
RelativePath="..\3B2\3b2_cpu.h"
RelativePath="..\3B2\3b2_400_cpu.h"
>
</File>
<File
@@ -491,6 +491,10 @@
RelativePath="..\3B2\3b2_defs.h"
>
</File>
<File
RelativePath="..\3B2\3b2_400_defs.h"
>
</File>
<File
RelativePath="..\3B2\3b2_dmac.h"
>
@@ -512,11 +516,11 @@
>
</File>
<File
RelativePath="..\3B2\3b2_mau.h"
RelativePath="..\3B2\3b2_400_mau.h"
>
</File>
<File
RelativePath="..\3B2\3b2_mmu.h"
RelativePath="..\3B2\3b2_400_mmu.h"
>
</File>
<File
@@ -528,11 +532,11 @@
>
</File>
<File
RelativePath="..\3B2\3b2_sys.h"
RelativePath="..\3B2\3b2_400_sys.h"
>
</File>
<File
RelativePath="..\3B2\3b2_sysdev.h"
RelativePath="..\3B2\3b2_400_stddev.h"
>
</File>
<File