Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUNNER dies on KS10 with ILOPR #2250

Open
eswenson1 opened this issue Nov 2, 2023 · 6 comments
Open

GUNNER dies on KS10 with ILOPR #2250

eswenson1 opened this issue Nov 2, 2023 · 6 comments
Labels
dynamic modeling Things from the Dynamic Modeling machine.

Comments

@eswenson1
Copy link
Member

GUNNER was written for a KA10. It uses I/O instructions (e.g. CONSZ) that are not available on a KS10. These references are in the NCPUP logic. A temporary fix is to comment out the invocation of this routine in the dispatch table that tells GUNNER which routines to run. A more permanent fix would be to update this code to use more appropriate I/O instructions when assembled for a KS10.

@larsbrinkhoff larsbrinkhoff added the dynamic modeling Things from the Dynamic Modeling machine. label Nov 2, 2023
@larsbrinkhoff
Copy link
Member

larsbrinkhoff commented Nov 2, 2023

Moreover, the 424 "FI" device was only used with DM and is not yet supported by the KA10 emulator. The latter can be fixed, and arguably the FI device is more advanced than the AI lab "IMPterface" used by AI, ML, and MC.

@larsbrinkhoff
Copy link
Member

larsbrinkhoff commented Nov 2, 2023

I'm reading the GUNNER code to try to better understand the underlying intent. The NCPUP routine checks the state of IMPUP in ITS; this is to see if the network (e.g. connection to Arpanet) is up or down. It remembers the state so it can declare whether the network went down, or back up. If it's down, it calls NETDWN to poke the IMP interface device. This is where the IOT instructions come into play. CONO 424,22 sets the two PI channels and if they read back non-zero, the interface is considered alive. If that didn't work, a new attempt is made after an hour has passed. Presumably, we could try to implement an equivalent logic for the "KA" IMP.

CC original author @taa01776

@eswenson1
Copy link
Member Author

Do we even have NCP enabled in our builds yet?

@larsbrinkhoff
Copy link
Member

No, but this applies to the IMP unirregardless which networking protocol it's using.

@eswenson1
Copy link
Member Author

Ah, so NCPxxx is a misnomer for these routines?

@larsbrinkhoff
Copy link
Member

larsbrinkhoff commented Nov 2, 2023

They were appropriately named when written, and then Arpanet changed. Think of it as a charming reminder of historical context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dynamic modeling Things from the Dynamic Modeling machine.
Projects
None yet
Development

No branches or pull requests

2 participants