mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-25 11:17:26 +00:00
Ensures serial lines know their writer's clock rate.
This commit is contained in:
@@ -13,7 +13,10 @@
|
||||
|
||||
using namespace Motorola::ACIA;
|
||||
|
||||
ACIA::ACIA() {}
|
||||
ACIA::ACIA(int clock_rate) {
|
||||
transmit.set_writer_clock_rate(clock_rate);
|
||||
request_to_send.set_writer_clock_rate(clock_rate);
|
||||
}
|
||||
|
||||
uint8_t ACIA::read(int address) {
|
||||
if(address&1) {
|
||||
|
||||
Reference in New Issue
Block a user