1
0
mirror of https://github.com/open-simh/simh.git synced 2026-02-05 16:15:49 +00:00

LINC: New emulator for the classic LINC.

This emulates the classic LINC.  The design was settled in 1965,
increasing memory to 2048 words, and adding a Z register, an overflow
flag, and an interrupt facility.
This commit is contained in:
Lars Brinkhoff
2025-09-17 08:28:28 +02:00
parent 1740ac10fa
commit fd3a79ebb5
15 changed files with 3059 additions and 2 deletions

View File

@@ -160,6 +160,10 @@ ifneq (3,${SIM_MAJOR})
ifneq (,$(findstring imlac,${MAKECMDGOALS}))
VIDEO_USEFUL = true
endif
# building the LINC needs video support
ifneq (,$(findstring linc,${MAKECMDGOALS}))
VIDEO_USEFUL = true
endif
# building the TT2500 needs video support
ifneq (,$(findstring tt2500,${MAKECMDGOALS}))
VIDEO_USEFUL = true
@@ -1720,6 +1724,13 @@ IMLAC = ${IMLACD}/imlac_sys.c ${IMLACD}/imlac_cpu.c \
IMLAC_OPT = -I ${IMLACD} ${DISPLAY_OPT} ${AIO_CCDEFS}
LINCD = ${SIMHD}/linc
LINC = ${LINCD}/linc_cpu.c ${LINCD}/linc_crt.c ${LINCD}/linc_dpy.c \
${LINCD}/linc_kbd.c ${LINCD}/linc_sys.c \
${LINCD}/linc_tape.c ${LINCD}/linc_tty.c ${DISPLAYL}
LINC_OPT = -I ${LINCD} ${DISPLAY_OPT} ${AIO_CCDEFS}
STUBD = ${SIMHD}/stub
STUB = ${STUBD}/stub_sys.c ${STUBD}/stub_cpu.c
STUB_OPT = -I ${STUBD}
@@ -2219,7 +2230,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 linc tt2500 sel32
all : ${ALL}
@@ -2318,6 +2329,15 @@ ifneq (,$(call find_test,${IMLAC},imlac))
$@ $(call find_test,${IMLACD},imlac) ${TEST_ARG}
endif
linc : ${BIN}linc${EXE}
${BIN}linc${EXE} : ${LINC} ${SIM}
${MKDIRBIN}
${CC} ${LINC} ${SIM} ${LINC_OPT} ${CC_OUTSPEC} ${LDFLAGS}
ifneq (,$(call find_test,${LINC},imlac))
$@ $(call find_test,${LINCD},linc) ${TEST_ARG}
endif
stub : ${BIN}stub${EXE}
${BIN}stub${EXE} : ${STUB} ${SIM}