Hi,
This is a question for you hard core PDP11 programmers.
I have a J11 chip striped up on a bread board. (J11 Hack if you are interested.) I have 128k of ram and a serial port connected. I can initialize the processor and get to the ODT. I am trying to play around with the MMU. Using the simple program below.
PSW = 340
MMR0 = 0
MMR3 = 0
001000: mov #005200,@#172340 [012737 005200 172340]
001006: mov #007600,@#172356 [012737 007600 172356]
001014: mov #077406,@#172300 [012737 077406 172300]
001022: mov #077406,@#172316 [012737 077406 172316]
001030: mov #000001,@#177572 [012737 000001 177572]
001036: mov #000575,@#013720 [012737 000575 013720]
001044: halt
When a run the program (0G)
I don't see any of the registers set by the program and the virtual memory doesn't get set accordingly.
Question... If I am running bare metal are there other registers that I need to initialize? Any hints or pointers would be helpful. I trued another program from micronote 8 which also fails.
CHeers!
len
This is a question for you hard core PDP11 programmers.
I have a J11 chip striped up on a bread board. (J11 Hack if you are interested.) I have 128k of ram and a serial port connected. I can initialize the processor and get to the ODT. I am trying to play around with the MMU. Using the simple program below.
PSW = 340
MMR0 = 0
MMR3 = 0
001000: mov #005200,@#172340 [012737 005200 172340]
001006: mov #007600,@#172356 [012737 007600 172356]
001014: mov #077406,@#172300 [012737 077406 172300]
001022: mov #077406,@#172316 [012737 077406 172316]
001030: mov #000001,@#177572 [012737 000001 177572]
001036: mov #000575,@#013720 [012737 000575 013720]
001044: halt
When a run the program (0G)
I don't see any of the registers set by the program and the virtual memory doesn't get set accordingly.
Question... If I am running bare metal are there other registers that I need to initialize? Any hints or pointers would be helpful. I trued another program from micronote 8 which also fails.
CHeers!
len