#include "stdarg.h"#include "stdio.h"#include "ntddk.h"#include "fsvga.h"#include "fsvgalog.h"Go to the source code of this file.
Defines | |
| #define | COMMON_LVB_MASK |
| #define | CalcGRAMScanLine(WindowY, FontSizeY) (WindowY * FontSizeY) |
| #define | CalcGRAMOffs(WindowSize, DeviceExtension) |
| #define | GetBytePerLine(DeviceExtension) |
Functions | |
| ULONG | CalcGRAMSize (IN COORD WindowSize, IN PDEVICE_EXTENSION DeviceExtension) |
| PUCHAR | CalcGRAMAddress (IN COORD WindowSize, IN PDEVICE_EXTENSION DeviceExtension) |
| BOOL | IsGRAMRowOver (PUCHAR BufPtr, BOOL fDbcs, PDEVICE_EXTENSION DeviceExtension) |
| PUCHAR | NextGRAMRow (PUCHAR BufPtr, PDEVICE_EXTENSION DeviceExtension) |
| VOID | memcpyGRAM (IN PCHAR TargetPtr, IN PCHAR SourcePtr, IN ULONG Length) |
| VOID | memcpyGRAMOver (IN PCHAR TargetPtr, IN PCHAR SourcePtr, IN ULONG Length, IN PUCHAR FrameBufPtr, IN PDEVICE_EXTENSION DeviceExtension) |
| VOID | MoveGRAM (IN PCHAR TargetPtr, IN PCHAR SourcePtr, IN ULONG Length, IN PUCHAR FrameBufPtr, IN PDEVICE_EXTENSION DeviceExtension) |
| NTSTATUS | FsgVgaInitializeHWFlags (PDEVICE_EXTENSION DeviceExtension) |
| NTSTATUS | FsgCopyFrameBuffer (PDEVICE_EXTENSION DeviceExtension, PFSVIDEO_COPY_FRAME_BUFFER CopyFrameBuffer, ULONG inputBufferLength) |
| NTSTATUS | FsgWriteToFrameBuffer (PDEVICE_EXTENSION DeviceExtension, PFSVIDEO_WRITE_TO_FRAME_BUFFER WriteFrameBuffer, ULONG inputBufferLength) |
| NTSTATUS | FsgReverseMousePointer (PDEVICE_EXTENSION DeviceExtension, PFSVIDEO_REVERSE_MOUSE_POINTER MouseBuffer, ULONG inputBufferLength) |
| NTSTATUS | FsgInvertCursor (PDEVICE_EXTENSION DeviceExtension, BOOL Invert) |
| NTSTATUS | FsgWriteToScreen (PUCHAR FrameBuffer, PUCHAR BitmapBuffer, DWORD cjBytes, BOOL fDbcs, WORD Attributes1, WORD Attributes2, PDEVICE_EXTENSION DeviceExtension) |
| NTSTATUS | FsgWriteToScreenCommonLVB (PUCHAR FrameBuffer, WORD Attributes, PDEVICE_EXTENSION DeviceExtension) |
| UCHAR | AccessGRAM_WR (PUCHAR FrameBuffer, UCHAR write) |
| UCHAR | AccessGRAM_RW (PUCHAR FrameBuffer, UCHAR write) |
| UCHAR | AccessGRAM_AND (PUCHAR FrameBuffer, UCHAR write) |
|
|
Value:
Definition at line 61 of file drawscrn.c. Referenced by CalcGRAMAddress(). |
|
|
Definition at line 47 of file drawscrn.c. Referenced by CalcGRAMSize(), and FsgVgaInitializeHWFlags(). |
|
|
Value:
Definition at line 29 of file drawscrn.c. Referenced by FsgWriteToScreen(). |
|
|
Value:
Definition at line 76 of file drawscrn.c. Referenced by FsgVgaInitializeHWFlags(). |
|
||||||||||||
|
Definition at line 998 of file drawscrn.c. Referenced by FsgInvertCursor(), and FsgReverseMousePointer().
|
|
||||||||||||
|
Definition at line 986 of file drawscrn.c. Referenced by FsgWriteToScreenCommonLVB().
|
|
||||||||||||
|
Definition at line 976 of file drawscrn.c. Referenced by ColorSetDirect().
|
|
||||||||||||
|
Definition at line 116 of file drawscrn.c. References CalcGRAMOffs, and DWORD. Referenced by FsgCopyFrameBuffer(), FsgInvertCursor(), FsgReverseMousePointer(), and FsgWriteToFrameBuffer().
|
|
||||||||||||
|
Definition at line 85 of file drawscrn.c. References CalcGRAMScanLine.
|
|
||||||||||||||||
|
Definition at line 437 of file drawscrn.c. References CalcGRAMAddress(), _DEVICE_EXTENSION::CurrentMode, FALSE, FsgInvertCursor(), MoveGRAM(), _DEVICE_EXTENSION::ScreenAndFont, and TRUE. Referenced by FsVgaCopyFrameBuffer().
|
|
||||||||||||
|
Definition at line 702 of file drawscrn.c. References AccessGRAM_AND(), BOOL, BYTE, CalcGRAMAddress(), _EMULATE_BUFFER_INFORMATION::CursorAttributes, _EMULATE_BUFFER_INFORMATION::CursorPosition, _DEVICE_EXTENSION::EmulateInfo, FALSE, NextGRAMRow(), _DEVICE_EXTENSION::ScreenAndFont, SetGRAMInvertMode(), SetGRAMWriteMode(), SHORT, _EMULATE_BUFFER_INFORMATION::ShowCursor, and TRUE. Referenced by FsgCopyFrameBuffer(), FsgReverseMousePointer(), FsgWriteToFrameBuffer(), FsVgaSetCursorAttribute(), and FsVgaSetCursorPosition().
|
|
||||||||||||||||
|
Definition at line 609 of file drawscrn.c. References AccessGRAM_AND(), BOOL, BYTE, CalcGRAMAddress(), FALSE, FsgInvertCursor(), NextGRAMRow(), _DEVICE_EXTENSION::ScreenAndFont, SetGRAMInvertMode(), SetGRAMWriteMode(), SHORT, and TRUE. Referenced by FsVgaReverseMousePointer().
|
|
|
||||||||||||||||
|
Definition at line 489 of file drawscrn.c. References AlignCopyMemory(), BOOL, BYTE, BYTE_ALIGN, CalcBitmapBufferSize(), CalcGRAMAddress(), _EMULATE_BUFFER_INFORMATION::ColorBg, _EMULATE_BUFFER_INFORMATION::ColorFg, DWORD, _DEVICE_EXTENSION::EmulateInfo, ExAllocatePool, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FALSE, FsgInvertCursor(), FsgWriteToScreen(), NTSTATUS(), NULL, PagedPool, _DEVICE_EXTENSION::ScreenAndFont, Status, TRUE, and WORD_ALIGN. Referenced by FsVgaWriteToFrameBuffer().
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 813 of file drawscrn.c. References COMMON_LVB_MASK, _DEVICE_EXTENSION::Configuration, _FSVGA_CONFIGURATION_INFORMATION::EmulationMode, ENABLE_WORD_WRITE_VRAM, EXCEPTION_EXECUTE_HANDLER, FsgWriteToScreenCommonLVB(), Index, IsGRAMRowOver(), NextGRAMRow(), _DEVICE_EXTENSION::ScreenAndFont, and set_opaque_bkgnd_proc(). Referenced by FsgWriteToFrameBuffer().
|
|
||||||||||||||||
|
Definition at line 915 of file drawscrn.c. References AccessGRAM_RW(), BYTE, _EMULATE_BUFFER_INFORMATION::ColorBg, _EMULATE_BUFFER_INFORMATION::ColorFg, ColorSetDirect(), ColorSetGridMask(), _DEVICE_EXTENSION::EmulateInfo, EXCEPTION_EXECUTE_HANDLER, Index, NextGRAMRow(), _DEVICE_EXTENSION::ScreenAndFont, set_opaque_bkgnd_proc(), and SetGRAMWriteMode(). Referenced by FsgWriteToScreen().
|
|
||||||||||||||||
|
Definition at line 152 of file drawscrn.c. References _DEVICE_EXTENSION::CurrentMode, _EMULATE_BUFFER_INFORMATION::DeltaNextFontRow, DWORD, _DEVICE_EXTENSION::EmulateInfo, FALSE, _EMULATE_BUFFER_INFORMATION::LimitGRAM, and TRUE. Referenced by FsgWriteToScreen().
|
|
||||||||||||||||
|
Definition at line 233 of file drawscrn.c. Referenced by memcpyGRAMOver(), and MoveGRAM().
|
|
||||||||||||||||||||||||
|
Definition at line 263 of file drawscrn.c. References DWORD, and memcpyGRAM(). Referenced by MoveGRAM().
|
|
||||||||||||||||||||||||
|
Definition at line 314 of file drawscrn.c. References DWORD, memcpyGRAM(), memcpyGRAMOver(), SetGRAMCopyMode(), and SetGRAMWriteMode(). Referenced by FsgCopyFrameBuffer().
|
|
||||||||||||
|
Definition at line 200 of file drawscrn.c. References _EMULATE_BUFFER_INFORMATION::BytePerLine, _DEVICE_EXTENSION::CurrentMode, DWORD, _DEVICE_EXTENSION::EmulateInfo, and _EMULATE_BUFFER_INFORMATION::LimitGRAM. Referenced by FsgInvertCursor(), FsgReverseMousePointer(), FsgWriteToScreen(), and FsgWriteToScreenCommonLVB().
|
1.3.7