Added simple output

This commit is contained in:
andrew-jacobs 2018-04-26 14:35:39 +01:00
parent 3fc78c08a6
commit 4e7f0d73a1
2 changed files with 3 additions and 4 deletions

View File

@ -19,10 +19,6 @@
// http://creativecommons.org/licenses/by-nc-sa/4.0/
//------------------------------------------------------------------------------
// TODO: decimal mode
#include "emu816.h"
#ifdef CHIPKIT
# include "WProgram.h"
#else
@ -32,6 +28,8 @@
using namespace std;
#endif
#include "emu816.h"
union emu816::FLAGS emu816::p;
emu816::Bit emu816::e;

View File

@ -1785,6 +1785,7 @@ private:
TRACE("WDM");
switch (getByte(ea)) {
case 0x01: cout << (char) a.b; break;
case 0xff: stopped = true; break;
}
cycles += 3;