Ignore:
Timestamp:
Feb 10, 2012, 2:00:50 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Brought back optional "A then C" boot loader.
  • Now there is only one INT 19h handler that remains unchanged.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm

    r181 r243  
    4343    ; 40h from 13h. That system locks to infinite loop if we copy 13h to 40h.
    4444    call    FloppyDrive_IsInt40hInstalled
    45     jc      SHORT .InitializeInt19h
     45    jc      SHORT .Int40hAlreadyInstalled
    4646    mov     [es:BIOS_DISKETTE_INTERRUPT_40h*4], ax      ; Store old INT 13h offset
    4747    mov     [es:BIOS_DISKETTE_INTERRUPT_40h*4+2], dx    ; Store old INT 13h segment
    48     ; Fall to .InitializeInt19h
    49 
    50 ;--------------------------------------------------------------------
    51 ; .InitializeInt19h
    52 ;   Parameters:
    53 ;       DS:     RAMVARS segment
    54 ;       ES:     BDA and Interrupt Vector segment (zero)
    55 ;   Returns:
    56 ;       Nothing
    57 ;   Corrupts registers:
    58 ;       BX, SI
    59 ;--------------------------------------------------------------------
    60 .InitializeInt19h:
    61     mov     bx, BIOS_BOOT_LOADER_INTERRUPT_19h
    62     mov     si, Int19hMenu_BootLoader
    63     call    Interrupts_InstallHandlerToVectorInBXFromCSSI
     48.Int40hAlreadyInstalled:
    6449    ; Fall to .InitializeHardwareIrqHandlers
    6550
Note: See TracChangeset for help on using the changeset viewer.