fuse-libretro/libspectrum
jfroco 99df66eac0
Add .sna and .szx snapshot support (#152)
- Add .sna and .szx snapshot support.
- Restore snapshot identification using the filename.
- Add option to use fixed-size savestate (recommended for netplay).
- Patch szx to use fixed-size snapshots
2024-11-18 15:25:00 -08:00
..
doc Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
m4 Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
myglib Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
test Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
.gitignore Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
accessor.pl Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
aclocal.m4 Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
AUTHORS Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
autogen.sh Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
buffer_license.txt Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
buffer.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
bzip2.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
ChangeLog Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
config.guess Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
config.h.in Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
config.sub Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
configure Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
configure.ac Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
COPYING Initial commit 2015-02-02 21:50:11 -02:00
creator.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
crypto.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
csw.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
dck.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
depcomp Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
dll.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
generate.pl.in Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
ide.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
install-sh Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
internals.h Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
libspectrum.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
libspectrum.h.in Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
libspectrum.pc.in Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
libspectrum.qpg.in Initial commit 2015-02-02 21:50:11 -02:00
ltmain.sh Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
make-perl.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
Makefile.am Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
Makefile.in Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
memory.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
microdrive.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
missing Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
mmc.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
plusd.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
pzx_read.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
README Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
rzx.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
sna.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
snap_accessors.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
snap_accessors.txt Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
snapshot.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
snp.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
sp.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
symbol_table.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
szx.c Add .sna and .szx snapshot support (#152) 2024-11-18 15:25:00 -08:00
tap.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
tape_accessors.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
tape_accessors.pl Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
tape_accessors.txt Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
tape_block.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
tape_block.h Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
tape_set.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
tape_set.pl Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
tape.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
THANKS Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
timings.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
tzx_read.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
tzx_write.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
utilities.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
warajevo_read.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
wav.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
windres.rc Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
z80.c Proper joystick management for snapshot 2023-02-04 16:03:54 +01:00
z80em.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
zip.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
zip.h Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
zlib.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00
zxs.c Revert "Revert "Update to Fuse 1.6.0 and libspectrum 1.5.0"" 2021-04-10 15:34:37 +02:00

libspectrum 1.5.0
=================

libspectrum is a library which is designed to make the input and
output of ZX Spectrum emulator files slightly easier than it would be
otherwise. It should hopefully compile and run on Unix-based systems,
Win32 and Mac OS X.

Currently supported are:

* Snapshots: .z80, .szx, .sna (all read/write), .zxs, .sp., .snp and
  +D snapshots (read only).
* Tape images: .tzx, .tap, .spc, .sta and .ltp (read/write) and
  .pzx, Warajevo .tap, Z80Em and CSW version 1 (read only).
* Input recordings: .rzx (read/write).
* Disk images: .dsk (both plain and extended), .d40, .d80, .fdi, .img,
  .mgt, .opd, .sad, .scl, .td0, .trd and .udi (identification only).
* Timex cartridges: .dck (read only).
* IDE hard disk images: .hdf (read/write).
* Microdrive cartridge images: .mdr (read/write).

On Unix and Mac OS X, compiling libspectrum should just be as easy as

$ ./configure
$ make

and then `make install' should install it in `/usr/local' ready for
use on your system. If you want to install it somewhere other than
`/usr/local', give the `--prefix=DIR' option to `configure' to install
it under `DIR'. Once installed, some work will probably be necessary
to ensure that the linker can find libspectrum. Either read the
instructions printed when you do `make install' or ask your local
guru.

For details on the functions available, see `doc/libspectrum.txt'.

libspectrum is made available under the GNU General Public License,
which means that it is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See `COPYING' for
the full license.

For updates for libspectrum, its homepage is at:

http://fuse-emulator.sourceforge.net/libspectrum.php

Compiling from Git
------------------

If you're using version of libspectrum from Git rather than one
of the released tarballs, you'll need to run `autogen.sh' before
running 'configure' for the first time.

Compiling for the Wii
---------------------

To compile for the Wii, first make sure the dev tools are in your path
(export PATH=$PATH:$DEVKITPPC/bin). Then, use this configure line:

./configure --target=powerpc-gekko --host=powerpc-gekko \
            --prefix=$DEVKITPPC \
            --without-libgcrypt --with-fake-glib --without-libaudiofile

That is assuming you don't have libgcrypt, glib and libaudiofile for the
Wii. At the time of writing, those haven't been ported yet.

Then, type "make" and if everything went well, "make install".

Philip Kendall <philip-fuse@shadowmagic.org.uk>
27th February, 2021