Addr support for the RTS/CTS and IRQ pins to the MC6850 chip emulation

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2018-10-23 00:01:33 +01:00
parent 4bfb264380
commit b50d21965d
3 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,7 @@ void Board::initialise() {
ADDRESS() = 0b1010000000000000;
ACIA().DATA() = EightBit::mc6850::CR0 | EightBit::mc6850::CR1; // Master reset
updateAciaPins(EightBit::Chip::PinLevel::Low);
ACIA().lower(ACIA().CTS());
ACIA().powerOn();
ACIA().access();

View File

@ -268,6 +268,10 @@ namespace EightBit {
void startTransmit();
void completeReceive();
bool isInterruptRequired() const;
bool isTransmitInterruptRequired() const;
bool isReceiveInterruptRequired() const;
PinLevel m_RXDATA;
PinLevel m_TXDATA;

Binary file not shown.