mirror of
https://github.com/simh/simh.git
synced 2026-05-01 22:06:00 +00:00
Notes For V3.5-0
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 in 3.4-1 1.1 All Ethernet devices - Added Windows user-defined adapter names (from Timothe Litt) 1.2 Interdata, SDS, HP, PDP-8, PDP-18b terminal multiplexors - Added support for SET <unit>n DISCONNECT 1.3 VAX - Added latent QDSS support - Revised autoconfigure to handle QDSS 1.4 PDP-11 - Revised autoconfigure to handle more casees 2. Bugs Fixed in 3.4-1 2.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.2 1401 - Fixed bug, CPU reset was clearing SSB through SSG 2.3 PDP-11 - Fixed bug in VH vector display routine - Fixed XU runt packet processing (found by Tim Chapman) 2.4 Interdata - Fixed bug in SHOW PAS CONN/STATS - Fixed potential integer overflow exception in divide 2.5 SDS - Fixed bug in SHOW MUX CONN/STATS 2.6 HP - Fixed bug in SHOW MUX CONN/STATS 2.7 PDP-8 - Fixed bug in SHOW TTIX CONN/STATS - Fixed bug in SET/SHOW TTOXn LOG 2.8 PDP-18b - Fixed bug in SHOW TTIX CONN/STATS - Fixed bug in SET/SHOW TTOXn LOG 2.9 Nova, Eclipse - Fixed potential integer overflow exception in divide
This commit is contained in:
committed by
Mark Pizzolato
parent
ec60bbf329
commit
b7c1eae41f
@@ -1,6 +1,6 @@
|
||||
/* i1401_dat.h: IBM 1401 character conversion tables
|
||||
|
||||
Copyright (c) 1993-2004, 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"),
|
||||
@@ -19,53 +19,55 @@
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of Robert M Supnik shall not
|
||||
be used in advertising or otherwise to promote the sale, use or other
|
||||
dealings
|
||||
Except as contained in this notice, the name of Robert M Supnik shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from Robert M Supnik.
|
||||
*/
|
||||
|
||||
/* ASCII to BCD conversion */
|
||||
|
||||
const char ascii_to_bcd[128] = {
|
||||
000, 000, 000, 000, 000, 000, 000, 000, /* 000 - 037 */
|
||||
000, 000, 000, 000, 000, 000, 000, 000,
|
||||
000, 000, 000, 000, 000, 000, 000, 000,
|
||||
000, 000, 000, 000, 000, 000, 000, 000,
|
||||
000, 052, 077, 013, 053, 034, 060, 032, /* 040 - 077 */
|
||||
017, 074, 054, 037, 033, 040, 073, 021,
|
||||
012, 001, 002, 003, 004, 005, 006, 007,
|
||||
010, 011, 015, 056, 076, 035, 016, 072,
|
||||
014, 061, 062, 063, 064, 065, 066, 067, /* 100 - 137 */
|
||||
070, 071, 041, 042, 043, 044, 045, 046,
|
||||
047, 050, 051, 022, 023, 024, 025, 026,
|
||||
027, 030, 031, 075, 036, 055, 020, 057,
|
||||
000, 061, 062, 063, 064, 065, 066, 067, /* 140 - 177 */
|
||||
070, 071, 041, 042, 043, 044, 045, 046,
|
||||
047, 050, 051, 022, 023, 024, 025, 026,
|
||||
027, 030, 031, 000, 000, 000, 000, 000 };
|
||||
000, 000, 000, 000, 000, 000, 000, 000, /* 000 - 037 */
|
||||
000, 000, 000, 000, 000, 000, 000, 000,
|
||||
000, 000, 000, 000, 000, 000, 000, 000,
|
||||
000, 000, 000, 000, 000, 000, 000, 000,
|
||||
000, 052, 077, 013, 053, 034, 060, 032, /* 040 - 077 */
|
||||
017, 074, 054, 037, 033, 040, 073, 021,
|
||||
012, 001, 002, 003, 004, 005, 006, 007,
|
||||
010, 011, 015, 056, 076, 035, 016, 072,
|
||||
014, 061, 062, 063, 064, 065, 066, 067, /* 100 - 137 */
|
||||
070, 071, 041, 042, 043, 044, 045, 046,
|
||||
047, 050, 051, 022, 023, 024, 025, 026,
|
||||
027, 030, 031, 075, 036, 055, 020, 057,
|
||||
000, 061, 062, 063, 064, 065, 066, 067, /* 140 - 177 */
|
||||
070, 071, 041, 042, 043, 044, 045, 046,
|
||||
047, 050, 051, 022, 023, 024, 025, 026,
|
||||
027, 030, 031, 000, 000, 000, 000, 000
|
||||
};
|
||||
|
||||
/* BCD to ASCII conversion - also the "full" print chain */
|
||||
|
||||
char bcd_to_ascii[64] = {
|
||||
' ', '1', '2', '3', '4', '5', '6', '7',
|
||||
'8', '9', '0', '#', '@', ':', '>', '(',
|
||||
'^', '/', 'S', 'T', 'U', 'V', 'W', 'X',
|
||||
'Y', 'Z', '\'', ',', '%', '=', '\\', '+',
|
||||
'-', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
|
||||
'Q', 'R', '!', '$', '*', ']', ';', '_',
|
||||
'&', 'A', 'B', 'C', 'D', 'E', 'F', 'G',
|
||||
'H', 'I', '?', '.', ')', '[', '<', '"' };
|
||||
' ', '1', '2', '3', '4', '5', '6', '7',
|
||||
'8', '9', '0', '#', '@', ':', '>', '(',
|
||||
'^', '/', 'S', 'T', 'U', 'V', 'W', 'X',
|
||||
'Y', 'Z', '\'', ',', '%', '=', '\\', '+',
|
||||
'-', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
|
||||
'Q', 'R', '!', '$', '*', ']', ';', '_',
|
||||
'&', 'A', 'B', 'C', 'D', 'E', 'F', 'G',
|
||||
'H', 'I', '?', '.', ')', '[', '<', '"'
|
||||
};
|
||||
|
||||
/* Column binary codes for valid punch combinations
|
||||
High-order six bits are rows 12-3, low-order six bits are rows 4-9 */
|
||||
|
||||
int16 colbin[64] = {
|
||||
00000, 00400, 00200, 00100, 00040, 00020, 00010, 00004,
|
||||
00002, 00001, 01000, 00102, 00042, 00022, 00012, 00006,
|
||||
07777, 01400, 01200, 01100, 01040, 01020, 01010, 01004,
|
||||
01002, 01001, 01202, 01102, 01042, 01022, 01012, 01006,
|
||||
02000, 02400, 02200, 02100, 02040, 02020, 02010, 02004,
|
||||
02002, 02001, 03000, 02102, 02042, 02022, 02012, 02006,
|
||||
04000, 04400, 04200, 04100, 04040, 04020, 04010, 04004,
|
||||
04002, 04001, 05000, 04102, 04042, 04022, 04012, 04006 };
|
||||
00000, 00400, 00200, 00100, 00040, 00020, 00010, 00004,
|
||||
00002, 00001, 01000, 00102, 00042, 00022, 00012, 00006,
|
||||
07777, 01400, 01200, 01100, 01040, 01020, 01010, 01004,
|
||||
01002, 01001, 01202, 01102, 01042, 01022, 01012, 01006,
|
||||
02000, 02400, 02200, 02100, 02040, 02020, 02010, 02004,
|
||||
02002, 02001, 03000, 02102, 02042, 02022, 02012, 02006,
|
||||
04000, 04400, 04200, 04100, 04040, 04020, 04010, 04004,
|
||||
04002, 04001, 05000, 04102, 04042, 04022, 04012, 04006
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user