- 6



fprintf(file, " "

" : %02Xh \n", modeInfo.ucRedSize);

fprintf(file, " : %02Xh \n",

modeInfo.ucRedField);

fprintf(file, " "

" : %02Xh \n",modeInfo.ucGreenSize);

fprintf(file, " : %02Xh \n",

modeInfo.ucGreenField);

fprintf(file, " "

" : %02Xh \n", modeInfo.ucBlueSize);

fprintf(file, " : %02Xh \n",

modeInfo.ucBlueField);

fprintf(file, " : %02Xh \n",

modeInfo.ucResSize);

fprintf(file, " : %02Xh \n",

modeInfo.ucResField);

fprintf(file, " : %02X\n",

modeInfo.ucDACInfo);

}

}

return iResult;

}


//===========================================================

// AnalyseResult

//===========================================================

int

AnalyseResult(union REGS regs)

{

int iResult;


if((regs.h.al == 0x4f) && (regs.h.ah == 0))

iResult = 0;

else if(regs.h.al != 0x4f)

iResult = -1;

else

iResult = 1;