Changeset 592 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/FlashMenu.asm
- Timestamp:
- Jun 25, 2018, 10:29:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/FlashMenu.asm
r589 r592 185 185 pop ds 186 186 187 cmp WORD [ cs:g_cfgVars+CFGVARS.wEepromSegment], 0188 jne .alreadySet187 cmp WORD [g_cfgVars+CFGVARS.wEepromSegment], 0 188 jne SHORT .AlreadySet 189 189 190 190 push es 191 191 push di 192 192 call EEPROM_FindXtideUniversalBiosROMtoESDI 193 push es 194 pop ax 193 mov ax, es 195 194 pop di 196 195 pop es 197 j c .storeEepromSegment196 jnc SHORT .StoreEepromSegment 198 197 mov ax, DEFAULT_EEPROM_SEGMENT 199 .storeEepromSegment: 200 mov WORD [cs:g_cfgVars+CFGVARS.wEepromSegment], ax 201 202 .alreadySet: 203 198 .StoreEepromSegment: 199 mov [g_cfgVars+CFGVARS.wEepromSegment], ax 200 201 .AlreadySet: 204 202 mov si, g_MenupageForFlashMenu 205 203 jmp Menupage_ChangeToNewMenupageInDSSI … … 256 254 ALIGN JUMP_ALIGN, ret 257 255 .ImageFitsInSelectedEeprom: 256 .DoNotGenerateChecksumByte: 258 257 ret 259 258 … … 271 270 call EEPROM_LoadFromRomToRamComparisonBuffer 272 271 call Buffers_AppendZeroesIfNeeded 273 test WORD[cs:g_cfgVars+CFGVARS.wFlags], FLG_CFGVARS_CHECKSUM272 test BYTE [cs:g_cfgVars+CFGVARS.wFlags], FLG_CFGVARS_CHECKSUM 274 273 jz SHORT .DoNotGenerateChecksumByte 275 274 jmp Buffers_GenerateChecksum 276 .DoNotGenerateChecksumByte:277 ret278 275 279 276 ;-------------------------------------------------------------------- … … 349 346 .GetSelectedEepromSizeInWordsToAX: 350 347 eMOVZX bx, [cs:g_cfgVars+CFGVARS.bEepromType] 351 mov ax, [cs:bx+g_rgwEepromTypeToSizeInWords] 348 ;%if g_rgwEepromTypeToSizeInWords = 0 ; *FIXME* It really is but NASM won't accept this. 349 mov ax, [cs:bx] 350 ;%else 351 ; mov ax, [cs:bx+g_rgwEepromTypeToSizeInWords] 352 ;%endif 352 353 ret 353 354
Note:
See TracChangeset
for help on using the changeset viewer.