Changeset 124 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization


Ignore:
Timestamp:
Mar 2, 2011, 7:42:19 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Some boot menu fixes but menu does not work yet.
File:
1 edited

Legend:

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

    r102 r124  
    120120; Returns number of Floppy Drives in system.
    121121;
    122 ; FloppyDrive_GetCount
     122; FloppyDrive_GetCountToCX
    123123;   Parameters:
    124124;       Nothing
     
    129129;--------------------------------------------------------------------
    130130ALIGN JUMP_ALIGN
    131 FloppyDrive_GetCount:
     131FloppyDrive_GetCountToCX:
    132132    push    es
    133133%ifdef USE_AT
    134     call    FloppyDrive_GetCountFromBIOS
     134    call    GetCountFromBIOS
    135135%else
    136     call    FloppyDrive_GetCountFromBDA
     136    call    GetCountFromBDA
    137137%endif
    138138    MAX_U   cl, [cs:ROMVARS.bMinFddCnt]
     
    147147; if this function fails.
    148148;
    149 ; FloppyDrive_GetCountFromBIOS
     149; GetCountFromBIOS
    150150;   Parameters:
    151151;       Nothing
     
    159159%ifdef USE_AT
    160160ALIGN JUMP_ALIGN
    161 FloppyDrive_GetCountFromBIOS:
     161GetCountFromBIOS:
    162162    push    di
    163163    push    dx
     
    182182; This function should be used only if FloppyDrive_GetCountFromBIOS fails.
    183183;
    184 ; FloppyDrive_GetCountFromBDA
     184; GetCountFromBDA
    185185;   Parameters:
    186186;       Nothing
     
    192192%ifndef USE_AT
    193193ALIGN JUMP_ALIGN
    194 FloppyDrive_GetCountFromBDA:
     194GetCountFromBDA:
    195195    LOAD_BDA_SEGMENT_TO es, cx
    196196    mov     cl, [es:BDA.wEquipment]         ; Load Equipment WORD low byte
Note: See TracChangeset for help on using the changeset viewer.