- This release of the HP 3000 simulator adds the following device simulation: - 30209A Line Printer Controller with One 2607/13/17/18 Line Printer The simulation supports the use of custom VFU tape images, as well as the built-in HP-standard VFU tape. The simulated device name is "LP". The full set of configurable options is detailed in a new section of the HP 3000 Simulator User's Guide. In addition, the preconfigured MPE-V/R disc image has been updated to add the following features: - The MPE cold load command files attach the line printer to the "lp.txt" output file and specify the "-n" option to clear the file before use. - Preinstalled User-Defined Commands (UDCs) provide access to the COBOL 74 compiler with the MPE-V/E :COBOLII, :COBOLIIPREP, and :COBOLIIGO commands, and to the COBOL 85 compiler with :COBOLIIX, :COBOLIIXPREP, and :COBOLIIXGO. However, see the implementation note below. -------------------- Implementation Notes -------------------- - MPE requires a line printer, so it is recommended that the MPE startup simulator command file include an ATTACH LP <filename> command to load paper into the printer before cold loading. If the printer is not attached, it will appear to MPE to be out of paper. - The line printer terminates each print line with an HP-standard CR/LF pair. If the output file is to be retained as a text file on a Unix system, removal of the carriage returns, e.g., via the "dos2unix" utility, may be desirable. - The simulator currently does not provide the HP 32234A COBOL II firmware instructions, so programs generated by the COBOLII compiler will abort at run time with an "ILLEGAL INSTRUCTION" error. Programs generated by the COBOL compiler do not use these instructions and therefore are not affected. ---------- Bugs Fixed ---------- 1. PROBLEM: The effective address of a byte pointer with a negative index is calculated incorrectly. VERSION: Release 1 OBSERVATION: Defining a :WELCOME message in MPE appears to work, but when the next logon attempts to print the message, an infinite number of CRLFs are printed instead. CAUSE: The welcome message is stored in an extra data segment. The format for each message line is a line length stored in the lower byte of the word preceding the message string. The code defines BYTE POINTER NEXTLINE and points NEXTLINE to the first message character. The line length is set with NEXTLINE(-1) := IOCOUNT. This generates a LOAD <IOCOUNT> ; LDXN 1 ; STB <NEXTLINE>,I,X sequence. In the "cpu_ea" routine, the indexing adds the X register value (-1) to the byte pointer (NEXTLINE). This causes an overflow that is not masked to 16 bits. For a word access, this displacement is added to the base register and then masked to 16 bits, which gives the correct value. However, for byte accesses, the displacement is divided by 2 and then added, and the sum is masked. Dividing by 2 shifts the overflow bit into the MSB, causing the addition result to be off by 32K. The STB goes to the wrong location, the original zero in the length byte location is retained, and when the welcome message is printed, a zero-length line is printed, and the byte pointer is incremented by zero, so the null line is printed forever. RESOLUTION: Modify "cpu_ea" (hp3000_cpu.c) to mask indexed displacements to 16 bits after adding the X register value. STATUS: Fixed in Release 2. 2. PROBLEM: An SMSK instruction may clear the interrupt mask flip-flop of a device that specifies that it is should be "always enabled." VERSION: Release 1 OBSERVATION: If the TOS word is zero, an SMSK instruction will clear the interrupt mask flip-flop of a device whose mask jumper is set to "E" (always enabled). CAUSE: In response to a DSETMASK signal, device interfaces set their interrupt mask flip-flops by "anding" the incoming data word with the interrupt mask jumper setting. The jumper setting value for "always enabled" is %177777, which sets the mask flip-flop in all cases, except when the data word is zero. RESOLUTION: Modify hp3000_atc.c, hp3000_ds.c, and hp3000_ms.c to set their mask flip-flops unconditionally if the jumper setting is "E". STATUS: Fixed in Release 2. 3. PROBLEM: The "SET <dev> INTMASK=<n>" command sets the wrong bit in the device interface's interrupt mask jumper setting. VERSION: Release 1 OBSERVATION: The interrupt mask jumper on a device interface is set by specifying the mask bit number in a "SET <dev> INTMASK=<n>" command. This sets a bit in the device's interrupt mask jumper word corresponding to the bit number requested. However, the bit numbering is incorrect; setting the jumper for bit 15, for example, sets bit 0 of the jumper word. Therefore, the interface's mask flip-flop is not set as expected when an SMSK instruction is executed. CAUSE: The bit numbers were counted from the wrong end of the word. RESOLUTION: Modify "hp_set_dib" and "hp_show_dib" (hp3000_sys.c) to number the bits from the MSB instead of the LSB. STATUS: Fixed in Release 2. 4. PROBLEM: The Multiplexer Channel is not generating the ACKSR signal correctly. VERSION: Release 1 OBSERVATION: The line printer controller hangs when an SIO chained write is performed. The first programmed write completes normally, but the second does not start. The channel is waiting for a service request that does not occur. CAUSE: The service request from the last write of the first block transfer is being cleared by an ACKSR generated by the Multiplexer Channel when it performs the IOCW fetch in State A for the second write request. The channel should omit this ACKSR when the previous I/O order was a chained read or write. However, the simulator is testing the order just fetched (Write) instead of the order that has just completed (Write Chained). RESOLUTION: Modify "mpx_service" (hp3000_mpx.c) to test the correct I/O order in State A. STATUS: Fixed in Release 2.
389 lines
8.1 KiB
XML
389 lines
8.1 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioProject
|
|
ProjectType="Visual C++"
|
|
Version="9.00"
|
|
Name="HP3000"
|
|
ProjectGUID="{B3E35063-CB41-4F77-BFCA-49BB316B0EDB}"
|
|
RootNamespace="HP3000"
|
|
Keyword="Win32Proj"
|
|
TargetFrameworkVersion="131072"
|
|
>
|
|
<Platforms>
|
|
<Platform
|
|
Name="Win32"
|
|
/>
|
|
</Platforms>
|
|
<ToolFiles>
|
|
</ToolFiles>
|
|
<Configurations>
|
|
<Configuration
|
|
Name="Debug|Win32"
|
|
OutputDirectory="..\BIN\NT\$(PlatformName)-$(ConfigurationName)"
|
|
IntermediateDirectory="..\BIN\NT\Project\simh\$(ProjectName)\$(PlatformName)-$(ConfigurationName)"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
|
CharacterSet="0"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
Description="Check for required build dependencies & git commit id"
|
|
CommandLine="Pre-Build-Event.cmd LIBPCRE"
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
AdditionalIncludeDirectories="./;../;../HP3000/;"../../windows-build/PCRE/include/""
|
|
PreprocessorDefinitions="HAVE_INT64;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;SIM_NEED_GIT_COMMIT_ID;HAVE_PCREPOSIX_H;PCRE_STATIC"
|
|
KeepComments="false"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="0"
|
|
RuntimeLibrary="1"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="3"
|
|
CompileAs="1"
|
|
ShowIncludes="false"
|
|
/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="wsock32.lib winmm.lib pcrestaticd.lib pcreposixstaticd.lib"
|
|
LinkIncremental="2"
|
|
AdditionalLibraryDirectories="../../windows-build/PCRE/lib/"
|
|
GenerateDebugInformation="true"
|
|
SubSystem="1"
|
|
StackReserveSize="10485760"
|
|
StackCommitSize="10485760"
|
|
RandomizedBaseAddress="1"
|
|
DataExecutionPrevention="0"
|
|
TargetMachine="1"
|
|
/>
|
|
<Tool
|
|
Name="VCALinkTool"
|
|
/>
|
|
<Tool
|
|
Name="VCManifestTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCBscMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCFxCopTool"
|
|
/>
|
|
<Tool
|
|
Name="VCAppVerifierTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release|Win32"
|
|
OutputDirectory="..\BIN\NT\$(PlatformName)-$(ConfigurationName)"
|
|
IntermediateDirectory="..\BIN\NT\Project\simh\$(ProjectName)\$(PlatformName)-$(ConfigurationName)"
|
|
ConfigurationType="1"
|
|
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
|
CharacterSet="0"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
Description="Check for required build dependencies & git commit id"
|
|
CommandLine="Pre-Build-Event.cmd LIBPCRE"
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="2"
|
|
InlineFunctionExpansion="1"
|
|
OmitFramePointers="true"
|
|
AdditionalIncludeDirectories="./;../;../HP3000/;"../../windows-build/PCRE/include/""
|
|
PreprocessorDefinitions="HAVE_INT64;_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;SIM_NEED_GIT_COMMIT_ID;HAVE_PCREPOSIX_H;PCRE_STATIC"
|
|
StringPooling="true"
|
|
RuntimeLibrary="0"
|
|
EnableFunctionLevelLinking="true"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
DebugInformationFormat="3"
|
|
CompileAs="1"
|
|
/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="wsock32.lib winmm.lib pcrestatic.lib pcreposixstatic.lib"
|
|
LinkIncremental="1"
|
|
AdditionalLibraryDirectories="../../windows-build/PCRE/lib/"
|
|
GenerateDebugInformation="false"
|
|
SubSystem="1"
|
|
StackReserveSize="10485760"
|
|
StackCommitSize="10485760"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
RandomizedBaseAddress="1"
|
|
DataExecutionPrevention="0"
|
|
TargetMachine="1"
|
|
/>
|
|
<Tool
|
|
Name="VCALinkTool"
|
|
/>
|
|
<Tool
|
|
Name="VCManifestTool"
|
|
/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCBscMakeTool"
|
|
/>
|
|
<Tool
|
|
Name="VCFxCopTool"
|
|
/>
|
|
<Tool
|
|
Name="VCAppVerifierTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
/>
|
|
</Configuration>
|
|
</Configurations>
|
|
<References>
|
|
</References>
|
|
<Files>
|
|
<Filter
|
|
Name="Source Files"
|
|
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
|
|
>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_atc.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_clk.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_cpu.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_cpu_base.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_cpu_fp.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_ds.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_iop.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_lp.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_mpx.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_ms.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_scmb.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_sel.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_sys.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp_disclib.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp_tapelib.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\scp.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_console.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_disk.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_ether.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_fio.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_serial.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_sock.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_tape.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_timer.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_tmxr.c"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_video.c"
|
|
>
|
|
</File>
|
|
</Filter>
|
|
<Filter
|
|
Name="Header Files"
|
|
Filter="h;hpp;hxx;hm;inl;inc"
|
|
>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_cpu.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_cpu_fp.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_cpu_ims.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_defs.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp3000_io.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp_disclib.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\HP3000\hp_tapelib.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\scp.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_console.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_defs.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_disk.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_ether.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_fio.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_rev.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_serial.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_sock.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_tape.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_timer.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_tmxr.h"
|
|
>
|
|
</File>
|
|
<File
|
|
RelativePath="..\sim_video.h"
|
|
>
|
|
</File>
|
|
</Filter>
|
|
<Filter
|
|
Name="Resource Files"
|
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
|
>
|
|
</Filter>
|
|
</Files>
|
|
<Globals>
|
|
</Globals>
|
|
</VisualStudioProject>
|