Changeset 525 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Timestamp:
- Mar 14, 2013, 9:45:07 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/AutoConfigure.asm
r523 r525 174 174 ALIGN JUMP_ALIGN 175 175 StoreAndDisplayNumberOfControllers: 176 mov ax, 1 177 MAX_U al, cl ; Cannot store zero 176 xor ax, ax 177 or al, cl 178 jnz SHORT .AtLeastOneController 179 inc ax ; Cannot store zero 180 .AtLeastOneController: 178 181 test BYTE [di+ROMVARS.wFlags], FLG_ROMVARS_FULLMODE 179 182 jnz SHORT .FullModeSoNoNeedToLimit -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Dialogs.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 code … … 190 190 mov dx, ds 191 191 mov ax, bx 192 CALL_MENU_LIBRARY StartProgressTaskWithIoInDSSIandParamInDXAX 193 ret 192 JMP_MENU_LIBRARY StartProgressTaskWithIoInDSSIandParamInDXAX 194 193 195 194 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
r505 r525 1 ; Project name : XTIDE Univer al BIOS Configurator v21 ; Project name : XTIDE Universal BIOS Configurator v2 2 2 ; Description : Program start and exit. 3 3 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/MenuEvents.asm
r505 r525 33 33 MenuEvents_DisplayMenu: 34 34 mov bx, MenuEventHandler 35 CALL_MENU_LIBRARY DisplayWithHandlerInBXandUserDataInDXAX 36 ret 35 JMP_MENU_LIBRARY DisplayWithHandlerInBXandUserDataInDXAX 37 36 38 37 … … 218 217 jnz SHORT .PrintNameOfLoadedFile 219 218 test ax, FLG_CFGVARS_ROMLOADED 220 jnz SHORT .PrintLoadedEeprom 219 mov si, g_szEEPROM 220 jnz SHORT .PrintNameOfLoadedFileOrEeprom 221 221 ; Fall to .PrintNothingLoaded 222 222 … … 228 228 .PrintNameOfLoadedFile: 229 229 mov si, g_cfgVars+CFGVARS.szOpenedFile 230 CALL_DISPLAY_LIBRARY PrintNullTerminatedStringFromCSSI 231 jmp SHORT .PrintTypeOfLoadedBios 232 233 ALIGN JUMP_ALIGN 234 .PrintLoadedEeprom: 235 mov si, g_szEEPROM 230 ; Fall to .PrintNameOfLoadedFileOrEeprom 231 232 ALIGN JUMP_ALIGN 233 .PrintNameOfLoadedFileOrEeprom: 236 234 CALL_DISPLAY_LIBRARY PrintNullTerminatedStringFromCSSI 237 235 ; Fall to .PrintTypeOfLoadedBios 238 236 239 ALIGN JUMP_ALIGN240 237 .PrintTypeOfLoadedBios: 241 238 mov si, g_szSourceAndTypeSeparator -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menuitem.asm
r425 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 code … … 168 168 call GetConfigurationBufferToESDIforMenuitemInDSSI 169 169 add di, [si+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset] 170 170 171 171 push bx 172 172 mov bx,[si+MENUITEM.itemValue+ITEM_VALUE.fnValueWriter] … … 176 176 .NoWriter: 177 177 pop bx 178 178 179 179 jmp [cs:bx+.rgfnJumpToStoreValueBasedOnItemType] 180 180 .InvalidItemType: … … 295 295 CALL_MENU_LIBRARY RefreshTitle 296 296 CALL_MENU_LIBRARY GetHighlightedItemToAX 297 CALL_MENU_LIBRARY RefreshItemFromAX 298 ret 297 JMP_MENU_LIBRARY RefreshItemFromAX 299 298 300 299 ALIGN JUMP_ALIGN -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupage.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 code … … 39 39 xor ax, ax 40 40 CALL_MENU_LIBRARY HighlightItemFromAX 41 CALL_MENU_LIBRARY RefreshWindow 42 ret 41 JMP_MENU_LIBRARY RefreshWindow 43 42 44 43 -
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.