Changeset 593 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2
- Timestamp:
- Jun 30, 2018, 8:27:04 AM (6 years ago)
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/MenuStructs.inc
r567 r593 20 20 %ifndef MENU_STRUCTS_INC 21 21 %define MENU_STRUCTS_INC 22 23 struc ITEM_VALUE 24 .wRomvarsValueOffset resb 2 ; ROMVARS offset to actual value to be configured 25 .szDialogTitle resb 2 ; Dialog title string 26 27 .szMultichoice resb 2 ; Multiple choices in one string 28 .rgwChoiceToValueLookup resb 2 ; Ptr to lookup table for translating selected choice to actual value 29 .rgszValueToStringLookup: ; Ptr to lookup table for translating value to string 30 .rgszChoiceToStringLookup: 31 .wMinValue resb 2 ; Minimum allowed integer value 32 .wMaxValue: 33 .wValueBitmask resb 2 ; Bitmask for item value flag or field 34 .fnValueReader resb 2 ; Called just after ROMVARS is read, providing a hook for further action 35 .fnValueWriter resb 2 ; Called just before ROMVARS is written, providing a hook for further action 36 .bFieldPosition resb 1 ; Bit field position 37 endstruc 22 38 23 39 struc MENUPAGE … … 61 77 62 78 63 struc ITEM_VALUE64 .wRomvarsValueOffset resb 2 ; ROMVARS offset to actual value to be configured65 .szDialogTitle resb 2 ; Dialog title string66 67 .szMultichoice resb 2 ; Multiple choices in one string68 .rgwChoiceToValueLookup resb 2 ; Ptr to lookup table for translating selected choice to actual value69 .rgszValueToStringLookup: ; Ptr to lookup table for translating value to string70 .rgszChoiceToStringLookup:71 .wMinValue resb 2 ; Minimum allowed integer value72 .wMaxValue:73 .wValueBitmask resb 2 ; Bitmask for item value flag or field74 .fnValueReader resb 2 ; Called just after ROMVARS is read, providing a hook for further action75 .fnValueWriter resb 2 ; Called just before ROMVARS is written, providing a hook for further action76 .bFieldPosition resb 1 ; Bit field position77 endstruc78 79 80 79 %endif ; MENU_STRUCTS_INC -
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 ;-------------------------------------------------------------------- -
trunk/XTIDE_Universal_BIOS_Configurator_v2/makefile
r592 r593 54 54 # Assembler preprocessor defines. # 55 55 ################################################################# 56 DEFINES = EXCLUDE_FROM_XTIDECFG 56 DEFINES = EXCLUDE_FROM_XTIDECFG CLD_NEEDED 57 57 DEFINES_XT = ELIMINATE_CGA_SNOW 58 58 DEFINES_XTPLUS = USE_186 ELIMINATE_CGA_SNOW
Note:
See TracChangeset
for help on using the changeset viewer.