ReactOS 0.4.15-dev-7934-g1dc8d80
xbox.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Boot Video Driver for Original Xbox
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: Arch-specific header file
5 * COPYRIGHT: Copyright 2004 Gé van Geldorp <gvg@reactos.org>
6 * Copyright 2005 Filip Navara <navaraf@reactos.org>
7 * Copyright 2020 Stanislav Motylkov <x86corez@gmail.com>
8 */
9
10#ifndef _BOOTVID_XBOX_H_
11#define _BOOTVID_XBOX_H_
12
13#pragma once
14
15#define BB_OFFSET(x, y) ((y) * SCREEN_WIDTH + (x))
16#define FB_OFFSET(x, y) (((PanV + (y)) * FrameBufferWidth + PanH + (x)) * BytesPerPixel)
17
18VOID
22
23VOID
25
26VOID
28 _In_ ULONG Left,
31
32VOID
34 _In_ ULONG CurrentTop,
35 _In_ ULONG TopDelta,
36 _In_ BOOLEAN Restore);
37
38VOID
40 _In_ ULONG Scroll);
41
42VOID
44 _In_ CHAR Character,
45 _In_ ULONG Left,
47 _In_ ULONG TextColor,
48 _In_ ULONG BackColor);
49
50#endif /* _BOOTVID_XBOX_H_ */
unsigned char BOOLEAN
static LPHIST_ENTRY Top
Definition: history.c:53
ASMGENDATA Table[]
Definition: genincdata.c:61
#define _In_
Definition: ms_sal.h:308
int Count
Definition: noreturn.cpp:7
uint32_t * PULONG
Definition: typedefs.h:59
uint32_t ULONG
Definition: typedefs.h:59
VOID PreserveRow(_In_ ULONG CurrentTop, _In_ ULONG TopDelta, _In_ BOOLEAN Restore)
Definition: bootvid.c:111
VOID PrepareForSetPixel(VOID)
Definition: vga.c:90
VOID SetPixel(_In_ ULONG Left, _In_ ULONG Top, _In_ UCHAR Color)
Definition: arm.h:55
VOID DisplayCharacter(_In_ CHAR Character, _In_ ULONG Left, _In_ ULONG Top, _In_ ULONG TextColor, _In_ ULONG BackColor)
Definition: bootvid.c:19
VOID DoScroll(_In_ ULONG Scroll)
Definition: bootvid.c:64
VOID InitPaletteWithTable(_In_ PULONG Table, _In_ ULONG Count)
Definition: bootvid.c:172
unsigned char UCHAR
Definition: xmlstorage.h:181
char CHAR
Definition: xmlstorage.h:175