Commit graph

65 commits

Author SHA1 Message Date
Leo Broukhis
203ca72356 BESM6: Fixed a compilation warning and a Coverity defect. 2022-03-18 07:53:24 -07:00
Leo Broukhis
36cd4668e7 BESM6: A Coverity fix, TTY enhancements.
One of the two parallel interface consoles (TTY26) works in the Videoton-340 mode;
disconnecting a remote TTY session works like powering the terminal down.
After reconnecting, it is necessary to type "HYC" blindly to re-initialize the line.
Added TMXR line reordering.
2022-03-16 19:52:51 -07:00
Leo Broukhis
8ae7d4fbcd BESM6: Coverity fixes, added disk type display for SHOW MDn. 2022-03-11 19:49:28 -08:00
Mark Pizzolato
d3fcb706e0 BESM6: Fix type declaration compile issue 2022-03-08 00:05:54 -08:00
Leo Broukhis
6c56968f15 BESM6: 29 Mb disks (EC-5061, clones of IBM 2314) are now functional.
The OS seems to support them only on device MD4, though.
Native formatting works.
2022-03-07 21:06:57 -08:00
Leo Broukhis
f5fc4f0313 BESM6: Reorganized the disk devices.
Split the disk units into groups to match the OS naming convention.
Added unit group multiplexing (partially functional in the OS).
Split debug messages into categories.
2022-02-21 17:54:51 -08:00
Leo Broukhis
c3491a28a2 BESM6: Made all 32 tape units functional.
Split the tape units into 4 groups to match the OS naming convention.
2022-02-21 17:54:51 -08:00
Leo Broukhis
9f5e40e240 BESM6: Implemented formatted magnetic tapes.
At the moment formatting has to be done by means of SIMH rather than
using the standard OS mechanism.
2022-02-16 11:41:45 -08:00
Leo Broukhis
5e539dc0b2 BESM6: Implemented punched card input and punched tape output 2021-01-02 02:50:08 -08:00
Mark Pizzolato
2676404b36 3B2, BESM6, PDP10, PDP11: Remove redundant include of time.h 2020-10-30 14:16:52 -07:00
Mark Pizzolato
263e0e7ed5 AltairZ80, BESM6, I7094: Adopt internal SCP internal time base 2020-10-29 13:28:41 -07:00
Mark Pizzolato
ae825c9afb All: Declare sim_stop_messages as an array SCPE_BASE long
This avoids a potential invalid pointer dereference when formatting
the return value from sim_instr() if it is < SCPE_BASE but greater
than the previously defined static array size.sizeof

Update simh.doc to reflect this generic change.
2020-09-02 15:56:07 -07:00
Mark Pizzolato
cfbd76e011 BESM6, NOVA, ECLIPSE, SIGMA: Set DEVICE type to DEV_MUX in MUX devices
Removed deprecated DEV_NET
2020-03-31 08:59:50 -07:00
Mark Pizzolato
106c5dbbc1 BESM6: Add missing newline in panel enable error message text 2020-01-04 11:38:55 -08:00
Mark Pizzolato
75d18d4db0 SCP: Removed redundant SCPE_NOTATT which duplicates SCPE_UNATT 2019-02-01 16:07:12 -08:00
Leo Broukhis
7c207c6233 BESM6: Printer file position must be updated. 2018-12-12 09:37:20 -08:00
Mark Pizzolato
760e7f2810 SCP: stop_cpu and sim_is_running variables t_bool 2018-02-02 05:02:27 -08:00
Mark Pizzolato
7cd1b27b08 BESM6: Fix error message generation to use sim_error_text
As reported in #500
2017-12-09 20:54:10 -08:00
Leo Broukhis
9e318d16a2 BESM6: Fixed memory access issues (COVERITY). 2017-03-09 21:32:23 -08:00
Leo Broukhis
828fe4c901 BESM6: Added checks for calls to fseek (COVERITY) 2017-03-09 21:20:19 -08:00
Leo Broukhis
f3354c5c27 BESM6: Implemented raw terminal I/O, added WRU announcement. 2017-02-09 21:30:36 -08:00
Leo Broukhis
f46c048bb6 BESM6: Implemented punchcard output. 2017-02-06 23:04:40 -08:00
Mark Pizzolato
e9b51150b0 BESM6: Fixed to use SCP provided sim_strcasecmp() 2017-01-17 16:38:16 -08:00
Leo Broukhis
7d3ede9492 BESM6: Improved TTY I/O (responsiveness, variable rate, turbo/authentic). 2017-01-15 23:58:38 -08:00
Mark Pizzolato
d8dbc7e6b5 SCP: Migrate all stdio writes to pass through SCP provided Fprintf() 2017-01-14 20:48:09 -08:00
Leo Broukhis
c70a1ba3df BESM6: Fixed a bug in multiplication.
Multiplying a negative number by a zero value with a non-zero exponent produced wrong results.
2017-01-07 17:11:21 -08:00
Mark Pizzolato
5a6e7ce172 BESM6: Fix compiler warning (left shift of negative value) 2016-10-12 04:28:37 -07:00
Mark Pizzolato
0263e0b950 BESM6: Fix CONST declaration for panel initialization routine 2016-09-14 16:43:25 -07:00
Mark Pizzolato
5531ccb175 ALL: Massive 'const' cleanup
These changes facilitate more robust parameter type checking and helps
to identify unexpected coding errors.

Most simulators can now also be compiled with a C++ compiler without
warnings.

Additionally, these changes have also been configured to facilitate easier
backporting of simulator and device simulation modules to run under the
simh v3.9+ SCP framework.
2016-05-15 15:25:33 -07:00
Mark Pizzolato
e7f7b10f6d BESM6: Change REGister initializers to use sim_defs.h defined macros. 2016-03-23 17:43:13 -07:00
Mark Pizzolato
de0d251c75 TIMER, SCP: Change the sim_activate_after APIs to pass the delay value as uint32.
Also change all sim_defs.h structure declarations and references of sim_
structures to use the typedef names everywhere.
2015-12-10 06:33:59 -08:00
Mark Pizzolato
e768629009 SCP: Added the capability for EXAMINE command output to be written directly to a socket. 2015-02-21 12:40:36 -08:00
Leo Broukhis
d4cb5e8aed BESM6: Clarified terminology, TAB char fix. 2015-02-13 09:33:40 -08:00
Leo Broukhis
68efe4d36a BESM6: Enhanced the front panel, code cleanup. 2015-02-12 20:35:33 -08:00
Mark Pizzolato
9accae5905 BESM6 and VAX: Cleanup for building on VMS 2015-02-12 12:32:39 -08:00
Serge Vakulenko
5ed1909839 BESM-6: some correction for indentation and spacing. 2015-01-21 12:29:29 -08:00
Leo Broukhis
0ee809546c BESM6: Fonts should be closed explicitly before terminating SDL_ttf. 2015-01-20 21:32:20 -08:00
Leo Broukhis
0d41242520 BESM6: Now builds without SDL, fixed CPU reset regression, output to parallel terminals works. 2015-01-15 00:07:03 -08:00
Leo Broukhis
9ff642f616 BESM6: Implemented hardwired front panel programs,
smoothed front panel lights, corrected a typo in besm6_tty.c
2015-01-14 00:39:55 -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
Leo Broukhis
793227f060 BESM6: Implemented SET CPU PANEL/NOPANEL. 2015-01-10 01:25:52 -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
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