/* (c) 2021 Aaron Taylor <ataylor at subgeniuskitty dot com> */
/* See LICENSE.txt file for copyright and license details. */
-// TODO:
-// - Write a brief description of the machine being simulated. Only one thread, reduced RAM, no meaningful console when running as screensaver, etc.
-
-// Ideas for sample programs to include:
-// - Build list of integers on the stack (DUP, IM_1, ADD).
-// - Calculate prime numbers, placing them on the stack.
-// - Lights sliding back and forth, like PDP-11 front panel with some OSes.
-
#include "screenhack.h"
#include "simulator.h"
-/* Keep this source code C89 compliant per XScreensaver's instructions. */
-
/* -------------------------------------------------------------------------- */
/* Data Structures */
/* -------------------------------------------------------------------------- */
text;
};
-//static struct color_scheme color_list[] = {
-// // TODO: Explain all this.
-// // TODO: Add other color schemes, like purple PDP-11/70.
-// // TODO: http://www.chdickman.com/pdp8/DECcolors/
-// {
-// {63479,63479,63479}, // 092-XXXX-123
-// { 5140, 2056, 5654}, // 092-XXXX-152
-// {40092,11051,15677}, // 092-XXXX-139
-// {30326,13107,12850}, // 092-XXXX-154
-// {65535,13107,12850}, // homemade
-// {30326,13107,12850}, // 092-XXXX-154
-// { 4112,12850,20046}, // 092-XXXX-145
-// {12336,29555,37008}, // 092-XXXX-151
-// {30326,24158, 6425}, // 092-XXXX-157
-// {63479,63479,63479}, // 092-XXXX-123
-// {63479,63479,63479} // 092-XXXX-123
-// }
-//};
-
static struct color_scheme color_list[] = {
// TODO: Explain all this.
// TODO: Add other color schemes, like purple PDP-11/70.