Commit graph

3109 commits

Author SHA1 Message Date
Mark Pizzolato
2030d8fd40 makefile: Removed dependence on libSDL for simulators which don't need SDL support. Fix #164 Suggested by Rhialto. 2014-12-04 19:47:21 -08:00
Mark Pizzolato
c2603539ff SCP: Fix simh console session output of remote console commands to avoid stairstepping as described in issue #165 2014-12-04 15:49:00 -08:00
Mark Pizzolato
1f20041b58 SCP: Added expansion of special built-in environment variable DATE_YC which is the century of the current date. 2014-12-03 10:39:19 -08:00
Mark Pizzolato
cd9a499c94 SCP: Fixed EXPECT processing to properly cleanup after matches. Added display of expect buffer to SHOW EXPECT and extended expect match debugging output. 2014-12-03 09:58:31 -08:00
Mark Pizzolato
45859ffe34 SCP: Fixed SEND command to properly support a bare AFTER=n argument. 2014-12-03 07:36:53 -08:00
Mark Pizzolato
4eed007607 SCP: Restructured timer/co-scheduling activities to support co-scheduling on specific timers 2014-12-02 05:33:59 -08:00
Lioncash
a9ac7c1534 SAGE: Fix loop bounds in m68k_cpu
cache_line has a size of CACHE_SIZE (16), so starting at that index will be outside the bounds of the array.
2014-11-26 12:55:55 -05:00
Lioncash
18ebf299c8 sigma_lp: Fix a fopen leak 2014-11-26 12:53:59 -05:00
Lioncash
499757acb1 sigma_cpu: Fix always true case
This was the equivalent of "if (vec >= 0x52 || vec <= 0x55)".
2014-11-26 12:53:50 -05:00
Lioncash
b881ccdc19 sim_BuildROMs: Fix potential memory leaks and a double fclose. 2014-11-26 08:24:01 -05:00
Mark Pizzolato
1d2742edff DOC: Cleanup PDP10 document 2014-11-21 08:34:52 -08:00
Mark Pizzolato
26bd72ec1e alpha: Compiler suggested cleanup 2014-11-16 14:02:49 -08:00
Mark Pizzolato
368a5f6998 PDP11, VAX780: Fix DEUNA handling of incoming packets which are dropped into multiple receive buffers.
Make sure to properly support multiple receive buffers by correctly setting the data length read and the appropriate buffer descriptor status bits for each buffer descriptor that is used to hold a packet.
2014-11-12 14:28:27 -08:00
Peter Schorn
ea5b1dc6fe AltairZ80: Fixed confusing call to memset 2014-11-12 19:06:24 +01:00
Mark Pizzolato
2b81dd4710 PDP11, VAX: Fix DEQNA emulation to properly indicate receive buffer length for the last segment when dropping incoming packets into multiple buffer descriptors. 2014-11-11 17:32:51 -08:00
Mark Pizzolato
d2079ab482 makefile: Add link library path (-L) when needed on platforms which don't readily locate the PCRE library 2014-11-11 11:45:39 -08:00
François Revol
a0c7f99a5e scp: avoid redefining MAX
On Haiku, we end up including <sys/param.h> from sim_sock.h which
defines MAX.
2014-11-10 20:58:56 +01:00
François Revol
25996d94d5 makefile: Explicitely fail on old Haiku or bad arch
- We require a current Haiku release (post alpha4).
- We also don't support building with gcc2.
2014-11-10 20:06:10 +01:00
Mark Pizzolato
1817504052 PDQ-3: Latest update from Holger Veit
- removed cycle counting in CPU, the sim_interval issue
- fixed the Console multiplexer logic; it now works with SET REMOTE TELNET= and SET CONSOLE TELNET=
- commented testhdt.sim
- changed run.cmd to try to execute either VStudio or mingw executable, in this order.
- changed printf messages to use sim_printf

Possible issues remaining:
- timer device polling, not yet debugged, the rate of 1.25MHz is likely still incorrect, so UCSD wall clock is surely wrong
- few instructions still to be trapped by opcode.debug - I haven't seen them in life code yet
- HD device still not yet finished; I'll pick this up again soon
2014-11-03 15:48:25 -08:00
Mark Pizzolato
94486c1286 SCP: Updated documentation and help text 2014-10-31 05:13:55 -07:00
Mark Pizzolato
34d87ab521 makefile: remote extraneous debug print statement.
OS X is not a useful platform for display (pdp1, pdp11 and tx-0 simulators) with the default Xcode provided APIs.
2014-10-29 13:49:13 -07:00
Mark Pizzolato
4456e42b08 makefile: Added build support for simulators which use the display library on host platforms which have X11 support not located in /usr/include.
Simulators affected: pdp1, pdp11 and tx-0
Host platforms which now build with display support: OS X
2014-10-29 10:43:48 -07:00
Mark Pizzolato
ff4961411f PDP1, PDP11, TX-0: Addition to cleanup build messages on *nix platforms avoiding XKeycodeToKeysym deprecated messages to also work when using clang (LLVM compiler). Fix #58 2014-10-29 09:19:06 -07:00
Mark Pizzolato
a4c50567d7 Compiler suggested cleanup. 2014-10-29 09:17:07 -07:00
Mark Pizzolato
6d61de5a30 PDP1, PDP11, TX-0: Cleanup build messages on *nix platforms avoiding XKeycodeToKeysym deprecated messages. Fix #58 2014-10-29 08:23:18 -07:00
Mark Pizzolato
4938c02d95 SCP: Fixed expect match checking when testing regular expressions to avoid NUL bytes in the output stream.
This is necessary since the RegEx api only takes simple C NUL terminated strings.
2014-10-29 00:46:50 -07:00
Mark Pizzolato
41238c5bbe VisualStudioProjects: Fixed prebuild event logic to properly detect and handle windows-build version replacement/upgrade 2014-10-28 21:01:10 -07:00
Mark Pizzolato
e685e95d21 VisualStudioProjects: Fix project dependencies for BuildROMs project which prevented proper reporting of windows-build version out of date report 2014-10-28 20:41:31 -07:00
Peter Schorn
1cc1ca7a41 AltairZ80: Removed unnecessary calls to abs() 2014-10-28 18:53:12 +01:00
Mark Pizzolato
235ce92ff2 PDP11: Correct proper boot support for PDP11 devices when booting via a Remote Console Master session 2014-10-28 10:19:39 -07:00
Mark Pizzolato
178116c978 PDP11: Added proper boot support for PDP11 devices when booting via a Remote Console Master session 2014-10-28 10:06:30 -07:00
Mark Pizzolato
e2c7141675 Remote Console: Fixed "SET REMOTE NOMASTER" command to properly disable Remote Console Master mode and return control to the simulator initiating session. 2014-10-28 08:40:48 -07:00
Mark Pizzolato
6368a217fb SCP: Fixed SET and SHOW command parsing to more generally allow value operations against the default device (CPU) both with and without value oriented modifiers 2014-10-28 08:39:14 -07:00
Mark Pizzolato
a9e82dd2f9 HP2100: Current version from Dave Bryan 2014-10-27 17:16:38 -07:00
Mark Pizzolato
f3f0d074e0 Compiler suggested cleanups 2014-10-27 17:15:31 -07:00
Mark Pizzolato
c548b34772 Compiler suggested cleanups. 2014-10-27 17:14:28 -07:00
Mark Pizzolato
c638492048 VAX QVSS: Increase LK keyboard mode map to avoid a potential out of bounds array reference 2014-10-27 04:40:41 -07:00
Mark Pizzolato
2e1167d4a0 Compiler suggested cleanups - mostly const fixups 2014-10-26 17:06:24 -07:00
Mark Pizzolato
5c45aec68f SCP: Cleanup minor remote console behaviors (stutter prompt and broken single mode command) 2014-10-26 15:55:36 -07:00
Mark Pizzolato
611a7e94f0 SCP: Added a Remote Console Master Mode.
This capability will allow a GDB RSB stub to be created to support dynamic debugging of code running in a simulator.

This capability will also allow a complete front panel emulation system to operate a simulator.

This capability is engaged in a simulator by:
     sim> set remote telnet=remoteconsoleport#
     sim> set console telnet=consoleport#
     sim> set remote master

Master mode will provide a TCP session which accepts SCP commands that allow full control of the simulator.
2014-10-26 15:15:31 -07:00
Mark Pizzolato
4dbac410da SCP: Added const declarations to various APIs to reflect the appropriate usage. Moved parameter values for run_cmd and exdep_cmd to scp.h 2014-10-26 14:52:22 -07:00
Mark Emmer
f6e750471a SCP: Fix SEND <dev>:line when after=nn and delay=nn not specified
For a command like:  SEND MUX:0 "abc"
in which a device is specified but there are no after=nn and delay=nn parameters, the code neglected to update cptr, resulting in an illegal argument error condition.
2014-10-26 13:42:49 -06:00
Mark Pizzolato
b4fb149b8d SCP: Fix help text for expect command. 2014-10-25 15:21:55 -07:00
Mark Pizzolato
e8358703be SCP: Fix NOEXPECT to actually delete a single indicated expect rule. Allow expect actions to be provided. Fix match buffer management when expect regular expressions are in use. 2014-10-25 11:14:36 -07:00
Mark Pizzolato
995ab8f1e2 More General cleanup migrate to using sim_printf vs separate calls to printf and fprintf(sim_log). 2014-10-24 14:37:37 -07:00
Peter Schorn
ebf53c9cda Replaced printf with sim_printf. 2014-10-24 23:10:54 +02:00
Mark Emmer
e48cb518e8 SDS: Correct ill-formed statement
VMS compiler objected to variable ch being modified in two places in the same statement. Expand into full if statement instead.
2014-10-23 21:43:55 -05:00
Mark Pizzolato
ebf4e0cb64 SCP: Add support for legacy form of console expect and send string commands (from Dave Bryan) 2014-10-23 05:58:43 -07:00
Mark Pizzolato
3256c10c77 General cleanup migrate to using sim_printf vs separate calls to printf and fprintf(sim_log). 2014-10-22 17:12:14 -07:00
Mark Pizzolato
593a5950d1 SCP: Cleaned up the Remote Console Help output 2014-10-22 13:39:33 -07:00