Changeset 371 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Timestamp:
- Apr 5, 2012, 7:31:23 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Buffers.asm
r369 r371 100 100 ALIGN JUMP_ALIGN 101 101 Buffers_SetUnsavedChanges: 102 or WORD [ g_cfgVars+CFGVARS.wFlags], FLG_CFGVARS_UNSAVED102 or WORD [cs:g_cfgVars+CFGVARS.wFlags], FLG_CFGVARS_UNSAVED 103 103 ret 104 104 105 105 ALIGN JUMP_ALIGN 106 106 Buffers_ClearUnsavedChanges: 107 and WORD [g_cfgVars+CFGVARS.wFlags], ~FLG_CFGVARS_UNSAVED 108 ret 109 110 ;-------------------------------------------------------------------- 111 ; Buffers_TestLoaded 112 ; Parameters: 113 ; SS:BP: Menu handle 114 ; Returns: 115 ; CF: Set = BIOS Loaded 116 ; Corrupts registers: 117 ; AX 118 ;-------------------------------------------------------------------- 119 ALIGN JUMP_ALIGN 120 Buffers_TestLoaded: 121 test word [cs:g_cfgVars+CFGVARS.wFlags], FLG_CFGVARS_FILELOADED ; Clears CF 122 jz .done 123 stc 124 .done: 125 ret 107 and WORD [cs:g_cfgVars+CFGVARS.wFlags], ~FLG_CFGVARS_UNSAVED 108 ret 126 109 127 110 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
r280 r371 115 115 at CFGVARS.pMenupage, dw g_MenupageForMainMenu 116 116 at CFGVARS.wFlags, dw DEFAULT_CFGVARS_FLAGS 117 at CFGVARS.wEepromSegment, dw DEFAULT_EEPROM_SEGMENT117 at CFGVARS.wEepromSegment, dw 0 118 118 at CFGVARS.bEepromType, db DEFAULT_EEPROM_TYPE 119 119 at CFGVARS.bEepromPage, db DEFAULT_PAGE_SIZE -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/FlashMenu.asm
r293 r371 168 168 push cs 169 169 pop ds 170 171 cmp word [cs:g_cfgVars+CFGVARS.wEepromSegment], 0 172 jnz .alreadySet 173 174 push es 175 push di 176 call EEPROM_FindXtideUniversalBiosROMtoESDI 177 push es 178 pop ax 179 pop di 180 pop es 181 jc .storeEepromSegment 182 mov ax, DEFAULT_EEPROM_SEGMENT 183 .storeEepromSegment: 184 mov word [cs:g_cfgVars+CFGVARS.wEepromSegment], ax 185 186 .alreadySet: 187 170 188 mov si, g_MenupageForFlashMenu 171 189 jmp Menupage_ChangeToNewMenupageInDSSI -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/MainMenu.asm
r336 r371 10 10 at MENUPAGE.fnEnter, dw MainMenu_EnterMenuOrModifyItemVisibility 11 11 at MENUPAGE.fnBack, dw ExitToDosFromBackButton 12 at MENUPAGE.wMenuitems, dw 812 at MENUPAGE.wMenuitems, dw 9 13 13 iend 14 14 … … 72 72 at MENUITEM.bType, db TYPE_MENUITEM_PAGENEXT 73 73 iend 74 75 g_MenuitemMainMenuSaveFile: 76 istruc MENUITEM 77 at MENUITEM.fnActivate, dw BiosFile_SaveUnsavedChanges 78 at MENUITEM.szName, dw g_szItemMainSave 79 at MENUITEM.szQuickInfo, dw g_szNfoMainSave 80 at MENUITEM.szHelp, dw g_szNfoMainSave 81 at MENUITEM.bFlags, db NULL 82 at MENUITEM.bType, db TYPE_MENUITEM_ACTION 83 iend 74 84 75 85 g_MenuitemMainMenuExitToDos: … … 113 123 call .EnableOrDisableConfigureXtideUniversalBios 114 124 call .EnableOrDisableFlashEeprom 125 call .EnableOrDisableSave 115 126 mov si, g_MenupageForMainMenu 116 127 jmp Menupage_ChangeToNewMenupageInDSSI … … 184 195 ret 185 196 186 187 197 ;-------------------------------------------------------------------- 198 ; .EnableOrDisableSave 199 ; Parameters: 200 ; DS: CFGVARS segment 201 ; Returns: 202 ; Nothing 203 ; Corrupts registers: 204 ; Nothing 205 ;-------------------------------------------------------------------- 206 ALIGN JUMP_ALIGN 207 .EnableOrDisableSave: 208 test WORD [g_cfgVars+CFGVARS.wFlags], FLG_CFGVARS_FILELOADED 209 jz SHORT .DisableSave 210 or BYTE [g_MenuitemMainMenuSaveFile+MENUITEM.bFlags], FLG_MENUITEM_VISIBLE 211 ret 212 213 ALIGN JUMP_ALIGN 214 .DisableSave: 215 and BYTE [g_MenuitemMainMenuSaveFile+MENUITEM.bFlags], ~FLG_MENUITEM_VISIBLE 216 ret 217 188 218 ;-------------------------------------------------------------------- 189 219 ; MENUITEM activation functions (.fnActivate) -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm
r369 r371 55 55 g_szItemMainConfigure: db "Configure XTIDE Universal BIOS",NULL 56 56 g_szItemMainFlash: db "Flash EEPROM",NULL 57 g_szItemMainSave: db "Save BIOS back to original file",NULL 57 58 g_szItemMainLicense: db "Copyright and License Information",NULL 58 59 g_szItemMainHomePage: db "Web Links",NULL … … 74 75 g_szNfoMainConfigure: db "Configure XTIDE Universal BIOS settings.",NULL 75 76 g_szNfoMainFlash: db "Flash loaded BIOS image to EEPROM.",NULL 77 g_szNfoMainSave: db "Save BIOS changes back to original file from which it was loaded.",NULL 76 78 g_szNfoMainLicense: db "XTIDE Universal BIOS and XTIDECFG Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. Released under GNU GPL v2, with ABSOLUTELY NO WARRANTY. Press ENTER for more details...",NULL 77 79 g_szNfoMainHomePage: db "Visit http://code.google.com/p/ xtideuniversalbios (home page) and http://vintage-computer.com/ vcforum (support)",NULL
Note:
See TracChangeset
for help on using the changeset viewer.