mirror of
https://github.com/simh/simh.git
synced 2026-04-29 13:12:13 +00:00
Notes For V2.9-11
1. New Features 1.1 GRI-909 - This is a new simulator for the GRI-909. - It has been hand-tested; so far, no software has been discovered. 1.2 VAX - SET CPU CONHALT will cause a HALT instruction to return to the boot ROM console rather than to SIMH. SET CPU SIMHALT restores the default behavior. - BRB/W self at IPL 1F stops the simulator. This is the default behavior of VMS at exit. 1.3 PDP-18b - ATTACH -A PTR/PTP attaches the reader and punch in ASCII mode. In ASCII mode, the reader automatically sets the high order bit of incoming alphabetic data, and the punch clears the high order bit of outgoing data. 1.4 SCP - DO -V echoes commands from the file as they are executed. - Under Windows, execution priority is set BELOW_NORMAL when the simulator is running. 2. Release Notes 2.1 Bugs Fixed - PDP-11 CPU: fixed updating of MMR0 on a memory management error. - VAX FPA: changed function names to avoid conflict with C math library. - 1401 MT: read end of record generates group mark without word mark. - 1401 DP: fixed address generation and checking. - SCP: an EXIT within a DO command will cause the simulator to exit. 3. In Progress - Interdata 16b/32b: coded, not tested. - SDS 940: coded, not tested. - IBM 1620: coded, not tested. If you would like to help with the debugging of the untested simulators, they can be made available by special request.
This commit is contained in:
committed by
Mark Pizzolato
parent
701f0fe028
commit
df6475181c
23
sim_sock.c
23
sim_sock.c
@@ -23,6 +23,8 @@
|
||||
be used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from Robert M Supnik.
|
||||
|
||||
22-May-02 RMS Added OS2 EMX support from Holger Veit
|
||||
06-Feb-02 RMS Added VMS support from Robert Alan Byer
|
||||
16-Sep-01 RMS Added Macintosh support from Peter Schorn
|
||||
02-Sep-01 RMS Fixed UNIX bugs found by Mirian Lennox and Tom Markson
|
||||
*/
|
||||
@@ -44,7 +46,7 @@
|
||||
|
||||
/* First, all the non-implemented versions */
|
||||
|
||||
#if defined (VMS) || defined (__OS2__)
|
||||
#if defined (__OS2__) && !defined (__EMX__)
|
||||
|
||||
SOCKET sim_master_sock (int32 port)
|
||||
{
|
||||
@@ -78,7 +80,7 @@ return SOCKET_ERROR;
|
||||
|
||||
#else /* endif unimpl */
|
||||
|
||||
/* UNIX, Win32, Macintosh (Berkeley socket) routines */
|
||||
/* UNIX, Win32, Macintosh, VMS, OS2 (Berkeley socket) routines */
|
||||
|
||||
SOCKET sim_master_sock (int32 port)
|
||||
{
|
||||
@@ -129,7 +131,9 @@ SOCKET sim_accept_conn (SOCKET master, UNIT *uptr, uint32 *ipaddr)
|
||||
{
|
||||
int32 sta;
|
||||
#if defined (macintosh)
|
||||
socklen_t size;
|
||||
socklen_t size;
|
||||
#elif defined (__EMX__)
|
||||
int size;
|
||||
#else
|
||||
size_t size;
|
||||
#endif
|
||||
@@ -190,6 +194,13 @@ unsigned long non_block = 1;
|
||||
|
||||
return ioctlsocket (sock, FIONBIO, &non_block); /* set nonblocking */
|
||||
}
|
||||
#elif defined (VMS)
|
||||
SOCKET sim_setnonblock (SOCKET sock)
|
||||
{
|
||||
int non_block = 1;
|
||||
|
||||
return ioctl (sock, FIONBIO, &non_block); /* set nonblocking */
|
||||
}
|
||||
#else
|
||||
int32 sim_setnonblock (SOCKET sock)
|
||||
{
|
||||
@@ -199,12 +210,12 @@ fl = fcntl (sock, F_GETFL,0); /* get flags */
|
||||
if (fl == -1) return SOCKET_ERROR;
|
||||
sta = fcntl (sock, F_SETFL, fl | O_NONBLOCK); /* set nonblock */
|
||||
if (sta == -1) return SOCKET_ERROR;
|
||||
#if !defined (macintosh)
|
||||
#if !defined (macintosh) && !defined (__EMX__)
|
||||
sta = fcntl (sock, F_SETOWN, getpid()); /* set ownership */
|
||||
if (sta == -1) return SOCKET_ERROR;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
#endif /* endif Win32 */
|
||||
#endif /* endif !Win32 */
|
||||
|
||||
#endif /* endif Win32/UNIX/Mac */
|
||||
#endif /* endif Win32/UNIX/Mac/VMS */
|
||||
|
||||
Reference in New Issue
Block a user