Rename VIA to PIA
Preparing to create a PIA interface and one or more parallel IO device implementations.
This commit is contained in:
1 parent
4402a28e2b
commit
45f596e0d4
5 files changed
+19
-19
No files matched your search
+5
-5
@@ -26,8 +26,8 @@ package com.loomcom.symon.devices;
|
||||
import com.loomcom.symon.exceptions.MemoryAccessException;
|
||||
import com.loomcom.symon.exceptions.MemoryRangeException;
|
||||
|
||||
public class Via extends Device {
|
||||
public static final int VIA_SIZE = 16;
|
||||
public class Pia extends Device {
|
||||
public static final int PIA_SIZE = 16;
|
||||
|
||||
private static final int ORB = 0;
|
||||
private static final int ORA = 1;
|
||||
@@ -46,13 +46,13 @@ public class Via extends Device {
|
||||
private static final int IER = 14;
|
||||
private static final int ORA_H = 15;
|
||||
|
||||
public Via(int address) throws MemoryRangeException {
|
||||
super(address, address + VIA_SIZE - 1, "VIA");
|
||||
public Pia(int address) throws MemoryRangeException {
|
||||
super(address, address + PIA_SIZE - 1, "PIA");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void write(int address, int data) throws MemoryAccessException {
|
||||
|
||||
; // No-Op
|
||||
}
|
||||
|
||||
@Override
|
||||
Reference in new issue
Block a user