Changeset 150 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/Int13h.inc


Ignore:
Timestamp:
Apr 29, 2011, 7:04:13 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Redesigned Disk Parameter Tables.
  • Code generalizations for supporting non-IDE devices in the future.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/Int13h.inc

    r28 r150  
    1 ; File name     :   Int13h.inc
    2 ; Project name  :   IDE BIOS
    3 ; Created date  :   23.3.2010
    4 ; Last update   :   29.7.2010
    5 ; Author        :   Tomi Tilli
     1; Project name  :   XTIDE Universal BIOS
    62; Description   :   Equates used in INT 13h functions.
    73%ifndef INT13H_INC
     
    4036
    4137
    42 ; Timeout values for IDE controller timeout
    43 ; 255 is the maximum value. Zero means immediate timeout.
    44 B_TIMEOUT_BSY           EQU     (1000/55)   ; 1000 ms
    45 B_TIMEOUT_RDY           EQU     (1000/55)   ; 1000 ms
    46 B_TIMEOUT_DRQ           EQU     255         ;   14 s (some CF cards occasionally have long write delays)
    47 B_TIMEOUT_DRVINFO       EQU     (500/55)    ;  500 ms
    48 B_TIMEOUT_RESET         EQU     255         ;   14 s
    49 
    50 
    51 
    5238; Floppy Drive types returned by INT 13h, AH=08h
    5339FLOPPY_TYPE_525_OR_35_DD    EQU 0
     
    5945
    6046
     47MAX_SUPPORTED_BLOCK_SIZE_IN_SECTORS     EQU     64
     48
     49%define TIMEOUT_AND_STATUS_TO_WAIT(timeout, status)     (((timeout)<<8) | (status))
     50
     51
    6152%endif ; INT13H_INC
Note: See TracChangeset for help on using the changeset viewer.