Ignore:
Timestamp:
Feb 28, 2011, 12:16:21 PM (14 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to the XTIDE Universal BIOS:

  • Bugfix: The stack swapping in BootVars_SwitchBackToPostStack wasn't really an atomic operation anymore (on 186 and 286 CPUs) so I reverted the change I did in the previous revision.
  • A very small size optimization in AH15h_HSize.asm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH15h_HSize.asm

    r35 r117  
    1 ; File name     :   AH15h_HSize.asm
    2 ; Project name  :   IDE BIOS
    3 ; Created date  :   28.9.2007
    4 ; Last update   :   24.8.2010
    5 ; Author        :   Tomi Tilli
     1; Project name  :   XTIDE Universal BIOS
    62; Description   :   Int 13h function AH=15h, Read Disk Drive Size.
    73
     
    3632    push    ax
    3733
    38     call    HCapacity_GetSectorCountFromOurAH08h; Sector count to DX:AX
     34    call    HCapacity_GetSectorCountFromOurAH08h; Sector count to DX:AX (clears CF)
    3935    mov     cx, dx                              ; HIWORD to CX
    4036    xchg    dx, ax                              ; LOWORD to DX
     
    4339    pop     bx
    4440    mov     ah, 3                               ; Type code = Hard disk
    45     clc
    4641    jmp     Int13h_ReturnWithValueInDL
Note: See TracChangeset for help on using the changeset viewer.