mirror of
https://github.com/simh/simh.git
synced 2026-02-07 00:38:04 +00:00
Notes For V3.2-3
RESTRICTION: The PDP-15 FPP is only partially debugged. Do NOT enable this feature for normal operations. RESTRICTION: The HP DS disk is not debugged. DO NOT enable this feature for normal operations. 1. New Features in 3.2-3 1.1 SCP - Added ECHO command (from Dave Bryan) 2. Bugs Fixed in 3.2-2 2.1 SCP - Qualified RESTORE detach with SIM_SW_REST - Fixed OS/2 issues in sim_console.c and sim_sock.h 2.2 HP2100 (all from Dave Bryan) - Changed CPU error stops to report PC not PC + 1 - Fixed CLC to DR to stop operation in progress - Functional and timing fixes to DP > controller sets ATN for all commands except read status > controller resumes polling for ATN interrupts after read status > check status on unattached drive set busy and not ready > check status tests wrong unit for write protect status > drive on line sets ATN, will set FLG if polling - Functional and timing fixes to MS > fixed erroneous execution of rejected command > fixed erroneous execution of select-only command > fixed erroneous execution of clear command > fixed odd byte handling for read > fixed spurious odd byte status on 13183A EOF > modified handling of end of medium > added detailed timing, with fast and realistic modes > added reel sizes to simulate end of tape > added debug printouts - Modified MT handling of end of medium - Added tab to TTY control char set 2.3 VAX - VAX RQ controllers start LUNs at 0 (from Andreas Cejna) - Added compatibility mode definitions - Fixed EMODD, EMODG to probe second longword of quadword destination
This commit is contained in:
committed by
Mark Pizzolato
parent
2688f2d26e
commit
2e00e1122f
@@ -23,6 +23,7 @@
|
||||
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.
|
||||
|
||||
20-Aug-04 RMS Added OS/2 EMX fixes (from Holger Veit)
|
||||
14-Jul-04 RMS Revised Windows console code (from Dave Bryan)
|
||||
28-May-04 RMS Added SET/SHOW CONSOLE
|
||||
RMS Added break, delete character maps
|
||||
@@ -471,7 +472,6 @@ return SCPE_OK;
|
||||
#include <fcntl.h>
|
||||
#include <io.h>
|
||||
#include <windows.h>
|
||||
#include <signal.h>
|
||||
#define RAW_MODE 0
|
||||
static HANDLE std_input;
|
||||
static DWORD saved_mode;
|
||||
@@ -490,7 +490,7 @@ if (!GetConsoleMode(std_input, &saved_mode) ||
|
||||
!SetConsoleMode(std_input, RAW_MODE)) return SCPE_TTYERR;
|
||||
if (sim_log) {
|
||||
fflush (sim_log);
|
||||
setmode (_fileno (sim_log), _O_BINARY); }
|
||||
_setmode (_fileno (sim_log), _O_BINARY); }
|
||||
SetThreadPriority (GetCurrentThread(), THREAD_PRIORITY_BELOW_NORMAL);
|
||||
return SCPE_OK;
|
||||
}
|
||||
@@ -528,7 +528,7 @@ if (c != 0177) _putch (c);
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
/* OS/2 routines, from Bruce Ray */
|
||||
/* OS/2 routines, from Bruce Ray and Holger Veit */
|
||||
|
||||
#elif defined (__OS2__)
|
||||
|
||||
@@ -558,8 +558,19 @@ t_stat sim_os_poll_kbd (void)
|
||||
{
|
||||
int c;
|
||||
|
||||
#if defined (__EMX__)
|
||||
switch (c = _read_kbd(0,0,0)) { /* EMX has _read_kbd */
|
||||
case -1: /* no char*/
|
||||
return SCPE_OK;
|
||||
case 0: /* char pending */
|
||||
c = _read_kbd(0,1,0);
|
||||
break;
|
||||
default: /* got char */
|
||||
break; }
|
||||
#else
|
||||
if (!kbhit ()) return SCPE_OK;
|
||||
c = getch();
|
||||
#endif
|
||||
if ((c & 0177) == sim_del_char) c = 0177;
|
||||
if ((c & 0177) == sim_int_char) return SCPE_STOP;
|
||||
if (sim_brk_char && ((c & 0177) == sim_brk_char)) return SCPE_BREAK;
|
||||
@@ -569,7 +580,11 @@ return c | SCPE_KFLAG;
|
||||
t_stat sim_os_putchar (int32 c)
|
||||
{
|
||||
if (c != 0177) {
|
||||
#if defined (__EMX__)
|
||||
putchar (c);
|
||||
#else
|
||||
putch (c);
|
||||
#endif
|
||||
fflush (stdout); }
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user