Commit graph

3133 commits

Author SHA1 Message Date
Mark Pizzolato
0a7c9de1e1 TMXR: Change rx and tx delta values to be usecs including the speed factor 2018-06-13 04:51:34 -07:00
Mark Pizzolato
a3d8cc6118 TMXR: Actively flush output prior to assessing wait time 2018-06-13 04:06:20 -07:00
Mark Pizzolato
3973963b0c SCP: Make expression evaluation consistent 2018-06-13 00:36:22 -07:00
Mark Pizzolato
2bf523dea0 TMXR: Allow tmxr_init_line() to be called even if not attached (Dave Bryan) 2018-06-12 19:45:27 -07:00
Mark Pizzolato
f89a65ff2f SCP: Revert pre-insertion of %n to be done during normal expansion. 2018-06-12 02:03:07 -07:00
Mark Pizzolato
2203608f4a SCP: Fix adjacent insertion of %n DO command arguments 2018-06-11 17:06:20 -07:00
Mark Pizzolato
2b112b0e13 SCP: Allow single digit argument insertion for DO command arguments 2018-06-11 14:51:27 -07:00
Mark Pizzolato
93f92b7fb3 TIMER: Fix edge condition when scheduling timer delays with clock tick pending 2018-06-11 03:16:12 -07:00
Mark Pizzolato
ed2abaa2d8 SCP: Enhance debug output while tracking event and timer activity 2018-06-11 03:13:29 -07:00
Mark Pizzolato
4fff142444 SCP: Fix EXPECT bookkeeping to avoid reference after free error 2018-06-11 02:35:07 -07:00
Mark Pizzolato
5700b1f477 SCP: Properly handle literal strings in expression string comparisons 2018-06-09 08:16:39 -07:00
Mark Pizzolato
5ca02d3f98 SCP: Add missing case independent string compare in expressions 2018-06-09 06:20:32 -07:00
Mark Pizzolato
188e8cfe8f SCP: Add missing change to sim_defs.h which broke build 2018-06-08 18:27:58 -07:00
Mark Pizzolato
15cd4d35ac SCP: Enhance command procedure processing and add debugging support
- push new action commands ahead of any previously unprocessed pending
   action commands.
- Add ACTION and DO debug to CPU (SCP) command processing support
- Insert %n command arguments before storing command line for potential
   deferred processing of action parameters to some commands (IF, BREAK,
   EXPECT, etc.)
2018-06-08 18:09:10 -07:00
Mark Pizzolato
9e18e0bb8d SCP: Cleanup expression evaluation logic errors
- Conversion to postfix ends up with operator ordering in different from the
   initial assumption resulting all relative compares being wrong.
- Parsing of Hex, Binary and Octal numeric tokens need to properly terminate
- Environment variable names can start with the _ character
2018-06-07 17:34:35 -07:00
Mark Pizzolato
06654d1ff5 TMXR: Make sure all MUX devices can leverage all debug selectors 2018-06-07 16:39:26 -07:00
Mark Pizzolato
ce5c3f0ff5 SCP: Allow symbols (environment variables) to describe contain addresses
This allows:
   sim> SET ENV X=80004324
   sim> EXAMINE X
   80004324: xxxxxxxxxx
   sim> DEPOSIT X nnnnn
2018-06-05 22:24:46 -07:00
Bob Supnik
f6f4fe6c3c I1620: Fixed bug in select index A (COVERITY)
If the CPU is a model 1, then the value of idxb is irrelevant. For
tidiness, it should always be 0, but on a model 1, idxe (index
enable) is always 0, so idxb is not looked at. Thus,

- on a model 1, idxb is set to 0, which is harmless and probably a good
   thing to do.
- on a model 2, idxe is set to 1, and idxb is set to 0, which is the correct
   behavior.

Note that case 0 doesn't need to check for model 2, because clearing
idxe and idxb yields the correct settings on a model 1: indexing is off.
2018-06-05 17:05:25 -07:00
Mark Pizzolato
b007669ad5 TMXR: Don't allow 0 speed specifier for speed programmable mux devices
As reported in #587
2018-06-05 08:51:19 -07:00
Mark Pizzolato
1a7412a276 FIO: Make shmem behaviors reflect 3.10
Current functionality works to some extent on Windows and x86 Linux and OS X
2018-06-05 01:39:41 -07:00
Mark Pizzolato
eea30cb7a5 PDP15: Add UC15 connect support from simh v3.10 2018-06-04 12:33:51 -07:00
Mark Pizzolato
09781909a5 makefile: Fix broken rule for vax build 2018-06-04 11:39:07 -07:00
Mark Pizzolato
6b361a9faf PDP11, PDP15, UC15: Merge simh v3.10 functionality from Supnik-Current branch 2018-06-04 10:43:00 -07:00
Bob Supnik
1f8ffa8caf PDP15: Fix RP03 address bit references 2018-06-03 22:13:07 -07:00
Mark Pizzolato
cc6140fd31 I1401, VAX, PDP11: Fix nested comments consistently with Supnik-Current branch 2018-06-03 20:59:36 -07:00
Bob Supnik
54516bb175 sigma: New simulator (from beta) 2018-06-03 17:37:24 -07:00
Bob Supnik
e3cdbed45f alpha: Correct physical address masking 2018-06-03 15:41:57 -07:00
Mark Pizzolato
486427c9fe HP2100: Release 28
See HP2100/hp2100_release.txt for details of the release.
2018-06-03 14:38:38 -07:00
Mark Pizzolato
c1f249ec66 SCP: Add atomic routines for temporary shmem access 2018-06-01 23:16:14 -07:00
Mark Pizzolato
0e5c60b58f HP3000: Release 7, update 1
See HP3000/hp3000_release.txt for details of the release.
2018-06-01 23:15:19 -07:00
Peter Schorn
221d72f057 AltairZ80: Fixed integer type issue in mfdc.c 2018-06-01 07:10:57 +02:00
Mark Pizzolato
b40e586ef3 SCP: Assure that action commands (IF/ASSERT,BREAK, ON, etc.) are trimmed 2018-05-31 15:30:19 -07:00
Seth Morabito
0fa5807e1d 3b2: Fix coverity scan issues 2018-05-28 11:58:42 -07:00
Mark Pizzolato
6e35bee5c5 SCP: Fixed Coverity identified issues 2018-05-28 01:56:14 -07:00
Mark Pizzolato
b1318f5c37 SCP: Always clear uptr->fileref on detach 2018-05-26 12:37:26 -07:00
Mark Pizzolato
83234f1e9d DISK: Add Linux host support for direct CDROM access 2018-05-26 12:33:50 -07:00
Mark Pizzolato
874f60cbaa SCP: Fix potentially uninitialized variable reference 2018-05-25 10:21:35 -07:00
Mark Pizzolato
6c425cc790 H316: Expose RTC INTERVAL and QUANTUM values in registers update testrtc.cmd
testrtc.cmd updated with dynamically computed timing information
2018-05-24 13:39:28 -07:00
Mark Pizzolato
5f2c7b2a48 SCP: Defer substitution for IF/ASSERT command action commands 2018-05-24 13:31:07 -07:00
Mark Pizzolato
c294787aed SCP: Fix expression evaluation divide by zero, and avoid parameter substitution
This allows bare the % character to to properly be the moduls operator and
avoids potential ambiguous variable insertions.
2018-05-24 12:59:23 -07:00
Mark Pizzolato
0daff9026d SCP: Add TIME_MSEC predefined variable to provide time to milliseconds
- Assure that Internal variables are referencable during expression evaluation
- Add DEVNAME.REGNAME format for referencing non unique registers in
  expression evaluation.
- Extend global register search to also search known internal device list
  registers
- Allow expression variable names to have _ as a character within in the name
2018-05-24 01:46:24 -07:00
Mark Pizzolato
ed1a6f313e B5500: Move extern declarations to b5500_defs.h 2018-05-23 20:10:13 -07:00
Bob Supnik
ef94dcbe93 SDS: Simplify MT operation check.
The SDS tape unit can't do write reverse (no magtape tape can, afaik).
So instead of testing for a particular write subop, the code just tests
that the write was done in BCD mode.
This is closer to how the hardware works.
2018-05-23 15:52:08 -07:00
Seth Morabito
d725954568 3b2: Tighten floppy timing
This change fixes a critical floppy booting issue.
2018-05-22 15:23:51 -07:00
Ian Schofield
92fce4d9b9 DISPLAY: 'Fix Coverity identified issues 2018-05-22 14:57:13 -07:00
Seth Morabito
d88aa077ff 3b2: Expand tabs 2018-05-21 17:54:09 -07:00
Seth Morabito
75b1a2f317 3b2: Fix line endings, enforce CONST
- Correct line endings on 3b2_ctc.c/.h and on 3b2_ports.c/.h.
- Ensured CONST on const char* arrays.
2018-05-21 17:50:26 -07:00
Seth Morabito
392b8f26a4 3b2: Fix makefile and 3B2.vcproj 2018-05-21 16:33:29 -07:00
Seth Morabito
d76bd81491 3b2: Code cleanup
This commit fixes several issues with code hygine and eliminates
warnings in the Windows build.
2018-05-21 15:30:27 -07:00
Seth Morabito
39758261ff 3b2: Allow boot without cpu param 2018-05-21 15:04:02 -07:00