source: xtideuniversalbios/trunk/Configurator/Src/Menupages/Values/SdpCommandValueMenu.asm@ 39

Last change on this file since 39 was 2, checked in by Tomi Tilli, 15 years ago
File size: 1.9 KB
RevLine 
[2]1; File name : SdpCommandValueMenu.asm
2; Project name : XTIDE Univeral BIOS Configurator
3; Created date : 30.4.2010
4; Last update : 30.4.2010
5; Author : Tomi Tilli
6; Description : Menu for selecting SDP command for flashing.
7
8; Section containing initialized data
9SECTION .data
10
11ALIGN WORD_ALIGN
12g_MenuPageSdpCommand:
13istruc MENUPAGE
14 at MENUPAGE.bItemCnt, db 3
15 at MENUPAGE.prgbItemToVal, dw g_rgbSDPMenuitemToValue
16iend
17istruc MENUPAGEITEM ; None
18 at MENUPAGEITEM.fnActivate, dw MainPageItem_ActivateLeaveSubmenu
19 at MENUPAGEITEM.fnNameFormat, dw MenuPageItemFormat_NameForAnyType
20 at MENUPAGEITEM.szName, dw g_szItemSdpNone
21 at MENUPAGEITEM.szInfo, dw g_szNfoSdpNone
22 at MENUPAGEITEM.szHelp, dw g_szNfoSdpNone
23 at MENUPAGEITEM.bFlags, db FLG_MENUPAGEITEM_VISIBLE
24 at MENUPAGEITEM.bType, db TYPE_MENUPAGEITEM_BACK
25iend
26istruc MENUPAGEITEM ; Enable
27 at MENUPAGEITEM.fnActivate, dw MainPageItem_ActivateLeaveSubmenu
28 at MENUPAGEITEM.fnNameFormat, dw MenuPageItemFormat_NameForAnyType
29 at MENUPAGEITEM.szName, dw g_szItemSdpEnable
30 at MENUPAGEITEM.szInfo, dw g_szNfoSdpEnable
31 at MENUPAGEITEM.szHelp, dw g_szNfoSdpEnable
32 at MENUPAGEITEM.bFlags, db FLG_MENUPAGEITEM_VISIBLE
33 at MENUPAGEITEM.bType, db TYPE_MENUPAGEITEM_BACK
34iend
35istruc MENUPAGEITEM ; Disable
36 at MENUPAGEITEM.fnActivate, dw MainPageItem_ActivateLeaveSubmenu
37 at MENUPAGEITEM.fnNameFormat, dw MenuPageItemFormat_NameForAnyType
38 at MENUPAGEITEM.szName, dw g_szItemSdpDisable
39 at MENUPAGEITEM.szInfo, dw g_szNfoSdpDisable
40 at MENUPAGEITEM.szHelp, dw g_szNfoSdpDisable
41 at MENUPAGEITEM.bFlags, db FLG_MENUPAGEITEM_VISIBLE
42 at MENUPAGEITEM.bType, db TYPE_MENUPAGEITEM_BACK
43iend
44
45; Lookup table for SDP command value strings
46g_rgszSdpValueToString:
47 dw g_szValueSdpNone
48 dw g_szValueSdpEnable
49 dw g_szValueSdpDisable
50
51; Lookup table for translating menuitem index to value
52g_rgbSDPMenuitemToValue:
53 db CMD_SDP_NONE
54 db CMD_SDP_ENABLE
55 db CMD_SDP_DISABLE
Note: See TracBrowser for help on using the repository browser.