A simple program for PDP-8/e. It should work on other PDP-8s, but the Extended Arthmetic Element is required as it uses the MQ register. It creates a scrolling effect on the MQ (Multiplier Quotient) by left shfiting it, after a given time.
- Set switches to 0000 and press LOAD ADDR
- Toggle in the 2nd column of the below "binary", pressing DEP (Deposit) after each one
- Set switches to 0002 and press LOAD ADDR
- Set indication selector to MQ
- Set switches to 7777, but do not press LOAD ADDR
- Press CLEAR, followed by CONT
The "binary" file is in octal notation. Each number specifies the position of 3 consecutive switches, like so:
Number | Switches |
---|---|
0 | 000 |
1 | 001 |
2 | 010 |
3 | 011 |
4 | 100 |
6 | 101 |
6 | 110 |
7 | 111 |
The value of the SR (Switch Register) determines how long it takes for the MQ light to move. The smaller the value the less time it will take