mirror of
https://github.com/open-simh/simh.git
synced 2026-02-26 17:03:56 +00:00
ECLIPSE: Fix build to define USE_INT64
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* nova_defs.h: NOVA/Eclipse simulator definitions
|
||||
|
||||
Copyright (c) 1993-2012, Robert M. Supnik
|
||||
Copyright (c) 1993-2020, Robert M. Supnik
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
@@ -23,6 +23,7 @@
|
||||
used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from Robert M Supnik.
|
||||
|
||||
05-Mar-20 RMS Fixed USE_INT64 test for Eclipse (Mark Pizzolato)
|
||||
25-Mar-12 RMS Added missing parameters to prototypes (Mark Pizzolato)
|
||||
22-May-10 RMS Added check for 64b definitions
|
||||
04-Jul-07 BKR BUSY/DONE/INTR "convenience" macros added,
|
||||
@@ -51,7 +52,7 @@
|
||||
|
||||
#include "sim_defs.h" /* simulator defns */
|
||||
|
||||
#if defined(USE_INT64) || defined(USE_ADDR64)
|
||||
#if (defined(USE_INT64) && !defined(ECLIPSE)) || defined(USE_ADDR64)
|
||||
#error "Nova does not support 64b values!"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../;../NOVA/"
|
||||
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS"
|
||||
PreprocessorDefinitions="ECLIPSE;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="1"
|
||||
@@ -118,7 +118,7 @@
|
||||
InlineFunctionExpansion="1"
|
||||
OmitFramePointers="true"
|
||||
AdditionalIncludeDirectories="../;../NOVA/"
|
||||
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS"
|
||||
PreprocessorDefinitions="ECLIPSE;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
|
||||
2
makefile
2
makefile
@@ -595,7 +595,7 @@ ECLIPSE = ${NOVAD}/eclipse_cpu.c ${NOVAD}/eclipse_tt.c ${NOVAD}/nova_sys.c \
|
||||
${NOVAD}/nova_dkp.c ${NOVAD}/nova_dsk.c ${NOVAD}/nova_lp.c \
|
||||
${NOVAD}/nova_mta.c ${NOVAD}/nova_plt.c ${NOVAD}/nova_pt.c \
|
||||
${NOVAD}/nova_clk.c ${NOVAD}/nova_tt1.c ${NOVAD}/nova_qty.c
|
||||
ECLIPSE_OPT = -I ${NOVAD} -DECLIPSE
|
||||
ECLIPSE_OPT = -I ${NOVAD} -DECLIPSE -DUSE_INT64
|
||||
|
||||
|
||||
PDP18BD = PDP18B
|
||||
|
||||
Reference in New Issue
Block a user