User Tools

Site Tools


libspectrum

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
libspectrum [2013/01/20 22:09] – created darkbytelibspectrum [2017/11/25 17:41] (current) darkbyte
Line 1: Line 1:
-=== libspectrum compilation hint ===+===libspectrum compilation hints===
  
-//if libspectrum-1.0.0 fails to compile on windres, issue following command in console before runnig ./configure://+---- 
 + 
 +If libspectrum-1.0.0 fails to compile on //windres//, issue following command in console before running ./configure
 <code bash> <code bash>
 export WINDRES=no export WINDRES=no
 </code> </code>
  
-Navigation: [[asm]] . [[compilation]] . back to [[start]]+---- 
 + 
 +To get rid of Pentagon mode when loading 128k snaps apply this //sna.c// patch by mborik128: 
 +<code> 
 +@@ -90,7 +90,7 @@ identify_machine( size_t buffer_length, libspectrum_snap *snap ) 
 +     break; 
 +   case 131103: 
 +   case 147487: 
 +-    libspectrum_snap_set_machine( snap, LIBSPECTRUM_MACHINE_PENT ); 
 ++    libspectrum_snap_set_machine( snap, LIBSPECTRUM_MACHINE_128 ); 
 +     break; 
 +   default: 
 +     libspectrum_print_error( LIBSPECTRUM_ERROR_CORRUPT, 
 +@@ -183,7 +183,7 @@ libspectrum_sna_read_data( const libspectrum_byte *buffer, 
 +  
 +     break; 
 +  
 +-  case LIBSPECTRUM_MACHINE_PENT: 
 ++  case LIBSPECTRUM_MACHINE_128: 
 +      
 +     for( i=0; i<8; i++ ) { 
 +       libspectrum_byte *ram = libspectrum_new( libspectrum_byte, 0x4000 ); 
 +</code> 
 + 
 +---- 
 + 
 +**Navigation: [[asm]] . [[compilation]] . [[linux]] . [[windows]] . [[mac]] . back to [[start]]**
libspectrum.1358716157.txt.gz · Last modified: 2013/01/20 22:09 by darkbyte