Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fkokosinski/pdp1-playground

PDP-1 shenanigans with modern tooling
https://github.com/fkokosinski/pdp1-playground

binutils compiler gcc pdp pdp-1 pdp1 retro retrocomputing vintage-computers

Last synced: 2 months ago
JSON representation

PDP-1 shenanigans with modern tooling

Awesome Lists containing this project

README

        

# PDP-1 Playground

## Dependencies
```
sudo apt-get install git build-essential flex bison texinfo libgmp3-dev libmpfr-dev libmpc-dev simh dejagnu
```

## Building binutils
```
cd pdp1-binutils
./configure --target=pdp1-elf --disable-sim
make -j $(nproc)
sudo make install
```

## Building gcc
```
mkdir -p build-gcc
cd build-gcc
../pdp1-gcc/configure --target=pdp1-elf --enable-languages=c --disable-bootstrap --enable-gcov=no --enable-shared=no
make -j $(nproc) all-gcc
make -j $(nproc) all-target-libgcc
```

## Building and running samples

```
cd c-print-for-loop
make main.s main.rim run
```

## Running tests
```
runtest --srcdir $(pwd)
```