diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-04-21 16:12:16 +1000 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-04-21 16:12:16 +1000 |
commit | 83e8a4494741e6257b18267a58fe8ae342e3229f (patch) | |
tree | 001d5094f713118834e9a0fb5313df4cf40ecc7a /interpreter.c | |
parent | ae800796cdcce21c561bcbfbc96b29efe4d39a0b (diff) |
changed dirs, now testing instructions.
Diffstat (limited to 'interpreter.c')
-rw-r--r-- | interpreter.c | 13 |
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); |