Changeset 121 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot


Ignore:
Timestamp:
Feb 28, 2011, 5:13:38 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Endianness is now corrected for ATA device names.
  • Converted all BootVars.asm functions to macros in BootVars.inc.
  • Display library is now initialized second time before trying to display boot menu.
Location:
trunk/XTIDE_Universal_BIOS/Src/Boot
Files:
1 deleted
1 edited

Legend:

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

    r100 r121  
    6767    add     si, BYTE ATA1.strModel      ; DS:SI now points drive name
    6868    lea     di, [bx+BOOTNFO.szDrvName]  ; ES:DI now points to name destination
    69     mov     cx, LEN_BOOTNFO_DRV
    70     call    Memory_CopyCXbytesFromDSSItoESDI
     69    mov     cx, LEN_BOOTNFO_DRV / 2     ; Max number of WORDs allowed
     70.CopyNextWord:
     71    lodsw
     72    xchg    al, ah                      ; Change endianness
     73    stosw
     74    loop    .CopyNextWord
    7175    xor     ax, ax
    7276    stosb                               ; Terminate with NULL
Note: See TracChangeset for help on using the changeset viewer.