Changeset 505 in xtideuniversalbios for trunk/Serial_Server


Ignore:
Timestamp:
Feb 25, 2013, 4:23:09 PM (12 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Reverted the changes to MenuEvents.inc done in r492 since they broke the F1 key function in XTIDECFG.
  • Added a tail-call optimized variant of the CALL_DISPLAY_LIBRARY macro (JMP_DISPLAY_LIBRARY).
  • Put a block size limit in AH1Eh_ChangeXTCFmodeBasedOnControlRegisterInAL. I think it's needed but if not, it's easy to remove.
  • Other optimizations and fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Serial_Server/win32/Win32File.h

    r376 r505  
    77// Routines for accessing the file system under Win32.  It's important
    88// to use these direct Win32 calls for large files, since FILE * routines,
    9 // in particular ftell() and fseek(), are limites to signed 32-bits (2 GB).
     9// in particular ftell() and fseek(), are limited to signed 32-bits (2 GB).
    1010// These are also likely faster since they are more direct.
    11 // 
     11//
    1212
    1313//
    14 // XTIDE Universal BIOS and Associated Tools 
     14// XTIDE Universal BIOS and Associated Tools
    1515// Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
    1616//
     
    1919// the Free Software Foundation; either version 2 of the License, or
    2020// (at your option) any later version.
    21 // 
     21//
    2222// This program is distributed in the hope that it will be useful,
    2323// but WITHOUT ANY WARRANTY; without even the implied warranty of
    2424// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    25 // GNU General Public License for more details.     
     25// GNU General Public License for more details.
    2626// Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    2727//
     
    6969        {
    7070            if( !CloseHandle( fp ) )
    71                 log( 0, "'%s', could not close file handle", name ? name : "unknown" );         
     71                log( 0, "'%s', could not close file handle", name ? name : "unknown" );
    7272        }
    7373    }
     
    126126
    127127    // LBA 28 limit - 28-bits (could be 1 more, but not worth pushing it)
    128     const static unsigned long MaxSectors = 0xfffffff; 
     128    const static unsigned long MaxSectors = 0xfffffff;
    129129#define USAGE_MAXSECTORS "137438 MB (LBA28 limit)"
    130130
Note: See TracChangeset for help on using the changeset viewer.