mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
Notes For V3.0-1
RESTRICTION: The FP15 and XVM features of the PDP-15 are only partially debugged. Do NOT enable these features for normal operations. 1. New Features in 3.0-1 1.1 PDP-1 - Added block loader format support to LOAD. - Changed BOOT PTR to allow loading of all of the first bank of memory. 1.2 PDP-18b Family - Added PDP-4 EAE support. - Added PDP-15 FP15 support. - Added PDP-15 XVM support. - Added PDP-15 "re-entrancy ECO". - Added PDP-7, PDP-9, PDP-15 hardware RIM loader support in BOOT PTR. 2. Bugs Fixed in 3.0-1 2.1 PDP-11/VAX - Fixed bug in user disk size (found by Chaskiel M Grundman). 2.2 PDP-1 - Updated CPU, line printer, standard devices to detect indefinite I/O wait. - Fixed incorrect logical, missing activate, break in drum simulator. - Fixed bugs in instruction decoding, overprinting for line printer. 2.3 PDP-10 - Fixed bug in RP read header. 2.4 PDP-18b Family - Fixed bug in PDP-4 line printer overprinting. - Fixed bug in PDP-15 memory protect/skip interaction. - Fixed bug in RF set size routine. - Increased PTP TIME for PDP-15 operating systems. 2.5 PDP-8 - Fixed bug in DF, RF set size routine. 2.6 Nova - Fixed bug in DSK set size routine. 2.7 1401 - Revised fetch to model hardware more closely. 2.8 Ibm1130 - Fixed bugs found by APL 1130. 2.9 Altairz80 - Fixed bug in real-time clock on Windows host. 2.10 HP2100 -- Fixed DR drum sizes. -- Fixed DR variable capacity interaction with SAVE/RESTORE. 3. New Features in 3.0 vs prior releases 3.1 SCP and Libraries - Added ASSIGN/DEASSIGN (logical name) commands. - Changed RESTORE to unconditionally detach files. - Added E11 and TPC format support to magtape library. - Fixed bug in SHOW CONNECTIONS. - Added USE_ADDR64 support 3.2 All magtapes - Magtapes support SIMH format, E11 format, and TPC format (read only). - SET <tape_unit> FORMAT=format sets the specified tape unit's format. - SHOW <tape_unit> FORMAT displays the specified tape unit's format. - Tape format can also be set as part of the ATTACH command, using the -F switch. 3.3 VAX - VAX can be compiled without USE_INT64. - If compiled with USE_INT64 and USE_ADDR64, RQ and TQ controllers support files > 2GB. - VAX ROM has speed control (SET ROM DELAY/NODELAY). 4. Bugs Fixed in 3.0 vs prior releases 4.1 VAX - Fixed CVTfi bug: integer overflow not set if exponent out of range - Fixed EMODx bugs: o First and second operands reversed o Separated fraction received wrong exponent o Overflow calculation on separated integer incorrect o Fraction not set to zero if exponent out of range - Fixed interval timer and ROM access to pass power-up self-test even on very fast host processors (fixes from Mark Pizzolato). 4.2 1401 - Fixed mnemonic, instruction lengths, and reverse scan length check bug for MCS. - Fixed MCE bug, BS off by 1 if zero suppress. - Fixed chaining bug, D lost if return to SCP. - Fixed H branch, branch occurs after continue. - Added check for invalid 8 character MCW, LCA. - Fixed magtape load-mode end of record response. 4.3 Nova - Fixed DSK variable size interaction with restore. 4.4 PDP-1 - Fixed DT variable size interaction with restore. 4.5 PDP-11 - Fixed DT variable size interaction with restore. - Fixed bug in MMR1 update (found by Tim Stark). - Added XQ features and fixed bugs: o Corrected XQ interrupts on IE state transition (code by Tom Evans). o Added XQ interrupt clear on soft reset. o Removed XQ interrupt when setting XL or RL (multiple people). o Added SET/SHOW XQ STATS. o Added SHOW XQ FILTERS. o Added ability to split received packet into multiple buffers. o Added explicit runt and giant packet processing. 4.6 PDP-18B - Fixed DT, RF variable size interaction with restore. - Fixed MT bug in MTTR. 4.7 PDP-8 - Fixed DT, DF, RF, RX variable size interaction with restore. - Fixed MT bug in SKTR. 4.8 HP2100 - Fixed bug in DP (13210A controller only), DQ read status. - Fixed bug in DP, DQ seek complete. 4.9 GRI - Fixed bug in SC queue pointer management.
This commit is contained in:
committed by
Mark Pizzolato
parent
4ffd3be790
commit
f9564b81b9
@@ -1,6 +1,6 @@
|
||||
/* altairz80_defs.h: MITS Altair simulator definitions
|
||||
|
||||
Copyright (c) 2002, Peter Schorn
|
||||
Copyright (c) 2002-2003, Peter Schorn
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
|
||||
@@ -126,13 +126,13 @@ extern UNIT cpu_unit;
|
||||
|
||||
/* SIMH pseudo device status registers */
|
||||
/* ZSDOS clock definitions */
|
||||
static int32 ClockZSDOSDelta = 0; /* delta between real clock and Altair clock */
|
||||
static time_t ClockZSDOSDelta = 0; /* delta between real clock and Altair clock */
|
||||
static int32 setClockZSDOSPos = 0; /* determines state for receiving address of parameter block */
|
||||
static int32 setClockZSDOSAdr = 0; /* address in M of 6 byte parameter block for setting time */
|
||||
static int32 getClockZSDOSPos = 0; /* determines state for sending clock information */
|
||||
|
||||
/* CPM3 clock definitions */
|
||||
static int32 ClockCPM3Delta = 0; /* delta between real clock and Altair clock */
|
||||
static time_t ClockCPM3Delta = 0; /* delta between real clock and Altair clock */
|
||||
static int32 setClockCPM3Pos = 0; /* determines state for receiving address of parameter block */
|
||||
static int32 setClockCPM3Adr = 0; /* address in M of 5 byte parameter block for setting time */
|
||||
static int32 getClockCPM3Pos = 0; /* determines state for sending clock information */
|
||||
@@ -658,11 +658,12 @@ enum simhPseudoDeviceCommands { /* do not change order or remove commands, add o
|
||||
#define cpmCommandLineLength 128
|
||||
#define splimit 10 /* stack depth of timer stack */
|
||||
static uint32 markTime[splimit]; /* timer stack */
|
||||
static struct tm *currentTime = NULL;
|
||||
static struct tm currentTime;
|
||||
static int32 currentTimeValid = FALSE;
|
||||
static char version[] = "SIMH002";
|
||||
|
||||
static t_stat simh_dev_reset(DEVICE *dptr) {
|
||||
currentTime = NULL;
|
||||
currentTimeValid = FALSE;
|
||||
ClockZSDOSDelta = 0;
|
||||
setClockZSDOSPos = 0;
|
||||
getClockZSDOSPos = 0;
|
||||
@@ -783,7 +784,7 @@ static void setClockCPM3(void) {
|
||||
}
|
||||
|
||||
static int32 simh_in(const int32 port) {
|
||||
int32 result;
|
||||
int32 result = 0;
|
||||
switch(lastCommand) {
|
||||
case attachPTRCmd:
|
||||
case attachPTPCmd:
|
||||
@@ -791,31 +792,31 @@ static int32 simh_in(const int32 port) {
|
||||
lastCommand = 0;
|
||||
break;
|
||||
case getClockZSDOSCmd:
|
||||
if (currentTime) {
|
||||
if (currentTimeValid) {
|
||||
switch(getClockZSDOSPos) {
|
||||
case 0:
|
||||
result = toBCD(currentTime -> tm_year > 99 ?
|
||||
currentTime -> tm_year - 100 : currentTime -> tm_year);
|
||||
result = toBCD(currentTime.tm_year > 99 ?
|
||||
currentTime.tm_year - 100 : currentTime.tm_year);
|
||||
getClockZSDOSPos = 1;
|
||||
break;
|
||||
case 1:
|
||||
result = toBCD(currentTime -> tm_mon + 1);
|
||||
result = toBCD(currentTime.tm_mon + 1);
|
||||
getClockZSDOSPos = 2;
|
||||
break;
|
||||
case 2:
|
||||
result = toBCD(currentTime -> tm_mday);
|
||||
result = toBCD(currentTime.tm_mday);
|
||||
getClockZSDOSPos = 3;
|
||||
break;
|
||||
case 3:
|
||||
result = toBCD(currentTime -> tm_hour);
|
||||
result = toBCD(currentTime.tm_hour);
|
||||
getClockZSDOSPos = 4;
|
||||
break;
|
||||
case 4:
|
||||
result = toBCD(currentTime -> tm_min);
|
||||
result = toBCD(currentTime.tm_min);
|
||||
getClockZSDOSPos = 5;
|
||||
break;
|
||||
case 5:
|
||||
result = toBCD(currentTime -> tm_sec);
|
||||
result = toBCD(currentTime.tm_sec);
|
||||
getClockZSDOSPos = lastCommand = 0;
|
||||
break;
|
||||
}
|
||||
@@ -825,7 +826,7 @@ static int32 simh_in(const int32 port) {
|
||||
}
|
||||
break;
|
||||
case getClockCPM3Cmd:
|
||||
if (currentTime) {
|
||||
if (currentTimeValid) {
|
||||
switch(getClockCPM3Pos) {
|
||||
case 0:
|
||||
result = daysCPM3SinceOrg & 0xff;
|
||||
@@ -836,15 +837,15 @@ static int32 simh_in(const int32 port) {
|
||||
getClockCPM3Pos = 2;
|
||||
break;
|
||||
case 2:
|
||||
result = toBCD(currentTime -> tm_hour);
|
||||
result = toBCD(currentTime.tm_hour);
|
||||
getClockCPM3Pos = 3;
|
||||
break;
|
||||
case 3:
|
||||
result = toBCD(currentTime -> tm_min);
|
||||
result = toBCD(currentTime.tm_min);
|
||||
getClockCPM3Pos = 4;
|
||||
break;
|
||||
case 4:
|
||||
result = toBCD(currentTime -> tm_sec);
|
||||
result = toBCD(currentTime.tm_sec);
|
||||
getClockCPM3Pos = lastCommand = 0;
|
||||
break;
|
||||
}
|
||||
@@ -1012,7 +1013,8 @@ static int32 simh_out(const int32 port, const int32 data) {
|
||||
case getClockZSDOSCmd:
|
||||
time(&now);
|
||||
now += ClockZSDOSDelta;
|
||||
currentTime = localtime(&now);
|
||||
currentTime = *localtime(&now);
|
||||
currentTimeValid = TRUE;
|
||||
getClockZSDOSPos = 0;
|
||||
break;
|
||||
case setClockZSDOSCmd:
|
||||
@@ -1021,7 +1023,8 @@ static int32 simh_out(const int32 port, const int32 data) {
|
||||
case getClockCPM3Cmd:
|
||||
time(&now);
|
||||
now += ClockCPM3Delta;
|
||||
currentTime = localtime(&now);
|
||||
currentTime = *localtime(&now);
|
||||
currentTimeValid = TRUE;
|
||||
daysCPM3SinceOrg = (now - mkCPM3Origin()) / secondsPerDay;
|
||||
getClockCPM3Pos = 0;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user