Changeset 75149 in vbox for trunk/src/VBox/Devices/Graphics/BIOS/vgabios.c
- Timestamp:
- Oct 29, 2018 2:14:22 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/BIOS/vgabios.c
r67853 r75149 2108 2108 extern void vbe_biosfn_save_restore_state(uint16_t STACK_BASED *AX, uint16_t CX, uint16_t DX, uint16_t ES, uint16_t STACK_BASED *BX); 2109 2109 extern void vbe_biosfn_get_set_scanline_length(uint16_t STACK_BASED *AX, uint16_t STACK_BASED *BX, uint16_t STACK_BASED *CX, uint16_t STACK_BASED *DX); 2110 extern void private_biosfn_custom_mode(uint16_t STACK_BASED *AX, uint16_t STACK_BASED *BX, uint16_t STACK_BASED *CX, uint16_t STACK_BASED *DX); 2111 2110 2112 2111 2113 // -------------------------------------------------------------------------------------------- … … 2335 2337 } 2336 2338 break; 2339 case 0x56: 2340 if (vbe_has_vbe_display()) { 2341 switch(GET_AL()) 2342 { 2343 case 0x42: 2344 private_biosfn_custom_mode(&AX,&BX,&CX,&DX); 2345 break; 2346 default: 2347 AX=0x0100; 2348 break; 2349 } 2350 } else { 2351 // No VBE display 2352 AX=0x0100; 2353 } 2354 break; 2337 2355 #endif 2338 2356
Note:
See TracChangeset
for help on using the changeset viewer.