1
0
mirror of https://github.com/simh/simh.git synced 2026-01-13 15:27:14 +00:00

4486 Commits

Author SHA1 Message Date
Bill Beech
bf2bccdb8a swtp: General cleanup of some minor things 2022-10-26 16:35:43 -07:00
Lars Brinkhoff
35678bafd5 Bug fixes for various video code. (#80)
* VIDEO: Fix bug: vid_ready can be used uninitialized.

* VIDEO: Not all events come with a valid windowID.

* PDP11: Fix NG SET TYPE.

The sense of MATCH_CMD is reversed.

* display: Fix bug in NG display controller.

There should be a separate state for each of the eight displays.

* display: Symbolic constant for number of displays.
2022-10-23 10:42:00 -05:00
Lars Brinkhoff
fb20442ffd VIDEO: Not all events come with a valid windowID. 2022-10-17 08:35:24 +02:00
Lars Brinkhoff
c9bfb77396 VIDEO: Fix bug: vid_ready can be used uninitialized. 2022-10-16 22:07:01 +02:00
Mark Pizzolato
a5f6dcf1c7 SCP: Avoid extraneous stderr output while getting tar/curl version 2022-10-21 17:41:12 -10:00
Mark Pizzolato
5ec770d077 AltairZ80: Fix VS2008 compile problem with recently updated m68k codebase 2022-10-21 14:31:27 -10:00
Lars Brinkhoff
06cae15d92 PDP11: DH11 device. 2022-10-15 17:53:47 +02:00
Lars Brinkhoff
c9216c789c PDP11: Add option for 216K memory.
The Small ITS timesharing system prefers this amount.
2022-10-12 10:10:41 +02:00
Paul Koning
4bbcdb5618 PDP11: Fix PC breakpoint check
Don't modify the CPU state when checking for physical address match on
PC address breakpoints.  Reported and verified by Lars.
2022-10-10 13:38:09 -04:00
Howard M. Harte
43f209b5ef AltairZ80: Reconcile license with open-simh. 2022-10-08 13:41:02 -07:00
Howard M. Harte
43ef14458f sim_imd: Reconcile license with open-simh. 2022-10-08 13:40:58 -07:00
Howard M. Harte
4fe71b0cf9 TX-0: Reconcile license with open-simh. 2022-10-08 13:40:53 -07:00
Peter Schorn
f3f943c607 AltairZ80: M68K: Fix hang with 'expect' 2022-10-08 00:25:15 -07:00
Howard M. Harte
7fec24dbde AltairZ80: M68K: Changes for SIMH.
Build: Compiled with VS 2022, Clang, gcc.
Test: Boot and run CP/M-68K from: https://schorn.ch/cpm/zip/cpm68k.zip
2022-10-08 00:25:04 -07:00
Howard M. Harte
129ed5e1a9 AltairZ80: M68K: Update to Musashi 4.10
Includes up through commit fc7a6fc602e2fbcd24851670a5242358765feacf from
https://github.com/kstenerud/Musashi
2022-10-08 00:24:59 -07:00
Howard M. Harte
f2a1e15d13 AltairZ80: M68K: Move Musashi to m68k directory.
The M68K CPU is from https://github.com/kstenerud/Musashi.  Move into
its own directory to facilitate easier synchronization with upstream
Musashi.
2022-10-08 00:24:49 -07:00
Mark Pizzolato
46be5f5bf0 SCP: Reliably report useful help for HELP BOOT on all simulators 2022-10-21 12:20:53 -10:00
Mark Pizzolato
39260a353a makefile: Add package knowledge and prompting for FreeBSD and OpenBSD 2022-10-21 12:19:58 -10:00
Mark Pizzolato
40460e0bb8 BESM6: Silence reasonable compiler warnings 2022-10-21 10:09:15 -10:00
Mark Pizzolato
0de0359ad0 PDP11 and All VAXen: Support dynamic fetching of ROM or other boot code
Simulators built with DONT_USE_INTERNAL_ROM defined will not have hte
binary of the needed ROM or boot components build into the simulator
binaries.  However, they will automatically and transparently fetch the
neeeded ROM or boot code from the web when these binary files aren't
available locally.
2022-10-19 15:06:55 -10:00
Mark Pizzolato
10357a4ce3 SCP: Support running without built-in ROM or other boot code
Some potential packaging platforms do not want to package/distribute
simh simulators which have build-in binary code (ROM images or other
boot code) which may have unknown copyright status.  Historically Linux
distributed prebuild simulators but left it to a simulator user to reach out
on the web to pick up these needed pieces to actually use the simulator(s).

This addition allows the default simulator builds to include the needed
binary components built into the simulator(s).  In addition, it also
allows simlators to be built with DONT_USE_INTERNAL_ROM defined and thus
not to contain the material with potentially questionalble providence,
but to transparently reach out to the web to fetch the needed component(s)
when they are needed without any effort on the part of the simulator user.
2022-10-19 14:53:58 -10:00
Mark Pizzolato
827ef03aeb BuildROMs: Move ROM exclusion logic into ROM include files
- Plan is to avoid "#ifdef DONT_USE_INTERNAL_ROM" in simulator code
  and handle builtin or external files in SCP facilities
- Export ROM checksum value and source file path to allow for transparent
  dynamic ROM location at run time.
2022-10-19 13:14:49 -10:00
Mark Pizzolato
2673530d3d SCP: makefile: Extend SHOW VERSION output to include build OS version
This is only displayed when the build OS version is different from the
running OS version.
2022-10-17 11:43:27 -10:00
Mark Pizzolato
e8aac5b410 Appveyor: Revise the notification emails 2022-10-17 11:42:59 -10:00
Mark Pizzolato
0c2d33727b DISK: Extend documentation for metadata management
- Update README to describe differences with open-simh
- Allow SET NOAUTOSIZE and SET AUTOSIZE
- Document deprecation and possibly non functionality of MinGW
  Windows build support
2022-10-07 08:39:25 -10:00
Mark Pizzolato
3dbac4c4dd makefile: Simplify and correct the messaging about missing dependencies
- When dependencies needed for the specified build target(s) are not
  all available, display explicitly what is package(s) are missing for the
  current platform's package manager.  Ask if the build should proceed
  or if the missing pieces should be installed first.  If the user wants to
  install the missing package(s) first, then show them precicely what
  commands are needed for that package manager on that platform.
  If the platform is macOS and the package manager is HomeBrew, then
  automatically install missing packages and perform the initially desired
  build.  All other package managers require root access, so the commands
  the user needs to enter to install the missing packages and to restart the
  build are displayed the build exits.
- Explicit support provided for
   1) HomeBrew and MacPorts on macOS,
   2) apt AND yum on various Linux distributions
   3) pkgin on NetBSD
  for Debian and
2022-10-07 08:23:46 -10:00
Mark Pizzolato
c0925ad1e8 BESM6: Add option to SET CPU PANEL{=fontfilename.ttf} to specify the font name
The BESM6 makefile build has always allowed a makefile argument FONTFILE=.
That option still exists and will change the default font file.

Also extend the default font file names to include one which is found on
NetBSD.
2022-10-07 07:36:15 -10:00
Mark Pizzolato
5ccefb4163 DISK: Add AUTOZAP as a global and per unit option
This removes disk metadata on disk container files at detach time.
2022-10-02 18:32:35 -10:00
Mark Pizzolato
0b368d8d11 Visual Studio Projects and doc: Describe automatic fetch of windows-build 2022-10-02 18:31:44 -10:00
Mark Pizzolato
f64da6e522 Visual Studio Projects: Update required windows-build dependency version 2022-10-02 17:09:59 -10:00
Mark Pizzolato
8bd8692384 README: Update open-simh differences and 0readme_ethernet.txt for correctness 2022-09-27 14:30:18 -10:00
Mark Pizzolato
183c9c5fc7 makefile: Remove makefile passing of SDL_MAIN_AVAILABLE
This is only based on the APPLE platform and is now specified in
sim_video.h
2022-09-27 13:58:50 -10:00
Mark Pizzolato
dca61c580a VIDEO: Assure that vid_version() displays all the video capabilities available 2022-09-27 13:56:36 -10:00
Mark Pizzolato
b67c80b3b1 SCP: Silence odd clang warning for error test case 2022-09-27 09:24:07 -10:00
Mark Pizzolato
3ef47b31c1 SCP: Add support for compiled in readline and dlopen support on all platforms
Compiled in support is preferred over dlopen efforts with a fallback to
printf/fgets when neither is available at compile and runtime.

All platforms support file path expansion on command entry of tab characters
2022-09-27 09:07:02 -10:00
Mark Pizzolato
3ffa4f198a Visual Studio Projects: Update windows-build version in Pre-Build-Event
Remove FINDFONT logic which is no longer relevant since fonts are
determined at runtime.
2022-09-26 16:02:31 -10:00
Mark Pizzolato
bf64a152d9 makefile: Correct experimental/incomplete simulator list and add to CI build 2022-09-26 13:42:30 -10:00
Mark Pizzolato
61c66661d7 SCP: Fix REGister URDATA sanity validation logic to reference proper size 2022-09-25 14:16:25 -10:00
Mark Pizzolato
75745b7b52 SCP: Remove libreadline GPL conflict and add tab file expansion on Windows
- Leverage libedit which is minimal libreadline with BSD license
- Wineditline on Windows which is also a libreadline equivalent with
  a BSD license

Both are dynamically loaded on startup if they're available on
the host.
2022-09-25 14:04:05 -10:00
Richard Cornwell
dcdd75d746 KA10: Moved CH11 interface to BR5. 2022-09-23 09:21:05 -04:00
Richard Cornwell
dc5f467bf4 B5500: Changed buffer registers to use CRDATA instead of BRDATA. 2022-09-22 21:26:00 -04:00
J. David Bryan
aa309f5273 HP2100: Fix improper REG macro use missed when merging 3.12-2 2022-09-21 09:20:57 -07:00
Mark Pizzolato
f3d3ecad0f I7094: Use appropriate REG macro for array of structures 2022-09-21 09:03:16 -07:00
Bob Supnik
11e5d27750 ID16, ID32: Fix register macro change missed when merging 3.12-2 2022-09-21 09:02:00 -07:00
Mark Pizzolato
0981556639 PDP11, Qbus & Unibus VAX: Use proper REG macros for arrays and structures
Registers in the DMC, RQ and TQ devices were improperly described
2022-09-21 08:46:23 -07:00
Mark Pizzolato
ffae9ae245 SCP: Add more robust register checking to avoid out of bounds array references 2022-09-21 08:44:43 -07:00
Mark Pizzolato
e599afcd68 BESM6: Cleanup makefile and Visual Studio build support
- Avoid explicit search for font file (which is now done at runtime
  activation of the display panel)
- Retain ability for FONTFILE to be explicitly specified on the make command
2022-09-10 08:42:23 -07:00
Mark Pizzolato
fe4c543c1f BESM6: Rework front panel setup
- Remove legacy support for SDL prior to SDL2
- Add support to dynamically locate a useful truetype font at panel startup
- Still support compile time provided font via FONTFILE
2022-09-09 21:12:01 -07:00
Mark Pizzolato
ee69bf3e6f FIO: Extend library test for sim_get_filelist and group order results 2022-09-09 21:07:36 -07:00
Bob Supnik
72f75ec1b5 PDP11: CPU MMR1 and FP changes
There are a lot of niggling fixes, mostly for incompatibility issues
found by Walter Mueller. Working out the 11/70 behavior is still not
fully done, but it's a lot better than it was, and it passes more of the
11/70 MMU diagnostic.

- Floating point. Now model sensitive in treating MMR1, for 2.11 BSD.
- MMR1 now tracks PC changes on 11/44, 11/45, 11/70, and J11 -(PC) and @-(PC).
- MMR1 is cleared at start of trap sequence on 11/45, 11/70.
- Red stack abort occurs before memory writes on 11/45, 11/70 (no other model has them).
2022-09-09 19:27:37 -07:00