Ignore:
Timestamp:
Jan 30, 2011, 6:43:08 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Inlined some initialization functions.
  • Removed alignment bytes from some initialization functions.
  • Removed creation of compatible DPTs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm

    r96 r97  
    1616;       AX, SI
    1717;--------------------------------------------------------------------
    18 ALIGN JUMP_ALIGN
    1918DetectPrint_RomFoundAtSegment:
    2019    push    bp
    21 
     20    mov     bp, sp
    2221    mov     si, g_szRomAt
    23     mov     bp, sp
    2422    ePUSH_T ax, ROMVARS.szTitle         ; Bios title string
    2523    push    cs                          ; BIOS segment
     
    2826
    2927;--------------------------------------------------------------------
    30 ; Displays IDE drive detection string for specific device.
    31 ;
    32 ; DetectPrint_StartingMasterDetect
    33 ; DetectPrint_StartingSlaveDetect
    34 ;   Parameters:
    35 ;       CS:BP:  Ptr to IDEVARS
    36 ;   Returns:
    37 ;       Nothing
    38 ;   Corrupts registers:
    39 ;       AX, SI
    40 ;--------------------------------------------------------------------
    41 ALIGN JUMP_ALIGN
    42 DetectPrint_StartingMasterDetect:
    43     mov     ax, g_szMaster
    44     jmp     SHORT DetectPrint_StartingDriveDetect
    45 ALIGN JUMP_ALIGN
    46 DetectPrint_StartingSlaveDetect:
    47     mov     ax, g_szSlave
    48     ; Fall to DetectPrint_StartingDriveDetect
    49 
    50 ;--------------------------------------------------------------------
    51 ; Displays IDE drive detection string.
    52 ;
    53 ; DetectPrint_StartingDriveDetect
     28; DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP
    5429;   Parameters:
    5530;       CS:AX:  Ptr to "Master" or "Slave" string
     
    6035;       AX, SI
    6136;--------------------------------------------------------------------
    62 ALIGN JUMP_ALIGN
    63 DetectPrint_StartingDriveDetect:
     37DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP:
    6438    push    bp
    65 
    6639    mov     si, [cs:bp+IDEVARS.wPort]
    6740    mov     bp, sp
     
    8659;       AX, SI
    8760;--------------------------------------------------------------------
    88 ALIGN JUMP_ALIGN
    8961DetectPrint_DriveNameOrNotFound:
    9062    push    di
     
    10173    ret
    10274
    103 ALIGN JUMP_ALIGN
    10475.PrintDriveNotFound:
    10576    mov     si, g_szNotFound
Note: See TracChangeset for help on using the changeset viewer.