mirror of
https://github.com/mist64/perfect6502.git
synced 2024-06-08 12:29:28 +00:00
cleanup
This commit is contained in:
parent
44f7f48a9c
commit
07d31a1529
4
Makefile
4
Makefile
|
@ -1,7 +1,7 @@
|
||||||
OBJS=perfect6502.o
|
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+=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
|
CFLAGS=-Wall -O3 -DBROKEN_TRANSISTORS
|
||||||
CC=clang
|
CC=clang
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#include "perfect6502.h"
|
#include "perfect6502.h"
|
||||||
|
|
||||||
|
void init_monitor();
|
||||||
|
void handle_monitor();
|
||||||
|
|
||||||
int
|
int
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,10 +20,6 @@
|
||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define TEST
|
|
||||||
//#define BROKEN_TRANSISTORS
|
|
||||||
//#define COMPARE
|
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
*
|
*
|
||||||
* Libc Functions and Basic Data Types
|
* Libc Functions and Basic Data Types
|
||||||
|
@ -810,19 +806,3 @@ initAndResetChip()
|
||||||
/* set initial state of nodes, transistors, inputs; RESET chip */
|
/* set initial state of nodes, transistors, inputs; RESET chip */
|
||||||
resetChip();
|
resetChip();
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************
|
|
||||||
*
|
|
||||||
* Main
|
|
||||||
*
|
|
||||||
************************************************************/
|
|
||||||
|
|
||||||
void init_monitor();
|
|
||||||
void handle_monitor();
|
|
||||||
|
|
||||||
#ifdef TEST
|
|
||||||
#elif defined(BROKEN_TRANSISTORS)
|
|
||||||
#elif defined(COMPARE)
|
|
||||||
#include "compare.c"
|
|
||||||
#else
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user