ReactOS 0.4.16-dev-92-g0c2cdca
|
#include "ntvdm.h"
#include <debug.h>
#include "emulator.h"
#include "svga.h"
#include <bios/vidbios.h>
#include "memory.h"
#include "io.h"
#include "clock.h"
#include "../../console/video.h"
#include "../../console/video.c"
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | WRAP_OFFSET(x) |
#define | USE_REACTOS_COLORS |
Typedefs | |
typedef enum _SCREEN_MODE | SCREEN_MODE |
typedef enum _SCREEN_MODE * | PSCREEN_MODE |
Enumerations | |
enum | _SCREEN_MODE { TEXT_MODE , GRAPHICS_MODE } |
typedef enum _SCREEN_MODE * PSCREEN_MODE |
typedef enum _SCREEN_MODE SCREEN_MODE |
Enumerator | |
---|---|
TEXT_MODE | |
GRAPHICS_MODE |
Definition at line 289 of file svga.c.
Definition at line 674 of file svga.c.
Referenced by VgaVerticalRetrace().
Definition at line 2145 of file svga.c.
Referenced by EmulatorCleanup().
Definition at line 2074 of file svga.c.
Referenced by VbeSetExtendedVideoMode(), VgaInitialize(), and VidBiosSetVideoMode().
|
static |
Definition at line 604 of file svga.c.
Referenced by VgaChangeMode().
Definition at line 318 of file svga.c.
Referenced by VgaUpdateFramebuffer().
Definition at line 432 of file svga.c.
Referenced by VgaHorizontalRetrace(), and VgaReadPort().
Definition at line 1727 of file svga.c.
Referenced by DosUpdatePosition(), FromMouseCoordinates(), ToMouseCoordinates(), VgaChangeMode(), and VidBiosSetVideoMode().
Definition at line 1655 of file svga.c.
Referenced by VgaInitialize().
Definition at line 2100 of file svga.c.
Referenced by EmulatorInitialize().
Definition at line 534 of file svga.c.
Referenced by VgaInitialize().
Definition at line 651 of file svga.c.
Referenced by VgaChangeMode(), and VgaCleanup().
Definition at line 717 of file svga.c.
Referenced by VgaUpdateFramebuffer().
Definition at line 1802 of file svga.c.
Referenced by VgaWriteGc(), and VgaWritePort().
Definition at line 1104 of file svga.c.
Referenced by VgaInitialize(), and VgaWritePort().
Definition at line 1783 of file svga.c.
Referenced by EmulatorPause(), EmulatorResume(), ScreenEventHandler(), VgaCleanup(), VidBiosAttachToConsole(), VidBiosDetachFromConsole(), and VidBiosSetVideoMode().
Definition at line 594 of file svga.c.
Referenced by VgaInitialize().
Definition at line 495 of file svga.c.
Referenced by VgaInitialize().
|
static |
Definition at line 514 of file svga.c.
Referenced by VgaInitializePalette(), and VgaResetPalette().
Definition at line 342 of file svga.c.
Referenced by VgaReadMemory(), and VgaWriteMemory().
Definition at line 371 of file svga.c.
Referenced by VgaWriteMemory().
Definition at line 736 of file svga.c.
Referenced by VgaVerticalRetrace().
Definition at line 1080 of file svga.c.
Referenced by VgaVerticalRetrace().
Definition at line 1613 of file svga.c.
Referenced by VgaHorizontalRetrace(), and VgaRefreshDisplay().
Definition at line 1386 of file svga.c.
Referenced by VgaWritePort().
Definition at line 1312 of file svga.c.
Referenced by VgaWritePort().
Definition at line 1342 of file svga.c.
Referenced by VgaWritePort().
Definition at line 1281 of file svga.c.
Referenced by VgaWritePort().
Definition at line 1982 of file svga.c.
Referenced by VgaWriteGc(), and VgaWritePort().
Definition at line 1420 of file svga.c.
Referenced by VgaInitialize(), and VgaWritePort().
Definition at line 1255 of file svga.c.
Referenced by VgaWritePort().
Definition at line 2079 of file svga.c.
Referenced by VidBiosSetVideoMode(), and VidBiosVideoService().
ConsoleFramebuffer.
Definition at line 211 of file svga.c.
Referenced by VgaAttachToConsole(), VgaDetachFromConsole(), VgaEnterNewMode(), VgaLeaveCurrentMode(), and VgaUpdateFramebuffer().
Definition at line 189 of file svga.c.
Referenced by VgaInitializePalette().
|
static |
Definition at line 296 of file svga.c.
Referenced by ScreenEventHandler(), VgaChangeMode(), VgaUpdateFramebuffer(), and VgaVerticalRetrace().
Definition at line 283 of file svga.c.
Referenced by VgaUpdateTextCursor(), VgaVerticalRetrace(), and VgaWriteCrtc().
Definition at line 229 of file svga.c.
Referenced by VgaConsoleCreateGraphicsScreen(), VgaEnterNewMode(), and VgaLeaveCurrentMode().
|
static |
Definition at line 275 of file svga.c.
Referenced by VgaHorizontalRetrace(), and VgaReadPort().
|
static |
Definition at line 276 of file svga.c.
Referenced by VgaCleanup(), and VgaInitialize().
Definition at line 31 of file svga.c.
Referenced by VgaGetVideoBaseAddress(), VgaWriteGc(), and VgaWritePort().
Definition at line 32 of file svga.c.
Referenced by FrLdrHeapAlloc(), MemCleanup(), MemInitialize(), MmAllocateHighestMemoryBelowAddress(), MmAllocateMemoryAtAddress(), MmAllocateMemoryWithType(), MmSetMemoryType(), PrintMemory(), RpnpParseExpression(), test_common_stub_data(), test_pack_MIDL_STUB_MESSAGE(), VgaWriteGc(), and VgaWritePort().
Definition at line 282 of file svga.c.
Referenced by EfiGopSetMode(), Main_DirectDraw_RestoreDisplayMode(), Main_DirectDraw_SetDisplayMode2(), VgaChangeMode(), VgaVerticalRetrace(), VgaWriteCrtc(), and VgaWriteGc().
Definition at line 281 of file svga.c.
Referenced by ScreenEventHandler(), VgaChangeMode(), VgaMarkForUpdate(), and VgaVerticalRetrace().
Definition at line 284 of file svga.c.
Referenced by DECLARE_INTERFACE_(), VgaResetPalette(), VgaVerticalRetrace(), VgaWriteAc(), and VgaWriteDac().
|
static |
Definition at line 215 of file svga.c.
Referenced by ConDrvSetConsolePalette(), ConSrvTermSetPalette(), GuiSetPalette(), VgaConsoleCreateGraphicsScreen(), VgaConsoleCreateTextScreen(), VgaEnterNewMode(), VgaInitializePalette(), VgaResetPalette(), and VgaWriteDac().
|
static |
Definition at line 277 of file svga.c.
Referenced by VgaHorizontalRetrace(), and VgaReadPort().
|
static |
Definition at line 279 of file svga.c.
Referenced by VgaHorizontalRetrace(), VgaRefreshDisplay(), and VgaUpdateFramebuffer().
|
static |
Definition at line 295 of file svga.c.
Referenced by VgaAttachToConsole(), VgaChangeMode(), VgaConsoleRepaintScreen(), VgaDetachFromConsole(), VgaEnterNewMode(), VgaLeaveCurrentMode(), VgaUpdateFramebuffer(), and VgaUpdateTextCursor().
|
static |
Definition at line 278 of file svga.c.
Referenced by VgaHorizontalRetrace(), VgaRefreshDisplay(), and VgaUpdateFramebuffer().
|
static |
Definition at line 286 of file svga.c.
Referenced by VgaReadPort(), and VgaWritePort().
|
static |
Definition at line 287 of file svga.c.
Referenced by VgaReadPort(), and VgaWritePort().
|
static |
Definition at line 224 of file svga.c.
Referenced by AttachToConsoleInternal(), DetachFromConsoleInternal(), VgaAttachToConsole(), and VgaEnterNewMode().
|
static |
Definition at line 214 of file svga.c.
Referenced by VgaEnterNewMode(), VgaInitializePalette(), VgaWriteAc(), and VgaWriteDac().
|
static |
Definition at line 298 of file svga.c.
Referenced by ScreenEventHandler(), VgaChangeMode(), VgaConsoleRepaintScreen(), VgaMarkForUpdate(), and VgaVerticalRetrace().
|
static |
Definition at line 262 of file svga.c.
Referenced by VgaReadPort(), VgaWriteAc(), and VgaWritePort().
Definition at line 260 of file svga.c.
Referenced by VgaReadPort(), and VgaWritePort().
Definition at line 261 of file svga.c.
Referenced by VgaReadPort(), VgaUpdateFramebuffer(), VgaWriteAc(), and VgaWritePort().
|
static |
Definition at line 263 of file svga.c.
Referenced by VgaGetDisplayResolution(), VgaHorizontalRetrace(), VgaInitialize(), VgaReadPort(), VgaUpdateFramebuffer(), VgaWriteAc(), and VgaWriteDac().
|
static |
Definition at line 254 of file svga.c.
Referenced by VgaReadPort(), VgaWriteCrtc(), and VgaWritePort().
|
static |
Definition at line 255 of file svga.c.
Referenced by AttachToConsoleInternal(), UpdateCursorPosition(), VgaGetAddressSize(), VgaGetDisplayResolution(), VgaHorizontalRetrace(), VgaInitialize(), VgaReadPort(), VgaRefreshDisplay(), VgaUpdateFramebuffer(), VgaUpdateTextCursor(), and VgaWriteCrtc().
|
static |
Definition at line 270 of file svga.c.
Referenced by VgaReadPort(), VgaWriteDac(), and VgaWritePort().
|
static |
Definition at line 267 of file svga.c.
Referenced by VgaWriteDac().
|
static |
Definition at line 266 of file svga.c.
Referenced by VgaReadPort(), VgaWriteDac(), and VgaWritePort().
|
static |
Definition at line 265 of file svga.c.
Referenced by VgaReadPort(), and VgaWritePort().
Definition at line 269 of file svga.c.
Referenced by VgaReadPort(), and VgaWritePort().
|
static |
Definition at line 271 of file svga.c.
Referenced by VgaReadPort(), VgaRestoreDefaultPalette(), VgaWriteAc(), and VgaWriteDac().
|
static |
Definition at line 40 of file svga.c.
Referenced by VgaRestoreDefaultPalette().
|
static |
Definition at line 249 of file svga.c.
Referenced by VgaReadPort(), and VgaWritePort().
|
static |
Definition at line 257 of file svga.c.
Referenced by VgaReadPort(), VgaWriteGc(), and VgaWritePort().
|
static |
Definition at line 258 of file svga.c.
Referenced by VgaChangeMode(), VgaGetDisplayResolution(), VgaGetVideoBaseAddress(), VgaHorizontalRetrace(), VgaInitialize(), VgaReadMemory(), VgaReadPort(), VgaTranslateAddress(), VgaTranslateByteForWriting(), VgaUpdateFramebuffer(), VgaWriteGc(), VgaWriteMemory(), and VgaWritePort().
|
static |
Definition at line 246 of file svga.c.
Referenced by VgaReadMemory(), and VgaTranslateByteForWriting().
|
static |
Definition at line 244 of file svga.c.
Referenced by AttachToConsoleInternal(), VgaClearMemory(), VgaReadMemory(), VgaUpdateFramebuffer(), VgaWriteMemory(), and VgaWriteTextModeFont().
|
static |
Definition at line 248 of file svga.c.
Referenced by VgaGetClockFrequency(), VgaReadMemory(), VgaReadPort(), VgaWriteGc(), VgaWriteMemory(), and VgaWritePort().
|
static |
Definition at line 251 of file svga.c.
Referenced by VgaReadPort(), VgaWritePort(), and VgaWriteSequencer().
|
static |
Definition at line 252 of file svga.c.
Referenced by VgaGetAddressSize(), VgaGetClockFrequency(), VgaGetDisplayResolution(), VgaHorizontalRetrace(), VgaInitialize(), VgaReadMemory(), VgaReadPort(), VgaRefreshDisplay(), VgaResetSequencer(), VgaTranslateAddress(), VgaUpdateFramebuffer(), VgaWriteMemory(), and VgaWriteSequencer().