diff --git a/README.md b/README.md index b0e27a5..beeed1b 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # reinette -The french Apple 1 emulator +A french Apple 1 emulator Implements a 6502 emulator, basic I/O and runs the Woz monitor. -Can aslo run Vince Briel's Replica 1 ROM which includes Krusader and Apple 1 Basic. +Can aslo run Vince Briel's [Replica 1](http://www.brielcomputers.com/wordpress/?cat=17) ROM which includes [Krusader](http://school.anhb.uwa.edu.au/personalpages/kwessen/apple1/Krusader.htm) and Apple 1 Basic. Just convert the binary dump into a C array as it has been done with Apple 1 ROM in woz.h -Passes the Klaus Test Suite (https://github.com/Klaus2m5/6502_65C02_functional_tests) +Passes the [Klaus Test Suite](https://github.com/Klaus2m5/6502_65C02_functional_tests) Have fun ! diff --git a/reinette-Klaus.c b/reinette-Klaus.c index 990e6d5..9505d41 100644 --- a/reinette-Klaus.c +++ b/reinette-Klaus.c @@ -487,7 +487,6 @@ static void SBC(){ // SuBtract with Carry } static void UND(){ // UNDefined (not a valid or supported 6502 opcode) - printw("\n\n~ Illegal Instruction At Address $%04X ~\n", reg.PC - 1); BRK(); } @@ -535,7 +534,7 @@ static void (*addressing[])(void) = { // PROGRAM ENTRY POINT -int main(int argc, char *argv[]) { +int main(int argc, char *argv[]){ int i = 0;//, ch = 0; uint8_t opcode = 0; diff --git a/reinette.c b/reinette.c index da7d66d..5ca64ef 100644 --- a/reinette.c +++ b/reinette.c @@ -481,7 +481,6 @@ static void SBC(){ // SuBtract with Carry } static void UND(){ // UNDefined (not a valid or supported 6502 opcode) - printw("\n\n~ Illegal Instruction At Address $%04X ~\n", reg.PC - 1); BRK(); } @@ -529,7 +528,7 @@ static void (*addressing[])(void) = { // PROGRAM ENTRY POINT -int main(int argc, char *argv[]) { +int main(int argc, char *argv[]){ int i = 0 , ch = 0; uint8_t opcode = 0;