Skip to content
Sign upLog in
← Back to Community

PDP-11 Emulator made in JavaScript + Runs C(sort of)

Profile icon
CSharpIsGud

An emulator I worked on for a few days, making it in JS was a mistake and I might have to remake this in C or C++.
It is still incomplete and is missing a bunch of instructions, the biggest ones being bitwise and division.

PDP's architecture is beautiful, implementing it is not though.

I compiled an old version of gcc to target pdp so it can run C programs(I cheated and made the JS directly load the C instead of doing that part in assembly)
I might have chosen a little bit too old though, also compiling with any kind of optimizations seems to break things.

Voters
Profile icon
Kai_Justice
Profile icon
programmeruser
Profile icon
Yoplayer1py
Profile icon
maxina
Profile icon
TheForArkLD
Profile icon
Theboys619
Profile icon
Navinor
Profile icon
RohilPatel
Profile icon
IMayBeMe
Profile icon
CSharpIsGud
Comments
hotnewtop
Profile icon
Yoplayer1py

How to use it..

Profile icon
TheForArkLD

It's required to be upvoted, my brain says

Profile icon
CodingElf66

Nice project! To be honest, the styling (font specifically) can be improved, but otherwise nice project!