summaryrefslogtreecommitdiff
path: root/interpreter.c
diff options
context:
space:
mode:
Diffstat (limited to 'interpreter.c')
-rw-r--r--interpreter.c13
1 files changed, 4 insertions, 9 deletions
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);