Last change
on this file since 602 was 583, checked in by krille_n_@…, 10 years ago |
Changes:
- Changed BOOT_MENU_DEFAULT_TIMEOUT to reduce rounding error.
- Minor optimizations and fixes, mostly to the menu library code.
|
File size:
1.4 KB
|
Line | |
---|
1 | ; Project name : XTIDE Universal BIOS
|
---|
2 | ; Description : Equates and structs used in Boot Menu.
|
---|
3 |
|
---|
4 | ;
|
---|
5 | ; XTIDE Universal BIOS and Associated Tools
|
---|
6 | ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team.
|
---|
7 | ;
|
---|
8 | ; This program is free software; you can redistribute it and/or modify
|
---|
9 | ; it under the terms of the GNU General Public License as published by
|
---|
10 | ; the Free Software Foundation; either version 2 of the License, or
|
---|
11 | ; (at your option) any later version.
|
---|
12 | ;
|
---|
13 | ; This program is distributed in the hope that it will be useful,
|
---|
14 | ; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
15 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
16 | ; GNU General Public License for more details.
|
---|
17 | ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
---|
18 | ;
|
---|
19 |
|
---|
20 | %ifndef BOOTMENU_INC
|
---|
21 | %define BOOTMENU_INC
|
---|
22 |
|
---|
23 | ; Boot menu sizes
|
---|
24 | BOOT_MENU_DEFAULT_TIMEOUT EQU (TICKS_PER_MINUTE / 2)
|
---|
25 | BOOT_MENU_TITLE_LINES EQU 2 ; Number of title lines
|
---|
26 | BOOT_MENU_INFO_LINES EQU 3 ; Number of info lines
|
---|
27 | BOOT_MENU_SEPARATOR_LINES_PLUS_SHADOW EQU 5
|
---|
28 | BOOT_MENU_TITLE_AND_INFO_LINES EQU (BOOT_MENU_TITLE_LINES | (BOOT_MENU_INFO_LINES<<8))
|
---|
29 | BOOT_MENU_WIDTH EQU 40 ; Menu width in characters (including shadow)
|
---|
30 | BOOT_MENU_HEIGHT_WITHOUT_ITEMS EQU (BOOT_MENU_TITLE_LINES + BOOT_MENU_INFO_LINES + BOOT_MENU_SEPARATOR_LINES_PLUS_SHADOW)
|
---|
31 | MENU_SCREEN_BOTTOM_LINES EQU 1
|
---|
32 |
|
---|
33 |
|
---|
34 | %endif ; BOOTMENU_INC
|
---|
Note:
See
TracBrowser
for help on using the repository browser.