File ubee512.spec of Package ubee512

# Copyright (c) 2008 SuSE Linux Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.

# norootforbuild

Name:         ubee512
License:      GPL, freeware
Group:        unsorted
Autoreqprov:  on
Version:      6.0.0
Release:      0
Summary:      Microbee Premium/Standard 64/128/256/512K FDD Emulator
Source:       %name-%version.tar.gz
BuildRequires: SDL-devel z80ex-devel xaw3d-devel libdsk-devel zlib-devel zziplib-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86

%description
Microbee Premium/Standard 64/128/256/512K FDD emulator.

%prep
%setup

%build
cd src
make %{?jobs:-j%jobs} DEBUG="$RPM_OPT_FLAGS"

%install
install -D -m 755 src/ubee512 $RPM_BUILD_ROOT/usr/bin/ubee512

%files
%defattr(-,root,root)
%doc doc/*
/usr/bin/ubee512

%changelog
* Fri Jun 19 2009 - uli@suse.de
- update -> 4.0.0
* Wed Dec 17 2008 - uli@suse.de
- fixed bugs found by rpmlint
* Mon Oct 20 2008 - uli@suse.de
- update -> 3.0.1
  - Fixed a bug when toggling full screen mode under Unices when using SDL
    video rendering failed to switch modes and would freeze.
  - Added OpenGL textured video rendering mode, SDL remains the default
    mode.  To use OpenGL mode specify ´--video-type=gl´ on the command line
    or set the required system´s video type by changing the assignment
    inside the new sample configuration file. See the README file if OpenGL
    results in a white display.
  - The OpenGL mode permits 4:3 and other aspect ratios in a window, full
    screen and maximised modes fill completely.
  - Added --gl-filter_fs, --gl-filter_max and --gl-filter_win options to
    select soft or sharp filtering modes in OpenGL mode.
  - Added --gl-aspect-bee option to set the Microbee aspect ratio.
  - Added --gl-aspect-mon option to override the monitor aspect ratio.
  - Added --gl-max option to enable/disable maximised window on start up. This
    currently does not work for Windows. Maximised windows can be set after
    starting the emulator.
  - Added --gl-vsync option to enable/disable vertical sync swap buffers every
    n´th retrace.
  - Added --gl-winpct option to set the initial window width by percentage.
  - Added --gl-winpix option to set the initial window width by pixels.
  - Added EMUKEY+F hot key to toggle the current filter mode when in OpenGL
    mode.
  - Added EMUKEY+KP1 to EMUKEY+KP9 hot keys to select 10-90 percent width
    windows when in OpenGL mode.
  - Added EMUKEY+KP_PERIOD to use the Microbee´s 6545 screen width for the
    window width when in OpenGL mode.
  - Added window resize feature using mouse to set window size when in OpenGL
    mode.
  - Added ´gl´ parameter to the --video-type option to select OpenGL mode.
  - Added internal variables that can be created and accessed using options.
  - Added scripting language options for uBee512 configuration files. The
    options relevant are described below:
  - Added --varset and --varuset options to set and unset variables.
  - Added --exit to allow emulation to exit during start up.
  - Added --echo and --echoq to send string and/or variables to stdout.
  - Added --if-end to terminate a test condition.
  - Added --if-else to divert on a --if-test = false condition.
  - Added --if-egt to test if string is equal to or greater than.
  - Added --if-elt to test if string is equal to or less than.
  - Added --if-eq to test if string is equal to.
  - Added --if-gt to test if string is greater than.
  - Added --if-lt to test if string is less than.
  - Added --if-negt to test if string is not equal or greater than.
  - Added --if-nelt to test if string is not equal or less than.
  - Added --if-neq to test if string is not equal to.
  - Added --if-ngt to test if string is not greater than.
  - Added --if-nlt to test if string is not less than.
  - Added --if-set to test if a variable has been set.
  - Added --if-nset to test if a variable has not been set.
  - Added --if-system to test for underlying system type.
  - Added --if-true and --if-false to set the condition to true or false.
  - Added --if-cmpmode to set the method used to compare values.
  - Added preconfigured variables UBEE_VERSION, UBEE_HOST, UBEE_SYS_MAJOR
    and UBEE_SYS_MINOR to the existing UBEE512 (ubee512) variable. These are
    all created using the --varset method so this also means they can be
    removed with --varuset.
  - Added joystick C_WINI and C_WIND commands for increasing/decreasing window
    size.
  - Added joystick C_GLFILT command for toggling of OpenGL filter mode, and
    C_VSIZE1 command for video resizing.
  - Added joystick C_MWHEEL command to select mouse wheel association.
  - Added +video and +options to the --modio option arguments.
  - Changed --snd-freqlow default to 20Hz to improve re-sync on quiet periods.
  - Some improvements made to the audio holdoff code.
  - Recoded the vdu_colcont_w() function to test RGB intensity bits and VDU
    PCG/colour RAM selection bits separately, this prevents a change in either
    leading to unnecessary time consuming updates.
  - Changed version checking to skip a new version install if a later version
    ID string is found. This allows older version binaries to run without
    modifying the version ID. This will only work with emulator versions
    3.0.0 and onwards.
  - Changes made to ubee512rc and games.ini.sample files making use of the
    new scripting language options added to this release.
  - Comment lines in configuration files may now have leading white space.
  - Fixed issue when changing screen sizes from within a Microbee program that
    could possibly cause the emulator to crash under certain circumstances.
* Thu May 15 2008 - uli@suse.de
- update -> 2.6.0:
  - Joystick emulation added.  Emulates the standard Microbee Joystick. The
    joystick is also able to be mapped to Microbee keys permitting games and
    other applications to use joystick controls.
  - Added joystick select and enable option --js.
  - Added Microbee joystick options: --js-clear, --js-mbee, --js-up,
    --js-right, --js-down, --js-left, --js-fire, --js-play1, --js-play2,
    and --js-spare.
  - Added joystick to keys mapping options: --js-klist, --js-kbd, --js-kk,
    --js-kb, --js-kset and --js-ksel.
  - Added EMUKEY+J+K (or EMUKEY+J <K>) hot keys to select a joystick key map
    set. K is 'A'-'Z'.  First 26 sets are selectable from keyboard, 256 sets
    are available in total.
  - Added EMUKEY+J+0 (EMUKEY+J <0>) disables Microbee and keyboard mapping for
    joystick.  EMUKEY+J+1 (EMUKEY+J <1>) enables Microbee joystick.
  - Z80 CPU speed improvements to better regulate the execution rate rather
    than just per each Z80 code frame executed.  This improves sound quality
    but may vary between installations.
  - Full screen toggle using the mouse now requires a double clicking action.
  - Added --dclick option to set double click speed for mouse events.
  - Added --status option to customize the status line in the title bar.
  - Additional status information displayable now includes joystick, tape in,
    title, sys, serial, print, short/long drive and others.
  - Added --title option to set a custom title name.
  - Added --spad option to set padding between status information.
  - Added --basram option to use SRAM instead of ROM at 0xA000-0xBFFF.
  - Added --pakram option to allow a PAK location to use SRAM instead of ROM
    at 0xC000-0xDFFF.
  - Added --netram option to use SRAM instead of ROM at 0xE000-0xEFFF.
  - Added PAK1-PAK7 ROM PAKs for 2mhz model emulation.  Use OUT 10,n followed
    by an EDASM command to select.
  - All PAKs are now preloaded when emulator starts up.
  - Added function_joystick() functions.
  Fixed:
  - File name matching in win32 fixed in a function that returns the next
    directory entry. Was only able to match file names that used all lower
    case. CP/M support program HOST2CPM should now work.
  - Options --rom2 and --rom3 overrides did not load any ROM images.
  - Teleterm model keys are now associated with the Teleterm keyboard.
  - Added two missing compile conditionals '#ifdef USE_LIBDSK' around where
    disk.dg.dg_secsize is used in fdc.c. Needed when compiling with LibDsk
    disabled.
  - Fixed an endianess issue in function_stdio() function for the 'putchar
    function'.
  - PIO potential mode set problem discovered when adding joystick code.
  New in 2.5.0:
  - Added configuration file settings allowing global declaration and use
    of customised sections.
  - Added user's monochrome configuration type 'u' to the --monitor option.
  - Added --mon-fg-x, --mon-bg-x, and --mon-fgl-x options for a user
    configurable monochrome monitor.
  - Added --basic, --basica, --basicb,--basicc, --basicd, options to override
    default BASIC in ROM based models.
  - Added --pak, --pak0 to --pak7 options to override PAK ROMs in ROM based
    models.
  - Added --netrom option to override net ROM in ROM based models.
  - Added --rom1, --rom2, --rom3 options to override ROMs in DRAM models.
  - Added --charrom option to override the default character ROM.
  - Added --colprom option to override early colour internal PROM values.
  - Added --sys option to define the system name,  this will be appended to
    some files so that different operating systems using the same model can
    still have unique names for certain files.
  - Added 48 --rgb-nn-x options to custom configure the alpha+ colours.
  - Added --lcon option to list section names in the configuration file.
  - Added --lmodel option to list the available models.
  - Modified --fullscreen option to now have a toggling action.
  - Character ROM may now be a 2K (2716) or 4K (2732) image type.
  - Added Teleterm model emulation option in addition to the existing 256TC
    Telecomputer emulation. (Teleterm model requires testing)
  Fixed in 2.5.0:
  - 2mhz model now only able to access the first 2K of character ROM.
* Fri Feb 29 2008 - uli@suse.de
- update -> 2.4.0
* Fri Dec 14 2007 - uli@suse.de
- update -> 2.2.0
* Tue Oct 30 2007 - uli@suse.de
- update -> 2.1.0
openSUSE Build Service is sponsored by