Commit graph

33 commits

Author SHA1 Message Date
kristerw
f82545987a Update xmess to 0.89.
Changes from 0.88:
- Everything from MAME 0.89 (http://x.mame.net/changes-mame.html) and
  MESS 0.89 (http://x.mame.net/changes-mess.html).
- Re-added a missing "Rapid Fire" entry from the setup menu that caused
  the other entries to be off by one.  Fixes Bugzilla bug 621.
- Another batch from Hans de Goede:
  * The GGI driver no longer crashes when $DISPLAY isn't set.
  * Sped up the rgbscan effect (effect 4), especially for DGA.
- Added LIRC support for remote controls, e.g., with MythTV.  (Andrew
  Chuah)
- Fixed a typo that caused absolute analog axes to interfere with
  digital negative axes in the input setup.
2004-12-29 20:25:00 +00:00
kristerw
373406fefa Do not compile messtest. It isn't used, and it fails to compile on
NetBSD 1.6.
2004-12-11 12:32:44 +00:00
kristerw
76f7861bce Update xmame/xmess to 0.88.
Changes since 0.87 include:
- Everything from MAME 0.88 (http://x.mame.net/changes-mame.html) and
  MESS 0.88 (http://x.mame.net/changes-mess.html).
- Big update of the video code (bugfixes/speedup/new functionality)
2004-11-27 01:30:40 +00:00
kristerw
1f6e2702f8 Update xmess to 0.87.
Changes since 0.86:
- Everything from MAME 0.87 (http://x.mame.net/changes-mame.html) and
  MESS 0.87 (http://x.mame.net/changes-mess.html).
- Reworked the video mode functions (Hans de Goede):
  * Unified and moved the aspect ratio calculations from xgl, fx, and
    x11_window to mode.c since all display targets that support
    arbitrary scaling through hardware make use of this.
  * Modified the code to use the aspect ratio supplied by the game
    driver instead of doing all kinds of magic.  This corrects, for
    example, the aspect ratio of 1942.
  * Added a new option, "-perfectaspect (-pa)", which automatically
    sets yarbsize to honor the aspect ratio provided by the game
    driver.  This is disabled by default because it can cause scaling
    artifacts.
  * When video modes are matched, the aspect ratio is now taken into
    account.
- Made changes to the X11 targets (Hans de Goede):
  * Restored widthscale == 2 yuy2 code for perfect yuy2 blitting.
  * Fixed a bug introduced by the aspect ratio patches which caused the
    Xv fallback code to not detect an error case and crash later on
    instead of falling back to MITSHM.
  * The Xv window is now resized with the correct aspect ratio after a
    user resize; this prevents black borders from appearing.
  * Renamed "-perfect-yv12" to "-perfect-yuv".
  * Enabled perfect blitting by default for yuy2, since it fixes the
    ugly color bleeding in, for example, pacman.
  * Fixed colors being way off in Xv for 15bpp direct games, e.g.,
    vector games with artwork disabled.
  * Current mouse values are now initialized in xinput_open, which
    should fix the problem of the visor going to the lower right corner
    in starwars when the video mode is switched from windowed X11 to
    DGA fullscreen while the mouse is grabbed.
  * Fixed the display of a 32bpp source on a 24bpp packed pixel window.
  * Fixed a bug in the DGA2 target which caused it to throw an XError
    when it failed to find a suitable mode, causing xmame to abort.
  * XInput now maps controls to mice 2 - 5 and leaves mouse 1 free for
    the default mouse.  (Hans de Goede)
  * Fixed a bug which caused the window to disappear with Xv windowed
    mode under KDE.
- Added a missing "Rapid Fire" string to the configuration menu.  This
  fixes problems with the configuration of player controls.  (Sylvain
  Trosset)
- Cleaned up the sound code (Hans de Goede):
  * Cleaned up the ALSA driver.
  * The ALSA driver now reports the actual sample rate to the caller
    rather than the requested one.
  * Removed the "-alsa-pcm" command line option; the ALSA driver now
    supports "-auviodevice (-ad)".  (Hans de Goede)
  * Removed "-fakesound (-fsnd)".  Now sound is always faked since
    certain games won't run without it.
  * Changed the default sample rate to 44100, moving us into the
    Third Millennium.
  * Removed the "-[no]sound" option; if you really want to disable
    sound, specify a bogus device with "-audiodevice".
- Removed the "-[no]mouse" option.  (Hans de Goede)
- Split aspect and mode settings so that all targets can use the
  aspect settings.  (Hans de Goede)
- Fixed the mapping of analog sticks' min..max ranges to the core's
  range.  This fixes games that use analog controls, such as Out Run,
  as well as the jittery movement of the mouse cursor in games such as
  Missile Command.
- Audio should work much better on Mac OS X.  (anonymous)
- The MMX assembly language version of the 6-tap filter now works for
  16 and 32bpp source and destination bitmaps; previously, only the
  32bpp screen depth was accelerated.  (Richard Goedeken)
- Corrected some of the out-of-date information in the documentation.
  Fixes Bugzilla bug 604.
- Light guns should work again. Also added support for the triggers on
  an ACT LABS USB PC Monitor model that didn't work previously.
2004-11-07 16:11:48 +00:00
kristerw
9761e17d38 Update xmess to 0.86.
Changes since 0.85 include:

- Everything from MAME 0.86 (http://x.mame.net/changes-mame.html) and
   MESS 0.86 (http://x.mame.net/changes-mess.html).
- Fixed buffer overruns in the effects and rotation code that caused a
   segfault on exit for some games with artwork enabled.
- Fixed memory leaks in the effects and rotation code that occurred
   when the display settings changed.
- XInput was probably limited to two controllers in 0.85, but should
   again support up to four.
- When "-norotate(-nr)" is specified, the UI is no longer rotated
   relative to the game.  (Hans de Goede)
- Did major cleanup of the blit core (Hans de Goede):
   * Rotation should be a bit faster.
   * Defining DEST is no longer optional; targets that don't define it
     will need to be fixed.
   * Removed a bunch of obsolete #defines and special cases.
   * Added support for vector clipping, which fixes mhavoc.
   * Removed fixed Y scaling, since the arbitrary Y scaling is not
     noticeably slower.
   * Removed LOW_MEM from the makefile; blit.h is now so small, it
     should no longer be needed.
- The C version of the 6-tap filter rotates pointers now instead of
   using memcpy, which should give a small speed boost.  It also no
   longer reallocates a rotation buffer.  (Hans de Goede)
- Adjusted a few tests to make sure that every combination of compiling
   in XIL, MITSHM, and Xv will work and that the fallback order is Xv ->
   MITSHM -> normal X11.  (Hans de Goede)
- The Xv driver no longer uses "-geometry", since this requires users
   to know the aspect ratio of a game.  It instead uses "-widthscale"
   and "-heightscale".  (Hans de Goede)
- Added "-perfect-yv12", which uses perfect Xv YV12 scaling instead of
   the widthscale == 2 && heightscale == 2 hack.  (Hans de Goede)
- Added support for displaying 32bpp bitmaps on a 16bpp X11 or 3Dfx
   display by down-sampling.  (Hans de Goede)
- Added rotation for Xv YV12 displays.  (Hans de Goede)
- Sometimes Xv Image creation succeeds, but the first XvShmPutImage to
   a mapped window fails with a BadAlloc error; also, sometimes it can
   create an Image smaller than the requested size.  In such cases, the
   code now falls back to another Image type instead of crashing later.
   (Hans de Goede)
- Fixed problems in the X11 display target (Hans de Goede):
   * Free cursors on close.
   * Call close when display creation fails to clean up after us.
   * Comment out sleep calls, which shouldn't be necessary since XSync
     should only exit after everything has been processed.
   * Removed x11_window_put_image in favor of x11_window_refresh_screen
     since dirty rectangles are no longer supported.
   * Worked around an X11 bug that caused keys to get stuck when
     fullscreen DGA mode was exited.
- The display should no longer open twice for artwork games: The setup
   code wasn't rounding the display bounds as it should have.
- Effects now use CORRECTED_DEST_WIDTH and *may* work with PACKEDPIXEL
   modes.  (Hans de Goede)
- Adjusted the display bounds rounding so that the resulting rectangle
   is at least as large as the original.  This prevents the cutoff on
   the right side of the intro screen for, e.g., pacman with artwork.
- Fixed problems with aspect ratio calculation (Hans de Goede):
   * Fixed problems with SVGAlib, DGA, and possibly other display
     targets when arbitrary Y scaling was used.
   * Games whose bitmap isn't 4:3, such as pacman and moo, no longer
     show black borders with Xv.
   * Added correct aspect ratio calculation to Xv when games have double
     width or double height pixels; for example, blstroid.
   * The Xv aspect ratio honors "-displayaspectratio".
   * Removed the "-widescreen" option in favor of "-displayaspectratio
     1.77".
   * Pixel width and height doubling is now correct when
     "-[auto]ro{r|l}" is used.
- The "-bpp" option now only supports 15 or 32.  (Hans de Goede)
- Joystick buttons are no longer always registered as "button 9" in the
   configuration menu.  Fixes Bugzilla bug 587.  (Thomas Klausner)
2004-09-05 20:41:18 +00:00
kristerw
68f64c1484 Update xmess to 0.85.
Changes since 0.84.1nb1:
- Everything from MAME 0.85 (http://x.mame.net/changes-mame.html) and
  MESS 0.85 (http://x.mame.net/changes-mess.html).
- Added a 2x sinc-based 6-tap filter effect with scanlines, enabled
  via "-effect 8" or "-ef 8".  (Richard Goedeken)
- Reworked the input code so that it more closely resembles its Windows
  counterpart.  This adds support for "-steadykey", "-a2d_deadzone" and
  "-digital".
- Increased the maximum number of joysticks from 6 to 8 and the maximum
  number of buttons per joystick from 16 to 32.
- Mouse buttons may not have been working in recent releases for games
  such as Missile Command; they should work now.
- Network support is broken for the time being because of the core
  input changes, so please disable XMAME_NET in your makefile.  If
  you're interested in fixing this, have a look at src/unix/network.c
  and the XMAME_NET sections of an older src/inptport.c.
2004-08-14 00:25:56 +00:00
dillo
57e2102c68 USB joystick driver rewritten, will be in next xmame release.
okayed by kristerw.
PKGREVISION++
2004-07-26 18:40:06 +00:00
kristerw
3665e763e9 Update xmess to 0.84.1.
Changes since 0.83.1:
- Everything from MAME 0.84 (http://x.mame.net/changes-mame.html) and
  MESS 0.84 (http://x.mame.net/changes-mess.html).
- Removed -listinfo, since it's no longer supported by the core.
2004-07-18 23:37:55 +00:00
kristerw
cc8e8eb3c9 Update xmess to 0.83.1.
Changes since 0.82.1:
* Everything from MAME 0.83 and MESS 0.83 (changes-mess.html).
* The Xv driver now turns on XV_AUTOPAINT_COLORKEY, in case it was
  turned off by, for example, by the xine movie player. This prevents the
  display from being blank in this case. (Shyouzou Sugitani)
2004-06-21 21:55:45 +00:00
dillo
061ded3045 Fix usb joystick driver for talkative joysticks: read all available
reports and use the newest one.  Bump PKGREVISION.
2004-05-26 09:34:17 +00:00
kristerw
0c993d073a Update xmess to 0.82.1.
Changes since 0.81.1 include:
- Everything from MAME 0.82 (http://x.mame.net/changes-mame.html) and
  MESS 0.82 (http://x.mame.net/changes-mess.html).
- Improved the message that is displayed when a suitable X11 visual
  cannot be found.  Fixes Bugzilla bug 219.  (Christopher Stone)
2004-05-16 00:28:23 +00:00
kristerw
74653830ff Update xmess to 0.81.1.
Changes since 0.80.1nb1:
- Everything from MAME 0.81 (http://x.mame.net/changes-mame.html) and
   MESS 0.81 (http://x.mame.net/changes-mess.html).
- Fixed a problem with the lightgun offscreen reloading that caused a
   random shot every fourth or fifth shot.  (Joe Inkenbrandt)
2004-04-16 21:27:01 +00:00
kristerw
aceac3e7b1 Make the package realize that amd64 is a LP64 architecture.
Prevent crash when the requested display mode cannot be used.
Bump PKGREVISION.
2004-04-02 18:47:39 +00:00
xtraeme
f468eb3a7b Update xmame and xmess packages to 0.80.1.
Changes:

Release 0.80.1, 13 March 2004
        - Everything from MAME 0.80 (http://x.mame.net/changes-mame.html)
          and MESS 0.80 (http://x.mame.net/changes-mess.html).
        - Improved support for GNU make's -j option, which can especially
          benefit SMP and SMT machines.  (Arnaud G. Gibert)

pkgsrc changes:

	o Make esound support optional via USE_ESOUND (by default is NO).
2004-03-31 04:39:16 +00:00
kristerw
5aa8d1dce5 Update xmess to 0.79.1
Changes since 0.78.1 includes:
- Everything from MAME 0.79 (http://x.mame.net/changes-mame.html) and
  MESS 0.79 (http://x.mame.net/changes-mess.html).
- Updated the ALSA DSP module to use the ALSA 1.0 API.  (Shyouzou
  Sugitani)
- Paths now allow a literal "$" if it's preceded by "\".  (Andre
  Majorel)
- Fixed a segfault that occurred when "-debug" was used with a rotated
  game.
- The debugger window should no longer be blank for 32bpp games.
- Fixed a bug in fix-comments.c that was causing it to mangle
  src/drivers/vendetta.c.
- When XINPUT is defined in the makefile but no XInput devices are
  configured, the mouse is treated as a trackball.  (Gerd Sussner)
- The Xv YUV code should now work on big-endian platforms.  (Maciej J.
  Woloszyk)
- The trigger for the ACT LABS TV light gun now works; reloading now
  requires only one offscreen shot instead of two.  (Joe)
2004-02-21 00:06:36 +00:00
kristerw
6b3caae9a2 Make this package compile on non-i386 machines too, by applying a patch
from Lawrence Gold on the xmame mailing-list.
2004-02-19 19:28:29 +00:00
kristerw
2cceeb714d Update xmess to version 0.78.1.
Changes since 0.77.1 includes:
- Everything from MESS 0.78.
- Changed the abbreviation of "-pause_brightness" to "-pbrt" to prevent
  a conflict with "-playback".
- Fixed an infrequent spurious error reported by zlib 1.2.1.  (Mark
  Adler)
2004-01-17 17:12:34 +00:00
kristerw
9fec3dbec3 Update xmess to 0.77.1.
Changes since 0.74.1 includes:
- Everything from MESS 0.77.
- Ported two more effects from AdvanceMAME: hq2x and lq2x.  (Pieter
  Hulshoff)
- Adjusted and cleaned up some YUV code.  (Alastair Robinson)
- Improved the Superboard II emulation in xmess.  For details, see
  http://claudio.ch/SuperboardII/  (Claudio Nieder)
- The I/O section of the xmess manpage should be more up-to-date.
- A leading '.' on a path now causes xmess to treat it as absolute.
  This allows "xmess.x11 nes -cart ./zelda.zip" to work.
- Set options.mess_printf_output so that xmess spits out more
  informative error messages, e.g., when it's unable to load an image.
- The "-list-dsp-plugins / -ldp" and "-list-mixer-plugins / -lmp"
  commands now cause the program to exit with a return value of 0.
2003-12-03 00:18:13 +00:00
kristerw
03fbbd1820 Update xmess to 0.74.1.
Changes since 0.72.1 include:
- Everything from MESS CVS.
- Reapplied David Mitchell's fix for the XInput inertial effect when
  a mouse or spinner is used.  (Jake Stookey)
- Added support for controllor setup via "-ctrlr".  Note that "-hotrod"
  and "-hotrodse" have been replaced by "-ctrlr HotRod" and "-ctlrlr
  HotRodSE".
2003-09-20 00:46:01 +00:00
kristerw
f9cb62fb2a Update xmess to 0.72.1.
Changes since 0.71.1 include:
- Everything from MAME 0.72 and MESS 0.72.
- The various effects enabled by -effect now work with rotation enabled.
  (Shyouzou Sugitani)
- The Xv target supports more effects.   (Shyouzou Sugitani)
- The rc parsing code displays more compact and readable error messages.
  (Andre Majorel)
- Xv windowed mode is now enabled with "-x11-mode 2" or "-x11 2", and
  Xv fullscreen mode is enabled with "-x11-mode 3" or "-x11 3".  The
  "-[no]xv" and "-fullscreen" switches are no longer available.
- Added hotkey switching for Xv windowed mode via ALT + DEL and Xv
  fullscreen mode via ALT + END.
- Added -widescreen for Xv.  This shrinks the width of the output for
  display on a widescreen TV.  (Per Wigren)
2003-08-16 18:50:06 +00:00
kristerw
2ee9f12341 Update xmess to 0.71.1.
Changes since 0.70.1 includes:
- Everything from MESS 0.71
2003-07-19 21:02:07 +00:00
kristerw
c67c9e6b64 Update xmess to 0.70.1.
Changes since  0.69.1 includes:
- Almost everything from MESS 0.70
- Fixed the default values for -sysinfo_file and -messinfo_file, which
  were missing a '/'.
- Fixed the handling of leading zeros in the fractional part of a float
  in src/unix/snprintf.c.  (Chris Kirmse)
2003-06-19 17:11:22 +00:00
kristerw
b98bbe8d42 Update xmess to 0.69.1.
Changes since 0.68.1 includes:
- Re-added Ben Collins' core change that adds support for extra mice.
- Reverted to using the original fronthlp.c (from 0.67.2) modified to
  work with the 0.69 core.
- Fixed a logic bug in the XInput devices button-handling.  (Ben
  Collins)
- Made a tiny fix in fileio.c that allows specifying direct paths to
  roms to work again; e.g., ./xmame.x11 ./moo.zip
2003-05-27 12:43:16 +00:00
kristerw
a838cdf85f Update xmess to 0.68.1.
Changes since 0.67.2 include:
- Almost everything from MESS 0.68.
- Fixed the analog joystick support so that the Y-axis is
  recognized as analog.  (Sebastien Devaux)
- The command line is now parsed even if the display cannot be
  opened.  (Christopher Stone, David Mitchell)
- Added support to the core for 4-button mice and 10-button
  joysticks.  (Ben Collins)
- Fixed several problems and did a lot of cleanup in the XInput
  code, especially for the output (e.g., showing detection
  status.  (Ben Collins)
- Fixed a few problems with -listinfo output.  (Andrea Mazzoleni)
2003-05-23 14:17:28 +00:00
kristerw
9f3612f288 Update xmess to 0.67.2.
Changes since 0.66.2 include:
- Almost everything from MESS CVS.
- Added support for konamigx to info.c.  (David Haywood)
- Building the neomame target now works.  (Steve Behling)
- Using XFree86 3.3.6 fbdev in 32bpp now works.  (Steve Behling)
- USB patches to take recent FreeBSD changes into account.  (Matthew N. Dodd)
2003-04-13 17:37:48 +00:00
kristerw
bfcdf148e7 Update xmess to 0.66.2.
Changes since 0.65.1 include:
- Amost everything from MAME 0.66 and MESS CVS.
- The Barath frameskipper is now enabled by default.  (suggested by
  Christopher Stone)
- Rotation has been moved to the blit core and should be a lot faster.
  (Shyouzou Sugitani)
- Analog controls work again, and the analog code is now synced up with
  the Windows code.  (Sebastien Devaux)
- The "-joydev" switch now allows a full device name, such as
  /dev/input/js0, to be specified.
- Added makecd_mame2.pl to contrib tools; this script aids with burning
  CDs with ROMs, flyers, and cabinets.  (Luc Saillard)
- Renamed "-gamma-correction" to "-gamma" to be consistent with the
  Win32 version.  It should also work now.
- An Xv-enabled build should no longer report 0 bits per pixel and stop
  on a display that doesn't support the Xv extension.  (Alexander Miller)
- The "-brightness" switch now works as in Windows.  Removed obsolete
  brightness and gamma code from sysdep_palette.
- Idle sleeping is now disabled while the onscreen configuration menu
  is displayed.  This works around a problem with key and button
  presses not registering when setting input preferences.
- The "-record" and "-playback" switches now work as in the Win32
  version.  Also, the "inp" directory is now created on startup if
  it is missing.
- MAME's disassemblers are no longer built by default.  This avoids
  having to make some ugly little patches to the core.  (Christopher
  Stone)
- Removed the obsolete 8bpp update functions from most of the targets.
  This should speed compilation and produce a smaller binary.
2003-03-20 19:03:27 +00:00
kristerw
81ff9535ee Update xmess to 0.65.1.
Changelog since 0.62.2:
   The core is based on MAME 0.65.  This incorporates all features of the
   update to this core.
2003-02-14 21:58:35 +00:00
kristerw
bad0468e0d Update xmess to 0.62.2.
Changes since 0.62.1nb1 include:
- Fixed problems in memory.c that could lead to crashes and default.cfg
  corruption.  (smf)
- Aspect and mode switches are now available for the Xv driver even if
  DGA isn't enabled.
- The 'rc' and 'hi' directories are now created on startup if they're
  missing.  (Gerd Sussner)
2003-01-13 19:35:42 +00:00
kristerw
793e97cbb6 Update xmess to 0.62.1 (rc3)
Changes since last packaged version are mainly that the emulation core
is based on MAME 0.62, together with random bugfixes.
2002-12-14 15:14:26 +00:00
kristerw
050a854705 The workaround for gcc problems on sparc and arm was a bit too draconian.
Change it to only disable the macros that do massive unrolling (instead
of disable all optimization).

PKGREVISION++
2002-12-07 20:59:52 +00:00
kristerw
0bcaced641 Make xmess compile for new systems that have libusbhid.so instead of libusb.so.
Remove mame.dk as master site, since it is awfully slow.
2002-01-12 22:53:16 +00:00
kristerw
af9676fe4c Update xmess to version 0.56.2.
Changes since xmess-0.37b15 include:

New System Drivers Supported
----------------------------
* Unipolbrit Komputer 2086 [Krzysztof Strzecha]
* ZX Spectrum 48k Psycho (ROM modification) [Krzysztof Strzecha]

System Driver Changes:
----------------------
* [TI81] ON/OFF fixed. ROM bank switching added (port 5). NVRAM support added.
  [Krzysztof Strzecha]
* [TI85/TI86] Snapshot loading corrected. [Krzysztof Strzecha]
* [TC2048/TS2068] Aspect ratio corrected. [Krzysztof Strzecha]
* [TS2068] Support for DOCK cartridges added. Support for Z80 snapshots added.
  AY sound added. [Krzysztof Strzecha]
* [DRAGON/COCO] Improved one bit sound out. Improved support for DMK file
  format; now supports multiple sector sizes. Fixed double sided disk access
  in OS-9. Added support for the memory sense switch used to select between
  64/32, 16 and 4K. [tim lindner]
* [APF Imagination] Cassette loading and saving is working. Disc emulation
  is wo rking. Added some more key definitions. [Kev Thacker]
* [ORIC] Fixed cassette loading and saving. [Kev Thacker, Mathis Rosenhauer]
2002-01-03 00:19:01 +00:00
kristerw
576af7f350 Resurrect the xmess package (it was removed 2 years ago since xmess is
included in the xmame tar ball. xmess doesn't however get updated for
every new mame release, so it makes sense of having a separate package
for it.)

The current xmess version is xmess-0.37b15.2.
2001-09-02 23:04:23 +00:00