Commit graph

2690 commits

Author SHA1 Message Date
Mark Pizzolato
a9cd426701 IBM1130: Change position, color, text of buttons to match real 1130
as discussed in #459 by  James Fehlinger
2017-05-18 23:56:18 -07:00
Mark Pizzolato
b0850673ce IBM1130: Clarify prompts to handle incorrect file drops into GUI 2017-05-18 13:14:56 -07:00
Bob Supnik
a7216dbbd1 All VAX: Added model-specific AST validation test
From page 6-6 of DEC STD 032 (the VAX architecture spec):
"Execution of MTPR src, #PR$_ASTLVL with src<31:0> GEQU 5 results in
UNDEFINED behavior. The preferred implementation is to cause a reserved
operand fault." MicroVAX II, CVAX, and Rigel all conform to the preferred
behavior, as does the current simulator, which was written from the CVAX
microcode. NVAX masks to 3b and does not take an exception on a value
GEQU 5.

The 1982 Architecture Handbook describes ASTLVL as a 3b register, with
src<31:3> ignored/read as zero, and exceptions taken on values GEQU 5.
The780 microcode masks the input value to 3b before doing the GEQU 5 test.

The ASTLVL test needs to be model specific.

I suspect the behavior became undefined when MicroVAX II simplified the
original test to save a microword. I do not see how the code fragment Matt
references could work on a MicroVAX II, which was supported under 4.5.
Perhaps the device Matt mentions couldn't exist on a MicroVAX II?

For those who wants the gory details... uVAX, CVAX, and Rigel do an
unsigned compare on the unmasked src and the constant 5. Carry out
means reserved operand. Overflow is ignored. So an input of 0x80000002 -
0x00000005 (done in the data path as 0x80000002 + 0xFFFFFFFB) generates overflow (ignored) and carry out.

# Conflicts:
#	VAX/vaxmod_defs.h
2017-05-18 12:45:21 -07:00
Mark Pizzolato
1cf4f7795a IBM1130: more robust detection of SCP command files dropped into GUI
as discussed in #456
2017-05-17 09:22:38 -07:00
Mark Pizzolato
d9cc6636d4 IBM1130: Add SCP command file auto detect for files dropped into GUI
as discussed in #456
2017-05-16 12:57:40 -07:00
Mark Pizzolato
50ee79734a IBM1130: Force update of GUI prior to reading commands
This gets changed state displayed in GUI for register updates, etc..

as mentioned in #453 point 1.
2017-05-15 21:00:35 -07:00
Mark Pizzolato
6c39b3a263 IBM1130: Change disk device labels to reflect correct drive numbers
as discussed in #455
2017-05-15 19:32:30 -07:00
Mark Pizzolato
b8f6dfaf9e IBM1130: Make sure GUI Card Reader doesn't change while simulator is running
as discussed in #454
2017-05-15 19:04:36 -07:00
Mark Pizzolato
22efe75883 IBM1130: Move focus to console input window after all GUI button presses
As discussed in #450
2017-05-15 14:57:43 -07:00
Mark Pizzolato
e0a45f9af9 IBM1130: Fix non-windows build 2017-05-15 10:49:37 -07:00
Mark Pizzolato
17c56a0c88 IBM1130: Bring focus to the SCP window at appropriate times with GUI console
As suggested by Jim Fehlinger in #450
2017-05-15 07:29:10 -07:00
Mark Pizzolato
fee3e81208 IBM1130: Disallow printer 'paper' removal with simulator running
As reported in #449
2017-05-14 18:49:34 -07:00
Mark Pizzolato
4df0a9fb1e IBM1130: Properly serialize commands and waiting for command completion
As reported in #448
2017-05-14 06:16:28 -07:00
Mark Pizzolato
5917787c53 IBM1130: Fix plot compile issues when plot device is enabled 2017-05-12 07:52:32 -07:00
Mark Pizzolato
ab4ee75961 IBM1130: Give notepad a chance to open its file before proceeding 2017-05-12 06:21:49 -07:00
Mark Pizzolato
d0bd4fbdff TMXR: Enforce output rate limiting when output is produced by instructions
Calls to tmxr_putc_ln() executed directly within instruction simulation code
(as opposed to during event servicing) will delay reasonable times
2017-05-11 08:42:31 -07:00
Mark Pizzolato
1e8af71081 TIMER: Clarify throttling behavior displayed in SHOW for I/T mode 2017-05-11 08:33:39 -07:00
Mark Pizzolato
85c27bb099 TIMER: Fix typo in a comment text 2017-05-09 20:05:11 -07:00
Mark Pizzolato
b9c9c9ea17 SCP: Allow for locally provided strlcpy and strlcat macros
As indicated in #445
2017-05-09 19:27:43 -07:00
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