Changeset 83 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootInfo.asm


Ignore:
Timestamp:
Jan 6, 2011, 11:00:54 PM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Minor size optimizations in various files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Boot/BootInfo.asm

    r3 r83  
    22; Project name  :   IDE BIOS
    33; Created date  :   16.3.2010
    4 ; Last update   :   9.4.2010
    5 ; Author        :   Tomi Tilli
     4; Last update   :   6.1.2011
     5; Author        :   Tomi Tilli,
     6;               :   Krister Nordvall (optimizations)
    67; Description   :   Functions for generating and accessing drive
    78;                   information to be displayed on boot menu.
     
    5051    sub     bl, [RAMVARS.bFirstDrv]     ; Drive number to index
    5152    mul     bl                          ; AX = Offset inside BOOTNFO array
    52     mov     bx, ax                      ; Copy offset to BX
    53     add     bx, BOOTVARS.rgBootNfo      ; Add offset to BOOTNFO array
     53    add     ax, BOOTVARS.rgBootNfo      ; Add offset to BOOTNFO array
     54    xchg    bx, ax                      ; Copy result to BX
    5455    ret
    5556
Note: See TracChangeset for help on using the changeset viewer.