Changeset 293 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menuitem.asm
- Timestamp:
- Mar 4, 2012, 1:33:52 AM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menuitem.asm
r286 r293 146 146 ALIGN JUMP_ALIGN 147 147 Menuitem_StoreValueFromAXtoMenuitemInDSSI: 148 eMOVZX bx, BYTE[si+MENUITEM.bType]148 eMOVZX bx, [si+MENUITEM.bType] 149 149 cmp bl, TYPE_MENUITEM_HEX 150 150 ja SHORT .InvalidItemType … … 207 207 ; 208 208 ; if the lookup pointer is NULL, no translation is needed 209 ; 209 ; 210 210 mov bx, [si+MENUITEM.itemValue+ITEM_VALUE.rgwChoiceToValueLookup] 211 211 test bx, bx 212 212 jz .StoreByteOrWordValueFromAXtoESDIwithItemInDSSI 213 213 214 214 shl ax, 1 ; Shift for WORD lookup 215 215 add bx, ax … … 234 234 mov bx,[si+MENUITEM.itemValue+ITEM_VALUE.fnValueWriter] 235 235 test bx,bx 236 jz SHORT .NoWriter 237 238 call bx 236 jz SHORT .NoWriter 237 238 call bx 239 239 240 240 .NoWriter: … … 313 313 xor ah, ah ; conversion needs to happen before call to the reader, 314 314 ; in case the reader unpacks the byte to a word 315 315 316 316 .NoConvertWordToByteValue: 317 317 mov bx, [si+MENUITEM.itemValue+ITEM_VALUE.fnValueReader] … … 321 321 call bx 322 322 323 .NoReader: 323 .NoReader: 324 324 pop bx 325 325 pop di
Note:
See TracChangeset
for help on using the changeset viewer.