PDP-11/70 emulator
Find a file
2023-03-26 13:19:30 +02:00
.github Add CodeQL workflow for GitHub code scanning 2022-12-05 19:10:52 +00:00
BIC BIC 2023-03-26 11:59:47 +02:00
ESP32 cls/serspd commands 2023-03-25 13:21:51 +01:00
tests mfpi test 2022-04-11 19:09:16 +02:00
.gitignore meta 2022-06-11 08:37:05 +02:00
.lgtm.yml meta 2022-03-21 20:45:10 +01:00
btester.sh working on tester code 2022-03-13 11:53:32 +01:00
bus.cpp lf_csr can be altered from an other thread 2023-03-26 13:06:34 +02:00
bus.h lf_csr can be altered from an other thread 2023-03-26 13:06:34 +02:00
CMakeLists.txt RK05: statically sized read-buffer is not always large enough 2023-03-23 21:38:42 +01:00
console.cpp The disassembler uses peekWord() which would do a real read on i/o 2022-06-12 21:00:26 +02:00
console.h Event handling (stop/interrupt) clean-up 2022-06-10 20:59:36 +02:00
console_ncurses.cpp calculate_physical_address: d_i_space_t instead of a bool 2023-03-25 10:05:56 +01:00
console_ncurses.h Event handling (stop/interrupt) clean-up 2022-06-10 20:59:36 +02:00
console_posix.cpp - fix for busy loop in console_posix (due to poll with 0ms timeout) 2022-06-26 01:41:58 +02:00
console_posix.h Event handling (stop/interrupt) clean-up 2022-06-10 20:59:36 +02:00
cpu.cpp implemented real WAIT (really wait for interrupts) 2023-03-26 13:19:30 +02:00
cpu.h implemented real WAIT (really wait for interrupts) 2023-03-26 13:19:30 +02:00
debugger.cpp run_bic: always only log disassembly to file 2023-03-26 11:23:39 +02:00
debugger.h .BIC processing 2023-03-26 11:07:29 +02:00
disk_backend.cpp disk backend 2023-03-21 21:45:25 +01:00
disk_backend.h disk_backend::begin() 2023-03-21 22:28:43 +01:00
disk_backend_file.cpp disk_backend::begin() 2023-03-21 22:28:43 +01:00
disk_backend_file.h override 2023-03-21 22:39:19 +01:00
disk_backend_nbd.cpp NBD: implemented read/write 2023-03-22 10:24:23 +01:00
disk_backend_nbd.h connect 2023-03-22 07:33:08 +01:00
error.cpp ESP32 poc 2022-03-15 21:26:02 +01:00
error.h KEK 2022-03-01 13:57:57 +01:00
gcovr-json-diff.py coverage compare tool 2022-03-01 15:53:49 +01:00
gen.h logging facility 2022-06-11 09:35:30 +02:00
kw11-l.cpp ESP32 2023-03-21 22:02:15 +01:00
kw11-l.h - fix for busy loop in console_posix (due to poll with 0ms timeout) 2022-06-26 01:41:58 +02:00
LICENSE Create LICENSE 2022-03-19 16:03:00 +01:00
loaders.cpp .BIC processing 2023-03-26 11:07:29 +02:00
loaders.h Allow loadTape to return fail status 2023-03-26 10:43:53 +02:00
log.cpp Allow logging without logfile 2023-03-26 10:43:03 +02:00
log.h log always is now always 2023-03-11 21:54:04 +01:00
main.cpp .BIC processing 2023-03-26 11:07:29 +02:00
memory.cpp misc esp32 tweaks 2022-03-17 21:22:33 +01:00
memory.h allow memory > 16b 2022-03-25 23:08:54 +01:00
raw_to_simh_bin.cpp working on tester code 2022-03-13 11:53:32 +01:00
README.md meta 2023-03-22 22:32:57 +01:00
rk05.cpp clean-up 2023-03-25 19:03:06 +01:00
rk05.h RK05: statically sized read-buffer is not always large enough 2023-03-23 21:38:42 +01:00
rl02.cpp ESP32 2023-03-21 22:02:15 +01:00
rl02.h disk backend 2023-03-21 21:45:25 +01:00
terminal.cpp Renamed 'FIXME' to 'TODO' for a few cases: they're really TODOs and 2022-06-11 08:59:07 +02:00
terminal.h KEK 2022-03-01 13:57:57 +01:00
tm-11.cpp use basic loader / tm_11 clean-up 2023-03-20 20:47:45 +01:00
tm-11.h use basic loader / tm_11 clean-up 2023-03-20 20:47:45 +01:00
tty.cpp Allow BIC-files to be terminated with ^e. 2023-03-26 11:15:03 +02:00
tty.h Allow BIC-files to be terminated with ^e. 2023-03-26 11:15:03 +02:00
utils.cpp NBD: implemented read/write 2023-03-22 10:24:23 +01:00
utils.h NBD: implemented read/write 2023-03-22 10:24:23 +01:00

KEK Kek might (I work occasionally on it so don't hold your breath) become a DEC PDP-11 (11/70) emulator capable of running UNIX-v5.

Run: make all to build.

Required:

  • libncursesw5-dev

To run a disk image:

./kek -R filename.rk -b 2> /dev/null

Kek emulates an RK05.

To run a tape image:

./kek -T filename.bin -b 2> /dev/null

The ESP32 version needs platformio to be build.

cd ESP32
pio run -t upload

That should build & upload it to a connected ESP32.

Wiring of SDCARD (or use disk-images exported via NBD over wifi using nbdkit (because of older NBD protocol implementation)):

  • MISO: 19
  • MOSI: 23
  • SCK : 18
  • SS : 5
  • and of course connect VCC/GND of the SD-card

Wiring of the MAX232 connection:

  • TX : 17
  • RX : 16

Released under Apache License v2.0

Folkert van Heusden