Commit graph

153 commits

Author SHA1 Message Date
Mark Pizzolato
7db15faf76 Fixed SHOW dev output which was broken by the last commit 2013-02-02 13:31:29 -08:00
Mark Pizzolato
ecf913f9a5 Reworked the MTAB flags to force Extended mode when any extended flag is set and to then handle any references properly 2013-02-02 12:33:17 -08:00
Mark Pizzolato
a036f40a80 Fix format of HELP dev SHOW for MTAB entries with MTAB_SHP flag set 2013-02-02 06:44:13 -08:00
Mark Pizzolato
8b230f946b Fixed HELP dev SET and HELP dev SHOW to properly process non-extended mtab entries and to avoid using the help string when mstring has example arguments/syntax 2013-02-02 05:59:30 -08:00
Mark Pizzolato
bb8be22216 Added provisions for device modifiers to to have descriptive help
Changed SHOW dev SHOW to use the new HELP dev SHOW and SHOW dev MODIFIER to HELP dev SET.
2013-01-31 16:05:21 -08:00
Mark Pizzolato
370f57ed56 Provide more useful help for VAX simulator boot commands and clearer error reports for boot command errors 2013-01-26 21:12:12 -08:00
Mark Pizzolato
7a9db0fe64 Clean up output formatting for SHOW DEVICE, SHOW CONFIG and changed SHOW SYSTEM to SHOW FEATURES 2013-01-26 10:20:31 -08:00
Mark Pizzolato
cbe11147fc Created a way for devices to have a description presentation routine and if it is supplied for its output to be visible with a SHOW SYSTEM command. Provided device description routines for devices used in the VAX simulators 2013-01-25 12:04:25 -08:00
Mark Pizzolato
29cf2a45a8 Added support for register display with bit field definitions decoded 2013-01-24 05:52:50 -08:00
Mark Pizzolato
b18e1312df Added explicit array bounds and field width for HELP dev REGISTER output 2013-01-23 19:52:32 -08:00
Mark Pizzolato
a59eb7fa37 Enhanced 'HELP dev REGISTERS' to indicate register arrays uniquely 2013-01-23 05:09:21 -08:00
Mark Pizzolato
038c5d27fb Enhanced debug output to mark debug info from non main threads with a + at the beginning of the debug message 2013-01-22 20:32:21 -08:00
Mark Pizzolato
b7066fea3a Changed examine register range to summarize redundant (duplicate) output. 2013-01-22 16:01: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
4a5b7a78c5 Remove the UNIT_RAW flag and deprecate the UNIT_TEXT flag (made the value 0). 2013-01-19 10:59:40 -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
d1a1abde17 Enhanced the HELP dev REGISTER output to identify globally unique vs ambiguous register names and describe when the device scope is needed to identify a register 2013-01-17 05:30:31 -08:00
Mark Pizzolato
19f8fccbc1 Added HELP device REGISTERS support and register definitions for the VAX CPU device 2013-01-15 10:19:52 -08:00
Mark Pizzolato
bc816ae871 Fixed Asynchronous Event Queueing to work correctly when doing Lock based queueing 2013-01-10 09:53:40 -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
960866a92a Added missing generic help ethernet attach info 2013-01-09 11:23:00 -08:00
Mark Pizzolato
51459eb456 Added ethernet help and cleaned up generic help output 2013-01-09 11:13:06 -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
35e66482b3 Added an optional mechanism which will display the git commit id that produced the current simulator if the git commit id information is available 2013-01-02 07:46:17 -08:00
Mark Pizzolato
ba0f331fa5 Added framework to support per device help commands 2012-12-30 13:12:15 -08:00
Mark Pizzolato
34e0523ba8 Set version to 4.0-0 Beta 2012-12-24 09:23:19 -08:00
Mark Pizzolato
d291a6e838 Fix compiler identified array bounds issues 2012-12-21 12:55:57 -08:00
Mark Pizzolato
ca49c8c0b1 Fix for bug in help command when asking for help for command aliases. Reported by Darrell Pittman 2012-12-21 12:38:07 -08:00
Mark Pizzolato
f713a69ff9 Fix commit id display under MinGW compile 2012-12-20 16:42:33 -08:00
Mark Pizzolato
f8e68b70b5 Adding initial support to display the git commit id in the simulator code. 2012-12-20 15:04:37 -08:00
Mark Pizzolato
133b1b22b5 Revised comments 2012-12-19 12:49:08 -08:00
Mark Pizzolato
20ed6df379 Made the SET ENV command be SET ENVIRONMENT which will match both but be consistent with using commands which work as long as they are unambiguous. 2012-12-19 05:41:38 -08:00
Mark Pizzolato
50cf91d441 Merge branch 'SerialMux' and compiler suggested cleanup 2012-12-18 09:52:14 -08:00
Mark Pizzolato
762aacf7ad Merge branch 'Extra-VAXen' 2012-12-17 03:19:07 -08:00
Mark Pizzolato
cd0ef35bbf Added command alias SHOW MUX for SHOW MULTIPLEXOR. To avoid collision with simulators which may have devices named MUX, the device names/units are examined prior to the standard SHOW arguments. Simulators which have a device named MUX can't use the SHOW MUX alias. 2012-12-16 07:03:19 -08:00
Mark Pizzolato
0450a9b430 Compiler suggested cleanup 2012-12-15 07:56:42 -08:00
Mark Pizzolato
b466bdc9c6 Compiler warning cleanup 2012-12-13 13:41:57 -08:00
Mark Pizzolato
2b5ceae2be Added missing sim_cancel support for device simulation code using the sim_disk and sim_tape libraries and doing asynchronous I/O if asynchronous I/O is active 2012-12-12 10:58:19 -08:00
Mark Pizzolato
f3bc30aa39 Extended command argument substitution to allow large environment variable substitutions. 2012-12-08 15:24:10 -08:00
Mark Pizzolato
72ca9de180 Clang compiler cleanup for new sim_debug_bits 2012-12-06 08:15:14 -08:00
Mark Pizzolato
2c1d2b9a88 Fixed minor sim_debug_bits issues. 2012-12-05 20:47:34 -08:00
Mark Pizzolato
bcf0e8b19c Generalized sim_debug_u16 into sim_debug_bits and added support to display bit fields of variable size as well as bit states. 2012-12-04 09:32:40 -08:00
Mark Pizzolato
7c7df669ad Asynchronous Support
scp.c, scp.h
	- added sim_uname (Unit Name) API to simplify places which might want to display it (mostly debug messages).
	- added support for clock co-scheduling
	- added debugging to trace event queue activities

    sim_defs.h
	- added support for clock co-scheduling
	- added support for sim_uname (Thread local storage macro)
	- added support for debugging to trace event queue activities
	- simplified debug code by using sim_uname
	- fixed support macro for sim_is_active when asynch timers are in use

   sim_rev.h
	- fixed nested comments

    sim_tmxr.c, sim_tmxr.h
	- added support for clock co-scheduling
	- simplified debug code by using sim_uname
	- added support for devices which poll for output on different units

    sim_timer.c, sim_timer.h
	- added support for clock co-scheduling
	- fixed asynchronous clock calibration to smooth out calibration adjustments
	- simplified debug code by using sim_uname
	- added ability (when running with asynchronous support) to explicitly disable or enable asynchronous timer support.
	- changed sim_timer_inst_per_sec to return a double value since the result is always used in a double expression and integer overflow could occur under strange timing conditions

    vax/vax_stddev.c
	- converted from simulator specific clock co-scheduling to generic clock co-scheduling.

    vax/vax_cpu.c
	- added EVENT and ACTIVATE debug flag (SET CPU DEBUG=EVENT;ACTIVATE) support

    pdp11/pdp11_dz.c
	- converted from simulator specific clock co-scheduling to generic clock co-scheduling.

    pdp11/pdp11_vh.c
	- converted from simulator specific clock co-scheduling to generic clock co-scheduling.

    pdp11/pdp11_xq.c
	- converted from simulator specific clock co-scheduling to generic clock co-scheduling.
2012-11-12 15:33:35 -08:00
Mark Pizzolato
0b1b5f1ede scp.c - Added a 'set prompt "XXX"' command to change the prompt which is used while scp collects command input. 2012-11-05 15:14:00 -08:00
Mark Pizzolato
69666f1480 Fixed message reporting after command completion:
scp.c,scp.h - Gave priority to a command message handler to determine what values result in displayed messages and exported run_cmd_message for use by simulators which add simulator specific BOOT commands which leverage the run_cmd logic and should also leverage the run_cmd_message for message display

VAX/vax610_sysdev.c, vax730_sys.c, vax750_cmi.c, vax780_sbi.c - Added BOOT command message dispatch to run_cmd_message for simulators which perform preprocessing on BOOT activities but otherwise then dispatch to run_cmd.
2012-10-31 10:09:04 -07:00
Mark Pizzolato
99f042f7dc scp.c - Fixed RESTORE command to detach all attached devices before actually restoring. The goal here is to make restore behavior consistent without regard to the current VM state prior to the restore. 2012-10-24 12:56:03 -07:00
Mark Pizzolato
c2f03a7541 scp.c - Finished merge from master branch - addition of SET DEFAULT and SHOW DEFAULT command.
- Added CD and PWD commands as aliases of SET DEFAULT and SHOW DEFAULT
2012-10-23 14:23:45 -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