public void setNodeID(int id) {
ds2411.setMACID(id & 0xff, id & 0xff, id & 0xff, (id >> 8) & 0xff, id & 0xff, id & 0xff);
}
public void setupNodePorts() {
ds2411 = new DS2411(cpu);
port1 = cpu.getIOUnit(IOPort.class, "P1");
port1.addPortListener(this);
port2 = cpu.getIOUnit(IOPort.class, "P2");