Foenix A2650 OS/f Library
 
Loading...
Searching...
No Matches
startup.h
1
2/*
3 * startup.h
4 *
5* Created on: Apr 12, 2022
6 * Author: micahbly
7 */
8
9#ifndef STARTUP_H_
10#define STARTUP_H_
11
12
13/* about this class: Startup
14 *
15 * Some flashy stuff to show on the screen when starting up the system. eye candy.
16 *
17 *** things this class needs to be able to do
18 *
19 * clear the screen to all black
20 * load a custom CLUT
21 * load and display a logo graphic in center of screen
22 * show a progress bar
23 * flash meaningless messages under the progress bar. ideally random.
24 *
25 * STRETCH GOALS
26 *
27 *
28 * SUPER STRETCH GOALS
29 *
30 *
31 */
32
33
34/*****************************************************************************/
35/* Includes */
36/*****************************************************************************/
37
38// project includes
39
40
41// C includes
42#include <stdbool.h>
43
44
45// A2560 includes
46#include <mcp/syscalls.h>
47#include "a2560k.h"
48
49
50/*****************************************************************************/
51/* Macro Definitions */
52/*****************************************************************************/
53
54#define SPLASH_WIDTH 272
55#define SPLASH_HEIGHT 400
56
57/*****************************************************************************/
58/* Enumerations */
59/*****************************************************************************/
60
61
62
63/*****************************************************************************/
64/* Structs */
65/*****************************************************************************/
66
67
68
69
70
71/*****************************************************************************/
72/* Global Variables */
73/*****************************************************************************/
74
75
76/*****************************************************************************/
77/* Public Function Prototypes */
78/*****************************************************************************/
79
80
81// **** CONSTRUCTOR AND DESTRUCTOR *****
82
83
84
85
86
87
88// **** xxx functions *****
89
90bool Startup_ShowSplash(void);
91
92
93
94// **** Set xxx functions *****
95
96
97
98
99// **** Get xxx functions *****
100
101
102
103
104
105// **** xxx functions *****
106
107
108
109
110// **** xxx functions *****
111
112
113
114
115#endif /* STARTUP_H_ */
116
117