- At40k.Cell cell = dev.cell(selx, sely);
- if (cell==null) return;
- int old = cell.c();
- scan(dev, cell, YLUT, true);
- boolean y = (drone.readBus() & 0x80) != 0;
- //scan(dev, cell, XLUT, true);
- //boolean x = (drone.readBus() & 0x80) != 0;
- scan(dev, cell, YLUT, false);
- cell.c(old);
- Graphics g = getGraphics();
- g.setFont(new Font("sansserif", Font.BOLD, 14));
- g.setColor(Color.white);
- //g.drawString("X=0", left(cell) + 10, top(cell) + 20);
- //g.drawString("X=1", left(cell) + 10, top(cell) + 20);
- /*
- g.setColor(Color.white);
- g.drawString("Y=0", left(cell) + 8, top(cell) + 35);
- g.drawString("Y=1", left(cell) + 8, top(cell) + 35);
- */
- //g.setColor(RED);
- //g.drawString("X="+(x?"1":"0"), left(cell) + 10, top(cell) + 20);
- g.setColor(BLUE);
- g.drawString("Y="+(y?"1":"0"), left(cell) + 8, top(cell) + 35);
+ /*
+ At40k.Cell cell = dev.cell(selx, sely);
+ if (cell==null) return;
+ int old = cell.c();
+ scan(dev, cell, YLUT, true);
+ boolean y = (drone.readBus() & 0x80) != 0;
+ //scan(dev, cell, XLUT, true);
+ //boolean x = (drone.readBus() & 0x80) != 0;
+ scan(dev, cell, YLUT, false);
+ cell.c(old);
+ Graphics g = getGraphics();
+ g.setFont(new Font("sansserif", Font.BOLD, 14));
+ g.setColor(Color.white);
+ //g.drawString("X=0", left(cell) + 10, top(cell) + 20);
+ //g.drawString("X=1", left(cell) + 10, top(cell) + 20);
+
+ //g.setColor(Color.white);
+ //g.drawString("Y=0", left(cell) + 8, top(cell) + 35);
+ //g.drawString("Y=1", left(cell) + 8, top(cell) + 35);
+
+ //g.setColor(RED);
+ //g.drawString("X="+(x?"1":"0"), left(cell) + 10, top(cell) + 20);
+ g.setColor(BLUE);
+ g.drawString("Y="+(y?"1":"0"), left(cell) + 8, top(cell) + 35);
+ */