1
0
mirror of https://github.com/simh/simh.git synced 2026-01-27 20:37:50 +00:00

SIMH: Fix spelling errors in comments and strings

This commit is contained in:
Peter Schorn
2024-07-16 12:04:53 -10:00
committed by Mark Pizzolato
parent 32d6b09c8e
commit c7df248f09
32 changed files with 2021 additions and 2021 deletions

154
makefile
View File

@@ -19,21 +19,21 @@
# In general, the logic below will detect and build with the available
# features which the host build environment provides.
#
# Dynamic loading of libpcap is the preferred default behavior if pcap.h
# Dynamic loading of libpcap is the preferred default behavior if pcap.h
# is available at build time. Support to statically linking against libpcap
# is deprecated and may be removed in the future. Static linking against
# libpcap can be enabled if GNU make is invoked with USE_NETWORK=1 on the
# is deprecated and may be removed in the future. Static linking against
# libpcap can be enabled if GNU make is invoked with USE_NETWORK=1 on the
# command line.
#
# Some platforms may not have vendor supplied libpcap available. HP-UX is
# Some platforms may not have vendor supplied libpcap available. HP-UX is
# one such example. The packages which are available for this platform
# install include files and libraries in user specified directories. In
# order for this makefile to locate where these components may have been
# installed, gmake should be invoked with LPATH=/usr/lib:/usr/local/lib
# install include files and libraries in user specified directories. In
# order for this makefile to locate where these components may have been
# installed, gmake should be invoked with LPATH=/usr/lib:/usr/local/lib
# defined (adjusted as needed depending on where they may be installed).
#
# In the unlikely event that someone wants to build network capable
# simulators without networking support, invoking GNU make with
# In the unlikely event that someone wants to build network capable
# simulators without networking support, invoking GNU make with
# NONETWORK=1 on the command line will do the trick.
#
# By default, video support is enabled if the SDL2 development
@@ -44,69 +44,69 @@
# If debugging is desired, then GNU make can be invoked with
# DEBUG=1 on the command line.
#
# When building compiler optimized binaries with the gcc or clang
# compilers, invoking GNU make with LTO=1 on the command line will
# cause the build to use Link Time Optimization to maximally optimize
# the results. Link Time Optimization can report errors which aren't
# otherwise detected and will also take significantly longer to
# When building compiler optimized binaries with the gcc or clang
# compilers, invoking GNU make with LTO=1 on the command line will
# cause the build to use Link Time Optimization to maximally optimize
# the results. Link Time Optimization can report errors which aren't
# otherwise detected and will also take significantly longer to
# complete. Additionally, non debug builds default to build with an
# optimization level of -O2. This optimization level can be changed
# by invoking GNU make with OPTIMIZE=-O3 (or whatever optimize value
# optimization level of -O2. This optimization level can be changed
# by invoking GNU make with OPTIMIZE=-O3 (or whatever optimize value
# you want) on the command line if desired.
#
# The default setup will fail simulator build(s) if the compile
# produces any warnings. These should be cleaned up before new
# or changed code is accepted into the code base. This option
# The default setup will fail simulator build(s) if the compile
# produces any warnings. These should be cleaned up before new
# or changed code is accepted into the code base. This option
# can be overridden if GNU make is invoked with WARNINGS=ALLOWED
# on the command line.
#
# The default build will run per simulator tests if they are
# available. If building without running tests is desired,
# then GNU make should be invoked with TESTS=0 on the command
# The default build will run per simulator tests if they are
# available. If building without running tests is desired,
# then GNU make should be invoked with TESTS=0 on the command
# line.
#
# The default build will compile all input source files with a
# single compile and link operation. This is most optimal when
# building all simulators or just a single simulator which you
# merely plan to run. If you're developing new code for a
# building all simulators or just a single simulator which you
# merely plan to run. If you're developing new code for a
# simulator, it is more efficient to compile each source module
# into it's own object and then to link all the objects into the
# simulator binary. This allows only the changed modules to be
# simulator binary. This allows only the changed modules to be
# compiled instead of all of the input files resulting in much
# quicker builds during active simulator development. GNU make
# can be invoked with BUILD_SEPARATE=1 on the command line (or
# defined as an exported environment variable) and separate
# quicker builds during active simulator development. GNU make
# can be invoked with BUILD_SEPARATE=1 on the command line (or
# defined as an exported environment variable) and separate
# objects will be built and linked into the resulting simulator.
#
# The default make output will show the details of each compile
# The default make output will show the details of each compile
# and link command executed. GNU make can be invoked with QUIET=1
# on the command line (or defined as an exported environment
# on the command line (or defined as an exported environment
# variable) a summary of the executed command will be displayed
# in the make output.
#
# Default test execution will produce summary output. Detailed
# test output can be produced if GNU make is invoked with
# test output can be produced if GNU make is invoked with
# TEST_ARG=-v on the command line.
#
# simh project support is provided for simulators that are built with
# dependent packages provided with the or by the operating system
# distribution OR for platforms where that isn't directly available
# (OS X/macOS) by packages from specific package management systems
# (HomeBrew or MacPorts). Users wanting to build simulators with locally
# built dependent packages or packages provided by an unsupported package
# management system may be able to override where this procedure looks
# for include files and/or libraries. Overrides can be specified by define
# exported environment variables or GNU make command line arguments which
# specify INCLUDES and/or LIBRARIES.
# simh project support is provided for simulators that are built with
# dependent packages provided with the or by the operating system
# distribution OR for platforms where that isn't directly available
# (OS X/macOS) by packages from specific package management systems
# (HomeBrew or MacPorts). Users wanting to build simulators with locally
# built dependent packages or packages provided by an unsupported package
# management system may be able to override where this procedure looks
# for include files and/or libraries. Overrides can be specified by define
# exported environment variables or GNU make command line arguments which
# specify INCLUDES and/or LIBRARIES.
# Each of these, if specified, must be the complete list include directories
# or library directories that should be used with each element separated by
# or library directories that should be used with each element separated by
# colons. (i.e. INCLUDES=/usr/include/:/usr/local/include/:...)
# If this doesn't work for you and/or you're interested in using a different
# If this doesn't work for you and/or you're interested in using a different
# ToolChain, you're free to solve this problem on your own. Good Luck.
#
# Some environments may have the LLVM (clang) compiler installed as
# an alternate to gcc. If you want to specifically build with the
# clang compiler, you should invoke make with GCC=clang on the make command
# an alternate to gcc. If you want to specifically build with the
# clang compiler, you should invoke make with GCC=clang on the make command
# line.
#
# Internal ROM support can be disabled if GNU make is invoked with
@@ -495,7 +495,7 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin)
endif
endif
SIM_BUILD_OS_VERSION= -DSIM_BUILD_OS_VERSION="$(shell uname -a|sed 's/,//g')"
LTO_EXCLUDE_VERSIONS =
LTO_EXCLUDE_VERSIONS =
PCAPLIB = pcap
ifeq (agcc,$(findstring agcc,${GCC})) # Android target build?
OS_CCDEFS += -D_GNU_SOURCE -DSIM_ASYNCH_IO
@@ -715,23 +715,23 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin)
endif
ifneq (,$(call find_include,pthread))
ifneq (,$(call find_lib,pthread))
PTHREAD_CCDEFS += -DSIM_ASYNCH_IO
PTHREAD_CCDEFS += -DSIM_ASYNCH_IO
PTHREAD_LDFLAGS += -lpthread
$(info using libpthread: $(call find_lib,pthread) $(call find_include,pthread))
else
LIBEXTSAVE := ${LIBEXT}
LIBEXT = a
ifneq (,$(call find_lib,pthread))
PTHREAD_CCDEFS += -DSIM_ASYNCH_IO
PTHREAD_CCDEFS += -DSIM_ASYNCH_IO
PTHREAD_LDFLAGS += -lpthread
$(info using libpthread: $(call find_lib,pthread) $(call find_include,pthread))
else
ifneq (,$(findstring Haiku,$(OSTYPE)))
PTHREAD_CCDEFS += -DUSE_READER_THREAD -DSIM_ASYNCH_IO
PTHREAD_CCDEFS += -DUSE_READER_THREAD -DSIM_ASYNCH_IO
$(info using libpthread: $(call find_include,pthread))
else
ifeq (Darwin,$(OSTYPE))
PTHREAD_CCDEFS += -DUSE_READER_THREAD -DSIM_ASYNCH_IO
PTHREAD_CCDEFS += -DUSE_READER_THREAD -DSIM_ASYNCH_IO
PTHREAD_LDFLAGS += -lpthread
$(info using macOS libpthread: $(call find_include,pthread))
endif
@@ -875,7 +875,7 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin)
OS_CCDEFS += -DHAVE_GLOB
else
ifneq (,$(call find_include,fnmatch))
OS_CCDEFS += -DHAVE_FNMATCH
OS_CCDEFS += -DHAVE_FNMATCH
endif
endif
ifneq (,$(call find_include,sys/mman))
@@ -1359,7 +1359,7 @@ else
$(info ***********************************************************************)
$(error .)
else
$(info ** date. For the most functional and stable features you shoud **)
$(info ** date. For the most functional and stable features you should **)
$(info ** Download the file: **)
$(info ** https://github.com/simh/windows-build/archive/windows-build.zip **)
$(info ** Extract the windows-build-windows-build folder it contains to **)
@@ -1483,7 +1483,7 @@ else
else
CFLAGS_O := $(OPTIMIZE)
endif
LDFLAGS_O =
LDFLAGS_O =
GCC_MAJOR_VERSION = $(firstword $(subst ., ,$(GCC_VERSION)))
ifneq (3,$(GCC_MAJOR_VERSION))
ifeq (,$(GCC_OPTIMIZERS_CMD))
@@ -1923,7 +1923,7 @@ H316D = ${SIMHD}/H316
H316 = ${H316D}/h316_stddev.c ${H316D}/h316_lp.c ${H316D}/h316_cpu.c \
${H316D}/h316_sys.c ${H316D}/h316_mt.c ${H316D}/h316_fhd.c \
${H316D}/h316_dp.c ${H316D}/h316_rtc.c ${H316D}/h316_imp.c \
${H316D}/h316_hi.c ${H316D}/h316_mi.c ${H316D}/h316_udp.c
${H316D}/h316_hi.c ${H316D}/h316_mi.c ${H316D}/h316_udp.c
H316_OPT = -I ${H316D} -D VM_IMPTIP
@@ -1975,7 +1975,7 @@ I7090 = ${I7000D}/i7090_cpu.c ${I7000D}/i7090_sys.c ${I7000D}/i7090_chan.c \
${I7000D}/i7090_cdr.c ${I7000D}/i7090_cdp.c ${I7000D}/i7090_lpr.c \
${I7000D}/i7000_chan.c ${I7000D}/i7000_mt.c ${I7000D}/i7090_drum.c \
${I7000D}/i7090_hdrum.c ${I7000D}/i7000_chron.c ${I7000D}/i7000_dsk.c \
${I7000D}/i7000_com.c ${I7000D}/i7000_ht.c
${I7000D}/i7000_com.c ${I7000D}/i7000_ht.c
I7090_OPT = -I $(I7000D) -DUSE_INT64 -DI7090 -DUSE_SIM_CARD
I7080D = ${SIMHD}/I7000
@@ -1983,7 +1983,7 @@ I7080 = ${I7000D}/i7080_cpu.c ${I7000D}/i7080_sys.c ${I7000D}/i7080_chan.c \
${I7000D}/i7080_drum.c ${I7000D}/i7000_cdp.c ${I7000D}/i7000_cdr.c \
${I7000D}/i7000_con.c ${I7000D}/i7000_chan.c ${I7000D}/i7000_lpr.c \
${I7000D}/i7000_mt.c ${I7000D}/i7000_chron.c ${I7000D}/i7000_dsk.c \
${I7000D}/i7000_com.c ${I7000D}/i7000_ht.c
${I7000D}/i7000_com.c ${I7000D}/i7000_ht.c
I7080_OPT = -I $(I7000D) -DI7080 -DUSE_SIM_CARD
I7070D = ${SIMHD}/I7000
@@ -1991,7 +1991,7 @@ I7070 = ${I7000D}/i7070_cpu.c ${I7000D}/i7070_sys.c ${I7000D}/i7070_chan.c \
${I7000D}/i7000_cdp.c ${I7000D}/i7000_cdr.c ${I7000D}/i7000_con.c \
${I7000D}/i7000_chan.c ${I7000D}/i7000_lpr.c ${I7000D}/i7000_mt.c \
${I7000D}/i7000_chron.c ${I7000D}/i7000_dsk.c ${I7000D}/i7000_com.c \
${I7000D}/i7000_ht.c
${I7000D}/i7000_ht.c
I7070_OPT = -I $(I7000D) -DUSE_INT64 -DI7070 -DUSE_SIM_CARD
I7010D = ${SIMHD}/I7000
@@ -1999,20 +1999,20 @@ I7010 = ${I7000D}/i7010_cpu.c ${I7000D}/i7010_sys.c ${I7000D}/i7010_chan.c \
${I7000D}/i7000_cdp.c ${I7000D}/i7000_cdr.c ${I7000D}/i7000_con.c \
${I7000D}/i7000_chan.c ${I7000D}/i7000_lpr.c ${I7000D}/i7000_mt.c \
${I7000D}/i7000_chron.c ${I7000D}/i7000_dsk.c ${I7000D}/i7000_com.c \
${I7000D}/i7000_ht.c
${I7000D}/i7000_ht.c
I7010_OPT = -I $(I7010D) -DI7010 -DUSE_SIM_CARD
I704D = ${SIMHD}/I7000
I704 = ${I7000D}/i7090_cpu.c ${I7000D}/i7090_sys.c ${I7000D}/i7090_chan.c \
${I7000D}/i7090_cdr.c ${I7000D}/i7090_cdp.c ${I7000D}/i7090_lpr.c \
${I7000D}/i7000_mt.c ${I7000D}/i7090_drum.c ${I7000D}/i7000_chan.c
${I7000D}/i7000_mt.c ${I7000D}/i7090_drum.c ${I7000D}/i7000_chan.c
I704_OPT = -I $(I7000D) -DUSE_INT64 -DI704 -DUSE_SIM_CARD
I701D = ${SIMHD}/I7000
I701 = ${I7000D}/i701_cpu.c ${I7000D}/i701_sys.c ${I7000D}/i701_chan.c \
${I7000D}/i7090_cdr.c ${I7000D}/i7090_cdp.c ${I7000D}/i7090_lpr.c \
${I7000D}/i7000_mt.c ${I7000D}/i7090_drum.c ${I7000D}/i7000_chan.c
${I7000D}/i7000_mt.c ${I7000D}/i7090_drum.c ${I7000D}/i7000_chan.c
I701_OPT = -I $(I7000D) -DUSE_INT64 -DI701 -DUSE_SIM_CARD
@@ -2040,7 +2040,7 @@ IBM1130 = ${IBM1130D}/ibm1130_cpu.c ${IBM1130D}/ibm1130_cr.c \
${IBM1130D}/ibm1130_t2741.c
IBM1130_OPT = -I ${IBM1130D}
ifneq (${WIN32},)
IBM1130_OPT += -DGUI_SUPPORT -lgdi32 ${BIN}ibm1130.o
IBM1130_OPT += -DGUI_SUPPORT -lgdi32 ${BIN}ibm1130.o
endif
@@ -2163,7 +2163,7 @@ INTEL_PARTS = \
${INTELSYSC}/multibus.c \
${INTELSYSC}/mem.c \
${INTELSYSC}/sys.c \
${INTELSYSC}/zx200a.c
${INTELSYSC}/zx200a.c
INTEL_MDSD = ${INTELSYSD}/Intel-MDS
@@ -2188,7 +2188,7 @@ IBMPCXT = ${IBMPCXTC}/i8088.c ${IBMPCXTD}/ibmpcxt_sys.c \
${IBMPCXTC}/i8253.c ${IBMPCXTC}/i8259.c \
${IBMPCXTC}/i8255.c ${IBMPCXTD}/ibmpcxt.c \
${IBMPCXTC}/pceprom.c ${IBMPCXTC}/pcram8.c \
${IBMPCXTC}/pcbus.c ${IBMPCXTC}/i8237.c
${IBMPCXTC}/pcbus.c ${IBMPCXTC}/i8237.c
IBMPCXT_OPT = -I ${IBMPCXTD}
@@ -2224,7 +2224,7 @@ BESM6_OPT = -I ${BESM6D} -DUSE_INT64 $(VIDEO_TTF_OPT)
PDP6D = ${SIMHD}/PDP10
ifneq (,${DISPLAY_OPT})
PDP6_DISPLAY_OPT =
PDP6_DISPLAY_OPT =
endif
PDP6 = ${PDP6D}/kx10_cpu.c ${PDP6D}/kx10_sys.c ${PDP6D}/kx10_cty.c \
${PDP6D}/kx10_lp.c ${PDP6D}/kx10_pt.c ${PDP6D}/kx10_cr.c \
@@ -2236,7 +2236,7 @@ PDP6_OPT = -DPDP6=1 -DUSE_INT64 -I ${PDP6D} -DUSE_SIM_CARD ${DISPLAY_OPT} ${PDP6
KA10D = ${SIMHD}/PDP10
ifneq (,${DISPLAY_OPT})
KA10_DISPLAY_OPT =
KA10_DISPLAY_OPT =
endif
KA10 = ${KA10D}/kx10_cpu.c ${KA10D}/kx10_sys.c ${KA10D}/kx10_df.c \
${KA10D}/kx10_dp.c ${KA10D}/kx10_mt.c ${KA10D}/kx10_cty.c \
@@ -2263,7 +2263,7 @@ endif
KI10D = ${SIMHD}/PDP10
ifneq (,${DISPLAY_OPT})
KI10_DISPLAY_OPT =
KI10_DISPLAY_OPT =
endif
KI10 = ${KI10D}/kx10_cpu.c ${KI10D}/kx10_sys.c ${KI10D}/kx10_df.c \
${KI10D}/kx10_dp.c ${KI10D}/kx10_mt.c ${KI10D}/kx10_cty.c \
@@ -2380,7 +2380,7 @@ SAGE_OPT = -I ${SAGED} -DHAVE_INT64
PDQ3D = ${SIMHD}/PDQ-3
PDQ3 = ${PDQ3D}/pdq3_cpu.c ${PDQ3D}/pdq3_sys.c ${PDQ3D}/pdq3_stddev.c \
${PDQ3D}/pdq3_mem.c ${PDQ3D}/pdq3_debug.c ${PDQ3D}/pdq3_fdc.c
${PDQ3D}/pdq3_mem.c ${PDQ3D}/pdq3_debug.c ${PDQ3D}/pdq3_fdc.c
PDQ3_OPT = -I ${PDQ3D}
#
@@ -2397,7 +2397,7 @@ ALL = pdp1 pdp4 pdp7 pdp8 pdp9 pdp15 pdp11 pdp10 \
swtp6800mp-a swtp6800mp-a2 tx-0 ssem b5500 intel-mds \
scelbi 3b2 3b2-700 i701 i704 i7010 i7070 i7080 i7090 \
sigma uc15 pdp10-ka pdp10-ki pdp10-kl pdp10-ks pdp6 i650 \
imlac tt2500 sel32
imlac tt2500 sel32
all : ${ALL}
@@ -2412,7 +2412,7 @@ else
-if exist $(BIN) rmdir /s /q BIN
endif
${BUILD_ROMS} :
${BUILD_ROMS} :
${MKDIRBIN}
ifeq (${WIN32},)
@if ${TEST} \( ! -e $@ \) -o \( sim_BuildROMs.c -nt $@ \) ; then ${CC} sim_BuildROMs.c ${CC_OUTSPEC}; fi
@@ -2837,7 +2837,7 @@ $(BIN)pdq3$(EXE) : ${PDQ3} ${SIM}
b5500 : $(BIN)b5500$(EXE)
$(BIN)b5500$(EXE) : ${B5500} ${SIM}
$(BIN)b5500$(EXE) : ${B5500} ${SIM}
$(MAKEIT) OPTS="$(B5500_OPT)"
@@ -2855,43 +2855,43 @@ $(BIN)3b2-700$(EXE) : ${ATT3B2M700} ${SCSI} ${SIM}
i7090 : $(BIN)i7090$(EXE)
$(BIN)i7090$(EXE) : ${I7090} ${SIM}
$(BIN)i7090$(EXE) : ${I7090} ${SIM}
$(MAKEIT) OPTS="$(I7090_OPT)"
i7080 : $(BIN)i7080$(EXE)
$(BIN)i7080$(EXE) : ${I7080} ${SIM}
$(BIN)i7080$(EXE) : ${I7080} ${SIM}
$(MAKEIT) OPTS="$(I7080_OPT)"
i7070 : $(BIN)i7070$(EXE)
$(BIN)i7070$(EXE) : ${I7070} ${SIM}
$(BIN)i7070$(EXE) : ${I7070} ${SIM}
$(MAKEIT) OPTS="$(I7070_OPT)"
i7010 : $(BIN)i7010$(EXE)
$(BIN)i7010$(EXE) : ${I7010} ${SIM}
$(BIN)i7010$(EXE) : ${I7010} ${SIM}
$(MAKEIT) OPTS="$(I7010_OPT)"
i704 : $(BIN)i704$(EXE)
$(BIN)i704$(EXE) : ${I704} ${SIM}
$(BIN)i704$(EXE) : ${I704} ${SIM}
$(MAKEIT) OPTS="$(I704_OPT)"
i701 : $(BIN)i701$(EXE)
$(BIN)i701$(EXE) : ${I701} ${SIM}
$(BIN)i701$(EXE) : ${I701} ${SIM}
$(MAKEIT) OPTS="$(I701_OPT)"
i650 : $(BIN)i650$(EXE)
$(BIN)i650$(EXE) : ${I650} ${SIM}
$(BIN)i650$(EXE) : ${I650} ${SIM}
$(MAKEIT) OPTS="$(I650_OPT)"