Changeset 14886 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Dec 2, 2008 9:55:46 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r14879 r14886 4417 4417 } 4418 4418 4419 /** 4420 * Info handler, device version. Dumps VGA DAC registers. 4421 * 4422 * @param pDevIns Device instance which registered the info. 4423 * @param pHlp Callback functions for doing output. 4424 * @param pszArgs Argument string. Optional and specific to the handler. 4425 */ 4426 static DECLCALLBACK(void) vgaInfoDAC(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, const char *pszArgs) 4427 { 4428 PVGASTATE s = PDMINS_2_DATA(pDevIns, PVGASTATE); 4429 unsigned i; 4430 4431 pHlp->pfnPrintf(pHlp, "VGA DAC contents:\n"); 4432 for (i = 0; i < 0x100; ++i) 4433 { 4434 pHlp->pfnPrintf(pHlp, " %02X: %02X %02X %02X\n", 4435 i, s->palette[i*3+0], s->palette[i*3+1], s->palette[i*3+2]); 4436 } 4437 } 4438 4419 4439 4420 4440 /* -=-=-=-=-=- Ring 3: IBase -=-=-=-=-=- */ … … 5870 5890 PDMDevHlpDBGFInfoRegister(pDevIns, "vgasr", "Dump VGA Sequencer registers.", vgaInfoSR); 5871 5891 PDMDevHlpDBGFInfoRegister(pDevIns, "vgaar", "Dump VGA Attribute Controller registers.", vgaInfoAR); 5892 PDMDevHlpDBGFInfoRegister(pDevIns, "vgadac", "Dump VGA DAC registers.", vgaInfoDAC); 5872 5893 5873 5894 /*
Note:
See TracChangeset
for help on using the changeset viewer.