rpms/fuse/devel README.z88sdk, NONE, 1.1 fuse-emulator-0.7.0.spec, NONE, 1.1 fuse-sound.patch, NONE, 1.1 fuse.png, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 fuse-README.fedora, 1.1, NONE fuse-makedev.d-fuse, 1.1, NONE fuse-mount.fuse.patch, 1.1, NONE fuse-udev.nodes, 1.1, NONE fuse-udev_rules.patch, 1.1, NONE fuse.spec, 1.2, NONE

Paul F. Johnson (pfj) fedora-extras-commits at redhat.com
Fri Jan 13 00:49:50 UTC 2006


Author: pfj

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

Modified Files:
	.cvsignore sources 
Added Files:
	README.z88sdk fuse-emulator-0.7.0.spec fuse-sound.patch 
	fuse.png 
Removed Files:
	fuse-README.fedora fuse-makedev.d-fuse fuse-mount.fuse.patch 
	fuse-udev.nodes fuse-udev_rules.patch fuse.spec 
Log Message:
auto-import fuse-0.7.0-5 on branch devel from fuse-0.7.0-5.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-0.7.0.spec ---
%define packagename fuse-emulator

Summary: The Free UNIX Spectrum Emulator
Name: fuse
Version: 0.7.0
Release: 5%{?dist}
License: GPL
Group: Applications/Emulators
Source: http://kent.dl.sourceforge.net/sourceforge/fuse-emulator/%{name}-%{version}.tar.gz
Source1: fuse.png
Source2: README.z88sdk
Patch: fuse-sound.patch
URL: http://fuse-emulator.sourceforge.net/
BuildRoot: %{_tmppath}/%{packagename}-%{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
%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}

%post

%postun

%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
* 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/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	23 Nov 2005 19:29:35 -0000	1.2
+++ .cvsignore	13 Jan 2006 00:49:50 -0000	1.3
@@ -1 +1 @@
-fuse-2.4.2.tar.gz
+fuse-0.7.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/fuse/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	23 Nov 2005 19:29:35 -0000	1.2
+++ sources	13 Jan 2006 00:49:50 -0000	1.3
@@ -1 +1 @@
-6e3d9a580c45ddf4a06558c135c158c2  fuse-2.4.2.tar.gz
+ebb124e808e6467630efaae01fe03b64  fuse-0.7.0.tar.gz


--- fuse-README.fedora DELETED ---


--- fuse-makedev.d-fuse DELETED ---


--- fuse-mount.fuse.patch DELETED ---


--- fuse-udev.nodes DELETED ---


--- fuse-udev_rules.patch DELETED ---


--- fuse.spec DELETED ---




More information about the fedora-extras-commits mailing list