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/VariablesAndDPTs/FindDPT.asm

    r271 r277  
    4343;
    4444    call    RamVars_UnpackFlopCntAndFirstToAL
    45     cbw                                         ; normally 0h, could be ffh if no drives present
    46     adc     ah, al                              ; if no drives present, still ffh (ffh + ffh + 1 = ffh)
    4745    js      SHORT .DiskIsNotHandledByThisBIOS
     46               
     47    cbw                                         ; Always 0h (no floppy drive covered above)
     48    adc     ah, al                              ; Add in first drive number and number of drives
     49
    4850    cmp     ah, dl                              ; Check second drive if two, first drive if only one
    4951    jz      SHORT .CalcDPTForDriveNumber
Note: See TracChangeset for help on using the changeset viewer.