1
0
mirror of https://github.com/simh/simh.git synced 2026-01-11 23:52:58 +00:00

242 Commits

Author SHA1 Message Date
Mark Pizzolato
b404ccd050 SCP: Make debug timestamps consistent when in NOCALIBRATE mode 2024-04-04 09:56:18 -10:00
Mark Pizzolato
d8e0e04dc8 CONSOLE: Show keyboard map info for Ascii FS character as ^\ 2023-12-30 13:31:31 -10:00
Mark Pizzolato
65d0ae2a44 SCP: Properly write debug output for commands run at the sim> prompt
- Without regard to whether the circular buffer data is otherwise in
   use while instructions are executing.
- When a circular debug buffer is in use, avoid writing out the contents
  with the periodic open file flushes and only do so on returns to the
  sim> prompt and when debug is closed
2023-11-12 12:49:07 -10:00
Mark Pizzolato
7c0f13cab2 CONSOLE: Add optional destination port SET CONSOLE TELNET=CONNECT{=port}
This allows SCP commands to create a local telnet session window connected
to either the local simulator console or another localhost tcp port.
2023-07-02 12:44:27 -10:00
Mark Pizzolato
287f2928ab SCP: Remove legacy support for OS2 and MetroWerks on Macintosh OS 9 2023-04-05 08:41:33 -10:00
Mark Pizzolato
194b313179 SCP: Fold up include files used by all simulators
- Add common system includes used in may places which are allowed
  and thus added directly in sim_defs.h.
- Separate completely private system data structures and system APIs
  for use only by SCP library routines into sim_scp_private.h.
2023-03-04 17:51:49 -10:00
Mark Pizzolato
ea07a8e260 CONSOLE: Cleanup Remote Console command interactions
- Fix potential buffer overrun while pending remote command actions
- Add debug abort interface to close debug file
- Flush partially read command line on EOF
- Flush partially read command line when WRU HALTs execution and switches
  to multi-command mode.
- Disable any pending repeat when WRU HALTs execution
2023-01-29 15:57:54 -10:00
Mark Pizzolato
a79c583053 TMXR: Remove all SIM_ASYNCH_MUX dependent code
Asynchronous MUX functionality was added long ago and never completely
tested and thus never completed and never actually used.

All of what it was supposed to achieve was independently achieved when
bit rate speed functionality was added.
2023-01-21 09:12:45 -10:00
Mark Pizzolato
a4360bc492 CONSOLE: Fix Remote Console reconfigure logic and properly name all units 2023-01-21 08:05:48 -10:00
Mark Pizzolato
78ebb4fe84 CONSOLE: Add appropriate unit names to remote console units based on roles 2023-01-16 18:11:14 -10:00
Mark Pizzolato
7a4ded8380 FRONTPANEL: Avoid potential deadlock when shutting down a panel application 2023-01-09 15:43:25 -10:00
Mark Pizzolato
135e69c4a1 SCP: Add SET CONSOLE TELNET=CONNECT to open a window running telnet to console 2022-12-30 21:34:07 -10:00
Mark Pizzolato
b0cdb3e831 frontpanel: Fix remote console event queuing when in HALT state
- Update sim_frontpanel API version to 13
- Correct event queuing when halted avoids sim_time running backwards
2022-12-28 10:58:08 -10:00
Mark Pizzolato
7ada0d6edb FIO: Fix relative path name logic for edge cases 2022-07-21 02:48:37 -10:00
Mark Pizzolato
5c301b0a8c SCP: Retain full path for open log files
There are cases where a log might be closed and reopened which might
be problematic if the current working directory had changed.
2022-07-18 04:11:48 -10:00
Mark Pizzolato
5cbf9df0df SCP: Fix memory debug buffer logic to properly flush and subsequently continue
Flushes happen:
1) when exiting sim_instr()
2) prior to explicitly aborting execution
2022-07-17 16:58:58 -10:00
Mark Pizzolato
ad9249d4c1 SCP: Add descriptive messages for SCPE_NOPARAM return cases 2022-05-12 13:13:15 -07:00
Mark Pizzolato
d3f1ee0998 CONSOLE: Set console input WAIT time to reflect console speed 2022-04-05 08:37:03 -07:00
Mark Pizzolato
35503f4765 TMXR: Add Access Control List (ACL) support for incoming network connections 2022-02-04 07:59:08 -08:00
Mark Pizzolato
b0dcd191bb SCP: Add missing console receive debug for telnet connect console 2022-01-15 19:32:55 -08:00
Mark Pizzolato
186fa30f37 SCP: Assure that remote console sessions continue after multiple reboots 2021-01-07 17:11:03 -08:00
Mark Pizzolato
852c0bc1bc SCP: Avoid seeking on attached sequential devices on non seekable files
As reported on #982
2020-12-14 18:48:14 -08:00
Mark Pizzolato
ddcc280a17 CONSOLE: Add binary mode option when opening the LOG file. 2020-11-01 09:47:22 -08:00
Mark Pizzolato
a02b87625c CONSOLE: Add REGister reflecting console character output count 2020-11-01 09:41:40 -08:00
Mark Pizzolato
9c1f4beae3 SCP: Migrate to use SCP internal timer base reference 2020-10-29 13:06:36 -07:00
Mark Pizzolato
31606161ce SCP: Avoid potential compiler warnings
Essentially all are non-functional problems but silencing them is a good idea
2020-10-09 05:09:41 -07:00
Mark Pizzolato
8fbec2d2aa REMOTE_CONSOLE: Properly support HELP
As reported in #931
2020-09-27 10:48:53 -07:00
Mark Pizzolato
0045601823 PDP11, PDP8: Allow console input to configure parity and KSR mode 2020-07-24 19:05:04 -07:00
Mark Pizzolato
d1f41d9c1f CONSOLE: Support auto WRU detection when sim_video is used 2020-06-12 06:25:04 -07:00
Mark Pizzolato
65778c7664 REMOTE_CONSOLE: Make STEP behavior consistent in master mode
As discussed in #866
2020-06-06 08:40:49 -07:00
Mark Pizzolato
e1a6a997eb REMOTE_CONSOLE: Avoid rate limiting output to remote console sessions
As discussed in #865
2020-06-02 12:06:18 -07:00
Mark Pizzolato
03a6d69c8d SCP: Assure that STEP is only allowed in MASTER mode remote console connections
The STEP command was inadvertently allowed to be parsed in non-master
mode connections, but it didn't actually work.  It has now been removed
from the generic remote console command table.

This was illuminated as of the discussion in #854
2020-05-25 09:55:24 -07:00
Mark Pizzolato
50ad9fbb82 SCP: Fix the allowed_remote_cmds to also list STEP before SAMPLEOUT
As discussed in #854
2020-05-22 15:54:38 -07:00
Mark Pizzolato
5ec4b3f2f4 SCP: Fix remote console command table ordering to have STEP near the beginning
This allowed user entered S to match the SAMPLEOUT command instead
of STEP.  That then identified a bug in the intended socket output
processing to attempt to be written to the undefined debug file.

As discussed in #854
2020-05-22 10:12:11 -07:00
Mark Pizzolato
4757632f9e SCP: Enable line wrapping at EOL on Windows console (Peter Schorn)
Simulators running directly in a Windows console session, that don't
have the console traffic redirected to a telnet session via
   SET CONSOLE TELNET=nnn
now behave similarly to the default behavior experienced on
non-windows hosts where the terminal session usually defaults to
wrapping at EOL.  Users who want more specific control of this behavior
can run their console via a telnet session with a terminal emulator that
lets them explicitly set these features in the emulator.

This change reintroduces this behavior which got lost when windows
support for ANSI (VT100) escape sequences were added to the console
sessions.
2020-05-16 03:57:36 -07:00
Mark Pizzolato
df63d4ff9f SCP: Reject undefined device with TESTLIB command
Also remove some otherwise unused variables (assignments but never used).
2020-05-05 12:57:43 -07:00
Mark Pizzolato
0170b7c6ab SCP: Convert more SHOW and debug output to use sim_vm_interval_units 2020-03-08 11:43:30 -07:00
Mark Pizzolato
b18912cda8 SCP: Silence GCC optimizer warnings about unused function results 2019-12-30 15:33:51 -08:00
Mark Pizzolato
7642d29f2c CONSOLE: Fix argument passing in SHOW CONSOLE
There are no extended arguments while parsing SHOW CONSOLE commands.
SHOW CONSOLE is a special parsing case somewhat equivalent to of SHOW
DEVICE for a device display.  No SHOW CONSOLE commands take value arguments.

Adopted from Dave Bryan's changes in V3.11
2019-12-28 10:45:03 -08:00
Mark Pizzolato
73a41c4bc7 SCP: Auto detect WRU being entered for simulators without a console device 2019-12-11 12:25:18 -08:00
Mark Pizzolato
6f5d8d3ed0 SCP: Honor -Q switch when enabling and disabling logging, suppress log date 2019-07-07 01:12:35 -07:00
Mark Pizzolato
4e0450cff9 SCP: Add support to uniquely identify SIGTERM in do procedures
As discussed in #681
2019-04-18 20:03:17 -07:00
Mark Pizzolato
fa77969c57 All: Fix various Coverity complaints 2019-04-03 09:32:54 -07:00
Mark Pizzolato
3d13218263 SCP: Add ability to set debug display switches on the fly 2019-03-26 14:04:09 -07:00
Mark Pizzolato
b59ad75217 SCP: Properly allow all debug option switches (EBCDIC and RAD50 text) 2019-03-26 01:39:13 -07:00
Mark Pizzolato
4b82a90c43 SCP: Assure that file buffers get flushed during frontpanel API halts
As reported in #668
2019-03-09 06:50:02 -08:00
Mark Pizzolato
880c8a89b7 PDP11, PDP18b, PDP8, VAX750, SCP: Silence Coverity identified complaints 2019-02-20 08:32:37 -08:00
Mark Pizzolato
183a8aab60 SCP: Change Unix debugger SIGINT command to SET CONSOLE DBGINT=n 2019-01-22 20:16:04 -08:00
Mark Pizzolato
cb9876ce65 SCP: Cleanup gcc compiler flagged potential issues
Compiler warnings about undeclared case fall throughs, and potential
buffer overruns,
2019-01-21 16:43:17 -08:00
Mark Pizzolato
9f2d96b3e7 SCP: Allow debugger delivery of SIGINT separate from WRU return to sim> prompt 2018-12-31 09:49:06 -08:00