From d107bd59821b2e293311b22a96120dca018793a9 Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Thu, 8 Jul 2021 18:40:15 -0700 Subject: [PATCH] Minor cleanup in NEDsim.c, removing old TODO items, old code, etc. --- hacks/NEDsim/NEDsim.c | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/hacks/NEDsim/NEDsim.c b/hacks/NEDsim/NEDsim.c index 2d78973..6778c2d 100644 --- a/hacks/NEDsim/NEDsim.c +++ b/hacks/NEDsim/NEDsim.c @@ -1,19 +1,9 @@ /* (c) 2021 Aaron Taylor */ /* 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 */ /* -------------------------------------------------------------------------- */ @@ -69,25 +59,6 @@ struct color_scheme { 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. -- 2.20.1