Commit graph

2821 commits

Author SHA1 Message Date
Mark Pizzolato
cb7c739b15 SCP: Add file exist test to IF command 2017-05-09 00:21:48 -07:00
Mark Pizzolato
6ae743798a IBM1130: Fix missing CONST in plot declarations (James Fehlinger) 2017-05-08 21:28:44 -07:00
Mark Pizzolato
bc6caf53de IBM1130: Rework GUI -> SCP input processing to really stuff input 2017-05-08 19:48:46 -07:00
Mark Pizzolato
026990147f IBM1130: Correct label in GUI Operation Tags->Operation Flags 2017-05-08 19:46:47 -07:00
Mark Pizzolato
58f6e7d2db IBM1130: Pickup the latest utils from ibm1130software.zip from ibm1130.org
- ibm1130software.zip was contained within ibm1130.zip from ibm1130.org
- Tabs converted to spaces
2017-05-08 09:28:50 -07:00
Mark Pizzolato
2c6c8f4ef8 SCP: Always invoke strlcpy, strlcat, strcasecmp and strcasencmp vs sim_ forms 2017-05-07 19:19:55 -07:00
Mark Pizzolato
f5a1048101 ETHER: Explicitly use GetModuleHandleA API when finding DLL entry points 2017-05-07 19:00:49 -07:00
Mark Pizzolato
e7dbc8ea64 IBM1130: Change peeks into the event queue to only consider ibm1130 events 2017-05-07 18:59:00 -07:00
Mark Pizzolato
b866f76af7 IBM1130: Cleanup GUI command interactions and shutdown activities
Cleaned up a couple of things here.  Specifically:
    1) scp_reading is only set when CmdThread is actually reading.
    2) Avoid calling ResetEvent(hCmdReadEvent) since it has no effect.
    3) Calling ReadFile directly rather than calling read_line which ultimately
         calls fgets(stdin) and that ultimately calls ReadFile.
    4) Added a cleanup mechanism to shutdown the CmdThread
         and related open handles to Events and Thread when the program exits.

Remaining potential problems:
    1) A user might have type a partial command (scp_reading) but not
        completed it by hitting Enter, and then they perform some GUI
        interaction which does other things.  Some strange output will be
        produced on top of the partially entered command line.
    2) Whether or not a complete command has been entered, the original
         CmdThread will have a read posted on stdin throughout any activity
         initiated by GUI activities.  It is not clear that the simulator’s console
         will coherently be able to change the console’s mode from the line
         oriented mode that SCP uses to the character oriented mode used
         while instructions are executing with read pending on the input side.
2017-05-07 18:56:48 -07:00
Mark Pizzolato
0c27d1f5a8 IBM1130: Convert Tabs to Spaces 2017-05-03 15:11:22 -07:00
Mark Pizzolato
eea18400f3 CONSOLE: Fix crash when ^E is presented in a remote console session 2017-05-03 11:25:30 -07:00
Peter Schorn
6a180c3dfc AltairZ80: Removed unneeded definition of strcasecmp 2017-05-02 20:44:36 +02:00
Peter Schorn
e9dea63b50 AltairZ80: Further fall through comment 2017-05-02 18:24:00 +02:00
Mark Pizzolato
d18c7cc659 PDP4, PDP7, PDP9: Add another fall through comment (Coverity) 2017-05-01 19:48:15 -07:00
Mark Pizzolato
bf018a19d9 CONSOLE: Properly set the line output mode under windows version prior to Win10
As reported in #438 by Dave Wise.
2017-05-01 17:47:07 -07:00
Mark Pizzolato
f617f63ae0 HP3000: HP 3000 release 5
See HP3000/hp3000_release.txt for details of the release
2017-05-01 15:47:57 -07:00
Mark Pizzolato
90e9c2f4a0 HP2100: HP 2100 release 26
See HP2100/hp2100_release.txt for details of the release
2017-05-01 15:47:33 -07:00
Mark Pizzolato
af54a5c8fd SCP: Fix out of scope memory reference in SET ENV -P "Prompt" EnvVar=Default 2017-05-01 08:11:36 -07:00
Mark Pizzolato
7ae5015610 SCP: Provide a way to gather input from a user into an environment variable
SET ENV -P "Prompt String" EnvVar=Default
2017-04-30 09:44:37 -07:00
Peter Schorn
7a46fcf17c AltairZ80: Clean up of fall through comments 2017-04-29 08:13:24 +02:00
Mark Pizzolato
490b4d0583 PDP4, PDP7, PDP9: Add another fall through comment (Coverity) 2017-04-28 14:11:46 -07:00
Bill Beech
357910dfb9 imds-224, isys80xx: Rework attach routines to leverage SCP provided functionality 2017-04-27 11:20:12 -07:00
Mark Pizzolato
0586d34f16 PDP4, PDP7, PDP9: Add fall through comment (Coverity) 2017-04-27 02:11:52 -07:00
Mark Pizzolato
47c917a55d PDP11, VAX: Fix stray TABs which crept in over time 2017-04-26 15:42:36 -07:00
Matt Burke
7092c55907 VAX750: Fixes to Unibus adapter to address #346
Modified the UBA750 simulation, incorporating these comments. Ultrix
appears to access the non-existant datapath registers and given that this
works on the real hardware the most likely option seems to be read 0
and write NOP. I think this will be true for any access to the UBI outside
of the known registers.
2017-04-26 15:36:28 -07:00
Matt Burke
4b41b3372f All VAX, PDP11, PDP10: Minor fixes to DZ device 2017-04-26 15:34:01 -07:00
Matt Burke
f6d4e92c6d VAX8600: Marked intentional fall through of case statement CID: 1415576 2017-04-26 15:27:44 -07:00
Matt Burke
a3e6aac076 All VAXStations: Fixed logical vs bitwise operator CID: 1415454
Tested with VWS, UWS and DECwindows. This QVSS issue only affected polled
interrupt mode, which is likely not used by most operating systems
2017-04-26 15:25:55 -07:00
Mark Pizzolato
b5a5aec57a SCP: Avoid potential macro redefinition for strcasecmp() and strncasecmp() 2017-04-24 13:44:40 -07:00
Mark Pizzolato
1a8bc50130 PDP11, Qbus VAX: Add delay when starting XQ device in DELQA-T mode 2017-04-24 13:25:10 -07:00
Mark Pizzolato
e522daf906 SCP: Replace stray TAB and fix sprintf format specifier 2017-04-23 23:43:14 -07:00
Matt Burke
c94edb6b2d VAXStations: Improvements and bug fixes to keyboard and mouse devices
Whilst working on a new video device I ran into a few problems with the
LKxxx keyboard and I noticed there are already some open issues against
the keyboard and mouse devices. These changes should resolve #320 and
may help with #272 (although I think that is an SDL issue). I've tested these
changes with VWS, UWS and DECwindows with both captured and
uncaptured input modes.
2017-04-23 10:40:00 -07:00
Mark Pizzolato
168d0d9c47 SCP: add generic length limted and case independent string for all platforms 2017-04-22 21:28:48 -07:00
Mark Pizzolato
9179c4ea07 SCP: Fix OS Error text routine on Windows with gcc 2017-04-22 15:43:09 -07:00
Bob Supnik
a719ef51e8 alpha: Fixed function field widths (Maurice Marks)
Maurice Marks, at VMS Software Inc, is using the Alpha instruction emulator
from SimH as a backup to an Alpha binary translator! He found a bug in the
instructions definitions: function fields, both integer and floating, are 7b not
6b.
2017-04-17 10:10:03 -07:00
Mark Pizzolato
c4931bbd30 PDP11: Fix error path check on disk I/O status 2017-04-13 21:55:40 -07:00
Mark Pizzolato
8c5305c857 PDP11: Fix rounding up sector count computation
Fix #412, #424
2017-04-13 20:42:47 -07:00
Mark Pizzolato
cd8e9eb5da PDP11: Properly handle reads of less than 1 sector
Fix #412, #424
2017-04-13 18:20:01 -07:00
Mark Pizzolato
faae90e160 ID16: Fix potential uninitialized variable recording history (COVERITY) 2017-04-11 11:03:41 -07:00
Mark Pizzolato
6ff3eeac80 SCP: Compiler suggested cleanup 2017-04-10 10:47:42 -07:00
Bill Beech
2b30084a53 IBMPC, IBMPCXT, isys80xx: Restructure directories to eliminate redundant files 2017-04-10 10:32:43 -07:00
Mark Pizzolato
7317645dd7 SCP: Make COPY command more robust 2017-04-07 14:35:04 -07:00
Ryo ONODERA
64376cad58 makefile: Use correct variable name, FONTPATH instead of FONTNAME in message 2017-04-07 11:25:27 -07:00
Mark Pizzolato
c6b10a06de makefile: Add check for utime.h 2017-04-07 11:23:05 -07:00
Bob Supnik
cc2c8f10fc I7094: Fix typo in accessing unit array (COVERITY) 2017-04-07 11:06:28 -07:00
Bill Beech
60bf7d5d12 IBMPC, IBMPCXT: Compiler suggested cleanup 2017-04-07 10:23:55 -07:00
Mark Pizzolato
d42dd707e9 VAX750: Fix some 750 UBA inconsistencies 2017-04-06 18:12:44 -07:00
Mark Pizzolato
1c83826b43 ID32: Fix potential uninitialized variable recording history (COVERITY) 2017-04-06 18:11:33 -07:00
Bill Beech
2ddb7162f3 ibmpc & Intel systems: Fix coverity identified issues 2017-04-05 12:51:28 -07:00
Bill Beech
861d460ce5 SWTP: remove error path extra close (COVERITY) 2017-04-05 12:48:52 -07:00