rpms/fuse-emulator/devel README.z88sdk, NONE, 1.1 fuse-emulator.spec, NONE, 1.1 fuse-sound.patch, NONE, 1.1 fuse.png, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Paul F. Johnson (pfj) fedora-extras-commits at redhat.com
Tue Mar 7 22:16:52 UTC 2006


Author: pfj

Update of /cvs/extras/rpms/fuse-emulator/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4449/devel

Modified Files:
	.cvsignore sources 
Added Files:
	README.z88sdk fuse-emulator.spec fuse-sound.patch fuse.png 
Log Message:
auto-import fuse-emulator-0.7.0-6 on branch devel from fuse-emulator-0.7.0-6.src.rpm


--- NEW FILE README.z88sdk ---
HOW TO USE THE Z88SDK WITH FUSE
-------------------------------

Using the Z88 SDK with fuse is a very simple operation. Grab a copy of the rpm, install and write your code, as you would, in C.

Next, compile and target the ZX Spectrum

zcc +zx <your-source>.c -o <output-name>.bin -lndos

Assuming all is well, your code will be generated. THIS IS NOT AN EXECUTABLE!

Load up Fuse. Click on File, move to "Open Binary Data". The usual filer window opens. Select the file you've just compiled and click "Open". The filer closes and you're presented with another window asking for a start address. You can enter any number from about 25000. For this explaination, I would use 32768. Click OK. Your .bin file is now in memory.

To run the code, press the following keys

T, ctrl + shift (the cursor turns to a white on black E), L 32768 return.

On screen you will see the words RANDOMISE USR 32768 before you press return. When you press return, the code will be executed.

That's about it!


--- NEW FILE fuse-emulator.spec ---
Summary: The Free UNIX Spectrum Emulator
Name: fuse-emulator
Version: 0.7.0
Release: 6%{?dist}
License: GPL
Group: Applications/Emulators
Source: http://kent.dl.sourceforge.net/sourceforge/fuse-emulator/fuse-%{version}.tar.gz
Source1: fuse.png
Source2: README.z88sdk
Patch: fuse-sound.patch
URL: http://fuse-emulator.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libdsk-devel
BuildRequires: lib765-devel
BuildRequires: gtk2-devel
BuildRequires: libxml2-devel
BuildRequires: libpng-devel
BuildRequires: libspectrum-devel
BuildRequires: bison
BuildRequires: flex

# The SRPM created from this spec file deliberately does not include the 
# ROMS required to run the emulator. For the location of the ROMS, see
# the ROMS readme file.

%description
Fuse is a spectrum emulator which emulates multiple models, including the 16K,
48K, 128K, +2, +2A, +3 and various clones.

%prep
rm -rf ${RPM_BUILD_ROOT}
%setup -q -n fuse-%{version}
%patch -p1 -b sound.c

%build
%configure
make %{?_smp_mflags}

%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/fuse
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps

install -m0644 man/fuse.1 ${RPM_BUILD_ROOT}%{_mandir}/man1

install -c fuse ${RPM_BUILD_ROOT}%{_bindir}/fuse
cp lib/*.z80 ${RPM_BUILD_ROOT}%{_datadir}/fuse/
cp lib/*.bmp ${RPM_BUILD_ROOT}%{_datadir}/fuse/
cp lib/*.scr ${RPM_BUILD_ROOT}%{_datadir}/fuse/
install -m0755 %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png 
cp %{SOURCE2} README.z88sdk

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-,root,root)
%{_mandir}/man1/fuse.1.gz
%{_bindir}/fuse
%{_datadir}/fuse/
%{_datadir}/pixmaps/%{name}.png
%doc AUTHORS ChangeLog COPYING README THANKS ROMS README.z88sdk

%changelog
* Thu Feb 9 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> - 0.7.0-6
- Removed pre and post as they were empty
- Fixed the "fuse-emulator" problem

* Wed Oct 26 2005 Paul F. Johnson <paul at all-the-johnsons.co.uk> - 0.7.0-5
- Altered package name to fuse-emulator (macro)
- Removed BR: zlib-devel and BR: glibc-devel and both Requires
- Included comment regarding the SRPM not containing the ROMS
- Added README.z88sdk file to the archive
- Made the source of the tarball a valid one!
- Removed a comma from after xml2-devel

* Mon Oct 17 2005 Paul F. Johnson <paul at all-the-johnsons.co.uk> - 0.7.0-4
- Minor alteration to spec file (Build require=perl gone)
- Addition of sound.c patch file

* Fri Sep 02 2005 Paul F. Johnson <paul at all-the-johnsons.co.uk> - 0.7.0-3.fc
- Removal of ROMS and addition to documentation of where to get ROMS

* Mon Aug 29 2005 Paul F. Johnson <paul at all-the-johnsons.co.uk> - 0.7.0-2.fc
- Fixes to both the source and spec for FC

* Mon Feb 28 2005 Ian Chapman <packages at amiga-hardware.com> - 0.7.0-2.iss
- Rebuild for newer version of lib765 (0.3.3)

* Mon Jul 16 2004 Ian Chapman <packages at amiga-hardware.com> - 0.7.0-1.iss
- Updated to version 0.7.0
- Updated for Fedora Core 2
- Added a graphic for the menu icon

* Fri Dec 05 2003 Ian Chapman <packages at amiga-hardware.com> - 0.6.1.1-2
- Minor fixes to changelog
- Improved use of macros
- Removed most explicit library dependancies
- Added menu icon

* Sun Nov 30 2003 Ian Chapman <packages at amiga-hardware.com> - 0.6.1.1-1
- Initial Release

fuse-sound.patch:

--- NEW FILE fuse-sound.patch ---
--- sound.c	2005-10-17 23:20:45.000000000 +0100
+++ fuse-0.7.0/sound.c	2005-08-20 23:46:32.000000000 +0100
@@ -58,8 +58,8 @@
 int sound_stereo_ay_abc=0;	/* (AY stereo) true for ABC stereo, else ACB */
 int sound_stereo_ay_narrow=0;	/* (AY stereo) true for narrow AY st. sep. */
 
-static int sound_stereo_ay=0;	/* local copy of settings_current.stereo_ay */
-static int sound_stereo_beeper=0;   /* and settings_current.stereo_beeper */
+int sound_stereo_ay=0;	/* local copy of settings_current.stereo_ay */
+int sound_stereo_beeper=0;   /* and settings_current.stereo_beeper */
 
 
 /* assume all three tone channels together match the beeper volume (ish).


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/fuse-emulator/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Mar 2006 22:14:52 -0000	1.1
+++ .cvsignore	7 Mar 2006 22:16:52 -0000	1.2
@@ -0,0 +1 @@
+fuse-0.7.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/fuse-emulator/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Mar 2006 22:14:52 -0000	1.1
+++ sources	7 Mar 2006 22:16:52 -0000	1.2
@@ -0,0 +1 @@
+ebb124e808e6467630efaae01fe03b64  fuse-0.7.0.tar.gz




More information about the scm-commits mailing list