diff --git a/stella/src/emucore/AtariVox.cxx b/stella/src/emucore/AtariVox.cxx index cfd7ed73b..49d1f74eb 100644 --- a/stella/src/emucore/AtariVox.cxx +++ b/stella/src/emucore/AtariVox.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: AtariVox.cxx,v 1.17 2008-04-29 15:13:15 stephena Exp $ +// $Id: AtariVox.cxx,v 1.18 2008-04-29 20:06:14 stephena Exp $ //============================================================================ #ifdef SPEAKJET_EMULATION @@ -158,7 +158,7 @@ void AtariVox::clockDataIn(bool value) { if(DEBUG_ATARIVOX) cerr << "value && (myShiftCount == 0), returning" << endl; -cerr << "!!!!! INVALID START BIT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"; +//cerr << "!!!!! INVALID START BIT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"; return; } @@ -168,16 +168,16 @@ cerr << "!!!!! INVALID START BIT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"; { myShiftRegister = 0; myShiftCount = 0; -cerr << "!!!!! START NEW BYTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"; +//cerr << "!!!!! START NEW BYTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"; } else if(cycle > myLastDataWriteCycle + 1000) { myShiftRegister = 0; myShiftCount = 0; -cerr << "!!!!! DELAY TOO LONG !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"; +//cerr << "!!!!! DELAY TOO LONG !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"; } -cerr << "value = " << value << " (" << (int)myShiftCount << ")" << endl; +//cerr << "value = " << value << " (" << (int)myShiftCount << ")" << endl; // If this is the first write this frame, or if it's been 62 cycles // since the last write, shift this bit into the current byte. @@ -205,8 +205,8 @@ cerr << "value = " << value << " (" << (int)myShiftCount << ")" << endl; #else mySpeakJet->write(data); #endif -cerr << " ==> " << (int)data << endl; -cerr << "----------------------------------------------------------\n"; +//cerr << " ==> " << (int)data << endl; +//cerr << "----------------------------------------------------------\n"; } myShiftRegister = 0; } diff --git a/stella/src/emucore/MT24LC256.cxx b/stella/src/emucore/MT24LC256.cxx index 6de9b4804..9a4ab9884 100644 --- a/stella/src/emucore/MT24LC256.cxx +++ b/stella/src/emucore/MT24LC256.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: MT24LC256.cxx,v 1.6 2008-04-29 15:13:16 stephena Exp $ +// $Id: MT24LC256.cxx,v 1.7 2008-04-29 20:06:14 stephena Exp $ //============================================================================ #include @@ -86,14 +86,14 @@ MT24LC256::~MT24LC256() // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bool MT24LC256::readSDA() { -cerr << "readSDA: <== " << (jpee_mdat && jpee_sdat) << endl; +//cerr << "readSDA: <== " << (jpee_mdat && jpee_sdat) << endl; return jpee_mdat && jpee_sdat; } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void MT24LC256::writeSDA(bool state) { -cerr << "writeSDA: " << state << endl; +//cerr << "writeSDA: " << state << endl; #define jpee_data(x) ( (x) ? \ (!jpee_mdat && jpee_sdat && jpee_mclk && (jpee_data_stop(),1), jpee_mdat = 1) : \ @@ -105,7 +105,7 @@ cerr << "writeSDA: " << state << endl; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void MT24LC256::writeSCL(bool state) { -cerr << "writeSCL: " << state << endl; +//cerr << "writeSCL: " << state << endl; #define jpee_clock(x) ( (x) ? \ (jpee_mclk = 1) : \ @@ -186,7 +186,7 @@ void MT24LC256::jpee_data_stop() } for (i=3; i writing\n"; +//cerr << " => writing\n"; myData[(jpee_address++) & jpee_sizemask] = jpee_packet[i]; if (!(jpee_address & jpee_pagemask)) break; /* Writes can't cross page boundary! */ @@ -323,7 +323,7 @@ bool MT24LC256::jpee_timercheck(int mode) else // read timer { uInt32 elapsed = mySystem.cycles() - myCyclesWhenTimerSet; -cerr << " --> elapsed: " << elapsed << endl; +//cerr << " --> elapsed: " << elapsed << endl; return elapsed < (uInt32)(5000000.0 / 838.0); } } @@ -331,7 +331,7 @@ cerr << " --> elapsed: " << elapsed << endl; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int MT24LC256::jpee_logproc(char const *st) { - cerr << " " << st << endl; +// cerr << " " << st << endl; return 0; }