From b725fb5fddcbb39aa52f32048c2920b40adff7c4 Mon Sep 17 00:00:00 2001 From: Tim Allen Date: Mon, 29 May 2023 18:29:51 +1000 Subject: [PATCH] Fix comment: The 6551 baud rate is in the lower *four* bits. The code is correct, the comment is wrong. --- src/main/java/com/loomcom/symon/devices/Acia6551.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/loomcom/symon/devices/Acia6551.java b/src/main/java/com/loomcom/symon/devices/Acia6551.java index 0519f61..8977103 100644 --- a/src/main/java/com/loomcom/symon/devices/Acia6551.java +++ b/src/main/java/com/loomcom/symon/devices/Acia6551.java @@ -116,7 +116,7 @@ public class Acia6551 extends Acia { if (data == 0) { reset(); } else { - // Mask the lower three bits to get the baud rate. + // Mask the lower four bits to get the baud rate. int baudSelector = data & 0x0f; switch (baudSelector) { case 0: