From 07d31a1529d1092a30649274bde0fcc866756896 Mon Sep 17 00:00:00 2001 From: Michael Steil Date: Thu, 7 Oct 2010 00:28:02 +0000 Subject: [PATCH] cleanup --- Makefile | 4 ++-- cbmbasic.c | 3 +++ perfect6502.c | 20 -------------------- 3 files changed, 5 insertions(+), 22 deletions(-) diff --git a/Makefile b/Makefile index 4fcc1ec..fee2fb7 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ OBJS=perfect6502.o -#OBJS+=cbmbasic.o runtime.o runtime_init.o plugin.o console.o emu.o +OBJS+=cbmbasic.o runtime.o runtime_init.o plugin.o console.o emu.o #OBJS+=measure.o -OBJS+=broken_transistors.o runtime.o runtime_init.o plugin.o console.o emu.o +#OBJS+=broken_transistors.o runtime.o runtime_init.o plugin.o console.o emu.o CFLAGS=-Wall -O3 -DBROKEN_TRANSISTORS CC=clang diff --git a/cbmbasic.c b/cbmbasic.c index c47167e..aec9715 100644 --- a/cbmbasic.c +++ b/cbmbasic.c @@ -1,5 +1,8 @@ #include "perfect6502.h" +void init_monitor(); +void handle_monitor(); + int main() { diff --git a/perfect6502.c b/perfect6502.c index 6b6b6b8..6c7ee87 100644 --- a/perfect6502.c +++ b/perfect6502.c @@ -20,10 +20,6 @@ THE SOFTWARE. */ -//#define TEST -//#define BROKEN_TRANSISTORS -//#define COMPARE - /************************************************************ * * Libc Functions and Basic Data Types @@ -810,19 +806,3 @@ initAndResetChip() /* set initial state of nodes, transistors, inputs; RESET chip */ resetChip(); } - -/************************************************************ - * - * Main - * - ************************************************************/ - -void init_monitor(); -void handle_monitor(); - -#ifdef TEST -#elif defined(BROKEN_TRANSISTORS) -#elif defined(COMPARE) -#include "compare.c" -#else -#endif