mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-23 00:29:47 +00:00
Reuse standard 6809/6850 chip/bus wiring
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
1b2ddd8843
commit
4d09da1541
@ -23,15 +23,10 @@ void Board::initialise() {
|
||||
CPU().reset();
|
||||
|
||||
// Get the ACIA ready for action
|
||||
ACIA().powerOn();
|
||||
ACIA().lower(ACIA().RW()); // Write
|
||||
ACIA().lower(ACIA().RS()); // Registers
|
||||
ACIA().raise(ACIA().CS0()); // Chip select
|
||||
ACIA().raise(ACIA().CS1()); // "
|
||||
ACIA().lower(ACIA().CS2()); // "
|
||||
ADDRESS() = 0b1010000000000000;
|
||||
ACIA().DATA() = EightBit::mc6850::CR0 | EightBit::mc6850::CR1; // Master reset
|
||||
|
||||
// Get the reset out of the way...
|
||||
updateAciaPins(EightBit::Chip::PinLevel::Low);
|
||||
ACIA().powerOn();
|
||||
ACIA().access();
|
||||
|
||||
// Once the reset has completed, we can wire the ACIA event handlers...
|
||||
|
Loading…
Reference in New Issue
Block a user