[Simh] Reading directly from console in RT-11

Jordi Guillaumes i Pons jg at jordi.guillaumes.name
Fri Feb 19 19:45:45 EST 2016



Jordi Guillaumes Pons


El 20 febr 2016, a les 1:31, Clement T. Cole <clemc at ccc.com> va escriure:
> Will
> 
> Look at the sources to the standalone system for UNIX v7.  Running on bare metal no MMU     You should get the idea. 
> 
> Sent from my iPad
> 
>>> On Feb 19, 2016, at 5:22 PM, Timothe Litt <litt at ieee.org> wrote:
>>> 
>>> On 19-Feb-16 17:13, Will Senn wrote:
>>> Timothe,
>>> 
>>> Thanks for responding. This sounds reasonable. I'm ok with using the .TTYOU and .TTYIN macros which call EMT's for actual programs in RT-11. But, while learning, there are some things like this that I want to do that may be tricky/ill advised to do in RT-11. 
>>> 
>>> What do you think the easiest way is to load a program like this directly onto the bare hardware (simulated, of course)?
>>> 
>>> Thanks,
>> Link it as an absolute image (no libraries), transfer to your host by network or paper tape, load with sim> load.
>> 

I wrote a post about how to do that using a gnu toolchain:

http://ancientbits.blogspot.com.es/2012/07/programming-barebones-pdp11.html?m=1

After that I begun to write a toy PDP11 kernel. If you are curious, partake feely from 

https://github.com/jguillaumes/muxx



>> Or if you are ambitious, just run it under RT11, set IPL to 7 and execute a RESET instruction.  That will disable all the peripherals, and you can start writing your own OS.  You'll have to set up your own trap and interrupt vectors.  Memory management if you want it...
>> 
>> I don't recommend the ambitious route unless you have a lot of time and a high tolerance for pain.
>> 
>> 
>> _______________________________________________
>> Simh mailing list
>> Simh at trailing-edge.com
>> http://mailman.trailing-edge.com/mailman/listinfo/simh
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh


More information about the Simh mailing list