Ignore:
Timestamp:
Jul 4, 2018, 6:40:02 PM (6 years ago)
Author:
aitotat
Message:

Previosly committed flash fix for configurator was incomplete. Now fixed properly.
Added MODULE_MFM_COMPATIBILITY.

File:
1 edited

Legend:

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

    r592 r594  
    5959;--------------------------------------------------------------------
    6060.InitializeInt13hAnd40h:
     61%ifdef MODULE_MFM_COMPATIBILITY
     62    mov     ax, [es:BIOS_DISK_INTERRUPT_13h*4+2]; Load old INT 13h segment
     63    mov     [RAMVARS.fpMFMint13h+2], ax         ; Store old INT 13h segment
     64    xchg    dx, ax
     65    mov     ax, [es:BIOS_DISK_INTERRUPT_13h*4]  ; Load old INT 13h offset
     66    mov     [RAMVARS.fpMFMint13h], ax           ; Store old INT 13h offset
     67   
     68    mov     [RAMVARS.fpOldI13h+2], cs
     69    mov     WORD [RAMVARS.fpOldI13h], Int13hMFMcompatibilityHandler
     70%else
    6171    mov     ax, [es:BIOS_DISK_INTERRUPT_13h*4+2]; Load old INT 13h segment
    6272    mov     [RAMVARS.fpOldI13h+2], ax           ; Store old INT 13h segment
     
    6474    mov     ax, [es:BIOS_DISK_INTERRUPT_13h*4]  ; Load old INT 13h offset
    6575    mov     [RAMVARS.fpOldI13h], ax             ; Store old INT 13h offset
     76%endif
    6677
    6778    ; Only store INT 13h handler to 40h if 40h is not already installed.
Note: See TracChangeset for help on using the changeset viewer.