Lines Matching refs:CX
892 * CX = Mode Number
898 void vbe_biosfn_return_mode_information(AX, CX, ES, DI)
899 Bit16u *AX;Bit16u CX; Bit16u ES;Bit16u DI;
909 printf("VBE vbe_biosfn_return_mode_information ES%x DI%x CX%x\n",ES,DI,CX);
912 using_lfb=((CX & VBE_MODE_LINEAR_FRAME_BUFFER) == VBE_MODE_LINEAR_FRAME_BUFFER);
914 CX = (CX & 0x1ff);
916 cur_info = mode_info_find_mode(CX, using_lfb, &cur_info);
921 printf("VBE found mode %x\n",CX);
942 printf("VBE *NOT* found mode %x\n",CX);
1144 * CX = Requested states
1151 void vbe_biosfn_save_restore_state(AX, CX, DX, ES, BX)
1152 Bit16u *AX; Bit16u CX; Bit16u DX; Bit16u ES; Bit16u *BX;
1160 val = biosfn_read_video_state_size2(CX);
1164 if (CX & 8)
1170 val = biosfn_save_video_state(CX, ES, val);
1174 if (CX & 8)
1179 val = biosfn_restore_video_state(CX, ES, val);
1183 if (CX & 8)
1250 * CX = If BL=00h Desired Width in Pixels
1257 * CX = Actual Pixels Per Scan Line
1263 mov ax, cx
1291 mov cx, ax
1324 * CX = If BL=00h/80h First Displayed Pixel In Scan Line
1330 * CX = If BL=01h First Displayed Pixel In Scan Line
1338 * CX = Bits 0-15 of display start address
1352 mov ax, cx
1360 mov cx, ax
1435 * CX = Length of Table including protected mode code
1445 mov cx, # vesa_pm_end
1446 sub cx, di