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

boot rp0 terminates with HALT instruction, PC: 377022 (HALT 377022) #1

Open
secristr opened this issue Nov 12, 2024 · 0 comments
Open

Comments

@secristr
Copy link

I was able to successfully launch the simulator after the following tweaks, but at "boot rp0" it fails with a "HALT instruction, PC: 377022 (HALT 377022)". Any recommendations on how to proceed?

ENVIRONMENT

$ lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 20.2
Release: 20.2
Codename: uma

$ uname -a
Linux foo 5.4.0-200-generic #220-Ubuntu SMP Fri Sep 27 17:42 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

REPRODUCIBLE CASE

  1. Download zip from https://github.com/blarsen/docker-tops10
  2. Unzip
  3. cd ~/tops10-docker/docker-tops10-master
  4. sudo apt install docker.io
  5. sudo usermod -aG docker $USER
  6. sudo chmod 666 /var/run/docker.sock
  7. make

$ make
docker build -t tops10 .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/

Sending build context to Docker daemon 8.192kB
Step 1/5 : FROM bjornhell/simh:latest
latest: Pulling from bjornhell/simh
d5c6f90da05d: Pull complete
1300883d87d5: Pull complete
c220aa3cfc1b: Pull complete
2e9398f099dc: Pull complete
dc27a084064f: Pull complete
d651bf00c7d6: Pull complete
13cb32a0759c: Pull complete
928023207dd2: Pull complete
52635ee02a3d: Pull complete
6762183fbb7c: Pull complete
Digest: sha256:2889fc4572dd42ae24955ffbde9579be7e60cada8212f8141f533de67fa3f78d
Status: Downloaded newer image for bjornhell/simh:latest
---> b6ab5c248265
Step 2/5 : RUN mkdir /usr/local/tops10
---> Running in 3f946d3a0642
Removing intermediate container 3f946d3a0642
---> fc2d18b3998a
Step 3/5 : COPY tops10.cfg /usr/local/tops10
---> 48d0cff98412
Step 4/5 : COPY t10.dsk /usr/local/tops10
---> ccecc19898a7
Step 5/5 : CMD /usr/local/bin/pdp10 /usr/local/tops10/tops10.cfg
---> Running in 2a5a5e7d2ffa
Removing intermediate container 2a5a5e7d2ffa
---> c44137ecfb43
Successfully built c44137ecfb43
Successfully tagged tops10:latest

  1. sudo systemctl restart docker
  2. run

$ docker run -ti tops10

PDP-10 simulator V3.9-0
Listening on port 2020 (socket 5)
Modem control activated
Auto disconnect activated
Logging to file "/var/log/tops10.log"

HALT instruction, PC: 377022 (HALT 377022)
sim> c

HALT instruction, PC: 377022 (HALT 377022)

[manually execute commands in the tops10.cfg to make sure those executed]

sim> set tim y2k
sim> attach rp0 /usr/local/tops10/t10.dsk
sim> attach -am dz 2020
Listening on port 2020 (socket 4)
Modem control activated
Auto disconnect activated
sim> set console log=/var/log/tops10.log
Log file closed
Logging to file "/var/log/tops10.log"
sim> boot rp0

HALT instruction, PC: 377022 (HALT 377022)
sim> exit
Goodbye
Log file closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant