#include "pmc.h" long __pascal drivecurrent (void) { REGSTRUCT rs; int r; rs.w.FLAGS = rs.d.SSSP = 0; rs.b.AH = 0x19; if ((r = xlt_simrmint (0x21, &rs, 0)) < 0) return r; return rs.b.AL + 1; }