setCursor method

void setCursor()

Implementation

void setCursor() async {
  //Debugger.verbose('${pcHex(-1)} [set_cursor]');

  final operands = visitOperandsVar(2, false);

  Z.inInterrupt = true;

  await Z.sendIO({
    "command": ioCommands.setCursor,
    "x": operands[0].value,
    "y": operands[1].value
  });

  Z.inInterrupt = false;

  Z.callAsync(Z.runIt);
}