Commit graph

1315 commits

Author SHA1 Message Date
Mark Pizzolato
6f44a394e6 Added option to create listen sockets with SO_REUSEADDR if attach is done with -U switch set. Requested by Michael Mondy 2013-04-12 12:40:56 -07:00
Mark Pizzolato
5bba4daca4 Added support for MTAB entries to have values which contain quoted strings (which can therefore contain spaces and/or other characters which might normally be delimiters. Need suggested by Michael Mondy 2013-04-12 11:46:30 -07:00
Mark Pizzolato
3dd4121c78 Added Large File Support which was missing for NetBSD (and OpenBSD) hosts - reported by Felix Deichmann 2013-04-12 08:17:01 -07:00
Mark Pizzolato
414cf3335f Compiler identified issues in AltairZ80 simulator 2013-04-12 06:39:28 -07:00
Mark Pizzolato
1936f7ff75 Fixed VAX8600 simulator boot from console without an attach disk to report a useful error instead of crashing 2013-04-11 08:46:09 -07:00
Mark Pizzolato
e0225c336a Added boot from console floppy support to the VAX780 simulator (Changed console floppy device name from RXC to CS) 2013-04-11 08:45:07 -07:00
Mark Pizzolato
798d1239f1 Fixed missing help description for SHOW FEATURES command 2013-04-10 10:41:23 -07:00
Mark Pizzolato
96dbeae08f Added SHOW CPU MEMORY support for all VAX simulators to display the memory controller and board configuration 2013-04-08 12:18:09 -07:00
Mark Pizzolato
52838eab05 Fixed tmxr attach logic to initialize the backlink on all of the mux lines when only a single line is attached. 2013-04-07 17:41:16 -07:00
Mark Pizzolato
eb1452913f Force return of SCPE_OPENERR when the same serial port is opened more than once. 2013-04-07 15:28:02 -07:00
Mark Pizzolato
8acb3b29e3 Fixed disk creation logic to avoid writing a zero sector to the first and last sector of a newly created disk if the disk's contents were copied from another disk. This solves the last details in issue #35 2013-04-07 12:43:54 -07:00
Mark Pizzolato
471ea3efce Added SHOW CPU MEMORY to the MicroVAX I simulator 2013-04-05 14:52:27 -07:00
Mark Pizzolato
d245c0b77c Compiler warning cleanup 2013-04-05 12:45:01 -07:00
Mark Pizzolato
c93658f241 Avoid bug in the HP PA-RISC C compiler. (from Mikulas Patocka)
In 32-bit mode, the compiler truncates constants to 32-bit.
We need LL suffix to avoid the truncation.

This behavior is contrary to the C 99 standard which defines
that constants that do not fit into long and unsigned long shall
have long long type.
2013-04-05 12:34:37 -07:00
Mark Pizzolato
a005822186 Extended the VAX 8600 memory to 512MB and reworked the memory board slot allocation logic to fill as many slots as possible. 2013-04-05 12:16:01 -07:00
Mark Pizzolato
ed6e3f75d2 Fix to build on HPUX with the HP C compiler which doesn't define __unix 2013-04-03 08:43:21 -07:00
Mark Pizzolato
b125da77cc Fixed prior logic in sim_check_conn to return error conditions prior to read/write checks and to validate the peer's address on both read and write connection checks. 2013-03-31 20:32:41 -07:00
Mark Pizzolato
d308a234e2 Fixed sim_check_conn to return error status if the socket being checked is writable and no peer name exists (i.e. when a connect has failed). Suggested by Paul Koning 2013-03-31 10:44:17 -07:00
Mark Pizzolato
732718e5a7 Fixed bug in pdp11_xu loopback processing. Now consistent with pdp11_xq. Found by Paul Koning 2013-03-29 13:44:35 -07:00
Mark Pizzolato
5727ad1a27 Added a -V option to a VHD copy operation to cause a verify pass which will confirm all of the expected data has made it to the target virtual disk 2013-03-25 04:32:06 -07:00
Mark Pizzolato
a78c978f96 Fixed pamm initialization for SBI 0 and improved output of SHOW CPU MEMORY - from Johnny Billquist 2013-03-24 16:49:32 -07:00
Mark Pizzolato
8116b7571d Fix VAX 8600 memory controller attribute descriptions to properly reflect the board size and slots.
Fixed value of 8600/8650 SID register ECO and PLANT fields.
Added SHOW CPU MEMORY command to display memory board configuration
2013-03-24 08:44:10 -07:00
Mark Pizzolato
2f85000dbc Compiler suggested cleanup 2013-03-24 05:43:28 -07:00
Mark Pizzolato
249f40e4bc Compiler indicated cleanup (FreeBSD on PPC) 2013-03-23 15:55:13 -07:00
Mark Pizzolato
be270bb9c1 Fix of Big Endian DELQA-T issue 2013-03-22 17:39:53 -07:00
Mark Pizzolato
7217f60a5f Added OSX on PowerPC support 2013-03-22 16:50:36 -07:00
Mark Pizzolato
e2bb312dd8 Fixed redundant output in SHOW ETHERNET when ethernet devices are open and added device send/receive stats 2013-03-22 14:30:48 -07:00
Mark Pizzolato
01ee219f01 Fixed some HP-UX serial I/O functionality from Mikulas Patocka
We need to set buffer to 1 character and turn off the timeout.
Otherwise, HP-UX buffers 4 characters before making them available
to read().
2013-03-22 10:28:09 -07:00
Mark Pizzolato
933a23e742 Added support to find dlopen in either libdl or libdld since some platforms package it there. 2013-03-22 10:03:19 -07:00
Mark Pizzolato
ce41ac867a Fixed the non-functional VAX 8600 boot and use of the console RL02 disk. 2013-03-21 12:05:10 -07:00
Mark Pizzolato
a28d5d7737 Cleaned up the formatting of the pdp11_dmc help output as suggested by Jacob Goense 2013-03-21 09:49:50 -07:00
Mark Pizzolato
9cbacc32cf Added display of Windows version details to the output of SHOW VERSION 2013-03-20 08:13:51 -07:00
Mark Pizzolato
ba2070f1f6 Fix handle leak if a memory allocation error occurred during a VHD create with Copy 2013-03-20 07:06:47 -07:00
Mark Pizzolato
38c1e1ec2b Changed line endings to CR-LF to conform to simh standard. 2013-03-19 17:29:43 -07:00
Howard M. Harte
de6bf7bc92 Fix simh/simh Issue#21: tx-0 won't build under MinGW compiler
Follow proposal described in issue and change LP register to LPEN.  LP
is still the name of the register when using SIMH to examine or deposit
to this register.
2013-03-19 17:00:50 -07:00
Mark Pizzolato
c6691b6ff3 Fixed size limit on RQ devices for PDP11 simulator 2013-03-19 10:55:15 -07:00
Mark Pizzolato
388b2be156 Added missing SET CPU MODEL to VAX 8600 simulator 2013-03-19 07:39:24 -07:00
Mark Pizzolato
a98b15033f The last compiler nit for issue #38 2013-03-19 07:22:54 -07:00
Mark Pizzolato
51badc2d8e The MicroVAX specific CPU Boot help has been moved to the MicroVAX specific modules 2013-03-19 01:52:31 -07:00
Mark Pizzolato
e7c2adbbc4 Fixed bug affecting pdp11_rq disks introduced when adding greater than 2GB disk support to PDP11 simulator 2013-03-19 01:36:09 -07:00
Mark Pizzolato
a262dd9c14 Compiler indicated cleanups 2013-03-19 01:11:22 -07:00
Mark Pizzolato
9b3694b102 Fixed extended VAX 8600 memory of 260MB. 2013-03-18 13:25:49 -07:00
Mark Pizzolato
960c5b5873 Fix issues observed by Sun C compiler 2013-03-18 12:52:43 -07:00
Mark Pizzolato
1e515d8357 HP-UX socket fixes from Mikulas Patocka.
1. getaddrinfo returns IPv6 address even if IPv6 is not configured.
The socket syscalls fails to create IPv6 socket. This is fixed by retrying for all possible addresses returned by getaddrinfo.

2. On HP-UX EAGAIN is used, not EWOULDBLOCK.
2013-03-18 06:07:27 -07:00
Mark Pizzolato
7756cb8cd4 Added HP-UX Serial port detection (for SHOW SERIAL) from Mikulas Patocka 2013-03-18 05:53:39 -07:00
Mark Pizzolato
55e45c99a7 Correct VAX 8600 Maximum memory size since 64MB boards were available (Johnny Billquist)
The actual machine can have a max to 260MB of memory.
There are three different memory boards that exists for the 86x0, from a software point of view.
4MB, 16MB, and 64MB. In addition, you can mix different boards.
The rule is to put large boards first, and smaller boards later.
Even more fun is the fact that the 16MB and 64MB boards are stacked and thus take up two backplane slots in the backplane, while the 4MB board only takes up one slot.
To complete the picture, there are 8 slots in the memory backplane. You start by putting boards in slot 1, going to slot 8. The boards taking up two slots actually use slot n, while covering slot n-1. That means that the board in slot 1 does not cover up any other slot.
If you are using 16MB boards, the max memory is 68MB.
Slot 1,3,5 and 7 will have 16MB boards. And then you can place a 4MB board in slot 8.
Same story with the 64MB boards.
2013-03-18 05:36:24 -07:00
Mark Pizzolato
0605b6dff4 Added support for building on Solaris with the Sun C compiler 2013-03-17 16:50:57 -07:00
Mark Pizzolato
97bbd34828 Added request for SHOW VERSION output when sending in problem reports 2013-03-17 12:22:32 -07:00
Mark Pizzolato
4425241b78 OSX fix for recent sim_disk changes 2013-03-17 12:21:56 -07:00
Mark Pizzolato
2e5b0d54c6 Generalized the sim_disk layer to support large file disk devices (simh, VHD and RAW formats) with out requiring USE_ADDR64, and enhanced the pdp11_rq device to use this capability. 2013-03-17 12:02:43 -07:00