mirror of
https://github.com/open-simh/simh.git
synced 2026-01-25 19:57:36 +00:00
Notes For V3.7-0
1. New Features 1.1 3.7-0 1.1.1 SCP - Added SET THROTTLE and SET NOTHROTTLE commands to regulate simulator execution rate and host resource utilization. - Added idle support (based on work by Mark Pizzolato). - Added -e to control error processing in nested DO commands (from Dave Bryan). 1.1.2 HP2100 - Added Double Integer instructions, 1000-F CPU, and Floating Point Processor (from Dave Bryan). - Added 2114 and 2115 CPUs, 12607B and 12578A DMA controllers, and 21xx binary loader protection (from Dave Bryan). 1.1.3 Interdata - Added SET IDLE and SET NOIDLE commands to idle the simulator in wait state. 1.1.4 PDP-11 - Added SET IDLE and SET NOIDLE commands to idle the simulator in wait state (WAIT instruction executed). - Added TA11/TU60 cassette support. 1.1.5 PDP-8 - Added SET IDLE and SET NOIDLE commands to idle the simulator in wait state (keyboard poll loop or jump-to-self). - Added TA8E/TU60 cassette support. 1.1.6 PDP-1 - Added support for 16-channel sequence break system. - Added support for PDP-1D extended features and timesharing clock. - Added support for Type 630 data communications subsystem. 1.1.6 PDP-4/7/9/15 - Added SET IDLE and SET NOIDLE commands to idle the simulator in wait state (keyboard poll loop or jump-to-self). 1.1.7 VAX, VAX780 - Added SET IDLE and SET NOIDLE commands to idle the simulator in wait state (more than 200 cycles at IPL's 0, 1, or 3 in kernel mode). 1.1.8 PDP-10 - Added SET IDLE and SET NOIDLE commands to idle the simulator in wait state (operating system dependent). - Added CD20 (CD11) 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
15919a2dd7
commit
53d02f7fa7
27
sim_timer.h
27
sim_timer.h
@@ -1,6 +1,6 @@
|
||||
/* sim_timer.h: simulator timer library headers
|
||||
|
||||
Copyright (c) 1993-2005, Robert M Supnik
|
||||
Copyright (c) 1993-2006, 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.
|
||||
|
||||
17-Oct-06 RMS Added idle support
|
||||
02-Jan-04 RMS Split out from SCP
|
||||
*/
|
||||
|
||||
@@ -32,11 +33,35 @@
|
||||
#define SIM_NTIMERS 8 /* # timers */
|
||||
#define SIM_TMAX 500 /* max timer makeup */
|
||||
|
||||
#define SIM_IDLE_CAL 10 /* ms to calibrate */
|
||||
#define SIM_IDLE_MAX 10 /* max granularity idle */
|
||||
|
||||
#define SIM_THROT_WINIT 1000 /* cycles to skip */
|
||||
#define SIM_THROT_WST 10000 /* initial wait */
|
||||
#define SIM_THROT_WMUL 4 /* multiplier */
|
||||
#define SIM_THROT_WMIN 100 /* min wait */
|
||||
#define SIM_THROT_MSMIN 10 /* min for measurement */
|
||||
#define SIM_THROT_NONE 0 /* throttle parameters */
|
||||
#define SIM_THROT_MCYC 1
|
||||
#define SIM_THROT_KCYC 2
|
||||
#define SIM_THROT_PCT 3
|
||||
|
||||
t_bool sim_timer_init (void);
|
||||
int32 sim_rtcn_init (int32 time, int32 tmr);
|
||||
int32 sim_rtcn_calb (int32 ticksper, int32 tmr);
|
||||
int32 sim_rtc_init (int32 time);
|
||||
int32 sim_rtc_calb (int32 ticksper);
|
||||
t_bool sim_idle (uint32 tmr, t_bool sin_cyc);
|
||||
t_stat sim_set_throt (int32 arg, char *cptr);
|
||||
t_stat sim_show_throt (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, char *cptr);
|
||||
t_stat sim_set_idle (UNIT *uptr, int32 val, char *cptr, void *desc);
|
||||
t_stat sim_clr_idle (UNIT *uptr, int32 val, char *cptr, void *desc);
|
||||
t_stat sim_show_idle (FILE *st, UNIT *uptr, int32 val, void *desc);
|
||||
void sim_throt_sched (void);
|
||||
void sim_throt_cancel (void);
|
||||
uint32 sim_os_msec (void);
|
||||
void sim_os_sleep (unsigned int sec);
|
||||
uint32 sim_os_ms_sleep (unsigned int msec);
|
||||
uint32 sim_os_ms_sleep_init (void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user