- Timestamp:
- Mar 14, 2011, 10:24:33 AM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/BiosFile.asm
r136 r138 151 151 push ds 152 152 153 mov al, FILE_ACCESS.WriteOnly154 call FileIO_OpenWithPathInDSSIandFileAccessInAL155 jc SHORT .DisplayErrorMessage156 157 153 call Buffers_GenerateChecksum 158 154 call Buffers_GetFileBufferToESDI 159 call Registers_CopyESDItoDSSI160 155 mov ax, [cs:g_cfgVars+CFGVARS.wImageSizeInWords] 161 156 call EEPROM_GetSmallestEepromSizeInWordsToCXforImageWithWordSizeInAX 162 157 xor dx, dx 163 158 shl cx, 1 164 rcl dx, 1 ; WORDs to BYTEs 159 rcl dx, 1 ; WORDs to BYTEs 160 161 mov al, FILE_ACCESS.WriteOnly 162 call FileIO_OpenWithPathInDSSIandFileAccessInAL 163 jc SHORT .DisplayErrorMessage 164 165 call Registers_CopyESDItoDSSI 165 166 call FileIO_WriteDXCXbytesFromDSSIusingHandleFromBX 166 167 jc SHORT .DisplayErrorMessage -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/EEPROM.asm
r118 r138 45 45 .CheckNextEepromSize: 46 46 cmp ax, [cs:bx] 47 jbe SHORT .ReturnEepromSizeIn AX47 jbe SHORT .ReturnEepromSizeInCX 48 48 inc bx 49 49 inc bx … … 52 52 ret 53 53 ALIGN JUMP_ALIGN 54 .ReturnEepromSizeIn AX:54 .ReturnEepromSizeInCX: 55 55 mov cx, [cs:bx] 56 56 stc -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/MenuEvents.asm
r109 r138 36 36 cmp bx, MENUEVENT.RefreshItemFromCX ; Above last supported item? 37 37 ja SHORT .EventNotHandled 38 jmp [ bx+.rgfnEventSpecificHandlers]38 jmp [cs:bx+.rgfnEventSpecificHandlers] 39 39 .EventNotHandled: 40 40 .IdleProcessing: … … 72 72 mov WORD [si+MENUINIT.bTitleLines], TITLE_LINES_IN_MENU 73 73 mov WORD [si+MENUINIT.bInfoLines], INFO_LINES_IN_MENU 74 mov WORD[si+MENUINIT.bWidth], MENU_WIDTH74 mov BYTE [si+MENUINIT.bWidth], MENU_WIDTH 75 75 CALL_DISPLAY_LIBRARY GetColumnsToALandRowsToAH 76 76 mov [si+MENUINIT.bHeight], ah
Note:
See TracChangeset
for help on using the changeset viewer.