From 83e8a4494741e6257b18267a58fe8ae342e3229f Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Fri, 21 Apr 2023 16:12:16 +1000 Subject: changed dirs, now testing instructions. --- interpreter.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'interpreter.c') diff --git a/interpreter.c b/interpreter.c index e49c77a..14ef400 100644 --- a/interpreter.c +++ b/interpreter.c @@ -1,20 +1,15 @@ -/* - * interpreter.c WILL BE a tool which can be used to interpret 6502 machine code inline. - * Machine code is expected as hexadecimal of length 2 or 6, depending on the instruction. - * There are a few special characters which print debug information +//interpreter.c is a tool which can interpret 6502 assembly on the go, for the purposes of testing. +/* Special Commands for debug information Q - Quit P - Processor status dump M - Dump a page of memory - */ +*/ #include"headers/include.h" #include"headers/debug.h" int main(){ - char c; - unsigned char a, b; - - initIT(); + AppleOn(); while(1){ c = fgetc(stdin); -- cgit v1.2.3