extSetFont method
void
extSetFont()
Implementation
void extSetFont() async {
//Debugger.verbose('${pcHex(-1)} [ext_set_font]');
Z.inInterrupt = true;
var operands = visitOperandsVar(1, false);
final result = await Z
.sendIO({"command": ioCommands.setFont, "font_id": operands[0].value});
Z.inInterrupt = false;
if (result != null) {
writeVariable(readb(), int.tryParse(result) ?? 0);
} else {
writeVariable(readb(), 0);
}
Z.callAsync(Z.runIt);
}