32118a80aadedc6677eafbb352d4e533762b99d1
2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
5 * PURPOSE: VDM Video BIOS Support Library
6 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
7 * Hermes Belusca-Maito (hermes.belusca@sfr.fr)
13 /* INCLUDES *******************************************************************/
17 /* DEFINES ********************************************************************/
19 #define BIOS_VIDEO_INTERRUPT 0x10
21 #define CONSOLE_FONT_HEIGHT 8
22 #define BIOS_DEFAULT_VIDEO_MODE 0x03
23 #define BIOS_MAX_PAGES 8
24 #define BIOS_MAX_VIDEO_MODE 0x13
25 #define DEFAULT_ATTRIBUTE 0x07
27 #define GRAPHICS_VIDEO_SEG 0xA000
28 #define TEXT_VIDEO_SEG 0xB800
29 #define VIDEO_BIOS_DATA_SEG 0xC000
31 #define FONT_8x8_OFFSET 0x0000
32 #define FONT_8x8_HIGH_OFFSET 0x0400
33 #define FONT_8x16_OFFSET 0x0800
34 #define FONT_8x14_OFFSET 0x1800
39 SCROLL_DIRECTION_DOWN
,
40 SCROLL_DIRECTION_LEFT
,
41 SCROLL_DIRECTION_RIGHT
44 /* FUNCTIONS ******************************************************************/
46 VOID
VidBiosSyncCursorPosition(VOID
);
48 VOID WINAPI
VidBiosVideoService(LPWORD Stack
);
50 VOID
VidBiosDetachFromConsole(VOID
);
51 VOID
VidBiosAttachToConsole(VOID
);
53 BOOLEAN
VidBiosInitialize(VOID
);
54 VOID
VidBiosCleanup(VOID
);