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


Ignore:
Timestamp:
May 1, 2011, 10:42:58 AM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • XTIDE mod should now be supported (untested).
  • Interrupt Service Routine no longer requires variable from RAMVARS.
  • Some small improvements.
Location:
trunk/XTIDE_Universal_BIOS/Src/Handlers
Files:
3 edited

Legend:

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

    r150 r152  
    161161    xor     bx, bx
    162162    call    FindDPT_ForDriveNumber
    163     jnc     SHORT .DptNotFound
    164163    mov     bl, [di+DPT.bIdevarsOffset]
    165164    mov     bx, [cs:bx+IDEVARS.wPort]
    166 .DptNotFound:
    167165    xchg    bx, cx
    168166    ret
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19hLate.asm

    r90 r152  
    1616ALIGN JUMP_ALIGN
    1717Int19hLate_InitializeInt19h:
    18     mov     bx, INTV_BOOTSTRAP
     18    mov     bx, BIOS_BOOT_LOADER_INTERRUPT_19h
    1919    mov     si, HandlerForLateInitialization
    2020    jmp     Interrupts_InstallHandlerToVectorInBXFromCSSI
     
    3131HandlerForLateInitialization:
    3232    LOAD_BDA_SEGMENT_TO es, ax
    33     call    Initialize_ShouldSkip       ; Skip initialization?
     33    call    Initialize_ShouldSkip           ; Skip initialization?
    3434    jnz     SHORT .SkipInitialization
    35     call    Initialize_AndDetectDrives  ; Installs boot menu loader
    36     int     INTV_BOOTSTRAP
     35    call    Initialize_AndDetectDrives      ; Installs boot menu loader
     36    int     BIOS_BOOT_LOADER_INTERRUPT_19h
    3737.SkipInitialization:
    38     call    RamVars_Initialize          ; RAMVARS must be initialized even for simple boot loader
    39     int     INTV_BOOTSTRAP              ; Call default system boot loader
     38    call    RamVars_Initialize              ; RAMVARS must be initialized even for simple boot loader
     39    int     BIOS_BOOT_LOADER_INTERRUPT_19h  ; Call default system boot loader
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19hMenu.asm

    r143 r152  
    8585    SWITCH_BACK_TO_POST_STACK
    8686    call    ClearSegmentsForBoot
    87     int     INTV_BOOT_FAILURE       ; Never returns
     87    int     BIOS_BOOT_FAILURE_INTERRUPT_18h ; Never returns
    8888
    8989
Note: See TracChangeset for help on using the changeset viewer.