Changeset 434 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src


Ignore:
Timestamp:
Jun 19, 2012, 6:18:46 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Quick fix to AH=00h: Error code is again preserved if entry DL contains foreign drive number.
Location:
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h
Files:
2 edited

Legend:

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

    r433 r434  
    4141    xor     bx, bx                      ; Zero BH to assume no errors
    4242    or      bl, dl                      ; Copy requested drive to BL
    43     eCMOVS  dl, bh                      ; Reset Floppy Drive 00h since DL has Hard Drive number
     43    eCMOVS  dl, bh                      ; Reset Floppy Drive(s) with 00h since DL has Hard Drive number
    4444
    4545    xor     ah, ah                      ; Disk Controller Reset
     
    9090; ResetForeignHardDisks
    9191;   Parameters:
    92 ;       BL:     Requested drive (DL when entering AH=00h)
     92;       BL:     Requested Hard Drive (DL when entering AH=00h)
    9393;       DS:     RAMVARS segment
    9494;   Returns:
     
    105105    cmp     [RAMVARS.bFirstDrv], dl
    106106    je      SHORT NoForeignDrivesToReset
     107
     108    cmp     bl, [RAMVARS.bFirstDrv]
     109    eCMOVB  dl, bl                  ; DL when entering AH=00h
    107110
    108111    xor     ah, ah                  ; Disk Controller Reset
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH8h_HParams.asm

    r421 r434  
    3535;               Bits 5...0: Maximum sector number (1...63)
    3636;       DH:     Maximum head number (0...254)
    37 ;       DL:     Number of drives
     37;       DL:     Number of drives!!!
    3838;       ES:DI:  Floppy DPT (for floppies only)
    3939;       AH:     Int 13h/40h floppy return status
Note: See TracChangeset for help on using the changeset viewer.