mirror of
https://codeberg.org/sethm/symon.git
synced 2026-11-09 19:32:24 +00:00
Use ACIA register names where we can.
This commit is contained in:
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:
|
||||||
|
|||||||
Reference in new issue
Block a user