Mark Pizzolato
e65aa904e7
SCP: Fix various missing log output
2013-11-20 15:09:43 -08:00
Mark Pizzolato
2e85e74699
SCP: Various cleanups.
...
- Avoid assignments of void * values. Cast all memory allocation return values to appropriate types.
- Add output to sim_log where missing in various places.
- Fixed issue with lost file positions after a restore for devices which leverage the UNIT_SEQ flag.
2013-11-20 09:13:27 -08:00
Mark Pizzolato
6f4e718fda
PDP8: Refinement to prior fix for issue #86 . Avoid data loss if prior character hasn't been read yet when a poll event happens.
2013-11-03 13:08:17 -08:00
Mark Pizzolato
ab028c0a37
SCP: Fix SET DEBUG switch interpretation
2013-09-25 16:41:05 -07:00
Mark Pizzolato
735c589d07
SCP: Allow ;notelnet option to be specified on the console telnet command as discussed in issue #76
2013-09-18 08:03:31 -07:00
Mark Pizzolato
7b4d2073fe
SCP: Added display of all enabled devices which have debugging enabled to the SHOW DEBUG command output.
2013-09-15 17:18:14 -07:00
Mark Pizzolato
572ed3437a
Optionally Enriched the info displayed at the beginning of debug message lines as discussed in Issue #66
...
sim> set debug -r -a -t -p somefile
-a produces seconds.msec time format
-t produces hh:mm:ss.msec time format
-r causes time values displayed to be relative to the wall clock time when the 'set debug' command was issued
-r by itself will cause default of -t
-a and -t can both be specified if desired
-p adds display of current PC value to the debug timestamp output
sim> show debug
2013-07-15 04:38:54 -10:00
Mark Pizzolato
1f8b3be4c0
Cleanup remote console single command mode.
2013-06-25 04:58:34 -10:00
Mark Pizzolato
469b4b249c
Fixed typo in comment
2013-06-20 09:11:51 -07:00
Timothe Litt
9752a71943
Access violation if invalid command entered to remote console
2013-06-17 15:11:24 -04:00
Mark Pizzolato
486ef58595
Compiler warning cleanup
2013-06-01 23:04:45 -07:00
Mark Pizzolato
881f53e457
Added support to the Remote Console facility to close a remote console session on EOF
2013-05-31 09:33:05 -07:00
Mark Pizzolato
d86680013b
Enhanced remote console to display the simulator's prompt string in the remote console sessions and changed startup message to more clearly describe how to get into multiple command mode.
2013-05-13 08:13:27 -07:00
Mark Pizzolato
3d27f015c1
Fix to avoid remote console looping in Multi-Command mode (Fix to issue #50 ).
2013-05-12 12:11:18 -07:00
Mark Pizzolato
7eb02bfd2b
Avoid noisy log messages in Remote Console activities.
2013-05-10 16:15:42 -07:00
Mark Pizzolato
80289e1e3b
Enhanced Remote Console support to allow two separate command processing modes.
...
1) Single Command Mode: commands are processed between simulated instructions once CR is received.
2) Multiple Command Mode: commands are initiated with the WRU character (usually *E) which suspends simulation execution and commands are processed until a CONTINUE command is entered (or automatically provided if the SET REMOTE TIMEOUT=seconds interval has elapsed).
2013-05-10 16:10:07 -07:00
Mark Pizzolato
782bec605d
Fix potential remote console memory leak
2013-05-10 05:02:07 -07:00
Mark Pizzolato
6c6d641034
Tolerate race condition which results in spurious timer thread wakeups which were causing the timer thread to exit. (SIM_ASYNCH_CLOCKS)
2013-05-07 11:40:07 -07:00
Mark Pizzolato
6cf54e8341
Fixes for stable operation with SIM_ASYNCH_CLOCKS defined
2013-05-07 11:22:29 -07:00
Mark Pizzolato
cc8c79eb0f
Added a more unique naming paradigm for remote console temporary log files to avoid potential collisions when multiple simulators may be running concurrently
2013-05-02 07:46:07 -07:00
Mark Pizzolato
242103e79f
Added remote console support when a persistent console log is not enabled.
2013-05-01 16:48:55 -07:00
Mark Pizzolato
b1e31a7034
Fixed Remote Console to tolerate bare LF as a line terminator and enhanced the tmxr debug output for special characters
2013-04-30 08:37:11 -07:00
Mark Pizzolato
02ebf6bdfc
Added support for STEP command execution in Remote Console sessions
2013-04-24 11:43:44 -07:00
Mark Pizzolato
9844ba6696
Added DIR (LS) command to list the files in a directory. This command is usable in Remote Console sessions.
2013-04-23 12:39:03 -07:00
Mark Pizzolato
02b3477d20
Ensure correct Remote Console functionality when log files get big
2013-04-21 05:46:52 -07:00
Mark Pizzolato
de22137d1b
Enhanced Remote Console support
...
- Added HELP REMOTE for remote console sessions to display the available remote console commands
- Added input timeouts to remote console sessions to automatically continue the simulator
- Added suspend/resume announcements to all remote console sessions
2013-04-20 06:52:02 -07:00
Mark Pizzolato
ba09b2d3f2
Avoid crash in remote console when invalid command is entered and notification to alternate remote consoles.
2013-04-19 15:42:22 -07:00
Mark Pizzolato
99c13051e6
Merge remote-tracking branch 'origin/master' into Operator-Commands
2013-04-19 14:23:00 -07:00
Mark Pizzolato
b886fb23b6
Add Remote Console support
2013-04-19 13:54:19 -07:00
Mark Pizzolato
4bd72e666c
Compiler and static analyzer fixes from Peter Schorn.
2013-04-13 16:59:54 -07:00
Mark Pizzolato
414cf3335f
Compiler identified issues in AltairZ80 simulator
2013-04-12 06:39:28 -07:00
Mark Pizzolato
e3207c2009
Compiler suggested cleanups
2013-01-23 05:07:44 -08:00
Mark Pizzolato
83c1d80194
Merge branch 'master' into AsyncTmxr
...
Conflicts merged and missing changes in new modules added as needed for clock co-scheduling.
2013-01-21 16:52:42 -08:00
Mark Pizzolato
d46ebc7d49
Untangle circular include references between tmxr serial and sock include files.
2013-01-21 11:29:27 -08:00
Mark Pizzolato
19c4ccbf10
Added dynflags to the unit structure to track dynamic flags used by scp & libraries. This avoids expanding the set of unit flags and encroaching on the available user flags .
2013-01-18 09:46:13 -08:00
Mark Pizzolato
4f19d08869
Initial merge of Asynchronous Multiplexer and Asynchronous Clock support
2013-01-17 11:34:51 -08:00
Mark Pizzolato
1213f098e2
Fixed Buffered Console behavior which ended up flushing buffer contents once a second and clearing the buffer. We were also incorrectly flushing buffer contents when a connection dropped.
2013-01-11 16:34:05 -08:00
Mark Pizzolato
784ae24324
- Fixed asynchronous i/o hangs introduced when asynchronous cancel support was added
...
- Added event debug support to scp and the vax simulator
- Moved external declarations into include files related to modules which define them and removed random externs from modules which referenced them
- Fixed typos in sim_ether
- Fixed sim_disk and sim_tape to properly manage asynchronous threads on an i/o flush
2013-01-09 17:02:58 -08:00
Mark Pizzolato
375a02181e
Retained the prior SET CONSOLE DEBUG={stdout|log} behavior which deprecated and replaced by SET DEBUG={stdout|log}. Reported by Rob Jarratt
2013-01-05 14:34:10 -08:00
Mark Pizzolato
3b5870c66b
Fix the occasional pause which may happen when the console is connected to a serial port at a slow port speed and large bursts of output cause buffers to fill up.
2012-12-19 05:43:06 -08:00
Mark Pizzolato
1370ad6a2c
Fixed console serial port connection checking
2012-12-18 15:41:34 -08:00
Mark Pizzolato
a72d85b2bd
Fix TMXR for devices which reference the TMLN conn variable as a connection state flag
2012-12-18 09:53:01 -08:00
Mark Pizzolato
6cabdb9f9f
Fixed duplicate logging output when output buffers are full and potential pauses in console output (reported by Mark Benson)
2012-12-15 11:40:20 -08:00
Mark Pizzolato
60a0881c71
Fixes after Dave Bryan's testing.
2012-12-15 07:58:11 -08:00
Mark Pizzolato
7f6a1af5bf
Added an optional validation argument to sim_parse_addr for callers which need to confirm incoming connections come from expected sources
2012-12-09 12:12:09 -08:00
Mark Pizzolato
c6c66487ac
Compiler suggested cleanups
2012-11-30 13:22:15 -08:00
Mark Pizzolato
f8ae8d2741
Periodically flush buffered console mux data. This is necessary to cover the situation when data was buffered and sending data out the connection stalled due to OS/network buffering and no more output traffic happens to be generated.
2012-11-07 14:26:07 -08:00
Mark Pizzolato
1fda1b1708
scp.h, sim_console.h, sim_console.c - Changed SET CONSOLE DEBUG= and SET CONSOLE NODEBUG to enable/disable debugging for the console device
2012-10-23 14:37:19 -07:00
Mark Pizzolato
02cb620c9b
Change to support serial ports on multiplexer devices without any changes to existing multiplexer device emulation code.
...
Added support for per line tcp listen ports.
Added support for per line outgoing tcp/telnet connections.
Removed DEV_NET from pdp11_dz and pdp11_vh emulators to allow proper restore of
2012-10-17 08:40:01 -07:00
Mark Pizzolato
30ce7fdbaa
Revised the socket library sim_sock(.c & .h) to support both IPv4 and IPv6 leveraging the RFC3493 APIs.
...
All dependent code has been updated to use the revised interfaces.
2012-09-28 15:34:55 -07:00