Changeset 252 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h


Ignore:
Timestamp:
Feb 18, 2012, 2:12:54 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Boot menu now shows only one capacity.
  • Added "strings" makefile target to compress strings.
File:
1 edited

Legend:

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

    r227 r252  
    2525ALIGN JUMP_ALIGN
    2626AH15h_HandlerForReadDiskDriveSize:
    27     call    AH15h_GetSectorCountToDXAX
     27    call    AH15h_GetSectorCountToBXDXAX
    2828    mov     [bp+IDEPACK.intpack+INTPACK.cx], dx         ; HIWORD to CX
    2929    mov     [bp+IDEPACK.intpack+INTPACK.dx], ax         ; LOWORD to DX
     
    3737;--------------------------------------------------------------------
    3838; AH15h_GetSectorCountFromForeignDriveToDXAX:
    39 ; AH15h_GetSectorCountToDXAX:
     39; AH15h_GetSectorCountToBXDXAX:
    4040;   Parameters:
    41 ;       DL:     Drive number
     41;       DL:     Drive number (AH15h_GetSectorCountFromForeignDriveToDXAX only)
    4242;       DS:     RAMVARS segment
    43 ;       DS:DI:  Ptr to DPT (AH15h_GetSectorCount only)
     43;       DS:DI:  Ptr to DPT (AH15h_GetSectorCountToDXAX only)
    4444;   Returns:
    4545;       DX:AX:  Total sector count
     
    5353    jmp     SHORT ConvertAH08hReturnValuesToSectorCount
    5454
    55 AH15h_GetSectorCountToDXAX:
     55AH15h_GetSectorCountToBXDXAX:
    5656    call    AH8h_GetDriveParameters
    5757    ; Fall to ConvertAH08hReturnValuesToSectorCount
Note: See TracChangeset for help on using the changeset viewer.