1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-01-11 23:52:54 +00:00

187 Commits

Author SHA1 Message Date
H. David Todd (Mac)
23477d7c9a Avoid using uninitialized 'pname' in 'pfopen()' 2025-12-18 17:13:42 -05:00
H. David Todd (Mac)
22b65518c5 Avoid using uninitialized 'pname' in 'pfopen()' 2025-12-18 11:29:38 -05:00
Olaf Seibert
ee96db1683 Use Ubuntu 22, phase out 18. 2024-03-13 18:02:27 +01:00
Björn Victor
cf87fd11aa
Implement Chaosnet broadcast for ifmeth=chudp (#72)
Implement broadcast for ifmeth=chudp, by simply sending the packet on all chudp links.
2024-03-12 20:06:34 +01:00
Björn Victor
4955fb89b6 Amend and correct 602e733 2023-01-16 12:16:12 +01:00
Björn Victor
510aedca29 Also non-ip-only tap devices want setup
tap-without-bridge devices are also useful if they (as in old times) are setup with the IP addresses given in the config. Without setup, this has to be done manually which is more awkward.
2023-01-16 09:21:27 +01:00
Björn Victor
602e7337c8 Update LHDH/IMP doc to match commit #a70af64 2023-01-16 08:55:06 +01:00
Olaf Seibert
23401611e0 Add step-by-step "host device" instructions for TOPS-10
Thanks to wgs777 who summarized how to patch a TOPS-10 monitor to use
the host device in the null task to save host CPU usage.
See issue https://github.com/PDP-10/-READ--THIS-/issues/38.
2022-04-16 19:49:05 +02:00
Olaf Seibert
c92bb5f104 Build all 3 emulators in the CI.
Before this build system cleanup, it would have built the same emulator
3 times, or something like that.
2021-08-17 14:26:35 +02:00
Olaf Seibert
41a850677a Remove some old build stuff. 2021-08-17 14:26:35 +02:00
Olaf Seibert
ea4eb1adf6 Always include "cenv.h" or "klh10.h" as very first.
"klh10.h" includes "cenv.h".
This is possibly needed on systems that need some defines before
including system headers, for Long File Support.
I either moved an existing include line up or added #include "cenv.h"
where none of these was included before.

Note that most of the definitions in the "cenv.h" file are, or should be,
obsolete. Where still relevant, they should be detected by the
configure script.
2021-08-17 14:23:11 +02:00
Olaf Seibert
39104e9cbf Fix a NULL argument to fprintf()
which was detected by gcc.
cp is NULL in the call because of the if() it is inside.
2021-08-15 15:00:37 +02:00
Rhialto The M
2b7daffb80
Merge pull request #63 from PDP-10/lars/ci
Update continuous integration
2021-08-15 14:35:58 +02:00
Lars Brinkhoff
861868f21d Add CI build using GitHub Actions. 2021-08-15 14:12:57 +02:00
Lars Brinkhoff
b3f7fa5e2e Remove Travis CI. 2021-08-15 13:55:45 +02:00
Lars Brinkhoff
8ad111f1a6 Remove Cirrus CI. 2021-08-15 13:55:32 +02:00
Rhialto The M
b5601a46c7
Merge pull request #61 from PDP-10/imp-ifmeth-default
IMP: Use reasonable interface methods
2021-08-07 14:26:56 +02:00
Björn Victor
a70af64860 IMP: Use reasonable interface methods
and also check for consistency. And fix a cut-and-paste error.
2021-08-05 11:05:58 +02:00
Rhialto The M
eb33d416d3
Merge pull request #60 from PDP-10/imp-ip-dynamic
Make the IMP respond to NOP pkts with IP info
2021-08-03 19:44:58 +02:00
Björn Victor
98fa6ee890 Comment to match 2021-08-03 16:49:59 +02:00
Björn Victor
7b86659847 Respond to NOP pkts with IP info
This allows ITS to pick up the IP configured here, instead of having to recompile ITS to match any change.
2021-08-03 16:29:19 +02:00
Olaf Seibert
2c674266ea Move stuff in the Makefiles around
so that the cpu model specific parts are moved (more than before) into
their own files.
2021-07-20 18:04:19 +02:00
Rhialto The M
d891e8290d
Merge pull request #55 from PDP-10/ch11-default-pcap
Default ifmeth=pcap
2021-07-06 19:09:25 +02:00
Björn Victor
58decf2a19 Document default 2021-07-06 17:25:40 +02:00
Björn Victor
3c7e11bda5 Default ifmeth=pcap
If no chudp-specific parameters given, and no ifmeth given, default to pcap.
2021-07-05 19:30:39 +02:00
Rhialto The M
f432d23c41
Merge pull request #54 from PDP-10/ch11-fix2
CH11: fix long-standing data corruption bug
2021-02-23 21:27:53 +01:00
Björn Victor
0a9e34c36f Update dvch11.txt 2021-02-23 08:31:29 +01:00
Björn Victor
efb657a55b Don't read another until this one is read
Instead of accepting new input pkts after checking that the input pkt is shaped OK, do it after actually reading the pkt to ITS. Otherwise read pkts can be overwritten while only partially read to ITS, leading to corruption of data.
2021-02-22 07:34:37 +01:00
Björn Victor
4af56464aa Fix 17-year-old spelling error
hopefully fixing horrible concurrency problems which appears on faster hardware(?).
2021-02-13 13:42:33 +01:00
Björn Victor
d6de1d64d3
Update dvch11.txt
aosnet.ch was replaced  by chaosnet.net
2021-02-08 17:04:16 +01:00
Rhialto The M
bde5dcdc27
Merge pull request #52 from PDP-10/ch11-fix
Correct pklen calculations for CH11
2020-09-01 19:01:47 +02:00
Björn Victor
0a67ea9ea2 Correct pklen calculations for CH11
I'm terribly sorry about this, which dates back to 2005 (or earlier). The effect is on packets >127 bytes (data), but only when receiving from Ethernet, as far as I can see, where a "trailer" is added at the wrong place, resulting in garbage at the ITS end. (I think I've seen this live occasionally.)
2020-09-01 09:08:02 +02:00
Rhialto The M
6ac420eede
Merge pull request #50 from PDP-10/fix-some-compiler-warnings
Clean up compiler warnings.
2020-08-30 21:17:08 +02:00
Olaf Seibert
91af8d0b6b Work around another couple of "nested comment" warning. 2020-08-29 22:45:09 +02:00
Olaf Seibert
94ec1830ca Attempt to clean up compiler warnings
as given in https://cirrus-ci.com/task/5117093567791104?command=main
2020-08-29 22:13:09 +02:00
Rhialto The M
03bc707d3b
Merge pull request #48 from PDP-10/ch11-fix
Stop CH11 from spontaneously retransmitting last pkt
2020-08-29 21:30:16 +02:00
Rhialto The M
7933ebc3f0
Merge pull request #49 from PDP-10/lars/freebsd
Upgrade Cirrus CI build to FreeBSD 12.1.
2020-08-29 21:18:26 +02:00
Lars Brinkhoff
552b33ac0f Upgrade Cirrus CI build to FreeBSD 12.1. 2020-08-29 19:54:45 +02:00
Björn Victor
c2d341945f Stop CH11 from spontaneously retransmitting last pkt
by noting that the output buffer was consumed on transmission done.
2020-08-28 13:32:51 +02:00
Olaf Seibert
b014407ffa Merge branch 'master' of github.com:PDP-10/klh10
* 'master' of github.com:PDP-10/klh10:
  FreeBSD build on Cirrus CI.
  Use PKG_CHECK_MODULES to locate libusb-1.0.
  Add DFKFB numbers from a real KL10.
2020-03-28 16:42:32 +01:00
Olaf Seibert
ff749f6d2e Fix some more -Wall warnings
(but there are many many more to go...)
2020-03-28 16:33:42 +01:00
Olaf Seibert
f5e506cc10 Copy the right size into the destination.
Fixes !45.
2020-03-28 16:16:57 +01:00
Lars Brinkhoff
2f478c2df2 FreeBSD build on Cirrus CI. 2020-02-26 07:01:04 +01:00
Lars Brinkhoff
b41d4b8ac7 Use PKG_CHECK_MODULES to locate libusb-1.0.
This works better on FreeBSD.
2020-02-26 07:01:04 +01:00
Lars Brinkhoff
77473114b3 Add DFKFB numbers from a real KL10. 2019-08-30 08:22:18 +02:00
Rhialto The M
fcf812e4d7
Merge pull request #39 from PDP-10/configure-lights
Configure lights
2018-09-15 21:18:04 +02:00
Olaf Seibert
b28505e70a Enable the lights for Travis CI. 2018-09-15 16:26:56 +02:00
Olaf Seibert
6a8a710ecf Change configure to control the compilation of the Panda lights.
This needs to check for libusb-1.0. Since this shouldn't be linked to
the auxiliary programs, add another Makefile variable to record it in:
CPULIBS.
Stub out calls to outb() if it is unavailable, so that it can at least
use libusb in that case.
2018-09-15 00:04:31 +02:00
Lars Brinkhoff
129e3d0f16 Use USB Panda Display.
Build with -DKLH10_DEV_LITES=1.  Use the KLH10 command "lights usb" to
enable this feature.
2018-09-14 06:40:59 +02:00
Rhialto The M
0402660bf0
Merge pull request #38 from Rhialto/more-cleanup-34
Clear file pointer when file is closed.
2018-09-08 16:13:03 +02:00