mirror of
https://github.com/rcornwell/sims.git
synced 2026-01-11 23:52:48 +00:00
KA10: Added KMC device to KS10 processor.
This commit is contained in:
parent
b8c3604cea
commit
85a1c108d5
3128
PDP10/ks10_kmc.c
Normal file
3128
PDP10/ks10_kmc.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -227,6 +227,9 @@ DEVICE *sim_devices[] = {
|
||||
#if NUM_DEVS_TCU > 0
|
||||
&tcu_dev,
|
||||
#endif
|
||||
#if NUM_DEVS_KMC > 0
|
||||
&kmc_dev,
|
||||
#endif
|
||||
#if NUM_DEVS_DUP > 0
|
||||
&dup_dev,
|
||||
#endif
|
||||
@ -786,6 +789,8 @@ t_stat load_exb (FILE *fileref, int ftype)
|
||||
return SCPE_FMT;
|
||||
addr |= byt << 24;
|
||||
/* Empty record gives start address */
|
||||
if (addr > MEMSIZE)
|
||||
return SCPE_FMT;
|
||||
if (wc == 0) {
|
||||
PC = addr;
|
||||
return SCPE_OK;
|
||||
@ -801,6 +806,8 @@ t_stat load_exb (FILE *fileref, int ftype)
|
||||
case 2: word |= ((uint64)byt) << 16; break;
|
||||
case 3: word |= ((uint64)byt) << 24; break;
|
||||
case 4: word |= ((uint64)(byt & 017)) << 32;
|
||||
if (addr > MEMSIZE)
|
||||
return SCPE_FMT;
|
||||
M[addr++] = word;
|
||||
pos = -1;
|
||||
break;
|
||||
|
||||
@ -213,6 +213,10 @@
|
||||
RelativePath="..\PDP10\ks10_lp.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\PDP10\ks10_kmc.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\PDP10\ks10_tcu.c"
|
||||
>
|
||||
|
||||
2
makefile
2
makefile
@ -2161,7 +2161,7 @@ KS10 = ${KS10D}/kx10_cpu.c ${KS10D}/kx10_sys.c ${KS10D}/kx10_disk.c \
|
||||
${KS10D}/ks10_cty.c ${KS10D}/ks10_uba.c ${KS10D}/kx10_rh.c \
|
||||
${KS10D}/kx10_rp.c ${KS10D}/kx10_tu.c ${KS10D}/ks10_dz.c \
|
||||
${KS10D}/ks10_tcu.c ${KS10D}/ks10_lp.c ${KS10D}/ks10_ch11.c \
|
||||
${KS10D}/ks10_dup.c ${KS10D}/kx10_imp.c
|
||||
${KS10D}/ks10_kmc.c ${KS10D}/ks10_dup.c ${KS10D}/kx10_imp.c
|
||||
KS10_OPT = -DKS=1 -DUSE_INT64 -I $(KS10D) ${NETWORK_OPT}
|
||||
|
||||
ATT3B2D = ${SIMHD}/3B2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user