Changeset 526 in xtideuniversalbios for trunk/Serial_Server/library/Process.cpp


Ignore:
Timestamp:
Mar 15, 2013, 1:38:58 AM (11 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Update of the copyright notices to include the year 2013.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Serial_Server/library/Process.cpp

    r376 r526  
    77
    88//
    9 // XTIDE Universal BIOS and Associated Tools 
    10 // Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
     9// XTIDE Universal BIOS and Associated Tools
     10// Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team.
    1111//
    1212// This program is free software; you can redistribute it and/or modify
     
    1414// the Free Software Foundation; either version 2 of the License, or
    1515// (at your option) any later version.
    16 // 
     16//
    1717// This program is distributed in the hope that it will be useful,
    1818// but WITHOUT ANY WARRANTY; without even the implied warranty of
    1919// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    20 // GNU General Public License for more details.     
     20// GNU General Public License for more details.
    2121// Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    2222//
     
    179179        lasttick = GetTime();
    180180
    181         // 
     181        //
    182182        // No work currently to do, look at each character as they come in...
    183183        //
     
    289289                if( (workCommand != SERIAL_COMMAND_INQUIRE) && (buff.chs.driveAndHead & ATA_COMMAND_LBA) )
    290290                {
    291                     mylba = ((((unsigned long) buff.lba.bits24) & ATA_COMMAND_HEADMASK) << 24) 
    292                         | (((unsigned long) buff.lba.bits16) << 16) 
    293                         | (((unsigned long) buff.lba.bits08) << 8) 
     291                    mylba = ((((unsigned long) buff.lba.bits24) & ATA_COMMAND_HEADMASK) << 24)
     292                        | (((unsigned long) buff.lba.bits16) << 16)
     293                        | (((unsigned long) buff.lba.bits08) << 8)
    294294                        | ((unsigned long) buff.lba.bits00);
    295295                }
     
    346346                readto = 514;
    347347            }
    348             else 
     348            else
    349349            {
    350350                //
     
    355355                    unsigned char localScan;
    356356
    357                     if( serial->speedEmulation && 
     357                    if( serial->speedEmulation &&
    358358                        buff.inquire.baud != serial->baudRate->divisor )
    359359                    {
     
    363363                    }
    364364
    365                     localScan = buff.inquire.scan;         // need to do this before the call to 
     365                    localScan = buff.inquire.scan;         // need to do this before the call to
    366366                                                           // img->respondInquire, as it will clear the buff
    367                     img->respondInquire( &buff.w[0], buff.inquirePacked.PackedPortAndBaud, 
    368                                          serial->baudRate, 
    369                                          ((unsigned short) buff.inquire.port) << 2, 
     367                    img->respondInquire( &buff.w[0], buff.inquirePacked.PackedPortAndBaud,
     368                                         serial->baudRate,
     369                                         ((unsigned short) buff.inquire.port) << 2,
    370370                                         (img == image1 && lastScan) || buff.inquire.scan );
    371371                    lastScan = localScan;
Note: See TracChangeset for help on using the changeset viewer.