r.eax = 3;
memset(&r, 0, sizeof(r));
S3SAVSetTextMode(void){   struct LRMI_regs r;   memset(&r, 0, sizeof(r));   r.eax = 3;   if (!LRMI_int(0x10, &r))   {      ErrorF("Can't set text mode (vm86 failure)\n");   }}