VAX: Add VCB01(QVSS) device to MicroVAX 3900 simulator
This commit is contained in:
parent
e0b69fa275
commit
e00438b051
7 changed files with 109 additions and 19 deletions
13
VAX/vax_io.c
13
VAX/vax_io.c
|
@ -118,6 +118,9 @@ extern int32 PSL, SISR, trpirq, mem_err, crd_err, hlt_pin;
|
||||||
extern int32 p1;
|
extern int32 p1;
|
||||||
extern int32 ssc_bto;
|
extern int32 ssc_bto;
|
||||||
extern jmp_buf save_env;
|
extern jmp_buf save_env;
|
||||||
|
extern int32 vc_mem_rd (int32 pa);
|
||||||
|
extern void vc_mem_wr (int32 pa, int32 val, int32 lnt);
|
||||||
|
extern uint32 *vc_buf;
|
||||||
|
|
||||||
t_stat dbl_rd (int32 *data, int32 addr, int32 access);
|
t_stat dbl_rd (int32 *data, int32 addr, int32 access);
|
||||||
t_stat dbl_wr (int32 data, int32 addr, int32 access);
|
t_stat dbl_wr (int32 data, int32 addr, int32 access);
|
||||||
|
@ -583,6 +586,7 @@ return;
|
||||||
May give master or slave error, depending on where the failure occurs
|
May give master or slave error, depending on where the failure occurs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
int32 cqmem_rd (int32 pa)
|
int32 cqmem_rd (int32 pa)
|
||||||
{
|
{
|
||||||
int32 qa = pa & CQMAMASK; /* Qbus addr */
|
int32 qa = pa & CQMAMASK; /* Qbus addr */
|
||||||
|
@ -590,6 +594,8 @@ uint32 ma;
|
||||||
|
|
||||||
if (qba_map_addr (qa, &ma)) /* map addr */
|
if (qba_map_addr (qa, &ma)) /* map addr */
|
||||||
return M[ma >> 2];
|
return M[ma >> 2];
|
||||||
|
if (ADDR_IS_QVM(pa) && vc_buf) /* QVSS memory? */
|
||||||
|
return vc_mem_rd (pa);
|
||||||
MACH_CHECK (MCHK_READ); /* err? mcheck */
|
MACH_CHECK (MCHK_READ); /* err? mcheck */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -608,7 +614,12 @@ if (qba_map_addr (qa, &ma)) { /* map addr */
|
||||||
}
|
}
|
||||||
M[ma >> 2] = val;
|
M[ma >> 2] = val;
|
||||||
}
|
}
|
||||||
else mem_err = 1;
|
else {
|
||||||
|
if (ADDR_IS_QVM(pa) && vc_buf) /* QVSS Memory */
|
||||||
|
vc_mem_wr (pa, val, lnt);
|
||||||
|
else
|
||||||
|
mem_err = 1;
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -207,6 +207,7 @@ extern jmp_buf save_env;
|
||||||
extern int32 p1;
|
extern int32 p1;
|
||||||
extern int32 MSER;
|
extern int32 MSER;
|
||||||
extern int32 tmr_poll;
|
extern int32 tmr_poll;
|
||||||
|
extern DEVICE vc_dev, lk_dev, vs_dev;
|
||||||
|
|
||||||
uint32 *rom = NULL; /* boot ROM */
|
uint32 *rom = NULL; /* boot ROM */
|
||||||
uint32 *nvr = NULL; /* non-volatile mem */
|
uint32 *nvr = NULL; /* non-volatile mem */
|
||||||
|
@ -1814,12 +1815,37 @@ return "system devices";
|
||||||
|
|
||||||
t_stat cpu_set_model (UNIT *uptr, int32 val, char *cptr, void *desc)
|
t_stat cpu_set_model (UNIT *uptr, int32 val, char *cptr, void *desc)
|
||||||
{
|
{
|
||||||
|
char gbuf[CBUFSIZE];
|
||||||
|
|
||||||
if ((cptr == NULL) || (!*cptr))
|
if ((cptr == NULL) || (!*cptr))
|
||||||
return SCPE_ARG;
|
return SCPE_ARG;
|
||||||
if (MATCH_CMD(cptr, "VAXSERVER") == 0)
|
cptr = get_glyph (cptr, gbuf, 0);
|
||||||
|
if (MATCH_CMD(cptr, "VAXSERVER") == 0) {
|
||||||
sys_model = 0;
|
sys_model = 0;
|
||||||
else if (MATCH_CMD(cptr, "MICROVAX") == 0)
|
strcpy (sim_name, "VAXServer 3900 (KA655)");
|
||||||
|
}
|
||||||
|
else if (MATCH_CMD(gbuf, "MICROVAX") == 0) {
|
||||||
sys_model = 1;
|
sys_model = 1;
|
||||||
|
strcpy (sim_name, "MicroVAX 3900 (KA655)");
|
||||||
|
#if defined(USE_SIM_VIDEO) && defined(HAVE_LIBSDL)
|
||||||
|
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 */
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
else if (MATCH_CMD(gbuf, "VAXSTATION") == 0) {
|
||||||
|
#if defined(USE_SIM_VIDEO) && defined(HAVE_LIBSDL)
|
||||||
|
strcpy (sim_name, "VAXStation 3900 (KA655)");
|
||||||
|
sys_model = 1;
|
||||||
|
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 */
|
||||||
|
#else
|
||||||
|
return SCPE_ARG;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
else
|
else
|
||||||
return SCPE_ARG;
|
return SCPE_ARG;
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
#include "vax_defs.h"
|
#include "vax_defs.h"
|
||||||
|
|
||||||
char sim_name[] = "MicroVAX 3900";
|
char sim_name[64] = "MicroVAX 3900";
|
||||||
|
|
||||||
extern DEVICE cpu_dev;
|
extern DEVICE cpu_dev;
|
||||||
extern DEVICE tlb_dev;
|
extern DEVICE tlb_dev;
|
||||||
|
@ -50,6 +50,9 @@ extern DEVICE dz_dev;
|
||||||
extern DEVICE csi_dev, cso_dev;
|
extern DEVICE csi_dev, cso_dev;
|
||||||
extern DEVICE xq_dev, xqb_dev;
|
extern DEVICE xq_dev, xqb_dev;
|
||||||
extern DEVICE vh_dev;
|
extern DEVICE vh_dev;
|
||||||
|
extern DEVICE vc_dev;
|
||||||
|
extern DEVICE lk_dev;
|
||||||
|
extern DEVICE vs_dev;
|
||||||
|
|
||||||
extern void WriteB (uint32 pa, int32 val);
|
extern void WriteB (uint32 pa, int32 val);
|
||||||
extern void rom_wr_B (int32 pa, int32 val);
|
extern void rom_wr_B (int32 pa, int32 val);
|
||||||
|
@ -71,6 +74,11 @@ DEVICE *sim_devices[] = {
|
||||||
&vh_dev,
|
&vh_dev,
|
||||||
&cr_dev,
|
&cr_dev,
|
||||||
&lpt_dev,
|
&lpt_dev,
|
||||||
|
#if defined(USE_SIM_VIDEO) && defined(HAVE_LIBSDL)
|
||||||
|
&lk_dev,
|
||||||
|
&vs_dev,
|
||||||
|
&vc_dev,
|
||||||
|
#endif
|
||||||
&rl_dev,
|
&rl_dev,
|
||||||
&rq_dev,
|
&rq_dev,
|
||||||
&rqb_dev,
|
&rqb_dev,
|
||||||
|
|
|
@ -220,6 +220,17 @@ extern t_stat cpu_show_memory (FILE* st, UNIT* uptr, int32 val, void* desc);
|
||||||
#define CQMSIZE (1u << CQMAWIDTH) /* Qmem length */
|
#define CQMSIZE (1u << CQMAWIDTH) /* Qmem length */
|
||||||
#define CQMAMASK (CQMSIZE - 1) /* Qmem addr mask */
|
#define CQMAMASK (CQMSIZE - 1) /* Qmem addr mask */
|
||||||
#define CQMBASE 0x30000000 /* Qmem base */
|
#define CQMBASE 0x30000000 /* Qmem base */
|
||||||
|
#define ADDR_IS_CQM(x) ((((uint32) (x)) >= CQMBASE) && \
|
||||||
|
(((uint32) (x)) < (CQMBASE + CQMSIZE)))
|
||||||
|
|
||||||
|
/* QVSS memory space */
|
||||||
|
|
||||||
|
#define QVMAWIDTH 18 /* QVSS mem addr width */
|
||||||
|
#define QVMSIZE (1u << QVMAWIDTH) /* QVSS mem length */
|
||||||
|
#define QVMAMASK (QVMSIZE - 1) /* QVSS mem addr mask */
|
||||||
|
#define QVMBASE (CQMBASE + CQMSIZE - QVMSIZE) /* QVSS mem base - end of Qbus memory space */
|
||||||
|
#define ADDR_IS_QVM(x) ((((uint32) (x)) >= QVMBASE) && \
|
||||||
|
(((uint32) (x)) < (QVMBASE + QVMSIZE)))
|
||||||
|
|
||||||
/* Machine specific reserved operand tests (all NOPs) */
|
/* Machine specific reserved operand tests (all NOPs) */
|
||||||
|
|
||||||
|
@ -330,8 +341,9 @@ typedef struct {
|
||||||
#define INT_V_VHTX 18
|
#define INT_V_VHTX 18
|
||||||
#define INT_V_QDSS 19 /* QDSS */
|
#define INT_V_QDSS 19 /* QDSS */
|
||||||
#define INT_V_CR 20
|
#define INT_V_CR 20
|
||||||
#define INT_V_DMCRX 21 /* DMC11 */
|
#define INT_V_QVSS 21 /* QVSS */
|
||||||
#define INT_V_DMCTX 22
|
#define INT_V_DMCRX 22 /* DMC11 */
|
||||||
|
#define INT_V_DMCTX 23
|
||||||
|
|
||||||
#define INT_CLK (1u << INT_V_CLK)
|
#define INT_CLK (1u << INT_V_CLK)
|
||||||
#define INT_RQ (1u << INT_V_RQ)
|
#define INT_RQ (1u << INT_V_RQ)
|
||||||
|
@ -355,6 +367,7 @@ typedef struct {
|
||||||
#define INT_VHTX (1u << INT_V_VHTX)
|
#define INT_VHTX (1u << INT_V_VHTX)
|
||||||
#define INT_QDSS (1u << INT_V_QDSS)
|
#define INT_QDSS (1u << INT_V_QDSS)
|
||||||
#define INT_CR (1u << INT_V_CR)
|
#define INT_CR (1u << INT_V_CR)
|
||||||
|
#define INT_QVSS (1u << INT_V_QVSS)
|
||||||
#define INT_DMCRX (1u << INT_V_DMCRX)
|
#define INT_DMCRX (1u << INT_V_DMCRX)
|
||||||
#define INT_DMCTX (1u << INT_V_DMCTX)
|
#define INT_DMCTX (1u << INT_V_DMCTX)
|
||||||
|
|
||||||
|
@ -380,6 +393,7 @@ typedef struct {
|
||||||
#define IPL_VHTX (0x14 - IPL_HMIN)
|
#define IPL_VHTX (0x14 - IPL_HMIN)
|
||||||
#define IPL_QDSS (0x14 - IPL_HMIN)
|
#define IPL_QDSS (0x14 - IPL_HMIN)
|
||||||
#define IPL_CR (0x14 - IPL_HMIN)
|
#define IPL_CR (0x14 - IPL_HMIN)
|
||||||
|
#define IPL_QVSS (0x14 - IPL_HMIN)
|
||||||
#define IPL_DMCRX (0x14 - IPL_HMIN)
|
#define IPL_DMCRX (0x14 - IPL_HMIN)
|
||||||
#define IPL_DMCTX (0x14 - IPL_HMIN)
|
#define IPL_DMCTX (0x14 - IPL_HMIN)
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
Description="Build Dependent ROM include File(s) & Check for required build dependencies & git commit id"
|
Description="Build Dependent ROM include File(s) & Check for required build dependencies & git commit id"
|
||||||
CommandLine="Pre-Build-Event.cmd LIBPCRE ROM BUILD LIBPCRE"
|
CommandLine="Pre-Build-Event.cmd LIBPCRE ROM BUILD LIBSDL"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
|
@ -41,8 +41,8 @@
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="./;../;../VAX/;../pdp11/;"../../windows-build/winpcap/Wpdpack/Include";"../../windows-build/PCRE/include/";"../../windows-build/pthreads";"../../windows-build/PCRE/include""
|
AdditionalIncludeDirectories="./;../;../VAX/;../pdp11/;"../../windows-build/winpcap/Wpdpack/Include";"../../windows-build/PCRE/include/";"../../windows-build/pthreads";"../../windows-build/libSDL/SDL2-2.0.3/include";"../../windows-build/PCRE/include""
|
||||||
PreprocessorDefinitions="USE_INT64;USE_ADDR64;VM_VAX;USE_SHARED;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;PTW32_STATIC_LIB;USE_READER_THREAD;SIM_ASYNCH_IO;SIM_NEED_GIT_COMMIT_ID;HAVE_PCREPOSIX_H;PCRE_STATIC;HAVE_PCREPOSIX_H;PCRE_STATIC"
|
PreprocessorDefinitions="USE_INT64;USE_ADDR64;VM_VAX;USE_SHARED;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;PTW32_STATIC_LIB;USE_READER_THREAD;USE_SIM_VIDEO;HAVE_LIBSDL;SIM_ASYNCH_IO;SIM_NEED_GIT_COMMIT_ID;HAVE_PCREPOSIX_H;PCRE_STATIC"
|
||||||
KeepComments="false"
|
KeepComments="false"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="0"
|
BasicRuntimeChecks="0"
|
||||||
|
@ -65,9 +65,9 @@
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalOptions="/fixed:no"
|
AdditionalOptions="/fixed:no"
|
||||||
AdditionalDependencies="wsock32.lib winmm.lib pcrestaticd.lib pcreposixstaticd.lib "
|
AdditionalDependencies="wsock32.lib winmm.lib SDL2-StaticD.lib dxguid.lib Imm32.lib Version.lib pcrestaticd.lib pcreposixstaticd.lib"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
AdditionalLibraryDirectories=""../../windows-build/winpcap/Wpdpack/Lib/";"../../windows-build/PCRE/lib/""
|
AdditionalLibraryDirectories=""../../windows-build/winpcap/Wpdpack/Lib/";"../../windows-build/libSDL/SDL2-2.0.3/lib/";"../../windows-build/libSDL/Microsoft DirectX SDK (June 2010)\Lib\x86";"../../windows-build/PCRE/lib/""
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
StackReserveSize="10485760"
|
StackReserveSize="10485760"
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
Description="Build Dependent ROM include File(s) & Check for required build dependencies & git commit id"
|
Description="Build Dependent ROM include File(s) & Check for required build dependencies & git commit id"
|
||||||
CommandLine="Pre-Build-Event.cmd LIBPCRE ROM BUILD LIBPCRE"
|
CommandLine="Pre-Build-Event.cmd LIBPCRE ROM BUILD LIBSDL"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
|
@ -130,8 +130,8 @@
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
WholeProgramOptimization="true"
|
WholeProgramOptimization="true"
|
||||||
AdditionalIncludeDirectories="./;../;../VAX/;../pdp11/;"../../windows-build/winpcap/Wpdpack/Include";"../../windows-build/PCRE/include/";"../../windows-build/pthreads";"../../windows-build/PCRE/include""
|
AdditionalIncludeDirectories="./;../;../VAX/;../pdp11/;"../../windows-build/winpcap/Wpdpack/Include";"../../windows-build/PCRE/include/";"../../windows-build/pthreads";"../../windows-build/libSDL/SDL2-2.0.3/include";"../../windows-build/PCRE/include""
|
||||||
PreprocessorDefinitions="USE_INT64;USE_ADDR64;VM_VAX;USE_SHARED;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;PTW32_STATIC_LIB;USE_READER_THREAD;SIM_ASYNCH_IO;SIM_NEED_GIT_COMMIT_ID;HAVE_PCREPOSIX_H;PCRE_STATIC;HAVE_PCREPOSIX_H;PCRE_STATIC"
|
PreprocessorDefinitions="USE_INT64;USE_ADDR64;VM_VAX;USE_SHARED;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;PTW32_STATIC_LIB;USE_READER_THREAD;USE_SIM_VIDEO;HAVE_LIBSDL;SIM_ASYNCH_IO;SIM_NEED_GIT_COMMIT_ID;HAVE_PCREPOSIX_H;PCRE_STATIC"
|
||||||
KeepComments="false"
|
KeepComments="false"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
|
@ -154,9 +154,9 @@
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalOptions="/fixed:no"
|
AdditionalOptions="/fixed:no"
|
||||||
AdditionalDependencies="wsock32.lib winmm.lib pcreposixstatic.lib pcrestatic.lib"
|
AdditionalDependencies="wsock32.lib winmm.lib SDL2-Static.lib dxguid.lib Imm32.lib Version.lib pcreposixstatic.lib pcrestatic.lib"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
AdditionalLibraryDirectories=""../../windows-build/winpcap/Wpdpack/Lib/";"../../windows-build/PCRE/lib/""
|
AdditionalLibraryDirectories=""../../windows-build/winpcap/Wpdpack/Lib/";"../../windows-build/libSDL/SDL2-2.0.3/lib/";"../../windows-build/libSDL/Microsoft DirectX SDK (June 2010)\Lib\x86";"../../windows-build/PCRE/lib/""
|
||||||
GenerateDebugInformation="false"
|
GenerateDebugInformation="false"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
StackReserveSize="10485760"
|
StackReserveSize="10485760"
|
||||||
|
@ -300,6 +300,14 @@
|
||||||
RelativePath="..\sim_tmxr.c"
|
RelativePath="..\sim_tmxr.c"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\sim_video.c"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\VAX\vax_2681.c"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\VAX\vax_cis.c"
|
RelativePath="..\VAX\vax_cis.c"
|
||||||
>
|
>
|
||||||
|
@ -324,6 +332,10 @@
|
||||||
RelativePath="..\VAX\vax_io.c"
|
RelativePath="..\VAX\vax_io.c"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\VAX\vax_lk.c"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\VAX\vax_mmu.c"
|
RelativePath="..\VAX\vax_mmu.c"
|
||||||
>
|
>
|
||||||
|
@ -352,6 +364,14 @@
|
||||||
RelativePath="..\VAX\vax_syslist.c"
|
RelativePath="..\VAX\vax_syslist.c"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\VAX\vax_vc.c"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\VAX\vax_vs.c"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Header Files"
|
Name="Header Files"
|
||||||
|
@ -429,6 +449,14 @@
|
||||||
RelativePath="..\sim_tmxr.h"
|
RelativePath="..\sim_tmxr.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\sim_video.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\VAX\vax_2681.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\VAX\vax_defs.h"
|
RelativePath="..\VAX\vax_defs.h"
|
||||||
>
|
>
|
||||||
|
|
|
@ -645,7 +645,9 @@ VAX_SOURCE2 = $(PDP11_DIR)PDP11_IO_LIB.C,\
|
||||||
$(PDP11_DIR)PDP11_TS.C,$(PDP11_DIR)PDP11_DZ.C,\
|
$(PDP11_DIR)PDP11_TS.C,$(PDP11_DIR)PDP11_DZ.C,\
|
||||||
$(PDP11_DIR)PDP11_LP.C,$(PDP11_DIR)PDP11_TQ.C,\
|
$(PDP11_DIR)PDP11_LP.C,$(PDP11_DIR)PDP11_TQ.C,\
|
||||||
$(PDP11_DIR)PDP11_XQ.C,$(PDP11_DIR)PDP11_VH.C,\
|
$(PDP11_DIR)PDP11_XQ.C,$(PDP11_DIR)PDP11_VH.C,\
|
||||||
$(PDP11_DIR)PDP11_CR.C
|
$(PDP11_DIR)PDP11_CR.C,\
|
||||||
|
$(VAX_DIR)VAX_VC.C,$(VAX_DIR)VAX_LK.C,\
|
||||||
|
$(VAX_DIR)VAX_VS.C,$(VAX_DIR)VAX_2681.C
|
||||||
.IFDEF ALPHA_OR_IA64
|
.IFDEF ALPHA_OR_IA64
|
||||||
VAX_OPTIONS = /INCL=($(SIMH_DIR),$(VAX_DIR),$(PDP11_DIR)$(PCAP_INC))\
|
VAX_OPTIONS = /INCL=($(SIMH_DIR),$(VAX_DIR),$(PDP11_DIR)$(PCAP_INC))\
|
||||||
/DEF=($(CC_DEFS),"VM_VAX=1","USE_ADDR64=1","USE_INT64=1"$(PCAP_DEFS))
|
/DEF=($(CC_DEFS),"VM_VAX=1","USE_ADDR64=1","USE_INT64=1"$(PCAP_DEFS))
|
||||||
|
|
5
makefile
5
makefile
|
@ -60,7 +60,7 @@ endif
|
||||||
BUILD_SINGLE := $(MAKECMDGOALS) $(BLANK_SUFFIX)
|
BUILD_SINGLE := $(MAKECMDGOALS) $(BLANK_SUFFIX)
|
||||||
ifneq (,$(or $(findstring pdp11,$(MAKECMDGOALS)),$(findstring vax,$(MAKECMDGOALS)),$(findstring all,$(MAKECMDGOALS))))
|
ifneq (,$(or $(findstring pdp11,$(MAKECMDGOALS)),$(findstring vax,$(MAKECMDGOALS)),$(findstring all,$(MAKECMDGOALS))))
|
||||||
NETWORK_USEFUL = true
|
NETWORK_USEFUL = true
|
||||||
ifneq (,$(or $(findstring microvax1,$(MAKECMDGOALS)),$(findstring microvax2,$(MAKECMDGOALS))))
|
ifneq (,$(or $(findstring microvax1,$(MAKECMDGOALS)),$(findstring microvax2,$(MAKECMDGOALS)),$(findstring microvax3900,$(MAKECMDGOALS))))
|
||||||
VIDEO_USEFUL = true
|
VIDEO_USEFUL = true
|
||||||
endif
|
endif
|
||||||
ifneq (,$(findstring all,$(MAKECMDGOALS))$(word 2,$(MAKECMDGOALS)))
|
ifneq (,$(findstring all,$(MAKECMDGOALS))$(word 2,$(MAKECMDGOALS)))
|
||||||
|
@ -945,11 +945,12 @@ VAX = ${VAXD}/vax_cpu.c ${VAXD}/vax_cpu1.c ${VAXD}/vax_fpa.c ${VAXD}/vax_io.c \
|
||||||
${VAXD}/vax_cis.c ${VAXD}/vax_octa.c ${VAXD}/vax_cmode.c \
|
${VAXD}/vax_cis.c ${VAXD}/vax_octa.c ${VAXD}/vax_cmode.c \
|
||||||
${VAXD}/vax_mmu.c ${VAXD}/vax_stddev.c ${VAXD}/vax_sysdev.c \
|
${VAXD}/vax_mmu.c ${VAXD}/vax_stddev.c ${VAXD}/vax_sysdev.c \
|
||||||
${VAXD}/vax_sys.c ${VAXD}/vax_syscm.c ${VAXD}/vax_syslist.c \
|
${VAXD}/vax_sys.c ${VAXD}/vax_syscm.c ${VAXD}/vax_syslist.c \
|
||||||
|
${VAXD}/vax_vc.c ${VAXD}/vax_lk.c ${VAXD}/vax_vs.c ${VAXD}/vax_2681.c \
|
||||||
${PDP11D}/pdp11_rl.c ${PDP11D}/pdp11_rq.c ${PDP11D}/pdp11_ts.c \
|
${PDP11D}/pdp11_rl.c ${PDP11D}/pdp11_rq.c ${PDP11D}/pdp11_ts.c \
|
||||||
${PDP11D}/pdp11_dz.c ${PDP11D}/pdp11_lp.c ${PDP11D}/pdp11_tq.c \
|
${PDP11D}/pdp11_dz.c ${PDP11D}/pdp11_lp.c ${PDP11D}/pdp11_tq.c \
|
||||||
${PDP11D}/pdp11_xq.c ${PDP11D}/pdp11_vh.c ${PDP11D}/pdp11_cr.c \
|
${PDP11D}/pdp11_xq.c ${PDP11D}/pdp11_vh.c ${PDP11D}/pdp11_cr.c \
|
||||||
${PDP11D}/pdp11_io_lib.c
|
${PDP11D}/pdp11_io_lib.c
|
||||||
VAX_OPT = -DVM_VAX -DUSE_INT64 -DUSE_ADDR64 -I ${VAXD} -I ${PDP11D} ${NETWORK_OPT}
|
VAX_OPT = -DVM_VAX -DUSE_INT64 -DUSE_ADDR64 -DUSE_SIM_VIDEO -I ${VAXD} -I ${PDP11D} ${NETWORK_OPT} ${VIDEO_CCDEFS} ${VIDEO_LDFLAGS}
|
||||||
|
|
||||||
|
|
||||||
VAX610 = ${VAXD}/vax_cpu.c ${VAXD}/vax_cpu1.c ${VAXD}/vax_fpa.c \
|
VAX610 = ${VAXD}/vax_cpu.c ${VAXD}/vax_cpu1.c ${VAXD}/vax_fpa.c \
|
||||||
|
|
Loading…
Add table
Reference in a new issue