mirror of
https://github.com/open-simh/simh.git
synced 2026-01-25 11:55:43 +00:00
Notes For V3.8
The makefile now works for Linux and most Unix's. However, for Solaris and MacOS, you must first export the OSTYPE environment variable: > export OSTYPE > make Otherwise, you will get build errors. 1. New Features 1.1 3.8-0 1.1.1 SCP and Libraries - BREAK, NOBREAK, and SHOW BREAK with no argument will set, clear, and show (respectively) a breakpoint at the current PC. 1.1.2 GRI - Added support for the GRI-99 processor. 1.1.3 HP2100 - Added support for the BACI terminal interface. - Added support for RTE OS/VMA/EMA, SIGNAL, VIS firmware extensions. 1.1.4 Nova - Added support for 64KW memory (implemented in third-party CPU's). 1.1.5 PDP-11 - Added support for DC11, RC11, KE11A, KG11A. - Added modem control support for DL11. - Added ASCII character support for all 8b devices. 1.2 3.8-1 1.2.1 SCP and libraries - Added capability to set line connection order for terminal multiplexers. 1.2.2 HP2100 - Added support for 12620A/12936A privileged interrupt fence. - Added support for 12792C eight-channel asynchronous multiplexer. 1.3 3.8-2 1.3.1 SCP and libraries - Added line history capability for *nix hosts. - Added "SHOW SHOW" and "SHOW <dev> SHOW" commands. 1.3.2 1401 - Added "no rewind" option to magtape boot. 1.3.3 PDP-11 - Added RD32 support to RQ - Added debug support to RL 1.3.4 PDP-8 - Added FPP support (many thanks to Rick Murphy for debugging the code) 1.3.5 VAX-11/780 - Added AUTORESTART switch support, and VMS REBOOT command support 2. Bugs Fixed Please see the revision history on http://simh.trailing-edge.com or in the source module sim_rev.h.
This commit is contained in:
committed by
Mark Pizzolato
parent
35eac703c3
commit
a9fd3dd518
22
sim_timer.c
22
sim_timer.c
@@ -1,6 +1,6 @@
|
||||
/* sim_timer.c: simulator timer library
|
||||
|
||||
Copyright (c) 1993-2008, Robert M Supnik
|
||||
Copyright (c) 1993-2010, Robert M Supnik
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
@@ -23,6 +23,7 @@
|
||||
used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from Robert M Supnik.
|
||||
|
||||
29-Dec-10 MP Fixed clock resolution determination for Unix platforms
|
||||
22-Sep-08 RMS Added "stability threshold" for idle routine
|
||||
27-May-08 RMS Fixed bug in Linux idle routines (from Walter Mueller)
|
||||
18-Jun-07 RMS Modified idle to exclude counted delays
|
||||
@@ -298,19 +299,6 @@ return;
|
||||
|
||||
uint32 sim_os_ms_sleep_init (void)
|
||||
{
|
||||
#if defined (_POSIX_SOURCE) /* POSIX-compliant */
|
||||
|
||||
struct timespec treq;
|
||||
uint32 msec;
|
||||
|
||||
if (clock_getres (CLOCK_REALTIME, &treq) != 0)
|
||||
return 0;
|
||||
msec = (treq.tv_nsec + (NANOS_PER_MILLI - 1)) / NANOS_PER_MILLI;
|
||||
if (msec > SIM_IDLE_MAX) return 0;
|
||||
return msec;
|
||||
|
||||
#else /* others */
|
||||
|
||||
uint32 i, t1, t2, tot, tim;
|
||||
|
||||
for (i = 0, tot = 0; i < sleep1Samples; i++) {
|
||||
@@ -320,13 +308,9 @@ for (i = 0, tot = 0; i < sleep1Samples; i++) {
|
||||
tot += (t2 - t1);
|
||||
}
|
||||
tim = (tot + (sleep1Samples - 1)) / sleep1Samples;
|
||||
if (tim == 0)
|
||||
tim = 1;
|
||||
else if (tim > SIM_IDLE_MAX)
|
||||
if (tim > SIM_IDLE_MAX)
|
||||
tim = 0;
|
||||
return tim;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
uint32 sim_os_ms_sleep (unsigned int milliseconds)
|
||||
|
||||
Reference in New Issue
Block a user