PiDP-8/I Software

Timeline
Log In

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

111 check-ins using file lib/os8script.py.in version 082d2c3bc7

2024-06-30
18:59
Enable ILS mode in single-step/single-instruction mode. Enable ILS in more of the throttling modes, including throttling to very slow speeds like 1 instruction per second Leaf check-in: 3b3fcb8834 user: HBEggenstein tags: pi5-ils2-bworm-cyclerealistic
2024-06-20
00:55
fixed ILS tweaking Leaf check-in: 74efaad4a1 user: HBEggenstein tags: pi5-ils2-bookworm
00:39
merged accidental fork check-in: adc65f80bb user: HBEggenstein tags: pi5-ils2-bworm-cyclerealistic
00:24
fixed ILS tweaking check-in: b0f1224117 user: HBEggenstein tags: pi5-ils2-bworm-cyclerealistic
00:21
fixed ILS tweaking check-in: 7b450b94dc user: HBEggenstein tags: pi5-ils2-bworm-cyclerealistic
2024-06-15
21:58
merge Steve Tockey's branch cycle-realistic into the pi5-ils2-bookworm branch check-in: d413ed639f user: HBEggenstein tags: pi5-ils2-bworm-cyclerealistic
16:55
Revert unconditional install of pidp8i.rc. We install it once, but don't mess with it if it's already there. check-in: 8b74d4f9fe user: poetnerd tags: pi5-ils2-bookworm
16:29
Unconditionally install pidp8i.rc check-in: 1d0f9ffd4d user: poetnerd tags: pi5-ils2-bookworm
2024-06-14
23:42
revert pinctrl chaching optim., not worth it. Moved ILS/NLS switching logic from compile time to runtime / configuration file check-in: ccedb853c9 user: HBEggenstein tags: pi5-ils2-bookworm
2024-06-09
21:02
Fix for scanswitch as per email on 5/19. Otherwise pidp8i won't start from systemd. Leaf check-in: 32b450529e user: poetnerd tags: pi5
20:59
Fix for scanswitch as per email on 5/19. Otherwise pidp8i won't start from systemd. check-in: 3a1f169d7d user: poetnerd tags: pi5-ils2-bookworm
19:35
Eliminate all use of vc includes and libraries. Eliminates PI_CFLAGS, PI_LFLAGS and PI_LIBS. Also pull in fix for install from Trunk. (Should save you a bit of merging, HB.) check-in: 1ecc2e5833 user: poetnerd tags: pi5-ils2-bookworm
19:27
Eliminate all use of vc includes and libraries. Eliminates PI_CFLAGS, PI_LFLAGS and PI_LIBS. Cleanup made possible through testing by HBEggenstein in pi5-ils2-bookworm branch. check-in: f50a614018 user: poetnerd tags: pi5
2024-06-06
19:54
performance optimizations check-in: 1aefd0c723 user: HBEggenstein tags: pi5-ils2-bookworm
00:55
bug fix for LED update in stopped state, and fixing a potential sign/overflow problem in the dithering of the LED update from the decode loop check-in: d2afc15e23 user: HBEggenstein tags: pi5-ils2-bookworm
2024-06-03
19:10
After splitting out the PI_BINS I broke install. This should fix it. Leaf check-in: 4b84468f43 user: poetnerd tags: trunk
2024-05-31
17:16
forgotten line from previous checkin check-in: 53d0aa19bd user: HBEggenstein tags: pi5-ils2-bookworm
17:07
a)As ILS redraw loop is now executing faster and to accomodate fater Pi models, thefrequency at which LED status is updated is increased, so each redraw has at least 32, better ca 60 sampling points to work on, to use the fully brightness level range. b)The user tweakable RISING_FACTOR and FALLING_FACTOR values now also go thru self-calibration, making them comparable among different users and hence potentially different Raspberry Pi models. check-in: f0642ec578 user: HBEggenstein tags: pi5-ils2-bookworm
2024-05-26
21:19
Some changes to the ILS code aiming to make it useable for all 40-pin header Raspi Pi models from RPi Zero to RPi 5, for a unified 'Bookworm' 32 bit OS image. The ILS code is performance optimized to allow execution on RPi Zero (when SIMH is throttled to realistic IPS), contains self-calibration to adjust to different execution speeds and has a means for tweaking the ILS effect for expert users. check-in: e29ea438fd user: HBEggenstein tags: pi5-ils2-bookworm
2024-05-19
19:07
Another missed merge conflict: Gotta set -DPIDP8I! Fixed now. check-in: c752f1c29a user: poetnerd tags: pi5
18:51
Made wrong fixup of merge conflict for BUILD_PIDP8I_CFLAGS. Fixed now. check-in: 13ee9167f6 user: poetnerd tags: pi5
18:47
Pull in SIMH4 from Trunk. check-in: e467afdd62 user: poetnerd tags: pi5
17:27
We weren't initializing the GPIO pin direction in the nls interface like we did in with ils. This fixes pidp8i-test and scanswitch. check-in: 1eaccc2260 user: poetnerd tags: pi5
17:14
Merge update to Open SIMH into trunk check-in: 1d15be1c09 user: poetnerd tags: trunk
2024-05-17
22:36
Fixing typo in Makefile.in. Don't know how it crept in. check-in: 8c0883157f user: poetnerd tags: trunk
22:35
Somehow a typo keeps creeping into Makefile.in. I thought I fixed it. Fixing it again! Leaf check-in: 9cd4c30135 user: poetnerd tags: open-simh
22:26
Migration to OpenSimh version 4 works. Needed to change the expect string in lib/simh.py.in to expect "Open SIMH" additionally. New file from SIMH: src/SIMH_printf_fmts.h check-in: 5862224e2c user: poetnerd tags: open-simh
21:38
Switch from SIMH 4 to Open SIMH. check-in: ddbf43ce8f user: poetnerd tags: open-simh
02:55
oops! I missed a couple merge conflicts and broke the pi platform. Fixed now. check-in: 824e023952 user: poetnerd tags: trunk
01:48
Cherrypicked from the pi5 branch. Split out the gpio stuff so that it does not build on non-Pi Platforms unless forced with a new binary option "force-pidp8i". Required adding a bunch of #ifdef PIDP8I in SIMH/PDP8/pdp8_cpu.c. Ripped out the bcm_host stuff because I think it's invalid for pinctrl. Passes tests on the Mac. Now let's see what I broke on the Pi side. TODO: Clean up what are probably messy approaches in auto.def check-in: 609e37c0b9 user: poetnerd tags: trunk
2024-05-13
03:08
Fixes to get things building again on my pi. Pruned a couple superfluous lines I'd previously made in auto.def. TODO: See if I can get pidp8i-test blinking lights again. check-in: 6fb29f08a2 user: poetnerd tags: pi5
00:26
Split out the gpio stuff so that it does not build on non-Pi Platforms unless forced with a new binary option "force-pidp8i". Required adding a bunch of #ifdef PIDP8I in SIMH/PDP8/pdp8_cpu.c. Ripped out the bcm_host stuff because I think it's invalid for pinctrl. Passes tests on the Mac. Now let's see what I broke on the Pi side. TODO: Clean up what are probably messy approaches in auto.def check-in: d0a4868e9b user: poetnerd tags: pi5
2024-05-12
18:16
Took an updated pinctrl from upstream. Removed use of pinctrl.o. We don't seem to need it, and so we don't need to remove main etc. from it. Rolled back my change to gpiochip.h. Going to disable gpio builds on non-pi platforms. check-in: 1bf02a37f0 user: poetnerd tags: pi5
2024-05-11
02:51
Not sure how gpio-common.c.in compiled looking in the wrong place for gpiolib.h check-in: b0c3043c04 user: poetnerd tags: pi5
2024-05-10
22:21
Additional work to teach scanswitch about includes from src/pinctrl. check-in: 8d899e3b5f user: poetnerd tags: pi5
21:38
Teach Makefile.in about pinctrl includes check-in: d70f7b1975 user: poetnerd tags: pi5
21:12
First attempt to integrate new gpio handler from Oscar Vermeulen. Won't build on the Mac because pinctrl.c uses non-portable reallocarray. Gotta fix that. check-in: b468cd1c6f user: poetnerd tags: pi5
2024-04-21
23:14
Create new branch named "pi5" check-in: c877fedf8b user: poetnerd tags: pi5
2024-03-18
15:53
Broken URL fixes check-in: a555587cd1 user: tangent tags: trunk
15:16
Link made to work only under "fossil ui" now works under other hosting check-in: 024c80d686 user: tangent tags: trunk
2024-03-14
05:20
Removed the test for the pidp8i-test -v flag. It was added in 20170401 with the intent of printing the software configuration string and exiting, but it no longer works, if it ever did. check-in: 24803b41aa user: tangent tags: trunk
2024-02-08
21:09
Using the new Pikchr diamond primitive in the contribution guide's commit flowchart. check-in: d1b190b233 user: tangent tags: trunk
2023-04-30
16:28
Added notes on defects found in YAHTZE.BA. check-in: 416088d7ea user: poetnerd tags: trunk
2023-03-06
04:32
Add more debug output to os8-progtest Refine basic-games.yml because a race condition broke it on M2 Macs. I think this refinement will be definitive. Fingers crossed. check-in: c124f7a6e7 user: poetnerd tags: trunk
2022-12-24
18:53
Correct attribution of SIMH hack to Kyle Owen check-in: 6019a1e1a7 user: poetnerd tags: trunk
2022-10-15
09:43
Markdown formatting fix check-in: b56241f7d7 user: tangent tags: trunk
2022-10-13
03:03
Installing os8-cp after os8-run in "make install" check-in: 6beed7df47 user: tangent tags: trunk
2022-07-04
12:28
Grammar tweak check-in: 0ef5a18707 user: tangent tags: trunk
2022-01-08
02:55
Typo fix check-in: ef142cdc8e user: tangent tags: trunk
02:51
Updated SIMH to get Rick Murphy's FPP bug fix. check-in: b74012df75 user: tangent tags: trunk
2022-01-02
01:37
Small tweak to "clone" language in the contributing guide check-in: 96307b81e3 user: tangent tags: trunk
2021-12-20
17:21
Merged CONTRIBUTING.md changes in Leaf check-in: 6c073bdde3 user: tangent tags: cycle-realistic
17:21
Fixed an obvious bug in the new material added to src/pidp8i/main.c.in check-in: 8689b4ae5c user: tangent tags: cycle-realistic
17:20
Merged cycle-accurate branch tips together. check-in: f5d7f8b691 user: tangent tags: cycle-realistic
17:05
Typographic tweak check-in: ef267a71d2 user: tangent tags: trunk
17:04
Simplified the tail end of "Getting Started with Fossil" now that the 1.x versus 2.x crisis point is years in the past. check-in: 82951c6a5a user: tangent tags: trunk
16:58
Rewrote the list of starting points in the "Getting Started with Fossil" section of the contribution guide. check-in: 4a054cc15d user: tangent tags: trunk
2021-12-11
19:48
Here is the cycle-realistic version. For some reason, Fossil is not picking up some changes to pidp8i.h as well. This is needed in pidp8i.h: typedef enum { pft_stopped, /* the cpu is not running */ pft_running, /* the cpu is running */ pft_go, /* the cpu is (re-) starting from being stopped */ pft_exit /* exit(ing) SIMH */ } pidp8i_flow_t; check-in: 03fb9d8dc5 user: stevet tags: cycle-realistic
2021-12-04
21:20
First apparently working version of the cycle-realistic PiDP-8/I. This makes the Sing Step switch on the PiDP-8/I front panel behave the same as on a real -8 (subject to a minor risk that MA and MB may not be 100% correct in all major states). See the thread "New, experimental, (hopefully) cycle-realistic version of the PiDP-8/I" in the user group for more information about how to use it. check-in: 241d799d53 user: stevet tags: cycle-realistic
21:11
Create new branch named "cycle-realistic" check-in: 53974b1c29 user: stevet tags: cycle-realistic
2021-11-16
02:34
Calling udevadm from the "make install-system" target via a relative path since the upstream OSes keep moving it about. It's been found in /sbin, /bin and /usr/bin! check-in: 870c65f831 user: tangent tags: trunk
2021-11-09
01:16
First version of fixes. "Why are the ILS equations now not symmetrical excepting the scaling factor?" https://tangentsoft.com/pidp8i/tktview?name=135d14a0c2 "Extremely low throttle values cause blinky display" https://tangentsoft.com/pidp8i/tktview?name=b8d9865f31 Perhaps also "ILS brightness takes seconds to settle at low throttle values" https://tangentsoft.com/pidp8i/tktview?name=26cc6b3614 In the initial test version I deliberately exaggerated the rise and decay delays just so that people testing this are convinced this is really still doing a "lamp" simulation. Perhaps one should make those settings user configurable anyway. Still to do: fix some code indentation, check if there are comments that are no longer describing the current code, check if the timing of the switch management is still ok. Leaf check-in: 44e6476477 user: HBEggenstein tags: led-update-fixes
00:09
Begin branch to fix some LED update issues: -prevent excessive undersampling of the LED states especially with high (unthrottled) instructions-per-second rates -speed up the ILS thread by reducing the number of GPIO switching -fix a bug in the calculation of the target brightness when the number of sampled instructions is rel. low (say < 100) -improve double buffering of LED "display" : swap displays only when updates were made (helps with extremly aggressive throttling) check-in: febe31baea user: HBEggenstein tags: led-update-fixes
2021-11-08
23:33
Begin branch to fix some issues related to the LED panel display Leaf check-in: 556e1a6952 user: HBEggenstein tags: bogus, led-fixes
2021-10-31
22:41
in order to check whether a deposit is made to nonexistent memory, the memory size need to be passed now in the handle_flow_control_switches function. Now the code even compiles.. Leaf check-in: 01aa183fda user: HBEggenstein tags: fix-dep-exam-ignore-if
20:15
Begin branch with fix for bug : "Deposit and Exam limited to first 4096 words" check-in: ccf47d95d4 user: HBEggenstein tags: fix-dep-exam-ignore-if
2021-10-23
14:16
I2CB: build process, documentation improvements As this feature is still experimental and to allow the continuous integration to build the simh executable without th installed dependencies (libi2cd), the I2CB device logic is not included in the build by default for now, but configure offers the --i2c-bridge option to enable it, provided the libi2cd lib and header file can be found. Leaf check-in: 36a77478e0 user: HBEggenstein tags: i2c-bridge-device
2021-10-18
07:54
I2CB: reformatted source code, added some documentation, changed (C) remark as per Warren Young's feedback check-in: 3a58bc038e user: HBEggenstein tags: i2c-bridge-device
00:38
Restored a space present in an upstream SIMH file to prevent a pointless merge conflict. check-in: fab3f7655b user: tangent tags: i2c-bridge-device
00:25
Began a new ChangeLog entry with this branch's contribution as its first entry. check-in: bf5d1b8113 user: tangent tags: i2c-bridge-device
00:04
Removed the "PiDP add" and "PiDP end" comments. Those markers are only for injections into upstream files; this one's new. check-in: 151d16011d user: tangent tags: i2c-bridge-device
2021-10-17
21:42
I2CB device: first mostly functional version. check-in: 11736019ce user: HBEggenstein tags: i2c-bridge-device
2021-10-16
13:50
work in progress. minor tweaks but seems to compile and have basic device configuration working now, except attach/detach logic and flawed association between I2C addr and dev no check-in: 6b2c49bf4c user: HBEggenstein tags: i2c-bridge-device
00:41
Work in progress The association of dev no and I2C address per unit need more work check-in: d3432d4092 user: HBEggenstein tags: i2c-bridge-device
2021-10-13
23:07
Initial commit to start a branch exploring the idea of having a generic SIMH device that will forward IOT instructions for configurable PDP-8 devices so they can be implemented on external hardware, typically a microcontroller connected to the host via I2C. This could be used for rapid prototyping of either historical device emulation or emulating custom I/O logic. check-in: fbcfafaf43 user: HBEggenstein tags: i2c-bridge-device
2021-07-12
12:35
Merged trunk changes in check-in: a9eb4a4733 user: tangent tags: pi4-gpio-clean
2021-06-05
12:09
Dropped the ETOS matter from COPYING.md, and clarified the blanket licensing info for the rest of the DEC software. check-in: d80d302db1 user: tangent tags: trunk
2021-05-17
15:18
Changed the way "bosi prepare" handles sshd first start to use a Raspberry Pi specific mechanism that [https://groups.google.com/g/pidp-8/c/qCVLKZoJPkU/m/TLqY2IkaBAAJ | reportedly regenerates the shredded keys]. check-in: 02c35e52bf user: tangent tags: trunk
2021-04-23
19:51
Updated to the latest SIMH to fix a problem with TSS/8 booting. It seems they updated some of the device handling since the Feb 3 update we did just prior to the current stable release. check-in: f02ebe72df user: tangent tags: trunk
2021-04-05
01:18
Tweaks to the U/W FOCAL manual supplement's section on getting program text in, following with the wiki edit to the more generic "Getting Text In" doc. check-in: 19b97405ed user: tangent tags: trunk
2021-04-01
22:07
Added a patch to the build of U/W FOCAL. It puts code that clears EAE Mode B (and copes appropriately with other PDP-8 Family members that don't have EAE Mode B) into a block of initialization code reserved for "CLEAR ANNOYING FLAGS". This should resolve bug 025575a170. check-in: 9f44dd87b8 user: poetnerd tags: trunk
2021-02-15
08:49
Adjustments to the build advice in the readme to track the changes made to "bosi build". check-in: 218401a205 user: tangent tags: trunk
08:10
Added missing ;; in one of the case statements in bosi check-in: 247961207f user: tangent tags: trunk
07:59
Small tweaks to the release process doc. check-in: d28caab153 user: tangent tags: trunk
07:04
Merged yet more changes for v20210214 in Leaf check-in: 73038fadf8 user: tangent tags: release, v20210214
06:57
Reworked the logic in the new "bosi build nls" code so it copies any missing images from UV, rather than blindly copy all of them only when the first one is missing. This lets you re-run the script later, relying on it to fill in the gaps before starting on the expensive parts of the build. check-in: 5ec88693ac user: tangent tags: trunk
06:53
Fixed a misplaced curly brace in previous check-in: 59e778933e user: tangent tags: trunk
06:51
Added the "nls" parameter to "bosi build" so the single-core build can share the images synced as unversioned content up to the public server rather than need to rebuild them. This also clones the images down as part of the repo for the first time, so the user has a more complete clone of the repo. check-in: 3d933f656d user: tangent tags: trunk
06:34
Moved the Python 3 library stuff back up in bosi from "build" to "init" step again after the "sudo make install" step failed, since that may need to run one of the class simh or class os8script Python programs that depend on one of these as root. Using platform binary packages rather than pip3 user packages. check-in: 3a02a9163b user: tangent tags: trunk
03:50
Moved the pip3 install command down from "bosi init" into "bosi build" so it's run as the pidp8i user, not as root. It does us no good to have the Python libraries installed for use by root! check-in: e4a27760c4 user: tangent tags: trunk
03:31
Merged still more trunk tweaks in check-in: 280c662a13 user: tangent tags: release, v20210214
03:31
Moved the 8GB image size requirement up after reflecting on the prior change. check-in: 9cac6262d6 user: tangent tags: trunk
03:17
The "bosi shrink" process roached the SD card, and I can't be bothered to figure out why. It's a minor optimization, not worth spending the time on, given that you have to go out of your way to find something smaller than 8GB and end up paying about as much for it when you do find one. I'm therefore betting that almost no one is actually trying to use a 4GB card, the only thing smaller that could possibly work, since even with the shrink, the finished image wouldn't fit on a 2GB card. check-in: d79a842547 user: tangent tags: trunk
02:42
Swapped commands in "sudo time" constructs in bosi so we use the calling shell's builtin version instead of /usr/bin/time, since at least on macOS, the builtin's output is clearer. Tweaked the prior commands to ensure that we don't count the time taken while sudo is blocking waiting for a psssword input against the time taken by the elevated command. check-in: 1ef732c32c user: tangent tags: trunk
02:36
Merged more trunk tweaks in check-in: 50be8bd991 user: tangent tags: release, v20210214
02:36
Comment tweak check-in: 4a67ec5806 user: tangent tags: trunk
01:59
Documented need for prior commit's change in the release process doc. check-in: fba31778b0 user: tangent tags: trunk
01:58
Updated "stretch" to "buster" in tools/bosi check-in: f0461538d2 user: tangent tags: trunk
01:27
Had to reorder and update some of the steps in "bosi prepare" to make it work on the current Rasperry Pi OS version. check-in: aeac6fa347 user: tangent tags: trunk
00:58
More tweaks to the BOSI process. check-in: 356fc7e331 user: tangent tags: trunk
00:14
Merged trunk tweaks in check-in: d6d2943cec user: tangent tags: release, v20210214
00:02
Upped minimum SD card requirement from 2GB to 8GB after "bosi init" failed with an out-of-space message on the "apt upgrade" step, even after removing the biggest disk hogs we can most do without. The Foundation recommends 8GB, so we now do, too. check-in: 0136f1193f user: tangent tags: trunk
2021-02-14
23:10
URL fix check-in: be28caef24 user: tangent tags: trunk
22:51
Merged trunk changes for v20210214 into release branch check-in: 1fa1be1425 user: tangent tags: release, v20210214
22:39
Released v20210214 check-in: fad938bcb7 user: tangent tags: trunk
2021-02-11
06:13
Reworked the way the Python missing module detection stuff works so it generates the proper module names on Debian Buster. Dropped recommendation of easy_install (semi-obsolete) and rewrote the advice it emits to be a bit clearer. check-in: 76133aacd0 user: tangent tags: trunk
2021-02-09
02:18
Mentioned class-os8script doc. Took credit for some stuff. check-in: 3bd3ff0759 user: poetnerd tags: trunk
02:00
Update of ChangeLog to accurately report the fix to UCSYS.BI. check-in: 4e30777357 user: poetnerd tags: trunk
2021-02-08
23:43
"file link" doesn't exist in Jim Tcl, so the new symlink recreation stuff doesn't work when configured without "real" tclsh available. check-in: 1eb3e88ec3 user: tangent tags: trunk
23:29
tools/autosetup-update now removes the contents of autosetup/* before doing its work so we track upstream deletions properly. This results in a lot of files being deleted, but it looks like it's a result of files being merged, rather than removal of functionality. The configure script appears to run still... check-in: 2dbb85383b user: tangent tags: trunk
23:08
Fix for c23c91bdd. Futil was matching on the size of the file being edited. Now the regex that skips over the file has been refined. check-in: e96b7f3637 user: poetnerd tags: trunk