Commit graph

2614 commits

Author SHA1 Message Date
Mark Pizzolato
9ad2f9bb12 I1620: Convert a few stray tab characters to spaces which had crept in over time. 2015-01-12 11:40:21 -08:00
Leo Broukhis
8f6e849ecf BESM6: Implemented WRU when no local console, added binary punchtape mode,
translated some comments.
2015-01-11 17:43:39 -08:00
Mark Pizzolato
c2cef3c051 ALL: Avoid name space collision for the global variable PC when readline is dynamically loaded in many simulators. 2015-01-11 15:22:47 -08:00
Mark Pizzolato
f5dcb2e2e5 Visual Studio Projects: Fix misspelled include file name in HP2100 project definition 2015-01-11 15:20:13 -08:00
Mark Pizzolato
f0f80f7cf0 makefile: Fix build when compiling under MinGW to avoid reference to un-necessary/non-existent library 2015-01-11 13:44:01 -08:00
Mark Pizzolato
f125145c37 makefile: When using MinGW better build on XP and support for EXPECT with regular expressions 2015-01-11 10:48:30 -08:00
Leo Broukhis
793227f060 BESM6: Implemented SET CPU PANEL/NOPANEL. 2015-01-10 01:25:52 -08:00
Mark Pizzolato
c5cb826d00 makefile: Fix build of simulators with SDL support to reference the correct version and added MinGW build support for the BESM6 simulator 2015-01-09 13:51:48 -08:00
Mark Pizzolato
ec1f57d120 BESM6: Revised windows build to add SDL support to provide the besm6_panel interface. 2015-01-09 13:50:29 -08:00
Mark Pizzolato
9e945b705b README: Mention new BESM-6 simulator 2015-01-09 13:49:12 -08:00
Mark Pizzolato
483a969837 BESM6: Addition of BESM-6 Simulator written by Leo Broukhis and Serge Vakulenko 2015-01-09 08:53:10 -08:00
Mark Pizzolato
6f1e8377c9 SCP: Added -T switch to the EXPECT, SEND and STEP commands to specify that the units of delay/stepping are in microseconds rather than instructions. 2015-01-09 04:52:21 -08:00
Mark Pizzolato
f572f25577 BESM6: Add AppleGothic.ttf as a font for the panel which is generally found on OS X. 2015-01-08 22:11:09 -08:00
Leo Broukhis
3ac8c82951 BESM6: Implemented SET CPU REQ, added an example of a batch task run. 2015-01-08 22:11:09 -08:00
Leo Broukhis
1787947299 BESM6: Translated comments in besm6_panel.c 2015-01-08 22:11:09 -08:00
Leo Broukhis
8dea6828fe BESM6: All arguments of "attach tty" but the magic word "console" are passed to tmxr_attach().
BESM6: Fix windows compile  to support "console" besm6_tty attach .
2015-01-08 22:11:01 -08:00
Leo Broukhis
d6d13a8c08 BESM6: Output to Baudot TTYs works; fixed attaching of disks without -e; added DejaVu font option. 2015-01-08 22:11:01 -08:00
Mark Pizzolato
0f1e233366 BESM6: Cleanup for build on OS X, 2015-01-08 22:11:01 -08:00
Mark Pizzolato
5fd8b63cf4 SCP: Fix debug setup info displayed by SHOW SEND and SHOW EXPECT 2015-01-08 22:11:01 -08:00
Mark Pizzolato
e84c798d1c SCP: Fix EXPECT matching logic for non-regex strings to have enough room to buffer all of potential match data plus a NUL byte. 2015-01-08 22:11:01 -08:00
Mark Pizzolato
91f465d780 SCP: Add info displayed in SHOW EXPECT and SHOW SEND to advise how SEND & EXPECT debugging is enabled 2015-01-08 22:11:00 -08:00
Mark Pizzolato
7ab9f020bd TMXR: Add default debug bits for SEND/EXPECT operations 2015-01-08 22:11:00 -08:00
Mark Pizzolato
5d9aee0d14 SCP: EXPECT debug fix to avoid invalid memory reference if a expect structure doesn have a device pointer. Corrected comments. From Mark Emmer. 2015-01-08 22:11:00 -08:00
Mark Pizzolato
184bb3f904 SCP: better parsing support for command files which contain UTF-8 data in SEND/EXPECT strings 2015-01-08 22:11:00 -08:00
Mark Pizzolato
5f786a0de4 SCP: More allow command files to contain UTF-8 data.
- Provide a sim_islower(), sim_isalpha(), sim_isprinit(), sim_isdigit(), sim_isgraph(), sim_isalnum()  which make sure that the character being examined as an unsigned char.
2015-01-08 22:11:00 -08:00
Mark Pizzolato
b4dbb76bfc SCP: Allow command files to contain UTF-8 data.
- Ignore a UTF_BOM sequence at the beginning of command files.
- Provide a sim_isspace() which makes sure that isspace only considers the character being examined as an unsigned char.
2015-01-08 22:11:00 -08:00
Mark Pizzolato
703c5697be BESM6: Have makefile search for one of several potential FONTNAME fonts in several potential FONTPATH directories.
Fix besm6_panel to use FONTFILE when building with SDL 1.2,
Fix besm6_panel compile issues on Windows
Provide FONTFILE name via either -DFONTFILE OR via a #define in a generated besm6_panel_font.h
2015-01-08 22:11:00 -08:00
Leo Broukhis
bd260dd523 BESM6: Schedule the serial line timer by instruction count when I/O is pending, and by wallclock time otherwise. This achieves a good TTY output rate even when the CPU is busy with a user process. 2015-01-08 22:11:00 -08:00
Leo Broukhis
aa16857edc BESM6: Updated licenses missed before, TTYs use sim_putchar(), translated comments in besm6_tty.c; using "console" instead of "/dev/tty". 2015-01-08 22:11:00 -08:00
Leo Broukhis
a7f05ac40c BESM6: Added TTY interrupt insertion in the idle loop. 2015-01-08 22:10:31 -08:00
Leo Broukhis
c2975c8e0e BESM6: No need to check for printing to console. 2015-01-08 22:10:31 -08:00
Mark Pizzolato
567e81188e ETHER: Fix compile when threaded network I/O is disabled on OS X (found by Martin Vorländer) 2015-01-08 22:10:31 -08:00
Mark Pizzolato
3b4bc61fdf MicroVAX1, MicroVAX2: Compiler/Linker suggested cleanup 2015-01-08 22:10:31 -08:00
Mark Pizzolato
8659281aaf SCP: Changed sim_poll_kbd() to set the global stop_cpu when the WRU character has been received.
Thus behaving consistently with platforms which learn about the WRU character by the delivery of a SIGINT.
2015-01-08 22:10:31 -08:00
Mark Pizzolato
d615bd0f58 SCP: Only report DO file context when run_cmd completes if the completion status is not a simulator specific error code and not due to a STEP, EXPECT or STOP completion.
The commands which operate through run_cmd (GO, STEP, CONTINUE, BOOT, RUN) will all exit with a status which is NOT SCPE_OK.  Most of the exit status values will be 100% normal and not indicative of a true error, so producing error message context is not necessary or desired.
2015-01-08 22:10:31 -08:00
Mark Pizzolato
3fe61c53a5 SCP: Provide an API to display alternate error message text while returning SCPE status. 2015-01-08 22:10:30 -08:00
Mark Pizzolato
bb42ce6486 TAPE: Simplify range expression to avoid cast size reduction 2015-01-08 22:10:30 -08:00
Mark Pizzolato
8d11de76c1 VAX: Properly inline memory reference functions for performance. Fix #169 2015-01-08 22:10:30 -08:00
Mark Pizzolato
bd50637b18 BESM6: Working calibrated clock which also supports idling
BESM6: Single instruction calibration and step cleanup
2015-01-08 22:09:59 -08:00
Leo Broukhis
76cdf0fd10 BESM6: Got rid of ftw(); the font file should be provided as a build option. 2015-01-08 22:09:59 -08:00
Leo Broukhis
a50bd68ce5 BESM6: Using sim_fwrite for formatting. 2015-01-08 22:09:48 -08:00
Mark Pizzolato
e37d0658fa SCP: Fix clock initialization in AIO_INIT when __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 are not available. 2015-01-08 19:51:01 -08:00
Mark Pizzolato
11a72cef93 SCP: Cleanup redundant external declaration in sim_tmxr.h (found by Dave Bryan) 2015-01-08 06:17:40 -08:00
Mark Pizzolato
ecbb20f1a9 HP2100: Latest updates: 64-bit clean compiles and revised BOOT support from Dave Bryan
265. PROBLEM:  Compiling the HP simulator for 64-bit addressing produces many
     conversion warnings.

     OBSERVATION:  Compiling the simulator and defining USE_INT64 and USE_ADDR64
     with implicit conversion warnings enabled reveals a number of places where
     assumptions were made that addresses would always be 32 bits.  This is a
     reasonable assumption, as there are no devices (CPU or peripherals) that
     can handle gigabyte addressing.  Still, many of these assumptions are not
     necessary, and some future peripheral simulator may exceed this limit.

     CAUSE:  Future expansion to 64-bit addressing was not envisioned.

     RESOLUTION:  Modify source files to ensure that "t_addr" and "t_value"
     types are used instead of "uint32" and "int32" types where addressing and
     data values may be 64 bits.  Also ensure that valid conversions to smaller
     sizes use explicit casts.

266. PROBLEM:  BOOT devices require a duplicate S-register declaration.

     OBSERVATION:  All of the peripheral devices that support the BOOT command
     set the select code and other parameters into the S register during the
     boot process.  This direct register access requires an external declaration
     that duplicates the one in the full CPU declarations file (hp2100_cpu.h).
     A better method that avoids the duplicate declaration would be for the
     "ibl_copy" routine to modify the S register on behalf of the caller.

     CAUSE:  Poor original implementation.

     RESOLUTION:  Modify "ibl_copy" (hp2100_cpu.c) to take two additional
     parameters that clear and set bits, respectively, in the S register on
     behalf of the caller.  Modify the boot routines for the CPU, DA, DP, DQ,
     DR, DS, IPL, MS, and PTR devices to use the new parameters instead of
     modifying the S register directly.
2015-01-08 03:39:22 -08:00
Mark Pizzolato
f8501c2ec2 DOC: Updated simh.doc and sim_magtape.doc to reflect recent revisions to tape support (from Dave Bryan) 2015-01-08 03:34:42 -08:00
Mark Pizzolato
9f9c983688 SCP: Fix debug setup info displayed by SHOW SEND and SHOW EXPECT 2015-01-06 12:44:24 -08:00
Mark Pizzolato
470b9b586a SCP: Fix EXPECT matching logic for non-regex strings to have enough room to buffer all of potential match data plus a NUL byte. 2015-01-06 11:25:55 -08:00
Mark Pizzolato
fb7b53cd07 SCP: Add info displayed in SHOW EXPECT and SHOW SEND to advise how SEND & EXPECT debugging is enabled 2015-01-06 08:27:03 -08:00
Mark Pizzolato
b8940f4e32 TMXR: Add default debug bits for SEND/EXPECT operations 2015-01-06 08:24:44 -08:00
Mark Pizzolato
7a2600d6e1 SCP: EXPECT debug fix to avoid invalid memory reference if a expect structure doesn have a device pointer. Corrected comments. From Mark Emmer. 2015-01-06 06:31:05 -08:00