1
0
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:
Thomas Harte
2019-10-13 20:41:08 -04:00
parent c4ef33b23f
commit 374439693e
5 changed files with 14 additions and 4 deletions
+4 -1
View File
@@ -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) {