source: xtideuniversalbios/trunk/Configurator/Src/Menupages/BootMenuSettingsMenu.asm@ 410

Last change on this file since 410 was 2, checked in by Tomi Tilli, 15 years ago
File size: 5.4 KB
Line 
1; File name : BootMenuSettingsMenu.asm
2; Project name : XTIDE Univeral BIOS Configurator
3; Created date : 27.4.2010
4; Last update : 27.4.2010
5; Author : Tomi Tilli
6; Description : Menu for configuring boot menu settings.
7
8; Section containing initialized data
9SECTION .data
10
11; -Back to previous menu
12; Default boot drive (80h)
13; Display drive information (Y)
14; Display ROM boot selection (N)
15; Maximum height (20)
16; Minimum number of floppy drives (0)
17; Seconds for selection timeout (20)
18; Swap boot drive numbers (Y)
19
20
21ALIGN WORD_ALIGN
22g_MenuPageBootMenu:
23istruc MENUPAGE
24 at MENUPAGE.bItemCnt, db 8
25iend
26istruc MENUPAGEITEM ; Back to previous menu
27 at MENUPAGEITEM.fnActivate, dw MainPageItem_ActivateLeaveSubmenu
28 at MENUPAGEITEM.fnNameFormat, dw MenuPageItemFormat_NameForAnyType
29 at MENUPAGEITEM.szName, dw g_szPreviousMenu
30 at MENUPAGEITEM.szInfo, dw g_szNfoIdeBack
31 at MENUPAGEITEM.szHelp, dw g_szNfoIdeBack
32 at MENUPAGEITEM.bFlags, db FLG_MENUPAGEITEM_VISIBLE
33 at MENUPAGEITEM.bType, db TYPE_MENUPAGEITEM_BACK
34iend
35istruc MENUPAGEITEM ; Default boot drive
36 at MENUPAGEITEM.fnActivate, dw MenuPageItem_GetHexByteFromUser
37 at MENUPAGEITEM.fnNameFormat, dw MenuPageItemFormat_NameForAnyType
38 at MENUPAGEITEM.pValue, dw g_cfgVars+CFGVARS.rgbEepromBuffers+ROMVARS.bBootDrv
39 at MENUPAGEITEM.wValueMin, dw 0
40 at MENUPAGEITEM.wValueMax, dw 60
41 at MENUPAGEITEM.szName, dw g_szItemBootDrive
42 at MENUPAGEITEM.szInfo, dw g_szNfoBootDrive
43 at MENUPAGEITEM.szHelp, dw g_szHelpBootDrive
44 at MENUPAGEITEM.szDialog, dw g_szDlgBootDrive
45 at MENUPAGEITEM.bFlags, db FLG_MENUPAGEITEM_VISIBLE
46 at MENUPAGEITEM.bType, db TYPE_MENUPAGEITEM_HEX_BYTE
47iend
48istruc MENUPAGEITEM ; Display drive information
49 at MENUPAGEITEM.fnActivate, dw MenuPageItem_GetBoolFromUser
50 at MENUPAGEITEM.fnNameFormat, dw MenuPageItemFormat_NameForAnyType
51 at MENUPAGEITEM.pValue, dw g_cfgVars+CFGVARS.rgbEepromBuffers+ROMVARS.wFlags
52 at MENUPAGEITEM.wValueMask, dw FLG_ROMVARS_DRVNFO
53 at MENUPAGEITEM.szName, dw g_szItemBootInfo
54 at MENUPAGEITEM.szInfo, dw g_szNfoBootInfo
55 at MENUPAGEITEM.szHelp, dw g_szHelpBootInfo
56 at MENUPAGEITEM.szDialog, dw g_szDlgBootInfo
57 at MENUPAGEITEM.bFlags, db FLG_MENUPAGEITEM_VISIBLE
58 at MENUPAGEITEM.bType, db TYPE_MENUPAGEITEM_FLAG
59iend
60istruc MENUPAGEITEM ; Display ROM boot selection
61 at MENUPAGEITEM.fnActivate, dw MenuPageItem_GetBoolFromUser
62 at MENUPAGEITEM.fnNameFormat, dw MenuPageItemFormat_NameForAnyType
63 at MENUPAGEITEM.pValue, dw g_cfgVars+CFGVARS.rgbEepromBuffers+ROMVARS.wFlags
64 at MENUPAGEITEM.wValueMask, dw FLG_ROMVARS_ROMBOOT
65 at MENUPAGEITEM.szName, dw g_szItemBootRomBoot
66 at MENUPAGEITEM.szInfo, dw g_szNfoBootRomBoot
67 at MENUPAGEITEM.szHelp, dw g_szHelpBootRomBoot
68 at MENUPAGEITEM.szDialog, dw g_szDlgBootRomBoot
69 at MENUPAGEITEM.bFlags, db FLG_MENUPAGEITEM_VISIBLE
70 at MENUPAGEITEM.bType, db TYPE_MENUPAGEITEM_FLAG
71iend
72istruc MENUPAGEITEM ; Maximum height
73 at MENUPAGEITEM.fnActivate, dw MenuPageItem_GetByteFromUser
74 at MENUPAGEITEM.fnNameFormat, dw MenuPageItemFormat_NameForAnyType
75 at MENUPAGEITEM.pValue, dw g_cfgVars+CFGVARS.rgbEepromBuffers+ROMVARS.bBootMnuH
76 at MENUPAGEITEM.wValueMin, dw 8
77 at MENUPAGEITEM.wValueMax, dw 25
78 at MENUPAGEITEM.szName, dw g_szItemBootHeight
79 at MENUPAGEITEM.szInfo, dw g_szNfoBootHeight
80 at MENUPAGEITEM.szHelp, dw g_szNfoBootHeight
81 at MENUPAGEITEM.szDialog, dw g_szDlgBootHeight
82 at MENUPAGEITEM.bFlags, db FLG_MENUPAGEITEM_VISIBLE
83 at MENUPAGEITEM.bType, db TYPE_MENUPAGEITEM_UNSIGNED_BYTE
84iend
85istruc MENUPAGEITEM ; Minimum number of floppy drives
86 at MENUPAGEITEM.fnActivate, dw MenuPageItem_GetByteFromUser
87 at MENUPAGEITEM.fnNameFormat, dw MenuPageItemFormat_NameForAnyType
88 at MENUPAGEITEM.pValue, dw g_cfgVars+CFGVARS.rgbEepromBuffers+ROMVARS.bMinFddCnt
89 at MENUPAGEITEM.wValueMin, dw 0
90 at MENUPAGEITEM.wValueMax, dw 127
91 at MENUPAGEITEM.szName, dw g_szItemBootMinFDD
92 at MENUPAGEITEM.szInfo, dw g_szNfoBootMinFDD
93 at MENUPAGEITEM.szHelp, dw g_szHelpBootMinFDD
94 at MENUPAGEITEM.szDialog, dw g_szDlgBootMinFDD
95 at MENUPAGEITEM.bFlags, db FLG_MENUPAGEITEM_VISIBLE
96 at MENUPAGEITEM.bType, db TYPE_MENUPAGEITEM_UNSIGNED_BYTE
97iend
98istruc MENUPAGEITEM ; Seconds for selection timeout
99 at MENUPAGEITEM.fnActivate, dw MenuPageItem_GetByteFromUser
100 at MENUPAGEITEM.fnNameFormat, dw MenuPageItemFormat_NameForAnyType
101 at MENUPAGEITEM.pValue, dw g_cfgVars+CFGVARS.rgbEepromBuffers+ROMVARS.bBootDelay
102 at MENUPAGEITEM.wValueMin, dw 0
103 at MENUPAGEITEM.wValueMax, dw 60
104 at MENUPAGEITEM.szName, dw g_szItemBootTimeout
105 at MENUPAGEITEM.szInfo, dw g_szNfoBootTimeout
106 at MENUPAGEITEM.szHelp, dw g_szHelpBootTimeout
107 at MENUPAGEITEM.szDialog, dw g_szDlgBootTimeout
108 at MENUPAGEITEM.bFlags, db FLG_MENUPAGEITEM_VISIBLE
109 at MENUPAGEITEM.bType, db TYPE_MENUPAGEITEM_UNSIGNED_BYTE
110iend
111istruc MENUPAGEITEM ; Swap boot drive numbers
112 at MENUPAGEITEM.fnActivate, dw MenuPageItem_GetBoolFromUser
113 at MENUPAGEITEM.fnNameFormat, dw MenuPageItemFormat_NameForAnyType
114 at MENUPAGEITEM.pValue, dw g_cfgVars+CFGVARS.rgbEepromBuffers+ROMVARS.wFlags
115 at MENUPAGEITEM.wValueMask, dw FLG_ROMVARS_DRVXLAT
116 at MENUPAGEITEM.szName, dw g_szItemBootSwap
117 at MENUPAGEITEM.szInfo, dw g_szNfoBootSwap
118 at MENUPAGEITEM.szHelp, dw g_szHelpBootSwap
119 at MENUPAGEITEM.szDialog, dw g_szDlgBootSwap
120 at MENUPAGEITEM.bFlags, db FLG_MENUPAGEITEM_VISIBLE
121 at MENUPAGEITEM.bType, db TYPE_MENUPAGEITEM_FLAG
122iend
Note: See TracBrowser for help on using the repository browser.