// $Id: MC6850.cc 4909 2005-12-03 18:58:10Z arnoldmnl $ #include "MC6850.hh" #include namespace openmsx { MC6850::MC6850(MSXMotherBoard& motherBoard, const XMLElement& config, const EmuTime& time) : MSXDevice(motherBoard, config, time) { reset(time); } void MC6850::reset(const EmuTime& /*time*/) { } byte MC6850::readIO(word port, const EmuTime& time) { return peekIO(port, time); } byte MC6850::peekIO(word port, const EmuTime& /*time*/) const { byte result; switch (port & 0x1) { case 0: // read status result = 2; break; case 1: // read data result = 0; break; default: // unreachable, avoid warning assert(false); result = 0; } //PRT_DEBUG("Audio: read "<