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

SDS: Added C register implementation for various devices

This commit is contained in:
Ken Rector
2021-06-08 01:55:07 -07:00
committed by Mark Pizzolato
parent 4975fbe59c
commit 2dd8ededd3
6 changed files with 50 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
/* sds_stddev.c: SDS 940 standard devices
Copyright (c) 2001-2020, Robert M. Supnik
Copyright (c) 2001-2021, 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"),
@@ -28,6 +28,7 @@
tti keyboard
tto teleprinter
12-Feb-21 kenr Added C register support to PTR boot
23-Oct-20 RMS TTO recognizes no leader flag (Ken Rector)
29-Dec-03 RMS Added console backpressure support
25-Apr-03 RMS Revised for extended file support
@@ -327,7 +328,7 @@ return SCPE_OK;
t_stat ptr_boot (int32 unitno, DEVICE *dptr)
{
extern uint32 P, M[];
extern uint32 P, C, M[];
M[0] = 077777771; /* -7B */
M[1] = 007100000; /* LDX 0 */
@@ -335,6 +336,7 @@ M[2] = 000203604; /* EOM 3604B */
M[3] = 003200002; /* WIM 2 */
M[4] = 000100002; /* BRU 2 */
P = 1; /* start at 1 */
C = M[1];
return SCPE_OK;
}