Changeset 593 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Timestamp:
- Jun 30, 2018, 8:27:04 AM (6 years ago)
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/EEPROM.asm
r592 r593 189 189 cld 190 190 %endif 191 ;%if g_rgwEepromTypeToSizeInWords = 0 ; *FIXME* It really is but NASM won't accept this. 192 mov cx, [cs:bx] 193 ;%else 194 ; mov cx, [cs:bx+g_rgwEepromTypeToSizeInWords] 195 ;%endif 191 mov cx, [cs:bx+g_rgwEepromTypeToSizeInWords] 196 192 rep movsw 197 193 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Flash.asm
r592 r593 292 292 loop .WriteActualDataByteAfterSdpCommand 293 293 sti ; Enable interrupts 294 ; Fall to WaitUntilEepromPageWriteHasCompleted294 ; Fall to .WaitUntilEepromPageWriteHasCompleted 295 295 296 296 … … 305 305 ; AX, BX, DI, DS, ES 306 306 ;-------------------------------------------------------------------- 307 ALIGN JUMP_ALIGN 308 WaitUntilEepromPageWriteHasCompleted: 307 .WaitUntilEepromPageWriteHasCompleted: 309 308 push ss 310 309 pop ds … … 325 324 ret 326 325 326 327 327 ;-------------------------------------------------------------------- 328 328 ; DisplayFlashProgressWithPagesLeftInCXandFlashvarsInSSBP -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
r592 r593 85 85 ret 86 86 .DosVersionIsOK: 87 mov [bDosVersionMajor], al ; bDosVersionMajor must be initialized by the application (library code depends on it) 88 cmp al, 5 89 jb SHORT .DoNotInstallInt2FhHandler 90 ; Since we are installing our Int2Fh handler we must also hook interrupt 23h to ensure a clean exit on ctrl-c/ctrl-break 91 call HookInterrupt23h 92 call HookInterrupt2Fh 93 .DoNotInstallInt2FhHandler: 87 94 88 95 mov ax, SCREEN_BACKGROUND_CHARACTER_AND_ATTRIBUTE … … 93 100 mov ax, DOS_BACKGROUND_CHARACTER_AND_ATTRIBUTE 94 101 call InitializeScreenWithBackgroundCharAndAttrInAX 102 103 call UnhookInterrupt2Fh 95 104 96 105 ; Exit to DOS … … 156 165 ; Section containing uninitialized data 157 166 SECTION .bss 167 168 bDosVersionMajor: resb 1 169 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/FlashMenu.asm
r592 r593 346 346 .GetSelectedEepromSizeInWordsToAX: 347 347 eMOVZX bx, [cs:g_cfgVars+CFGVARS.bEepromType] 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 348 mov ax, [cs:bx+g_rgwEepromTypeToSizeInWords] 353 349 ret 350 354 351 355 352 ;--------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.