Ignore:
Timestamp:
Jun 10, 2021, 4:56:34 PM (3 years ago)
Author:
krille_n_
Message:

Changes:

  • BIOSDRVS should now build again (broke in r613).
  • Removed the NO_ATAID_CORRECTION define from the Tiny build.
  • Added a new configuration option to skip detection of slave drives.
  • Made FLASH_SIGNATURE 2 bytes shorter to free up ROM space.
  • "Auto Configure" in XTIDECFG should now detect if running on an Olivetti M24, AT&T PC6300, Xerox 6060 or Logabax Persona 1600 and automatically select the fastest compatible transfer mode/device type for any IDE controllers found in the system.
  • Cleaned out some duplicate/unused definitions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/AutoConfigure.asm

    r605 r614  
    4242    pop     ds                              ; ROMVARS now in DS:DI
    4343    call    ChecksumSystemBios
     44    call    DetectOlivettiM24
    4445    call    ResetIdevarsToDefaultValues
    4546    call    DetectIdePortsAndDevices
     
    139140
    140141;--------------------------------------------------------------------
     142; DetectOlivettiM24
     143;   Parameters:
     144;       Nothing
     145;   Returns:
     146;       ZF:     Set if computer is not an Olivetti M24
     147;               Clear if computer is an Olivetti M24
     148;   Corrupts registers:
     149;       AX, BX, CX, DX
     150;--------------------------------------------------------------------
     151ALIGN JUMP_ALIGN
     152DetectOlivettiM24:
     153    mov     ah, 0FEh    ; Request the current date and time
     154    mov     ch, 0FFh    ; Set the hours to an invalid value
     155    int     BIOS_TIME_PCI_PNP_INTERRUPT_1Ah
     156    inc     ch          ; Hours changed?
     157    jz      SHORT .ThisIsNotAnOlivettiM24
     158    mov     BYTE [cs:IsOlivettiM24], 1
     159.ThisIsNotAnOlivettiM24:
     160    ret
     161
     162IsOlivettiM24:
     163    db      0
     164
     165
     166;--------------------------------------------------------------------
    141167; ResetIdevarsToDefaultValues
    142168;   Parameters:
Note: See TracChangeset for help on using the changeset viewer.