Changeset 203 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


Ignore:
Timestamp:
Nov 23, 2011, 8:42:19 PM (13 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Reworked the 'skip detecting the slave if there was no master' code to be more complete (includes configurator drives) and to take into account int13h/25h calls. Some of the changes in my last checkin have been rolled back as a result (they are no longer needed). I did take a byte out of RAMVARS, but there was an alignment byte available for the taking. I also added a perl script for padding and adding the checksum byte to a binary image, which can be invoked manually or with 'make checksum'.

Location:
trunk/XTIDE_Universal_BIOS/Inc
Files:
2 edited

Legend:

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

    r179 r203  
    1313    .bHDSwap        resb    1   ; Hard Drive to swap to 80h and vice versa
    1414    .bXlatedDrv     resb    1   ; Drive number after translation
    15                     resb    1   ; For WORD alignment
     15%ifdef MODULE_SERIAL
     16    .bLastSerial    resb    1   ; Packed Port and Baud for last serial drive detected
     17                                ; (using space of an alignment byte,
     18                                ; used during and after boot (int13/25h case))
     19%else
     20                    resb    1   ; alignment
     21%endif
    1622endstruc
    1723
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r200 r203  
    100100;   baud rate = b, where 00 = 2400, 01 = 9600, 10 = 38.4K, 11 = 115.2K
    101101;
    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.
     102; 240h/2400baud corresponds to 0 for a PackedPortAndBaud value, which triggers auto detect code.
     103; Which means 240h is not usable, and is why ..._MINPORT is 248h.  A value is reserved at the upper
     104; end of the spectrum in case it is needed (whcih is why it is 430h instead of 438h).
    104105;
    105106DEVICE_SERIAL_PACKEDPORTANDBAUD_PORTMASK            EQU     0fch
     
    107108DEVICE_SERIAL_PACKEDPORTANDBAUD_PORT_FIELD_POSITION EQU     2
    108109DEVICE_SERIAL_PACKEDPORTANDBAUD_STARTINGPORT        EQU     240h
    109 DEVICE_SERIAL_PACKEDPORTANDBAUD_MINPORT             EQU     248h        ; minimum port value that the user can set
    110 DEVICE_SERIAL_PACKEDPORTANDBAUD_MAXPORT             EQU     438h        ; or (..._PORTMASK << 1) + ..._STARTINGPORT
     110DEVICE_SERIAL_PACKEDPORTANDBAUD_MINPORT             EQU     248h    ; minimum port value that the user can set
     111DEVICE_SERIAL_PACKEDPORTANDBAUD_MAXPORT             EQU     430h    ; or ((..._PORTMASK-1) << 1) + ..._STARTINGPORT
    111112
    112113DEVICE_SERIAL_PACKEDPORTANDBAUD_BAUDMASK            EQU     3h
Note: See TracChangeset for help on using the changeset viewer.