Changeset 200 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc


Ignore:
Timestamp:
Nov 22, 2011, 8:38:36 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Added logic to skip scanning COM ports if a COM port was already found during the normal detection process, to avoid finding the same serial drive twice and preseting the OS with two drives which in reality point to the same physical file on the server. Also added logic to skip scanning for the slave serial drive if the master was not found. And various small optimizations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r199 r200  
    100100;   baud rate = b, where 00 = 2400, 01 = 9600, 10 = 38.4K, 11 = 115.2K
    101101;
    102 DEVICE_SERIAL_PACKEDPORTANDBAUD_PORTMASK        EQU     0fch
    103 DEVICE_SERIAL_PACKEDPORTANDBAUD_PORTBITS        EQU     03fh
    104 DEVICE_SERIAL_PACKEDPORTANDBAUD_STARTINGPORT    EQU     240h
    105 DEVICE_SERIAL_PACKEDPORTANDBAUD_BAUDMASK        EQU     3h
    106 DEVICE_SERIAL_PACKEDPORTANDBAUD_BAUDBITS        EQU     3h
     102; 240h/2400baud corresponds to 0 for a PackedPortAndBaud value, which is reserved (in case we need
     103; it to know if a value has been set).  Which is why ..._MINPORT is 248h.
     104;
     105DEVICE_SERIAL_PACKEDPORTANDBAUD_PORTMASK            EQU     0fch
     106DEVICE_SERIAL_PACKEDPORTANDBAUD_PORTBITS            EQU     03fh
     107DEVICE_SERIAL_PACKEDPORTANDBAUD_PORT_FIELD_POSITION EQU     2
     108DEVICE_SERIAL_PACKEDPORTANDBAUD_STARTINGPORT        EQU     240h
     109DEVICE_SERIAL_PACKEDPORTANDBAUD_MINPORT             EQU     248h        ; minimum port value that the user can set
     110DEVICE_SERIAL_PACKEDPORTANDBAUD_MAXPORT             EQU     438h        ; or (..._PORTMASK << 1) + ..._STARTINGPORT
     111
     112DEVICE_SERIAL_PACKEDPORTANDBAUD_BAUDMASK            EQU     3h
     113DEVICE_SERIAL_PACKEDPORTANDBAUD_BAUDBITS            EQU     3h
     114DEVICE_SERIAL_PACKEDPORTANDBAUD_BAUD_FIELD_POSITION EQU     0
    107115
    108116; Defines for IDEVARS.wSerialPrintBaud
Note: See TracChangeset for help on using the changeset viewer.