Changeset 525 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages
- Timestamp:
- Mar 14, 2013, 9:45:07 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/MainMenu.asm
r376 r525 3 3 4 4 ; 5 ; XTIDE Universal BIOS and Associated Tools 5 ; XTIDE Universal BIOS and Associated Tools 6 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. 7 7 ; … … 10 10 ; the Free Software Foundation; either version 2 of the License, or 11 11 ; (at your option) any later version. 12 ; 12 ; 13 13 ; This program is distributed in the hope that it will be useful, 14 14 ; but WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 ; GNU General Public License for more details. 16 ; GNU General Public License for more details. 17 17 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 18 ; 18 ; 19 19 20 20 ; Section containing initialized data … … 29 29 iend 30 30 31 g_MenuitemMainMenuLicense: 31 g_MenuitemMainMenuLicense: 32 32 istruc MENUITEM 33 33 at MENUITEM.fnActivate, dw Menuitem_DisplayHelpMessageFromDSSI … … 35 35 at MENUITEM.szQuickInfo, dw g_szNfoMainLicense 36 36 at MENUITEM.szHelp, dw g_szHelpMainLicense 37 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE 38 at MENUITEM.bType, db TYPE_MENUITEM_ACTION 39 iend 40 37 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE 38 at MENUITEM.bType, db TYPE_MENUITEM_ACTION 39 iend 40 41 41 g_MenuitemMainMenuLoadBiosFromFile: 42 42 istruc MENUITEM … … 89 89 iend 90 90 91 g_MenuitemMainMenuSaveFile: 91 g_MenuitemMainMenuSaveFile: 92 92 istruc MENUITEM 93 93 at MENUITEM.fnActivate, dw BiosFile_SaveUnsavedChanges … … 97 97 at MENUITEM.bFlags, db NULL 98 98 at MENUITEM.bType, db TYPE_MENUITEM_ACTION 99 iend 99 iend 100 100 101 101 g_MenuitemMainMenuExitToDos: … … 109 109 iend 110 110 111 g_MenuitemMainMenuHomePage: 111 g_MenuitemMainMenuHomePage: 112 112 istruc MENUITEM 113 113 at MENUITEM.fnActivate, dw Menuitem_DisplayHelpMessageFromDSSI … … 115 115 at MENUITEM.szQuickInfo, dw g_szNfoMainHomePage 116 116 at MENUITEM.szHelp, dw g_szNfoMainHomePage 117 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE 118 at MENUITEM.bType, db TYPE_MENUITEM_ACTION 119 iend 117 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE 118 at MENUITEM.bType, db TYPE_MENUITEM_ACTION 119 iend 120 120 121 121 … … 139 139 call .EnableOrDisableConfigureXtideUniversalBios 140 140 call .EnableOrDisableFlashEeprom 141 call .EnableOrDisableSave 141 call .EnableOrDisableSave 142 142 mov si, g_MenupageForMainMenu 143 143 jmp Menupage_ChangeToNewMenupageInDSSI … … 220 220 ; Nothing 221 221 ;-------------------------------------------------------------------- 222 ALIGN JUMP_ALIGN 223 .EnableOrDisableSave: 222 ALIGN JUMP_ALIGN 223 .EnableOrDisableSave: 224 224 test WORD [g_cfgVars+CFGVARS.wFlags], FLG_CFGVARS_FILELOADED 225 225 jz SHORT .DisableSave … … 227 227 ret 228 228 229 ALIGN JUMP_ALIGN 229 ALIGN JUMP_ALIGN 230 230 .DisableSave: 231 231 and BYTE [g_MenuitemMainMenuSaveFile+MENUITEM.bFlags], ~FLG_MENUITEM_VISIBLE 232 232 ret 233 233 234 234 ;-------------------------------------------------------------------- 235 235 ; MENUITEM activation functions (.fnActivate) … … 243 243 ALIGN JUMP_ALIGN 244 244 ExitToDosSelectedFromMenu: 245 CALL_MENU_LIBRARY CloseMenuIfExitEventAllows 246 ExitToDosFromBackButton: 247 ret 245 JMP_MENU_LIBRARY CloseMenuIfExitEventAllows 248 246 249 247 … … 262 260 .CancelFileLoading: 263 261 add sp, BYTE FILE_DIALOG_IO_size 262 ExitToDosFromBackButton: 264 263 ret 265 264 … … 284 283 jmp Dialogs_DisplayNotificationFromCSDX 285 284 286 287
Note:
See TracChangeset
for help on using the changeset viewer.