Changeset 155 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Main.asm


Ignore:
Timestamp:
May 1, 2011, 6:44:29 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • AH=4h again uses VERIFY command (copy-pasting had changed it to WRITE).
  • Timeout should now work on all overflow situations.
  • Cleaned code a bit.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Main.asm

    r152 r155  
    119119
    120120
    121 ; Include .asm files (static data and libraries)
     121; Libraries and data
    122122%include "AssemblyLibrary.asm"
    123123%include "Strings.asm"          ; For BIOS message strings
    124124
    125 ; Include .asm files (Initialization and drive detection)
     125; Initialization and drive detection
    126126%include "Initialize.asm"       ; For BIOS initialization
    127127%include "Interrupts.asm"       ; For Interrupt initialization
     
    135135%include "DetectPrint.asm"      ; For printing drive detection strings
    136136
    137 ; Include .asm files (boot menu)
     137; Boot menu
    138138%include "BootMenu.asm"         ; For Boot Menu operations
    139139%include "BootMenuEvent.asm"    ; For menu library event handling
     
    144144%include "BootMenuPrintCfg.asm" ; For printing hard disk configuration
    145145
    146 ; Include .asm files (general drive accessing)
    147 %include "DriveXlate.asm"       ; For swapping drive numbers
    148 %include "HAddress.asm"         ; For sector address translations
    149 %include "HTimer.asm"           ; For timeout and delay
    150 
    151 ; Include .asm files (Interrupt handlers)
    152 %include "Int13h.asm"           ; For Int 13h, Disk functions
     146; Boot loader
    153147%ifndef USE_AT
    154148    %include "Int19hLate.asm"   ; For late initialization
     
    156150%include "Int19hMenu.asm"       ; For Int 19h, Boot Loader for Boot Menu
    157151
    158 ; Include .asm files (Hard Disk BIOS functions)
     152; For all device types
     153%include "Device.asm"
     154%include "Idepack.asm"
     155%include "Timer.asm"            ; For timeout and delay
     156
     157; IDE Device support
     158%include "IdeCommand.asm"
     159%include "IdeDPT.asm"
     160%include "IdeIO.asm"
     161%include "IdeIrq.asm"
     162%include "IdeTransfer.asm"
     163%include "IdeWait.asm"
     164%include "IdeError.asm"         ; Must be included after IdeWait.asm
     165
     166; Serial Port Device support
     167%include "SerialCommand.asm"
     168%include "SerialDPT.asm"
     169
     170; INT 13h Hard Disk BIOS functions
     171%include "DriveXlate.asm"       ; For swapping drive numbers
     172%include "Address.asm"          ; For sector address translations
     173%include "Int13h.asm"           ; For Int 13h, Disk functions
    159174%include "AH0h_HReset.asm"      ; Required by Int13h_Jump.asm
    160175%include "AH1h_HStatus.asm"     ; Required by Int13h_Jump.asm
     
    172187%include "AH24h_HSetBlocks.asm" ; Required by Int13h_Jump.asm
    173188%include "AH25h_HDrvID.asm"     ; Required by Int13h_Jump.asm
    174 %include "Device.asm"
    175 %include "Idepack.asm"
    176 
    177 ; IDE Device support
    178 %include "IdeCommand.asm"
    179 %include "IdeDPT.asm"
    180 %include "IdeIO.asm"
    181 %include "IdeIrq.asm"
    182 %include "IdeTransfer.asm"
    183 %include "IdeWait.asm"
    184 %include "IdeError.asm"         ; Must be included after IdeWait.asm
    185 
    186 ; Serial Port Device support
    187 %include "SerialCommand.asm"
    188 %include "SerialDPT.asm"
    189189
    190190
Note: See TracChangeset for help on using the changeset viewer.