1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-02-02 14:51:51 +00:00

KA10: Increase number of terminals on FE and DC.

This commit is contained in:
Richard Cornwell
2020-03-27 18:13:05 -04:00
parent 9ae291a2d9
commit ae901c9efe
3 changed files with 3 additions and 2 deletions

View File

@@ -433,7 +433,7 @@ t_stat dc_setnl (UNIT *uptr, int32 val, CONST char *cptr, void *desc)
return r;
if (newln > dc_modem)
return SCPE_ARG;
if ((newln == 0) || (newln >= DC10_MLINES) || (newln % 8) != 0)
if ((newln == 0) || (newln > DC10_MLINES) || (newln % 8) != 0)
return SCPE_ARG;
if (newln < dc_desc.lines) {
for (i = newln, t = 0; i < dc_desc.lines; i++)

View File

@@ -606,7 +606,7 @@ extern void ka10_lights_clear_aux (int);
#define NUM_DEVS_DP 0
#define NUM_DEVS_LP20 1
#define NUM_DEVS_TTY 1
#define NUM_LINES_TTY 40
#define NUM_LINES_TTY 64
#define NUM_DEVS_NIA 1
#else
#define NUM_DEVS_RC 1

View File

@@ -423,6 +423,7 @@ t_stat dp_devio(uint32 dev, uint64 *data) {
/* Stop controller */
sim_cancel(uptr);
df10_finish_op(df10, 0);
uptr->STATUS &= ~(BUSY);
}
/* Clear flags */
uptr->STATUS &= ~(*data & CLRMSK);