diff options
Diffstat (limited to '')
| -rw-r--r-- | PLAN | 1 | ||||
| -rw-r--r-- | mem/smc.pal | 65 |
2 files changed, 65 insertions, 1 deletions
| @@ -1,4 +1,3 @@ | |||
| 1 | 0. write an SMC micro for the pdp-8 | ||
| 2 | 1. add pdp-8 unified cache that works with SMC | 1 | 1. add pdp-8 unified cache that works with SMC |
| 3 | 2. pipelining that works with SMC / start working on minhdl version of the core | 2 | 2. pipelining that works with SMC / start working on minhdl version of the core |
| 4 | 3. write an SPI or I2C master on the FPGA to sample analog inputs | 3 | 3. write an SPI or I2C master on the FPGA to sample analog inputs |
diff --git a/mem/smc.pal b/mem/smc.pal new file mode 100644 index 0000000..e6d34af --- /dev/null +++ b/mem/smc.pal | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | / vim: set sw=8 noexpandtab : | ||
| 2 | |||
| 3 | *200 | ||
| 4 | |||
| 5 | START, CLA | ||
| 6 | TAD SMC | ||
| 7 | DCA SAVED | ||
| 8 | |||
| 9 | LOOP, ISZ SMC | ||
| 10 | SMC, JMP VEC | ||
| 11 | SAVED, 0 | ||
| 12 | |||
| 13 | VEC, 0 | ||
| 14 | JMP FOO | ||
| 15 | JMP BAR | ||
| 16 | JMP RESET | ||
| 17 | |||
| 18 | FOO, CLA | ||
| 19 | TAD FOOSTR | ||
| 20 | JMS PUTS | ||
| 21 | JMP LOOP | ||
| 22 | |||
| 23 | BAR, CLA | ||
| 24 | TAD BARSTR | ||
| 25 | JMS PUTS | ||
| 26 | JMP LOOP | ||
| 27 | |||
| 28 | RESET, CLA | ||
| 29 | TAD SAVED | ||
| 30 | DCA SMC | ||
| 31 | JMP LOOP | ||
| 32 | |||
| 33 | PUTS, 0 | ||
| 34 | DCA 10 | ||
| 35 | PUTSL, CLA | ||
| 36 | TAD I 10 | ||
| 37 | SNA | ||
| 38 | JMP PUTSX | ||
| 39 | JMS PUTC | ||
| 40 | JMP PUTSL | ||
| 41 | PUTSX, JMP I PUTS | ||
| 42 | |||
| 43 | PUTC, 0 | ||
| 44 | TLS | ||
| 45 | TSF | ||
| 46 | JMP .-1 | ||
| 47 | JMP I PUTC | ||
| 48 | |||
| 49 | FOOSTR, . | ||
| 50 | "F | ||
| 51 | "o | ||
| 52 | "o | ||
| 53 | 15 | ||
| 54 | 12 | ||
| 55 | 0 | ||
| 56 | |||
| 57 | BARSTR, . | ||
| 58 | "B | ||
| 59 | "a | ||
| 60 | "r | ||
| 61 | 15 | ||
| 62 | 12 | ||
| 63 | 0 | ||
| 64 | |||
| 65 | $ | ||
