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

Fix AltairZ80 compilation with Visual Studio 2008 (#85)

* AltairZ80: SS1: Fix disable after reset.

The CompuPro System Support 1 could not be disabled after enabled and
used due to timers causing it to be busy.  Reset properly so that "set
ss1 disabled" works after reset.

* AltairZ80: wd179x: Properly reset 179x state.

* AltairZ80: M68K: Fix compile with VS2008.

* Musashi: Fix compilation with Visual Studio 2008.

* AltairZ80: M68K: Resolve warnings in softfloat.

* AltairZ80: Add headers to .vcproj
This commit is contained in:
Howard M. Harte
2022-10-24 14:15:51 -07:00
committed by GitHub
parent b52438a675
commit ef6667b05c
6 changed files with 103 additions and 27 deletions

View File

@@ -41,7 +41,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../AltairZ80/;./;../;../slirp;../slirp_glue;../slirp_glue/qemu;../slirp_glue/qemu/win32/include;../../windows-build/include;;../../windows-build/include/SDL2"
PreprocessorDefinitions="NO_INLINE;SIM_BUILD_TOOL=simh-Visual-Studio-Project;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;SIM_NEED_GIT_COMMIT_ID;HAVE_PCRE_H;PCRE_STATIC"
PreprocessorDefinitions="inline=__inline;SIM_BUILD_TOOL=simh-Visual-Studio-Project;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;SIM_NEED_GIT_COMMIT_ID;HAVE_PCRE_H;PCRE_STATIC"
KeepComments="false"
BasicRuntimeChecks="0"
RuntimeLibrary="1"
@@ -125,7 +125,7 @@
OmitFramePointers="true"
WholeProgramOptimization="true"
AdditionalIncludeDirectories="../AltairZ80/;./;../;../slirp;../slirp_glue;../slirp_glue/qemu;../slirp_glue/qemu/win32/include;../../windows-build/include;;../../windows-build/include/SDL2"
PreprocessorDefinitions="NO_INLINE;SIM_BUILD_TOOL=simh-Visual-Studio-Project;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;SIM_NEED_GIT_COMMIT_ID;HAVE_PCRE_H;PCRE_STATIC"
PreprocessorDefinitions="inline=__inline;SIM_BUILD_TOOL=simh-Visual-Studio-Project;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;SIM_NEED_GIT_COMMIT_ID;HAVE_PCRE_H;PCRE_STATIC"
StringPooling="true"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
@@ -279,10 +279,6 @@
RelativePath="..\AltairZ80\m68k\m68kops.c"
>
</File>
<File
RelativePath="..\AltairZ80\m68k\softfloat\softfloat.c"
>
</File>
<File
RelativePath="..\AltairZ80\m68ksim.c"
>
@@ -336,11 +332,11 @@
>
</File>
<File
RelativePath="..\AltairZ80\s100_if3.c"
RelativePath="..\AltairZ80\s100_icom.c"
>
</File>
<File
RelativePath="..\AltairZ80\s100_icom.c"
RelativePath="..\AltairZ80\s100_if3.c"
>
</File>
<File
@@ -427,6 +423,10 @@
RelativePath="..\sim_video.c"
>
</File>
<File
RelativePath="..\AltairZ80\m68k\softfloat\softfloat.c"
>
</File>
<File
RelativePath="..\AltairZ80\vfdhd.c"
>
@@ -444,6 +444,58 @@
RelativePath="..\AltairZ80\altairz80_defs.h"
>
</File>
<File
RelativePath="..\AltairZ80\i8272.h"
>
</File>
<File
RelativePath="..\AltairZ80\i86.h"
>
</File>
<File
RelativePath="..\AltairZ80\insns.h"
>
</File>
<File
RelativePath="..\AltairZ80\m68k\m68k.h"
>
</File>
<File
RelativePath="..\AltairZ80\m68k\m68kconf.h"
>
</File>
<File
RelativePath="..\AltairZ80\m68k\m68kcpu.h"
>
</File>
<File
RelativePath="..\AltairZ80\m68k\m68kmmu.h"
>
</File>
<File
RelativePath="..\AltairZ80\m68k\m68kops.h"
>
</File>
<File
RelativePath="..\AltairZ80\m68ksim.h"
>
</File>
<File
RelativePath="..\AltairZ80\m68k\softfloat\mamesf.h"
>
</File>
<File
RelativePath="..\AltairZ80\mfdc.h"
>
</File>
<File
RelativePath="..\AltairZ80\m68k\softfloat\milieu.h"
>
</File>
<File
RelativePath="..\AltairZ80\nasm.h"
>
</File>
<File
RelativePath="..\scp.h"
>
@@ -500,6 +552,18 @@
RelativePath="..\sim_video.h"
>
</File>
<File
RelativePath="..\AltairZ80\m68k\softfloat\softfloat.h"
>
</File>
<File
RelativePath="..\AltairZ80\vfdhd.h"
>
</File>
<File
RelativePath="..\AltairZ80\wd179x.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"