Changeset 176 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers


Ignore:
Timestamp:
Oct 22, 2011, 9:20:14 PM (13 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Made a module around the EBIOS code, so that it can be turned off to make room for serial code, still enabled by default in the Makefile

Location:
trunk/XTIDE_Universal_BIOS/Src/Handlers
Files:
2 edited

Legend:

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

    r167 r176  
    3636    shl     bx, 1
    3737    cmp     ah, 25h                     ; Possible EBIOS function?
     38%ifdef MODULE_EBIOS
    3839    ja      SHORT .JumpToEbiosFunction
     40%else
     41    ja      SHORT Int13h_UnsupportedFunction
     42%endif
    3943    jmp     [cs:bx+g_rgw13hFuncJump]    ; Jump to BIOS function
    4044
     45%ifdef MODULE_EBIOS
    4146    ; Jump to correct EBIOS function
    4247ALIGN JUMP_ALIGN
     
    5156    jl      SHORT Int13h_UnsupportedFunction
    5257    jmp     [cs:bx+g_rgwEbiosFunctionJumpTable]
    53 
     58%endif
    5459
    5560;--------------------------------------------------------------------
     
    241246    dw  AH25h_HandlerForGetDriveInformation             ; 25h, Get Drive Information (PS/1)
    242247
     248%ifdef MODULE_EBIOS
    243249g_rgwEbiosFunctionJumpTable:
    244250    dw  AH41h_HandlerForCheckIfExtensionsPresent        ; 41h, Check if Extensions Present (EBIOS)*
     
    260266;  ** = Enhanced Disk Drive (EDD) Support
    261267; *** = Drive Locking and Ejecting Support
     268%endif
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/CommandLookup.asm

    r167 r176  
    55SECTION .text
    66
     7%ifdef MODULE_EBIOS
    78;--------------------------------------------------------------------
    89; CommandLookup_GetEbiosIndexToBX
     
    2728    or      bx, dx                  ; Set block mode / single sector bit
    2829    ret
    29 
     30%endif
     31       
    3032;--------------------------------------------------------------------
    3133; CommandLookup_GetOldInt13hIndexToBX
Note: See TracChangeset for help on using the changeset viewer.