mirror of
https://github.com/open-simh/simh.git
synced 2026-04-24 19:40:22 +00:00
Notes For V3.5-1
The source set has been extensively overhauled. For correct viewing, set Visual C++ or Emacs to have tab stops every 4 characters. 1. New Features 1.1 3.5-0 1.1.1 All Ethernet devices - Added Windows user-defined adapter names (from Timothe Litt) 1.1.2 Interdata, SDS, HP, PDP-8, PDP-18b terminal multiplexors - Added support for SET <unit>n DISCONNECT 1.1.3 VAX - Added latent QDSS support - Revised autoconfigure to handle QDSS 1.1.4 PDP-11 - Revised autoconfigure to handle more cases 1.2 3.5-1 No new features 1.3 3.5-2 1.3.1 All ASCII terminals - Most ASCII terminal emulators have supported 7-bit and 8-bit operation; where required, they have also supported an upper- case only or KSR-emulation mode. This release adds a new mode, 7P, for 7-bit printing characters. In 7P mode, non-printing characters in the range 0-31 (decimal), and 127 (decimal), are automatically suppressed. This prevents printing of fill characters under Windows. The printable character set for ASCII code values 0-31 can be changed with the SET CONSOLE PCHAR command. Code value 127 (DELETE) is always suppressed. 1.3.2 VAX-11/780 - First release. The VAX-11/780 has successfully run VMS V7.2. The commercial instructions and compatability mode have not been extensively tested. The Ethernet controller is not working yet and is disabled. 2. Bugs Fixed 2.1 3.5-0 2.1.1 SCP and libraries - Trim trailing spaces on all input (for example, attach file names) - Fixed sim_sock spurious SIGPIPE error in Unix/Linux - Fixed sim_tape misallocation of TPC map array for 64b simulators 2.1.2 1401 - Fixed bug, CPU reset was clearing SSB through SSG 2.1.3 PDP-11 - Fixed bug in VH vector display routine - Fixed XU runt packet processing (found by Tim Chapman) 2.1.4 Interdata - Fixed bug in SHOW PAS CONN/STATS - Fixed potential integer overflow exception in divide 2.1.5 SDS - Fixed bug in SHOW MUX CONN/STATS 2.1.6 HP - Fixed bug in SHOW MUX CONN/STATS 2.1.7 PDP-8 - Fixed bug in SHOW TTIX CONN/STATS - Fixed bug in SET/SHOW TTOXn LOG 2.1.8 PDP-18b - Fixed bug in SHOW TTIX CONN/STATS - Fixed bug in SET/SHOW TTOXn LOG 2.1.9 Nova, Eclipse - Fixed potential integer overflow exception in divide 2.2 3.5-1 2.2.1 1401 - Changed character encodings to be compatible with Pierce 709X simulator - Added mode for old/new character encodings 2.2.2 1620 - Changed character encodings to be compatible with Pierce 709X simulator 2.2.3 PDP-10 - Changed MOVNI to eliminate GCC warning 2.2.4 VAX - Fixed bug in structure definitions with 32b compilation options - Fixed bug in autoconfiguration table 2.2.5 PDP-11 - Fixed bug in autoconfiguration table 2.3 3.5-2 2.3.1 PDP-10 - RP: fixed drive clear not to clear disk address 2.3.2 PDP-11 (VAX, VAX-11/780, for shared peripherals) - HK: fixed overlap seek interaction with drive select, drive clear, etc - RQ, TM, TQ, TS, TU: widened address display to 64b when USE_ADDR64 option selected - TU: changed default adapter from TM02 to TM03 (required by VMS) - RP: fixed drive clear not to clear disk address - RP, TU: fixed device enable/disable to enabled/disable Massbus adapter as well - XQ: fixed register access alignment bug (found by Doug Carman) 2.3.3 PDP-8 - RL: fixed IOT 61 decoding bug (found by David Gesswein) - DF, DT, RF: fixed register access alignment bug (found by Doug Carman) 2.3.4 VAX - Fixed CVTfi to trap on integer overflow if PSW<iv> is set - Fixed breakpoint detection when USE_ADDR64 option selected
This commit is contained in:
committed by
Mark Pizzolato
parent
1e704bf185
commit
a12e4a1c39
@@ -1,14 +1,14 @@
|
||||
To: Users
|
||||
From: Bob Supnik
|
||||
Subj: H316 Simulator Usage
|
||||
Date: 15-Nov-2004
|
||||
Date: 01-Dec-2005
|
||||
|
||||
COPYRIGHT NOTICE
|
||||
|
||||
The following copyright notice applies to both the SIMH source and binary:
|
||||
|
||||
Original code published in 1993-2004, written by Robert M Supnik
|
||||
Copyright (c) 1993-2004, Robert M Supnik
|
||||
Original code published in 1993-2005, written by Robert M Supnik
|
||||
Copyright (c) 1993-2005, 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"),
|
||||
@@ -273,14 +273,24 @@ The console Teletype (TTY) consists of four separate units:
|
||||
TTY2 paper tape reader
|
||||
TTY3 paper tape punch
|
||||
|
||||
The keyboard and printer (TTY0, TTY1) can be set to one of three modes:
|
||||
KSR, 7B, or 8B. In KSR mode, lower case input and output characters
|
||||
are automatically converted to upper case, and the high order bit is
|
||||
forced to one on input. In 7B mode, input and output characters are
|
||||
masked to 7 bits. In 8B mode, characters are not modified. Changing
|
||||
the mode of either unit changes both. The default mode is KSR. The
|
||||
Teletype keyboard reads from the console keyboard, and the printer
|
||||
prites to the simulator console window.
|
||||
The keyboard and printer (TTY0, TTY1) can be set to one of four modes,
|
||||
KSR, 7P, 7B, or 8B:
|
||||
|
||||
mode input characters output characters
|
||||
|
||||
KSR lower case converted lower case converted
|
||||
to upper case, to upper case,
|
||||
high-order bit set high-order bit cleared,
|
||||
non-printing characters
|
||||
suppressed
|
||||
7P high-order bit cleared high-order bit cleared,
|
||||
non-printing characters
|
||||
suppressed
|
||||
7B high-order bit cleared high-order bit cleared
|
||||
8B no changes no changes
|
||||
|
||||
The default mode is KSR. The Teletype keyboard reads from the console
|
||||
keyboard, and the printer writes to the simulator console window.
|
||||
|
||||
The paper tape reader (TTY2) can bet set to operate in binary, ASCII, or
|
||||
Unix ASCII mode:
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
tty 316/516-33 teleprinter
|
||||
clk/options 316/516-12 real time clocks/internal options
|
||||
|
||||
22-Nov-05 RMS Revised for new terminal processing routines
|
||||
05-Feb-05 RMS Fixed bug in OCP '0001 (found by Philipp Hachtmann)
|
||||
31-Jan-05 RMS Fixed bug in TTY print (found by Philipp Hachtmann)
|
||||
01-Dec-04 RMS Fixed problem in SKS '104 (reported by Philipp Hachtmann)
|
||||
@@ -66,21 +67,8 @@
|
||||
#include "h316_defs.h"
|
||||
#include <ctype.h>
|
||||
|
||||
#define CHAR_FLAG(c) (1u << (c))
|
||||
|
||||
#define BEL_FLAG CHAR_FLAG('\a')
|
||||
#define LF_FLAG CHAR_FLAG('\n')
|
||||
#define CR_FLAG CHAR_FLAG('\r')
|
||||
#define HT_FLAG CHAR_FLAG('\t')
|
||||
|
||||
#define CNTL_SET (BEL_FLAG | HT_FLAG | LF_FLAG | CR_FLAG)
|
||||
|
||||
#define UNIT_V_8B (UNIT_V_UF + 0) /* 8B */
|
||||
#define UNIT_V_KSR (UNIT_V_UF + 1) /* KSR33 */
|
||||
#define UNIT_V_ASC (UNIT_V_UF + 2) /* ASCII */
|
||||
#define UNIT_V_UASC (UNIT_V_UF + 3) /* Unix ASCII */
|
||||
#define UNIT_8B (1 << UNIT_V_8B)
|
||||
#define UNIT_KSR (1 << UNIT_V_KSR)
|
||||
#define UNIT_V_ASC (TTUF_V_UF + 0) /* ASCII */
|
||||
#define UNIT_V_UASC (TTUF_V_UF + 1) /* Unix ASCII */
|
||||
#define UNIT_ASC (1 << UNIT_V_ASC)
|
||||
#define UNIT_UASC (1 << UNIT_V_UASC)
|
||||
#define STA u3 /* state bits */
|
||||
@@ -229,8 +217,8 @@ DEVICE ptp_dev = {
|
||||
DIB tty_dib = { TTY, IOBUS, 1, &ttyio };
|
||||
|
||||
UNIT tty_unit[] = {
|
||||
{ UDATA (&tti_svc, UNIT_KSR, 0), KBD_POLL_WAIT },
|
||||
{ UDATA (&tto_svc, UNIT_KSR, 0), SERIAL_OUT_WAIT },
|
||||
{ UDATA (&tti_svc, TT_MODE_KSR, 0), KBD_POLL_WAIT },
|
||||
{ UDATA (&tto_svc, TT_MODE_KSR, 0), SERIAL_OUT_WAIT },
|
||||
{ UDATA (NULL, UNIT_SEQ+UNIT_ATTABLE+UNIT_ROABLE, 0) },
|
||||
{ UDATA (NULL, UNIT_SEQ+UNIT_ATTABLE, 0) }
|
||||
};
|
||||
@@ -256,9 +244,10 @@ REG tty_reg[] = {
|
||||
};
|
||||
|
||||
MTAB tty_mod[] = {
|
||||
{ UNIT_KSR+UNIT_8B+UNIT_ATTABLE, UNIT_KSR, "KSR", "KSR", &ttio_set_mode },
|
||||
{ UNIT_KSR+UNIT_8B+UNIT_ATTABLE, 0 , "7b" , "7B" , &ttio_set_mode },
|
||||
{ UNIT_KSR+UNIT_8B+UNIT_ATTABLE, UNIT_8B , "8b" , "8B" , &ttio_set_mode },
|
||||
{ TT_MODE, TT_MODE_KSR, "KSR", "KSR", &ttio_set_mode },
|
||||
{ TT_MODE, TT_MODE_7B, "7b", "7B", &ttio_set_mode },
|
||||
{ TT_MODE, TT_MODE_8B, "8b", "8B", &ttio_set_mode },
|
||||
{ TT_MODE, TT_MODE_7P, "7p", "7P", &ttio_set_mode },
|
||||
{ UNIT_ATTABLE+UNIT_ASC+UNIT_UASC, UNIT_ATTABLE, NULL, "BINARY",
|
||||
&ttrp_set_mode },
|
||||
{ UNIT_ATTABLE+UNIT_ASC+UNIT_UASC, UNIT_ATTABLE+UNIT_ASC, "ASCII", "ASCII",
|
||||
@@ -611,11 +600,7 @@ sim_activate (uptr, uptr->wait); /* continue poll */
|
||||
if ((c = sim_poll_kbd ()) >= SCPE_KFLAG) { /* character? */
|
||||
out = c & 0177; /* mask echo to 7b */
|
||||
if (c & SCPE_BREAK) c = 0; /* break? */
|
||||
else if (uptr->flags & UNIT_KSR) { /* KSR? */
|
||||
if (islower (out)) out = toupper (out); /* cvt to UC */
|
||||
c = out | 0200; /* add TTY bit */
|
||||
}
|
||||
else if (!(uptr->flags & UNIT_8B)) c = out; /* 7b? */
|
||||
else c = sim_tt_inpcvt (c, TT_GET_MODE (uptr->flags) | TTUF_KSR);
|
||||
uptr->pos = uptr->pos + 1;
|
||||
}
|
||||
else if (c != SCPE_OK) return c; /* error? */
|
||||
@@ -702,18 +687,10 @@ t_stat tto_write (int32 c)
|
||||
{
|
||||
UNIT *tuptr = &tty_unit[TTO];
|
||||
|
||||
if (tuptr->flags & UNIT_8B) c = c & 0377; /* 8b? */
|
||||
else {
|
||||
c = c & 0177; /* 7b, KSR: mask */
|
||||
if (c) return SCPE_OK; /* supress NUL */
|
||||
if (tuptr->flags & UNIT_KSR) { /* KSR? */
|
||||
if ((c < 040) && /* not in ctrl set? */
|
||||
!(CNTL_SET & CHAR_FLAG (c))) return SCPE_OK;
|
||||
if (islower (c)) c = toupper (c); /* cvt to UC */
|
||||
}
|
||||
}
|
||||
c = sim_tt_outcvt (c, TT_GET_MODE (tuptr->flags));
|
||||
tuptr->pos = tuptr->pos + 1;
|
||||
return sim_putchar_s (c);
|
||||
if (c >= 0) return sim_putchar_s (c);
|
||||
else return SCPE_OK;
|
||||
}
|
||||
|
||||
/* Output to punch */
|
||||
@@ -766,8 +743,9 @@ return SCPE_OK;
|
||||
t_stat ttio_set_mode (UNIT *uptr, int32 val, char *cptr, void *desc)
|
||||
{
|
||||
if (uptr->flags & UNIT_ATTABLE) return SCPE_NOFNC; /* not TTR, TTP */
|
||||
tty_unit[TTI].flags = (tty_unit[TTI].flags & ~(UNIT_KSR | UNIT_8B)) | val;
|
||||
tty_unit[TTO].flags = (tty_unit[TTO].flags & ~(UNIT_KSR | UNIT_8B)) | val;
|
||||
tty_unit[TTO].flags = (tty_unit[TTO].flags & ~TT_MODE) | val;
|
||||
if (val == TT_MODE_7P) val = TT_MODE_7B;
|
||||
tty_unit[TTI].flags = (tty_unit[TTI].flags & ~TT_MODE) | val;
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user