PDP-11 Virtualization?

Good morning Dra/g/on Maids!

Yesterday I started reading the Lions' book on Unix 6

usa1lib.org/book/540093/0d8b70

So that I can study this better

github.com/k-mrm/xv6-rpi4

Obviously PDP-11 and raspi 4 speak different flavors of assembly. Is there any way to use QEMU or similar to emulate a PDP-11 so I can mess with the original 1977 source code? I'd probably need a cross-compiler too to be able to actually compile the code for PDP-11.

I want to get familiar with the Lions' code before I even really start to mess with the raspi 4 version.

My only computer is a raspi 4 so whatever is suggested has to be able to run on Raspian.

I realize that under the best circumstances that I will still likely have to rewrite chunks of the Lions' code to make anything happen. My body is ready.

Chu-chu-yeah!

Attached: 02e.gif (540x504, 3.47M)

Other urls found in this thread:

simh.trailing-edge.com/pdp11.html
twitter.com/NSFWRedditImage

Daily reminder.

Attached: 1653425819419.jpg (259x194, 14.38K)

I'm transgender by the way.

Not a TIM, just a weeb. You can tell because I don't have a ThinkPad and I'm not writing this project in Rust.

Attached: sample_c4849c70c726d82ef899e176689bc207.jpg (850x878, 207.7K)

Bump(s)

Attached: dkQid7Wop4csWBcv_1RW8qRzCBCU7yj3EKbnywJK6xg.jpg (960x960, 112.56K)

Come on Dra/g/on Maids. I know it's early but don't let me down.

I don't wanna have to try to buy a PDP-11 but I'll do it. It'd be a better use of $700 than .15 college credits.

Attached: 1653493503793.jpg (1810x2048, 223.49K)

>PDP-11 Virtualization
It's called the C Programming Language

Joking, was just hoping the PDP experts would see this and take objection, so you'd have a thread full of them ripe for the picking.
seriously tho user you're about right, not sure what the nicest way to emulate a PDP-11 is but QEMU would have to be a good starting point.
As for cross-compiling, if you want to run modern code on it, that's probably your best bet, not sure if anything really exists these days but old compilers should still work, and it's simple enough you could try writing your own, would be a hell of a learning experience.
Still, not knowing if something doesn't work because of the emulator, or because of your compiler, would be a pain, so maybe try finding a known-good emulator to test it in.

>Section One deals with system initialisation, and process management. It also contains all the assembly language routines;

I have to be able to understand PDP-11 assembly to do this.

Fastest way for me to do that is to compile it and run it and just start messing with stuff and adding my own comments to the code.

Attached: Unholysoul-764542-Iruru.png (1000x1372, 809.27K)

Use SIMH. simh.trailing-edge.com/pdp11.html