Ignore:
Timestamp:
Nov 13, 2011, 3:38:40 PM (12 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to all parts of the project:

  • Size optimizations.
  • Added a define (EXCLUDE_FROM_XTIDECFG) to exclude unused library code from XTIDECFG.
  • Tried to minimize time spent with interrupts disabled.
  • Some minor attempts to improve speed (reordering instructions etc).
  • Tried to improve readability, did some cleanup and fixed some errors in comments.
File:
1 edited

Legend:

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

    r138 r181  
    9292    call    Registers_ExchangeDSSIwithESDI
    9393    call    FileIO_ReadDXCXbytesToDSSIusingHandleFromBX
    94     jnc     SHORT .StoreFileNameToCfgvarsFromESDI
    95 
    96     pop     es
    97     ret
    98 
    99 ALIGN JUMP_ALIGN
    100 .StoreFileNameToCfgvarsFromESDI:
     94    jc      SHORT .ReturnError
     95
     96    ; Store filename to Cfgvars from ESDI
    10197    push    cx
    10298
     
    107103    cld
    108104    call    String_CopyDSSItoESDIandGetLengthToCX
     105    clc
    109106
    110107    pop     cx
     108ALIGN JUMP_ALIGN
     109.ReturnError:
    111110    pop     es
    112     clc
    113111    ret
    114112
     
    157155    xor     dx, dx
    158156    shl     cx, 1
    159     rcl     dx, 1           ; WORDs to BYTEs   
     157    rcl     dx, 1           ; WORDs to BYTEs
    160158
    161159    mov     al, FILE_ACCESS.WriteOnly
Note: See TracChangeset for help on using the changeset viewer.