Changeset 213 in xtideuniversalbios for trunk/Serial_Server


Ignore:
Timestamp:
Jan 18, 2012, 8:58:18 AM (13 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Minor improvements to serial server.

Location:
trunk/Serial_Server
Files:
3 edited

Legend:

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

    r211 r213  
    7878
    7979    sizef = totallba/2048.0;
    80     log( 0, "Opening disk image '%s', geometry %u:%u:%u, total size %.1lf MB", name, cyl, sect, head, sizef );
     80    log( 0, "Opening disk '%s', geometry %u:%u:%u, total size %.1lf MB", name, cyl, sect, head, sizef );
    8181}
    8282
  • trunk/Serial_Server/library/Process.cpp

    r211 r213  
    5656    int logCount;
    5757
    58     if( verboseLevel == 6 || (verboseLevel >= 4 && buffoffset == readto) )
     58    if( verboseLevel == 5 || (verboseLevel >= 3 && buffoffset == readto) )
    5959    {
    60         if( verboseLevel == 4 && buffoffset > 11 )
     60        if( verboseLevel == 3 && buffoffset > 11 )
    6161            logCount = 11;
    6262        else
     
    106106        // For debugging, look at the incoming packet
    107107        //
    108         if( verboseLevel >= 4 )
     108        if( verboseLevel >= 3 )
    109109            logBuff( "    Received: ", buffoffset, readto, verboseLevel );
    110110
     
    267267                workOffset = 0;
    268268                workCount = buff.chs.count;
    269                 if( verboseLevel > 1 && workCount > 100 )
     269                if( verboseLevel > 0 && workCount > 100 )
    270270                    perfTimer = GetTime();
    271271            }
     
    321321        }
    322322
    323         if( verboseLevel > 1 )
     323        if( verboseLevel > 0 )
    324324        {
    325325            char *comStr = (workCommand & SERIAL_COMMAND_WRITE ? "Write" :
     
    338338                log( 2, "    Continuation: Offset=%u, Checksum=%04x", workOffset-1, buff.w[256] );
    339339
    340             if( !(workCommand & SERIAL_COMMAND_WRITE) && verboseLevel >= 4 )
     340            if( !(workCommand & SERIAL_COMMAND_WRITE) && verboseLevel >= 3 )
    341341                logBuff( "    Sending: ", 514, 514, verboseLevel );
    342342
  • trunk/Serial_Server/win32/Win32.cpp

    r211 r213  
    107107                    verbose = atol(argv[++t]);
    108108                else
    109                     verbose = 2;
     109                    verbose = 1;
    110110                break;
    111111            case 'r': case 'R':
Note: See TracChangeset for help on using the changeset viewer.