Commit graph

44 commits

Author SHA1 Message Date
dillo
8fcef35e77 Update xmame and xmess to 0.106:
0.106:

- Everything from MAME 0.106 and MESS 0.106
- Fixed a link error for messtest. (Arnaud G. Gibert)
- Fixed an alignment bug in the OpenGL driver which caused Defender,
  and possibly other 16bpp games, to be skewed.
- The mouse is no longer automatically grabbed in fullscreen
  mode. Bugzilla bug 877.
- Replaced fuzzy game name comparison with the method used by MAME for
  Windows, which lists approximate matches when an exact match isn't
  found.
- A BadMatch error should no longer occur for the OpenGL target in
  some cases, such as when 16bpp mode is used with recent releases of
  the binary NVIDIA driver.

0.105:

- Everything from MAME 0.105 and MESS 0.105.
- Fixed "-frames_to_run/-ftr" so that it works the same as on Windows.
- Fixed a memory leak in the plugin manager shutdown found by Valgrind.
  Bugzilla bug 850.
- The output of "-listroms (-lr)" now shows the correct driver name
  when it's run for all ROMs.
- Fixed a potential buffer overflow in the standard joystick driver.
  Bugzill bug 821. (Pierre Riteau)
2006-06-15 11:40:00 +00:00
kristerw
0ef42c4a35 Update xmess to 0.104.
Changes from 0.103:
- Everything from MAME 0.104 (http://x.mame.net/changes-mame.html) and
  MESS 0.104 (http://x.mame.net/changes-mess.html).
2006-03-09 20:51:13 +00:00
kristerw
464a90c769 Update xmess to version 0.103.
Release 0.103, 16 January 2006:
- Everything from MAME 0.103 (http://x.mame.net/changes-mame.html) and
  MESS 0.103 (http://x.mame.net/changes-mess.html).
- Modified osd_alloc_executable() to use mmap() by default.  This
  prevents segfaults in the DRC core on systems that support the NX
  bit, such as AMD64 and Intel Prescott.  Thanks to Julian Sikorski,
  Adam Moss, and Carl Fongheiser.
- Fixed a segfault that occurred when LIRC was enabled but lirc_init
  returned an error value.  (Joe Quanaim)
- Added "-[no]lirc" to enable or disable LIRC support.  (Joe Quanaim)
- Fixed several buffer overruns that happened when overly-long data was
  passed for "-ctrlr", "-lang", "-rec", and "-pb".  Fixed other
  potential buffer overruns.  Bugzilla bug 821.
- Files larger than 2GB can now be accessed on platforms with large
  file support.
- The "-createhd" and "-merge" operations in chdman are now a lot
  faster on Linux.
2006-01-22 18:37:52 +00:00
kristerw
5d4b1fa859 Updated xmess to 1.102.
Changes from 1.101:
- Everything from MAME 0.102 (http://x.mame.net/changes-mame.html) and
  MESS 0.102 (http://x.mame.net/changes-mess.html).
- Fixed a bug that could afflict MESS console emulations by preventing
  the keyboard from working.
- The default ALSA buffer size is now 50000ms instead of 250000ms,
  which reduces lag.
- Advancing frame-by-frame using shift-P works again.  Bugzilla bug 787.
- When the setup menu is closed, the keyboard state is cleared.  This
  prevents the key press that closes the menu from affecting the
  emulation.  This replaces the fix from 0.97, which wasn't working
  anymore and caused the frame-by-frame advancing to break besides.
2005-12-03 10:58:22 +00:00
joerg
e904b7b9c8 Add DragonFly support. In the DGA drivers, include sys/time.h to get
struct timeval on DragonFly, otherwise sys/resource.h doesn't compile.
2005-11-17 19:54:08 +00:00
kristerw
495c7a4142 Update xmame/xmess to 0.96.
Release 0.96, 10 May 2005:
- Everything from MAME 0.96 (http://x.mame.net/changes-mame.html) and
  MESS 0.96 (http://x.mame.net/changes-mess.html).
- Fixed the RGB to YUV conversion used by the Xv driver so that it
  conforms to the CCIR digital component video specifications.  Fixes
  Bugzilla bug 691.  (Alex W. Jackson)
- The rows of the OpenGL bitmap used for 16bpp games are no longer
  misaligned in some cases; nagano98 now displays without doubled
  lines.
- The behavior of "-listgamelist" should once again match the Windows
  side with regard to case-insensitive sorting and the treatment of
  leading "The" and "Le".
- When a specific joystick device is designated with "-joydevname
  (-jdev)", it is now always treated as the player 1 joystick.
- The built-in profiler works again.  (Colin Howell)
- The X11 build now properly sets the standard window properties.
  (Christian Birchinger's friend)
2005-05-12 22:34:53 +00:00
kristerw
cf1d4415f0 Update xmess to 0.95.
Changes since 0.90 includes:
- Everything from MAME 0.95 (http://x.mame.net/changes-mame.html) and
  MESS 0.95 (http://x.mame.net/changes-mess.html).
- Forcing Xv to use YV12 ("-force-yuv 2") no longer causes rotated
  games to segfault.  Fixes Bugzilla bug 679.
- Fixed the aspect ratio of the MESS SuperVision driver so that it's
  quadratic.  (PeT)
- Fixed several problems with the front-end "-list" commands: The MESS
  commands could segfault, some commands' headers were misaligned, and
  "-listpalettesize" was causing the ROM list to print.
- Worked around or fixed a double-free on exit in xmess.
- Fixed a segfault on startup that occurred when four or more joysticks
  devices were found.
- The SDL joystick driver now works with multiple joysticks attached.
- The SDL sound driver should produce much better output.  Also fixed a
  potential deadlock.
2005-04-02 20:57:10 +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
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
dillo
64d37f9b38 actually add patch, pointed out by wiz. 2004-05-28 00:46:27 +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
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
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
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
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
soren
feaf11b64b Xmess is now part of xmame. 1999-11-10 07:58:36 +00:00
mycroft
0471d2680d ELF rpath issues. 1999-07-27 03:20:38 +00:00
frueauf
3adea051ce Some more pkglint stuff. 1998-11-12 23:20:09 +00:00
mycroft
f7003c89fc Use -DACORN to fix up unaligned accesses on non-i386en. 1998-09-01 06:58:13 +00:00
mycroft
a492d4b886 Allow the display type to be overridden from the pkg Makefile. 1998-08-31 08:12:19 +00:00
mycroft
4afffc3a12 Use a gmake construct rather than a pmake construct. 1998-08-29 21:32:04 +00:00
frueauf
5d85905c33 Readd rcs ids again. 1998-08-29 19:41:59 +00:00
mycroft
bca6b08c2b Update to 0.2b4.1. 1998-08-29 04:24:28 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00
mycroft
aad2f21ae2 Enable MIT-SHM, as pointed out by Mario Kemper. 1998-07-23 09:38:09 +00:00
frueauf
d128c1533b Give xmess the chance to compile on non-i386 machines too. 1998-07-22 09:41:15 +00:00
mycroft
460839434c Initial port of the XMESS game console emulator. 1998-07-09 12:34:56 +00:00