|
ReactOS 0.4.17-dev-683-g0dafdc5
|
#include <freeldr.h>#include <suppress.h>#include <debug.h>#include <pshpack2.h>#include <poppack.h>
Go to the source code of this file.
Classes | |
| struct | SVGA_MODE_INFORMATION |
Macros | |
| #define | VIDEOPORT_PALETTE_READ 0x03C7 |
| #define | VIDEOPORT_PALETTE_WRITE 0x03C8 |
| #define | VIDEOPORT_PALETTE_DATA 0x03C9 |
| #define | VIDEOPORT_VERTICAL_RETRACE 0x03DA |
| #define | VIDEOVGA_MEM_ADDRESS 0xA0000 |
| #define | VIDEOTEXT_MEM_ADDRESS 0xB8000 |
| #define | VIDEOTEXT_MEM_SIZE 0x8000 |
| #define | VIDEOCARD_CGA_OR_OTHER 0 |
| #define | VIDEOCARD_EGA 1 |
| #define | VIDEOCARD_VGA 2 |
| #define | VIDEOMODE_NORMAL_TEXT 0 |
| #define | VIDEOMODE_EXTENDED_TEXT 1 |
| #define | VIDEOMODE_80X28 0x501C |
| #define | VIDEOMODE_80X30 0x501E |
| #define | VIDEOMODE_80X34 0x5022 |
| #define | VIDEOMODE_80X43 0x502B |
| #define | VIDEOMODE_80X60 0x503C |
| #define | VIDEOMODE_132X25 0x8419 |
| #define | VIDEOMODE_132X43 0x842B |
| #define | VIDEOMODE_132X50 0x8432 |
| #define | VIDEOMODE_132X60 0x843C |
| #define | VERTRES_200_SCANLINES 0x00 |
| #define | VERTRES_350_SCANLINES 0x01 |
| #define | VERTRES_400_SCANLINES 0x02 |
| #define | VERTRES_480_SCANLINES 0x03 |
| #define | TRACE_printf(Format, ...) |
Typedefs | |
| typedef struct SVGA_MODE_INFORMATION * | PSVGA_MODE_INFORMATION |
Enumerations | |
| enum | { INT1FhFont = 0x00 , INT43hFont = 0x01 , ROM_8x14CharacterFont = 0x02 , ROM_8x8DoubleDotFontLo = 0x03 , ROM_8x8DoubleDotFontHi = 0x04 , ROM_AlphaAlternate = 0x05 , ROM_8x16Font = 0x06 , ROM_Alternate9x16Font = 0x07 , UltraVision_8x20Font = 0x11 , UltraVision_8x10Font = 0x12 } |
Variables | |
| UCHAR | MachDefaultTextColor = COLOR_GRAY |
| static ULONG | VideoCard = VIDEOCARD_CGA_OR_OTHER |
| static USHORT | BiosVideoMode = VIDEOMODE_NORMAL_TEXT |
| static ULONG | ScreenWidth = 80 |
| static ULONG | ScreenHeight = 25 |
| static ULONG | BytesPerScanLine = (80 * 2) |
| static VIDEODISPLAYMODE | DisplayMode = VideoTextMode |
| static BOOLEAN | VesaVideoMode = FALSE |
| static SVGA_MODE_INFORMATION | VesaVideoModeInformation |
| static ULONG | CurrentMemoryBank = 0 |
| anonymous enum |
| Enumerator | |
|---|---|
| INT1FhFont | |
| INT43hFont | |
| ROM_8x14CharacterFont | |
| ROM_8x8DoubleDotFontLo | |
| ROM_8x8DoubleDotFontHi | |
| ROM_AlphaAlternate | |
| ROM_8x16Font | |
| ROM_Alternate9x16Font | |
| UltraVision_8x20Font | |
| UltraVision_8x10Font | |
Definition at line 126 of file pcvideo.c.
| C_ASSERT | ( | sizeof(SVGA_MODE_INFORMATION) | = =256 | ) |
| DBG_DEFAULT_CHANNEL | ( | UI | ) |
Definition at line 1216 of file pcvideo.c.
Referenced by MachInit().
Definition at line 1175 of file pcvideo.c.
Referenced by MachInit().
Definition at line 617 of file pcvideo.c.
Referenced by PcVideoHideShowTextCursor(), PcVideoSetMode80x28(), PcVideoSetMode80x34(), PcVideoSetMode80x43(), PcVideoSetMode80x50_80x43(), and PcVideoSetMode80x60().
Definition at line 141 of file pcvideo.c.
Referenced by PcVideoInit().
Definition at line 592 of file pcvideo.c.
Referenced by PcVideoSetMode80x43(), PcVideoSetMode80x50_80x43(), and PcVideoSetMode80x60().
Definition at line 335 of file pcvideo.c.
Referenced by PcVideoGetDisplayMode().
Definition at line 1101 of file pcvideo.c.
Referenced by MachInit(), and PcVideoCopyOffScreenBufferToVRAM().
Definition at line 384 of file pcvideo.c.
Referenced by PcVideoInit().
Definition at line 1077 of file pcvideo.c.
Referenced by MachInit().
Definition at line 1107 of file pcvideo.c.
Referenced by MachInit().
Definition at line 1256 of file pcvideo.c.
Referenced by MachInit().
Definition at line 1166 of file pcvideo.c.
Referenced by MachInit(), and PcVideoPrepareForReactOS().
Definition at line 1000 of file pcvideo.c.
Referenced by MachInit().
Definition at line 1288 of file pcvideo.c.
Referenced by PcPrepareForReactOS().
Definition at line 1232 of file pcvideo.c.
Referenced by MachInit().
Definition at line 568 of file pcvideo.c.
Referenced by PcVideoSetMode80x43(), PcVideoSetMode80x50_80x43(), and PcVideoSetMode80x60().
Definition at line 680 of file pcvideo.c.
Referenced by PcVideoSetMode80x30(), PcVideoSetMode80x34(), and PcVideoSetMode80x60().
Definition at line 510 of file pcvideo.c.
Referenced by PcVideoSetMode(), PcVideoSetMode80x25(), and PcVideoSetMode80x50_80x43().
Definition at line 444 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 939 of file pcvideo.c.
Referenced by PcVideoSetDisplayMode().
Definition at line 732 of file pcvideo.c.
Referenced by PcVideoSetMode80x34(), and PcVideoSetMode80x60().
| VIDEODISPLAYMODE PcVideoSetDisplayMode | ( | PCSTR | DisplayModeName, |
| BOOLEAN | Init | ||
| ) |
Definition at line 1025 of file pcvideo.c.
Referenced by MachInit(), and PcVideoInit().
Definition at line 550 of file pcvideo.c.
Referenced by PcVideoSetMode80x28(), and PcVideoSetMode80x34().
Definition at line 532 of file pcvideo.c.
Referenced by PcVideoSetMode80x43(), PcVideoSetMode80x50_80x43(), and PcVideoSetMode80x60().
Definition at line 964 of file pcvideo.c.
Referenced by PcVideoCopyOffScreenBufferToVRAM().
Definition at line 864 of file pcvideo.c.
Referenced by PcVideoInit(), and PcVideoSetDisplayMode().
Definition at line 749 of file pcvideo.c.
Referenced by PcVideoPrepareForReactOS(), PcVideoSetMode(), PcVideoSetMode80x28(), PcVideoSetMode80x30(), PcVideoSetMode80x34(), PcVideoSetMode80x43(), and PcVideoSetMode80x60().
Definition at line 791 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 804 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 816 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 831 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 759 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 847 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 1141 of file pcvideo.c.
Referenced by MachInit().
Definition at line 653 of file pcvideo.c.
Referenced by PcVideoSetMode80x43().
Definition at line 1265 of file pcvideo.c.
Referenced by MachInit().
Definition at line 299 of file pcvideo.c.
Referenced by PcVideoGetDisplayMode().
|
static |
Definition at line 208 of file pcvideo.c.
Referenced by PcVideoGetDisplayMode(), and PcVideoSetMode().
|
static |
Definition at line 117 of file pcvideo.c.
Referenced by PcVideoGetDisplayMode(), and PcVideoSetMode().
|
static |
Definition at line 120 of file pcvideo.c.
Referenced by PcVideoGetBufferSize(), PcVideoGetDisplayMode(), PcVideoPutChar(), PcVideoSetMode(), PcVideoSetMode80x25(), PcVideoSetMode80x28(), PcVideoSetMode80x30(), PcVideoSetMode80x34(), PcVideoSetMode80x43(), PcVideoSetMode80x50_80x43(), and PcVideoSetMode80x60().
|
static |
Definition at line 124 of file pcvideo.c.
Referenced by PcVideoSetMemoryBank(), and PcVideoSetMode().
|
static |
Definition at line 121 of file pcvideo.c.
Referenced by DeviceCreateHardwarePageEx(), EnumDisplayModes(), GuiGetDisplayMode(), PcVideoCopyOffScreenBufferToVRAM(), PcVideoGetDisplayMode(), PcVideoGetDisplaySize(), PcVideoInit(), PcVideoSetDisplayMode(), PcVideoSetMode(), and Test_DisplayModes().
| UCHAR MachDefaultTextColor = COLOR_GRAY |
|
static |
Definition at line 119 of file pcvideo.c.
Referenced by PcVideoGetBufferSize(), PcVideoGetDisplayMode(), PcVideoGetDisplaySize(), PcVideoSetMode(), PcVideoSetMode80x25(), PcVideoSetMode80x28(), PcVideoSetMode80x30(), PcVideoSetMode80x34(), PcVideoSetMode80x43(), PcVideoSetMode80x50_80x43(), PcVideoSetMode80x60(), UefiInitializeBgrtLogo(), VidFbInitializeVideo(), and XboxVideoInit().
|
static |
Definition at line 118 of file pcvideo.c.
Referenced by LlbVideoDrawChar(), LlbVideoPutChar(), NvGetBytesPerPixel(), PcVideoGetDisplayMode(), PcVideoGetDisplaySize(), PcVideoSetMode(), PcVideoSetMode80x25(), PcVideoSetMode80x28(), PcVideoSetMode80x30(), PcVideoSetMode80x34(), PcVideoSetMode80x43(), PcVideoSetMode80x50_80x43(), PcVideoSetMode80x60(), VidFbInitializeVideo(), and XboxVideoInit().
Definition at line 122 of file pcvideo.c.
Referenced by PcVideoCopyOffScreenBufferToVRAM(), PcVideoGetDisplayMode(), PcVideoGetDisplaySize(), and PcVideoSetMode().
|
static |
Definition at line 123 of file pcvideo.c.
Referenced by PcVideoCopyOffScreenBufferToVRAM(), PcVideoGetDisplayMode(), PcVideoGetDisplaySize(), and PcVideoSetMode().
|
static |
Definition at line 116 of file pcvideo.c.
Referenced by PcVideoInit(), PcVideoSetDisplayMode(), and PcVideoSetMode80x50_80x43().