Commit 88c3d842 authored by Martin Ruckert's avatar Martin Ruckert

adding projects for automatic customization

parent 51f4e522
......@@ -24,6 +24,7 @@
>
<Tool
Name="VCPreBuildEventTool"
Description="build abstime.c"
CommandLine="ctangle mmixware\abstime.w abstime.c"
/>
<Tool
......
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8.00"
Name="customizeide"
ProjectGUID="{97BF3001-ABEA-4190-884A-E846DB460ABE}"
RootNamespace="customizeide"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
Description=""
CommandLine=""
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
WarningLevel="3"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
GenerateDebugInformation="true"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
Description=""
CommandLine=""
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
RuntimeLibrary="2"
WarningLevel="3"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
GenerateDebugInformation="true"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath="..\mmixlib\libconfig.h"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="copying libconfig.ide"
CommandLine="copy $(InputDir)libconfig.ide $(InputDir)libconfig.h"
AdditionalDependencies="$(InputDir)libconfig.ide"
Outputs="$(InputDir)libconfig.h"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="copying libconfig.ide"
CommandLine="copy $(InputDir)libconfig.ide $(InputDir)libconfig.h"
AdditionalDependencies="$(InputDir)libconfig.ide"
Outputs="$(InputDir)libconfig.h"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\mmixlib\libconfig.ide"
>
</File>
<File
RelativePath="..\mmixlib\libimport.h"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="copying libimport.ide"
CommandLine="copy $(InputDir)libimport.ide $(InputDir)libimport.h&#x0D;&#x0A;"
AdditionalDependencies="$(InputDir)libimport.ide"
Outputs="$(InputDir)libimport.h"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="copying libimport.ide"
CommandLine="copy $(InputDir)libimport.ide $(InputDir)libimport.h&#x0D;&#x0A;"
AdditionalDependencies="$(InputDir)libimport.ide"
Outputs="$(InputDir)libimport.h"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\mmixlib\libimport.ide"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8.00"
Name="customizevd"
ProjectGUID="{97BF3001-ABEA-4190-884A-E846DB460ABE}"
RootNamespace="customizevd"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
Description=""
CommandLine=""
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
WarningLevel="3"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
GenerateDebugInformation="true"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
Description=""
CommandLine=""
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
RuntimeLibrary="2"
WarningLevel="3"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
GenerateDebugInformation="true"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath="..\mmixlib\libconfig.h"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="copying libconfig.vd"
CommandLine="copy $(InputDir)libconfig.vd $(InputDir)libconfig.h"
AdditionalDependencies="$(InputDir)libconfig.vd"
Outputs="$(InputDir)libconfig.h"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="copying libconfig.vd"
CommandLine="copy $(InputDir)libconfig.vd $(InputDir)libconfig.h"
AdditionalDependencies="$(InputDir)libconfig.vd"
Outputs="$(InputDir)libconfig.h"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\mmixlib\libconfig.vd"
>
</File>
<File
RelativePath="..\mmixlib\libimport.h"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="copying libimport.vd"
CommandLine="copy $(InputDir)libimport.vd $(InputDir)libimport.h&#x0D;&#x0A;"
AdditionalDependencies="$(InputDir)libimport.vd"
Outputs="$(InputDir)libimport.h"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="copying libimport.vd"
CommandLine="copy $(InputDir)libimport.vd $(InputDir)libimport.h&#x0D;&#x0A;"
AdditionalDependencies="$(InputDir)libimport.vd"
Outputs="$(InputDir)libimport.h"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\mmixlib\libimport.vd"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
......@@ -34,13 +34,12 @@
#define MMIX_DELAY(ms,d) (usleep(1000*(ms)), d=(ms))
#endif
/* define this to check for external asynchronous ineterrupts*/
/* define this to check for external asynchronous interrupts*/
#define MMIX_GET_INTERRUPT get_interrupt(&new_Q)
/* this code is executed when MMIX enters the handler for Ctrl-C */
#define MMIX_CTRL_HANDLER (cancel_wait(), show_operating_system=true)
/* this code defines additional command line options */
#define MMIX_OPTIONS \
case 'B': \
......@@ -60,7 +59,6 @@
} \
return; \
/* if MMIX_BOOT is defined, mmis-sim will boot from addres #8000...0000
otherwise it will resume at Main */
#define MMIX_BOOT
......@@ -71,6 +69,7 @@
#else
#define MMIX_PRINT
#endif
#ifdef MMIX_PRINT
extern int mmix_printf(FILE *f,char *format,...);
extern int mmix_vprintf(char *format, va_list vargs);
......
......@@ -46,6 +46,7 @@
otherwise it will resume at Main */
#undef MMIX_BOOT
/* if MMIX_PRINT is defined the mmixoutput is redirected from stdin or stderr */
#ifdef _MMIXAL_
#undef MMIX_PRINT
#else
......@@ -69,7 +70,7 @@ extern int mmix_fputc(int c, FILE *f);
#undef MMIX_TRAP
/* this is the error display function */
#define MMIX_ERROR(f,m) fprintf(stderr,f,m)
#define MMIX_ERROR(f,m) win32_ferror(__LINE__,f,m)
/* define this if you need the tetra inside the mem_node */
#define MMIX_MEM_TET tetra tet; /* the tetrabyte of simulated memory */
......@@ -87,11 +88,10 @@ extern int mmix_fputc(int c, FILE *f);
#define MMIX_DELETE_DCACHE(w,xx)
#define MMIX_DELETE_ICACHE(w,xx)
#define MMXIAL_LINE_TRUNCATED fprintf(stderr,"(say `-b <number>' to increase the length of my input buffer)\n");
#define MMXIAL_LINE_TRUNCATED win32_message("Use the Menu (Options -> Assembler) to increase the length of my input buffer\r\n");
/* define this to record file line and location associations while assembling */
#define MMIXAL_LINE_LOC(file_no,line_no,cur_loc) add_line_loc(file_no,line_no,cur_loc)
#endif
extern void win32_log(char *msg);
extern void win32_ferror(int line, char *format, char *str);
extern void win32_message(char *msg);
\ No newline at end of file
<
......@@ -24,8 +24,8 @@
>
<Tool
Name="VCPreBuildEventTool"
Description="copy boilerplate include file"
CommandLine="copy $(InputDir)mmixware\boilerplate.w $(InputDir)boilerplate.w"
Description=""
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
......@@ -90,8 +90,8 @@
>
<Tool
Name="VCPreBuildEventTool"
Description="copy boilerplate include file"
CommandLine="copy $(InputDir)mmixware\boilerplate.w $(InputDir)boilerplate.w"
Description=""
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
......@@ -688,10 +688,10 @@
>
<Tool
Name="VCCustomBuildTool"
Description="Copy libconfig.ide to libconfig.h"
CommandLine="copy libconfig.ide libconfig.h&#x0D;&#x0A;"
AdditionalDependencies="libconfig.ide"
Outputs="libconfig.h"
Description=""
CommandLine=""
AdditionalDependencies=""
Outputs=""
/>
</FileConfiguration>
<FileConfiguration
......@@ -699,10 +699,10 @@
>
<Tool
Name="VCCustomBuildTool"
Description="Copy libconfig.ide to libconfig.h"
CommandLine="copy libconfig.ide libconfig.h&#x0D;&#x0A;"
AdditionalDependencies="libconfig.ide"
Outputs="libconfig.h"
Description=""
CommandLine=""
AdditionalDependencies=""
Outputs=""
/>
</FileConfiguration>
</File>
......@@ -718,10 +718,10 @@
>
<Tool
Name="VCCustomBuildTool"
Description="Copy libimport.ide to libimport.h"
CommandLine="copy libimport.ide libimport.h"
AdditionalDependencies="libimport.ide"
Outputs="libimport.h"
Description=""
CommandLine=""
AdditionalDependencies=""
Outputs=""
/>
</FileConfiguration>
<FileConfiguration
......@@ -729,10 +729,10 @@
>
<Tool
Name="VCCustomBuildTool"
Description="Copy libimport.ide to libimport.h"
CommandLine="copy libimport.ide libimport.h"
AdditionalDependencies="libimport.ide"
Outputs="libimport.h"
Description=""
CommandLine=""
AdditionalDependencies=""
Outputs=""
/>
</FileConfiguration>
</File>
......@@ -762,6 +762,32 @@
RelativePath=".\arith-win.ch"
>
</File>
<File
RelativePath=".\boilerplate.w"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Copying include file boilerplate.w"
CommandLine="copy $(InputDir)mmixware\boilerplate.w $(InputDir)boilerplate.w"
AdditionalDependencies="$(InputDir)mmixware\boilerplate.w"
Outputs="$(InputDir)boilerplate.w"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCustomBuildTool"