Commit graph

175 commits

Author SHA1 Message Date
Mark Pizzolato
d5ca542102 Changed use of compile #defines which start with a _ character to not do this since defined symbols starting with _ are reserved to local compiler/runtime implementations in the C language. This addresses issue #32 2013-03-12 11:07:58 -07:00
Mark Pizzolato
fb105a922f Merge remote-tracking branch 'jguillaumes/master' 2013-03-11 22:48:57 -07:00
Mark Pizzolato
374b13f946 Fixes to infinite loop issues found by Mikulas Patocka 2013-03-05 11:40:33 -08:00
Mark Pizzolato
7b01cd11f2 Fix identified by Mikulas Patocka.
The problem is that Map_ReadW reads 16-bit words from guest's memory and stores them in host-endian-byte-order in xq_turbo_init_block.  Most entries in xq_turbo_init_block are 16-bit words (thus it is ok that they are stored in host-endian-byte-order), but there are three fields in this data structure which are referenced as byte oriented fields. (phys, hash_filter and bootpassword).  These fields need to be handled in byte order to be properly interpreted.
2013-03-05 11:38:28 -08:00
Jordi Guillaumes i Pons
37af573a1e CR11: Added 026DEC translation table. Fixed bit clearing after CSR write,
source reformatting and commenting, other minor changes.º:º
2013-03-02 17:15:26 +01:00
Mark Pizzolato
4d187a7ada Another typo 2013-02-06 17:48:43 -08:00
Mark Pizzolato
74b8a7d4e8 Fixed typo in help text 2013-02-06 17:47:18 -08:00
Mark Pizzolato
63d0cdbd38 Display something descriptive when a peer hasn't been specified yet. 2013-02-05 11:44:55 -08:00
Mark Pizzolato
c5bd79f05d Add register descriptions and help to the pdp11_pt devices (PTR, PTP). 2013-02-05 11:13:18 -08:00
Mark Pizzolato
e59d9c1599 Added register descriptions and help to pdp11_rp device 2013-02-05 10:51:15 -08:00
Mark Pizzolato
65079ca8f6 Added register descriptions and help for pdp11_hk device 2013-02-05 10:20:13 -08:00
Mark Pizzolato
08e97d5882 Corrected error in pdp11_rq help routine 2013-02-05 09:41:55 -08:00
Mark Pizzolato
387b72cebb Added register definitions and imbedded help to the pdp11_cr device 2013-02-05 09:05:52 -08:00
Mark Pizzolato
56be3b060f Added register definitions and descriptions to the pdp11_vh device 2013-02-05 07:57:25 -08:00
Mark Pizzolato
610ecaaa93 Adding mode device help 2013-02-05 06:49:39 -08:00
Mark Pizzolato
453890f3d7 Adding more device help 2013-02-05 04:41:48 -08:00
Mark Pizzolato
ef13fdd0dc Fixed to once again display the DZ vector 2013-02-05 04:40:41 -08:00
Mark Pizzolato
c53cbd68eb Removed 8 bit characters from pdp11_dmc help text 2013-02-04 18:22:00 -08:00
Mark Pizzolato
d65b12da84 Excape from doubly nested loop quickly for efficiency 2013-02-04 13:55:09 -08:00
Mark Pizzolato
7bd01a5873 Added device help and register descriptions 2013-02-04 13:52:59 -08:00
Mark Pizzolato
6b4353f257 Returned the pdp11_cr device to the VAX Qbus systems and changed the pdp11_cr device to properly describe itself as a Qbus capable device when CR11 device is being simulated since it is a programmed I/O device and doesn't have bus addressing issues that DMA devices have. 2013-02-04 06:53:10 -08:00
Mark Pizzolato
8a97baa553 Added MTAB entry descriptions 2013-02-04 04:29:39 -08:00
Mark Pizzolato
8640cd6537 - Removed pdp11_cr and pdp11_ry from the Qbus VAX simulators since these devices can't address the full Q22 address range.
- Added validation checks in auto_config to reject enabled devices which aren't Q22 capable on Q22 platforms.
- Changed pdp11_cr device to be default disabled in the PDP11 simulator
2013-02-03 11:29:12 -08:00
Mark Pizzolato
55693fb9b3 Added missing MOD_VALR flag on some recently revised MTAB entries 2013-02-02 17:27:22 -08:00
Mark Pizzolato
28b90552b7 Revised all VAX simulator devices to have proper help information defined to make "HELP dev SHOW" and "HELP dev SET" most useful. 2013-02-02 16:29:38 -08:00
Mark Pizzolato
0eba66c72a Avoid an internal error status if the pdp11_dc device ever did a SET DC ADDRESS= 2013-02-02 06:43:18 -08:00
Mark Pizzolato
8f170b0e40 Fixed modifier table to properly declare things which are showable vs settable, added modifier descriptions as appropriate 2013-01-31 16:18:38 -08:00
Mark Pizzolato
659873bebb The Massbus byte count register was incorrectly presumed to be constant during a complete I/O transfer request (it can change due to DMA activity). Prior to the conversion to use the sim_disk library, the Massbus byte count was only read once. After the code restructuring it was read early in the processing and again later in transfer processing. The subsequent read returned a different value which ultimately caused the problems. This fixes issue #30. 2013-01-29 04:43:43 -08:00
Mark Pizzolato
97de4dbae6 Added AIO_CHECK_EVENT to pdp11_cpu to properly digest the asynchronous event queue in a timely manner (with the desired interrupt latency) for asynch I/O 2013-01-29 04:35:30 -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
7ceba3715c pdp11_xu - SELFTEST needs to report the READY state otherwise VMS 3.7 gets fatal controller error - Update from Rob Jarratt 2013-01-25 14:57:01 -08:00
Mark Pizzolato
7345b00787 pdp11_dmc - Update from Rob Jarratt
Don't do anything if not attached. Fix issue #28
	If attach when already attached then detach first.
	Error checking for already attached in dmc_settype() fixed.
2013-01-25 14:55:11 -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
bf7375354c Fixed compiler warnings 2013-01-24 13:31:34 -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
f4dd30709f Fix DZ issue which didn't report modem bits to the host unless the attach was made with -M. 2013-01-23 19:33:42 -08:00
Mark Pizzolato
f1c6f1b2e4 Updated pdp11_dmc from Rob Jarratt 2013-01-23 12:36:37 -08:00
Mark Pizzolato
e3207c2009 Compiler suggested cleanups 2013-01-23 05:07:44 -08:00
Mark Pizzolato
68b5433940 Added register definitions and logic to allow reasonable SAVE/RESTORE behavior. 2013-01-22 16:14:53 -08:00
Mark Pizzolato
f91256203c Fixed register definition to properly reflect the size of the stats structure. 2013-01-22 16:13:55 -08:00
Mark Pizzolato
57cbb6fe0c Changed to use sim_clock_coschedule and sim_activate_after where appropriate 2013-01-22 16:12:36 -08:00
Mark Pizzolato
936c3dbcfe Fixed register definition for the pak array which saved and restored the wrong content (not all of it) due to the internal longword alignment of the struct rqpkt. 2013-01-22 16:11:51 -08:00
Mark Pizzolato
71fcfacafc Added calls to sim_register_clock_unit for simulators with clock devices 2013-01-22 16:07:23 -08:00
Mark Pizzolato
115f8608c3 Fixed typo referring to auto configuration information 2013-01-22 16:06:04 -08:00
Mark Pizzolato
9fc6aa73d6 Finish migration for simulators to use generic clock co-scheduling and sim_activate_after for scheduled delays 2013-01-22 05:41:27 -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
95033cee15 Declare the console port input and output polling units for most simulators to potentially allow asynchronous console I/O. 2013-01-21 11:31:29 -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
d12bc07d3a Fix clang compiler identified typos 2013-01-15 10:58:09 -08:00
Mark Pizzolato
e1ad710821 Added imbedded help to the pdp11_dz and pdp11_vh devices 2013-01-15 10:20:32 -08:00