Ignore:
Timestamp:
Mar 4, 2012, 1:33:52 AM (12 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Commit 1/2 (Library, Configurators and Serial Server):

  • Changed Emulate.inc so that making 286 and 386 versions now works. Additionally, only one processor type define is needed in the makefile.
  • Minor optimizations.
  • Fixed spelling and did some cleaning.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menuitem.asm

    r286 r293  
    146146ALIGN JUMP_ALIGN
    147147Menuitem_StoreValueFromAXtoMenuitemInDSSI:
    148     eMOVZX  bx, BYTE [si+MENUITEM.bType]
     148    eMOVZX  bx, [si+MENUITEM.bType]
    149149    cmp     bl, TYPE_MENUITEM_HEX
    150150    ja      SHORT .InvalidItemType
     
    207207;
    208208; if the lookup pointer is NULL, no translation is needed
    209 ; 
     209;
    210210    mov     bx, [si+MENUITEM.itemValue+ITEM_VALUE.rgwChoiceToValueLookup]
    211211    test    bx, bx
    212212    jz      .StoreByteOrWordValueFromAXtoESDIwithItemInDSSI
    213        
     213
    214214    shl     ax, 1           ; Shift for WORD lookup
    215215    add     bx, ax
     
    234234    mov     bx,[si+MENUITEM.itemValue+ITEM_VALUE.fnValueWriter]
    235235    test    bx,bx
    236     jz      SHORT .NoWriter 
    237 
    238     call    bx     
     236    jz      SHORT .NoWriter
     237
     238    call    bx
    239239
    240240.NoWriter:
     
    313313    xor     ah, ah              ; conversion needs to happen before call to the reader,
    314314                                ; in case the reader unpacks the byte to a word
    315        
     315
    316316.NoConvertWordToByteValue:
    317317    mov     bx, [si+MENUITEM.itemValue+ITEM_VALUE.fnValueReader]
     
    321321    call    bx
    322322
    323 .NoReader:     
     323.NoReader:
    324324    pop     bx
    325325    pop     di
Note: See TracChangeset for help on using the changeset viewer.