license
This commit is contained in:
parent
3b558c621a
commit
4c7fcb4854
51 changed files with 147 additions and 37 deletions
|
@ -1,3 +1,6 @@
|
|||
# (C) 2018-2023 by Folkert van Heusden
|
||||
# Released under MIT license
|
||||
|
||||
project(PDP-11)
|
||||
cmake_minimum_required(VERSION 3.9)
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <Adafruit_NeoPixel.h>
|
||||
#include <stdio.h>
|
||||
#include <termios.h>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "disk_backend.h"
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
#if defined(ESP32)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// Released under MIT license
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <ArduinoJson.h>
|
||||
#include <atomic>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# (C) 2018-2023 by Folkert van Heusden
|
||||
# Released under MIT license
|
||||
|
||||
[platformio]
|
||||
default_envs = ESP32
|
||||
src_dir = .
|
||||
|
|
5
bus.cpp
5
bus.cpp
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018-2022 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
3
bus.h
3
bus.h
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
// #define SYSTEM_11_44
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <chrono>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <atomic>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <poll.h>
|
||||
#include <stdio.h>
|
||||
#include <ncurses.h>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <mutex>
|
||||
#include <ncurses.h>
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <poll.h>
|
||||
#include <stdio.h>
|
||||
#include <termios.h>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <termios.h>
|
||||
|
||||
#include "console.h"
|
||||
|
|
3
cpu.cpp
3
cpu.cpp
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// Released under MIT license
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
3
cpu.h
3
cpu.h
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include "bus.h"
|
||||
#include "console.h"
|
||||
#include "cpu.h"
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include "bus.h"
|
||||
#include "console.h"
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include "disk_backend.h"
|
||||
|
||||
disk_backend::disk_backend()
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "disk_backend.h"
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <string>
|
||||
#include <sys/types.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// (C) 2018 by folkert@vanheusden.com, released under AGPL 3.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
|
4
error.h
4
error.h
|
@ -1,2 +1,4 @@
|
|||
// (C) 2018 by folkert@vanheusden.com, released under AGPL 3.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
[[ noreturn ]] void error_exit(bool sys_err, const char *format, ...);
|
||||
|
|
5
gen.h
5
gen.h
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018-2022 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
typedef enum { EVENT_NONE = 0, EVENT_HALT, EVENT_INTERRUPT, EVENT_TERMINATE } stop_event_t;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include "console.h"
|
||||
|
|
3
kw11-l.h
3
kw11-l.h
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <atomic>
|
||||
#include <thread>
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <optional>
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
|
3
log.cpp
3
log.cpp
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
|
3
log.h
3
log.h
|
@ -1,3 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
|
5
main.cpp
5
main.cpp
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018-2022 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <atomic>
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#if defined(ESP32)
|
||||
#include <Arduino.h>
|
||||
#endif
|
||||
|
|
5
memory.h
5
memory.h
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// this program is in the public domain
|
||||
// written by Folkert van Heusden <mail@vanheusden.com>
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released in the public domain
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
5
rk05.cpp
5
rk05.cpp
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018-2022 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
3
rk05.h
3
rk05.h
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <atomic>
|
||||
|
|
5
rl02.cpp
5
rl02.cpp
|
@ -1,5 +1,6 @@
|
|||
// (C) 2022 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
5
rl02.h
5
rl02.h
|
@ -1,5 +1,6 @@
|
|||
// (C) 2023 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <atomic>
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// (C) 2018 by folkert@vanheusden.com, released under AGPL 3.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <algorithm>
|
||||
#include <assert.h>
|
||||
#include <ncursesw/curses.h>
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// (C) 2018 by folkert@vanheusden.com, released under AGPL 3.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
5
tm-11.h
5
tm-11.h
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
|
3
tty.cpp
3
tty.cpp
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// // Released under Apache License v2.0
|
||||
// Released under MIT license
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
|
3
tty.h
3
tty.h
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// Released under MIT license
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <atomic>
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
// (C) 2018-2022 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#if defined(ESP32)
|
||||
#include <Arduino.h>
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
#include <stdarg.h>
|
||||
|
|
5
utils.h
5
utils.h
|
@ -1,5 +1,6 @@
|
|||
// (C) 2018-2022 by Folkert van Heusden
|
||||
// Released under Apache License v2.0
|
||||
// (C) 2018-2023 by Folkert van Heusden
|
||||
// Released under MIT license
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
Loading…
Add table
Reference in a new issue