Changeset 277 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm


Ignore:
Timestamp:
Feb 28, 2012, 2:45:48 PM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Moved the bulk of the serial code to the assembly library, for inclusion in other utilities. Fixed a bug in int13h.asm when floppy support was not enabled that was preventing foreign drives from working properly.

File:
1 edited

Legend:

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

    r263 r277  
    3636    jz      short .OurFunction                      ; we handle all function 0h requests (resets)
    3737    cmp     ah, 8
    38 %ifdef MODULE_SERIAL_FLOPPY
    39     jnz     SHORT Int13h_DirectCallToAnotherBios    ; we handle all traffic for function 08h,
    40                                                     ; as we need to wrap both hard disk and floppy drive counts
    41 %else
    42     jz      SHORT .OurFunction                      ; we handle all *hard disk* (only) traffic for function 08h,
    43                                                     ; as we need to wrap the hard disk drive count
    44     test    dl, dl
     38    jnz     SHORT Int13h_DirectCallToAnotherBios    ; non-8h function, handled by foreign bios
     39
     40%ifndef MODULE_SERIAL_FLOPPY
     41; With floppy support, we handle all traffic for function 08h, as we need to wrap both hard disk and
     42; floppy drive counts.  Without floppy support, we handle only hard disk traffic for function 08h,
     43; and thus need the check below.
     44;
     45    test    dl, dl                             
    4546    jns     SHORT Int13h_DirectCallToAnotherBios
    4647%endif     
Note: See TracChangeset for help on using the changeset viewer.