|
ReactOS 0.4.16-dev-2104-gb84fa49
|
#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 | 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 = 160 |
| 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 124 of file pcvideo.c.
| C_ASSERT | ( | sizeof(SVGA_MODE_INFORMATION) | = =256 | ) |
| DBG_DEFAULT_CHANNEL | ( | UI | ) |
Definition at line 1236 of file pcvideo.c.
Referenced by MachInit().
Definition at line 1195 of file pcvideo.c.
Referenced by MachInit().
Definition at line 638 of file pcvideo.c.
Referenced by PcVideoHideShowTextCursor(), PcVideoSetMode80x28(), PcVideoSetMode80x34(), PcVideoSetMode80x43(), PcVideoSetMode80x50_80x43(), and PcVideoSetMode80x60().
Definition at line 139 of file pcvideo.c.
Referenced by PcVideoInit().
Definition at line 613 of file pcvideo.c.
Referenced by PcVideoSetMode80x43(), PcVideoSetMode80x50_80x43(), and PcVideoSetMode80x60().
Definition at line 333 of file pcvideo.c.
Referenced by PcVideoGetDisplayMode().
Definition at line 1121 of file pcvideo.c.
Referenced by MachInit(), and PcVideoCopyOffScreenBufferToVRAM().
Definition at line 380 of file pcvideo.c.
Referenced by PcVideoInit().
Definition at line 1097 of file pcvideo.c.
Referenced by MachInit().
Definition at line 1127 of file pcvideo.c.
Referenced by MachInit().
Definition at line 1276 of file pcvideo.c.
Referenced by MachInit().
Definition at line 1186 of file pcvideo.c.
Referenced by MachInit(), and PcVideoPrepareForReactOS().
Definition at line 1020 of file pcvideo.c.
Referenced by MachInit().
Definition at line 1308 of file pcvideo.c.
Referenced by PcPrepareForReactOS().
Definition at line 1252 of file pcvideo.c.
Referenced by MachInit().
Definition at line 589 of file pcvideo.c.
Referenced by PcVideoSetMode80x43(), PcVideoSetMode80x50_80x43(), and PcVideoSetMode80x60().
Definition at line 701 of file pcvideo.c.
Referenced by PcVideoSetMode80x30(), PcVideoSetMode80x34(), and PcVideoSetMode80x60().
Definition at line 531 of file pcvideo.c.
Referenced by PcVideoSetMode(), PcVideoSetMode80x25(), and PcVideoSetMode80x50_80x43().
Definition at line 465 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 959 of file pcvideo.c.
Referenced by PcVideoSetDisplayMode().
Definition at line 753 of file pcvideo.c.
Referenced by PcVideoSetMode80x34(), and PcVideoSetMode80x60().
| VIDEODISPLAYMODE PcVideoSetDisplayMode | ( | PCSTR | DisplayModeName, |
| BOOLEAN | Init | ||
| ) |
Definition at line 1045 of file pcvideo.c.
Referenced by MachInit(), and PcVideoInit().
Definition at line 571 of file pcvideo.c.
Referenced by PcVideoSetMode80x28(), and PcVideoSetMode80x34().
Definition at line 553 of file pcvideo.c.
Referenced by PcVideoSetMode80x43(), PcVideoSetMode80x50_80x43(), and PcVideoSetMode80x60().
Definition at line 984 of file pcvideo.c.
Referenced by PcVideoCopyOffScreenBufferToVRAM().
Definition at line 878 of file pcvideo.c.
Referenced by PcVideoInit(), and PcVideoSetDisplayMode().
Definition at line 770 of file pcvideo.c.
Referenced by PcVideoPrepareForReactOS(), PcVideoSetMode(), PcVideoSetMode80x28(), PcVideoSetMode80x30(), PcVideoSetMode80x34(), PcVideoSetMode80x43(), and PcVideoSetMode80x60().
Definition at line 810 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 822 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 833 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 847 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 779 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 862 of file pcvideo.c.
Referenced by PcVideoSetMode().
Definition at line 1161 of file pcvideo.c.
Referenced by MachInit().
Definition at line 674 of file pcvideo.c.
Referenced by PcVideoSetMode80x43().
Definition at line 1285 of file pcvideo.c.
Referenced by MachInit().
Definition at line 297 of file pcvideo.c.
Referenced by PcVideoGetDisplayMode().
|
static |
Definition at line 206 of file pcvideo.c.
Referenced by PcVideoGetDisplayMode(), and PcVideoSetMode().
|
static |
Definition at line 115 of file pcvideo.c.
Referenced by PcVideoGetDisplayMode(), and PcVideoSetMode().
|
static |
Definition at line 118 of file pcvideo.c.
Referenced by PcVideoGetBufferSize(), PcVideoGetDisplayMode(), PcVideoPutChar(), and PcVideoSetMode().
|
static |
Definition at line 122 of file pcvideo.c.
Referenced by PcVideoSetMemoryBank(), and PcVideoSetMode().
|
static |
Definition at line 119 of file pcvideo.c.
Referenced by ConsoleFirmwareTextOpen(), ConsoleGraphicalGetGraphicalResolution(), ConsoleGraphicalGetOriginalResolution(), DeviceCreateHardwarePageEx(), DsppInitialize(), EnumDisplayModes(), GuiGetDisplayMode(), PcVideoCopyOffScreenBufferToVRAM(), PcVideoGetDisplayMode(), PcVideoGetDisplaySize(), PcVideoInit(), PcVideoSetDisplayMode(), PcVideoSetMode(), and Test_DisplayModes().
| UCHAR MachDefaultTextColor = COLOR_GRAY |
|
static |
Definition at line 117 of file pcvideo.c.
Referenced by PcVideoGetBufferSize(), PcVideoGetDisplayMode(), PcVideoGetDisplaySize(), PcVideoSetMode(), PcVideoSetMode80x25(), PcVideoSetMode80x28(), PcVideoSetMode80x30(), PcVideoSetMode80x34(), PcVideoSetMode80x43(), PcVideoSetMode80x50_80x43(), PcVideoSetMode80x60(), VidFbInitializeVideo(), and XboxVideoInit().
|
static |
Definition at line 116 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 120 of file pcvideo.c.
Referenced by PcVideoCopyOffScreenBufferToVRAM(), PcVideoGetDisplayMode(), PcVideoGetDisplaySize(), and PcVideoSetMode().
|
static |
Definition at line 121 of file pcvideo.c.
Referenced by PcVideoCopyOffScreenBufferToVRAM(), PcVideoGetDisplayMode(), PcVideoGetDisplaySize(), and PcVideoSetMode().
|
static |
Definition at line 114 of file pcvideo.c.
Referenced by PcVideoInit(), PcVideoSetDisplayMode(), and PcVideoSetMode80x50_80x43().