Ignore:
Timestamp:
Dec 21, 2012, 8:44:25 AM (11 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Separated MODULE_8BIT_IDE into the basic part used by XTIDE rev 1 and rev 2 which is PIO based, and MODULE_8BIT_IDE_ADVANCED for JRIDE and XTCF support which requires memory mapping and/or DMA. This allows for creating an 8KB image with boot menu support (but no hotkeys) for the XTIDE rev 1. Cleaned up how we reset the drive translation information, ensuring it is properly set between boot attempt on a primary and secondary drive - as a result we clean it when needed, rather than trying to always keep it clean. Also fixed translation bugs in int13h.asm where I had previously missed converting some MODULE_HOTKEYS into MODULE_DRIVEXLATE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm

    r492 r493  
    9494    mov     [RAMVARS.wNewStackOffset], ax
    9595%endif
    96     ; Fall to .InitializeDriveTranslationAndReturn
    97 
    98 ;--------------------------------------------------------------------
    99 ; .InitializeDriveTranslationAndReturn
    100 ;   Parameters:
    101 ;       DS:     RAMVARS segment
    102 ;   Returns:
    103 ;       Nothing
    104 ;   Corrupts registers:
    105 ;       AX
    106 ;--------------------------------------------------------------------
    107 .InitializeDriveTranslationAndReturn:
     96
     97;; There used to be a DriveXlate_Reset call here.  It isn't necessary, as we reset
     98;; when entering the boot menu and also before transferring control at boot time and
     99;; for ROM boots (in int19h.asm).
     100       
    108101    pop     es
    109 %ifdef MODULE_DRIVEXLATE
    110     jmp     DriveXlate_Reset
    111 %else
    112     ret
    113 %endif
    114 
     102    ret
    115103
    116104;--------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.