Use ACIA register names where we can.

This commit is contained in:
Tim Allen authored and Seth Morabito committed 2023-06-10 10:19:24 -07:00
1 parent cda9a218af
commit 66a92f4196
1 file changed
+4 -4
@@ -74,16 +74,16 @@ public class Acia6551 extends Acia {
@Override @Override
public void write(int address, int data) throws MemoryAccessException { public void write(int address, int data) throws MemoryAccessException {
switch (address) { switch (address) {
case 0: case DATA_REG:
txWrite(data); txWrite(data);
break; break;
case 1: case STAT_REG:
reset(); reset();
break; break;
case 2: case CMND_REG:
setCommandRegister(data); setCommandRegister(data);
break; break;
case 3: case CTRL_REG:
setControlRegister(data); setControlRegister(data);
break; break;
default: default: