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


Ignore:
Timestamp:
Nov 23, 2011, 8:42:19 PM (12 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'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.