Changeset 552 in xtideuniversalbios for trunk


Ignore:
Timestamp:
Jun 7, 2013, 5:05:48 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • XTIDE Universal BIOS can now be initialized if non-standard main BIOS does not call INT 19h or if INT 19h handler is replaced by some other BIOS.
Location:
trunk/XTIDE_Universal_BIOS/Src
Files:
1 added
2 edited

Legend:

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

    r551 r552  
    5252    mov     WORD [BIOS_BOOT_LOADER_INTERRUPT_19h*4], Int19h_BootLoaderHandler
    5353    mov     [BIOS_BOOT_LOADER_INTERRUPT_19h*4+2], cs
    54     ;mov        WORD [BIOS_BOOT_FAILURE_INTERRUPT_18h*4], Int19h_BootLoaderHandler
    55     ;mov        [BIOS_BOOT_FAILURE_INTERRUPT_18h*4+2], cs
     54
     55    ; Install special INT 13h hander that initialized XTIDE Universal BIOS
     56    ; when our INT 19h is not called
     57    les     ax, [BIOS_DISK_INTERRUPT_13h*4] ; Load system INT 13h handler
     58    mov     [TEMPORARY_VECTOR_FOR_SYSTEM_INT13h*4], ax
     59    mov     [TEMPORARY_VECTOR_FOR_SYSTEM_INT13h*4+2], es
     60    mov     WORD [BIOS_DISK_INTERRUPT_13h*4], Int13hBiosInit_Handler
     61    mov     [BIOS_DISK_INTERRUPT_13h*4+2], cs
    5662
    5763.SkipRomInitialization:
  • trunk/XTIDE_Universal_BIOS/Src/Main.asm

    r550 r552  
    257257
    258258    ; INT 13h Hard Disk BIOS functions
     259    %include "Int13hBiosInit.asm"
    259260    %include "Int13h.asm"           ; For Int 13h, Disk functions
    260261    %include "AH0h_HReset.asm"
Note: See TracChangeset for help on using the changeset viewer.