User Tools

Site Tools


libspectrum

libspectrum compilation hints


If libspectrum-1.0.0 fails to compile on windres, issue following command in console before running ./configure

export WINDRES=no

To get rid of Pentagon mode when loading 128k snaps apply this sna.c patch by mborik128:

@@ -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 );

Navigation: asm . compilation . linux . windows . mac . back to start

libspectrum.txt · Last modified: 2017/11/25 17:41 by darkbyte