Changeset 138 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2


Ignore:
Timestamp:
Mar 14, 2011, 10:24:33 AM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to Configurator v2:

  • Saving changes now works again (got broken in r118).
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  
    151151    push    ds
    152152
    153     mov     al, FILE_ACCESS.WriteOnly
    154     call    FileIO_OpenWithPathInDSSIandFileAccessInAL
    155     jc      SHORT .DisplayErrorMessage
    156 
    157153    call    Buffers_GenerateChecksum
    158154    call    Buffers_GetFileBufferToESDI
    159     call    Registers_CopyESDItoDSSI
    160155    mov     ax, [cs:g_cfgVars+CFGVARS.wImageSizeInWords]
    161156    call    EEPROM_GetSmallestEepromSizeInWordsToCXforImageWithWordSizeInAX
    162157    xor     dx, dx
    163158    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
    165166    call    FileIO_WriteDXCXbytesFromDSSIusingHandleFromBX
    166167    jc      SHORT .DisplayErrorMessage
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/EEPROM.asm

    r118 r138  
    4545.CheckNextEepromSize:
    4646    cmp     ax, [cs:bx]
    47     jbe     SHORT .ReturnEepromSizeInAX
     47    jbe     SHORT .ReturnEepromSizeInCX
    4848    inc     bx
    4949    inc     bx
     
    5252    ret
    5353ALIGN JUMP_ALIGN
    54 .ReturnEepromSizeInAX:
     54.ReturnEepromSizeInCX:
    5555    mov     cx, [cs:bx]
    5656    stc
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/MenuEvents.asm

    r109 r138  
    3636    cmp     bx, MENUEVENT.RefreshItemFromCX ; Above last supported item?
    3737    ja      SHORT .EventNotHandled
    38     jmp     [bx+.rgfnEventSpecificHandlers]
     38    jmp     [cs:bx+.rgfnEventSpecificHandlers]
    3939.EventNotHandled:
    4040.IdleProcessing:
     
    7272    mov     WORD [si+MENUINIT.bTitleLines], TITLE_LINES_IN_MENU
    7373    mov     WORD [si+MENUINIT.bInfoLines], INFO_LINES_IN_MENU
    74     mov     WORD [si+MENUINIT.bWidth], MENU_WIDTH
     74    mov     BYTE [si+MENUINIT.bWidth], MENU_WIDTH
    7575    CALL_DISPLAY_LIBRARY GetColumnsToALandRowsToAH
    7676    mov     [si+MENUINIT.bHeight], ah
Note: See TracChangeset for help on using the changeset viewer.