Commit Graph

15133 Commits

Author SHA1 Message Date
R. Belmont
634ff3154c 68k: add 68301/68307 aliases for better documentation [David Haywood] 2012-02-27 23:43:07 +00:00
Angelo Salese
cfb5ee9dc4 Fixed colors in senjyo.c driver (mostly noticeable with senjyo background colors) [Tsuyoshi Hasegawa] 2012-02-27 19:52:09 +00:00
Scott Stone
fecfdf0fd4 megatech.c: Implemented outputs for the time limit alarm sound and screen flash. [bdam]
undrfire.c: Implement outputs for undrfire and cbombers.  Lamps, gun recoil, and wheel vibration are implemented. [bdam]
2012-02-27 19:43:33 +00:00
Scott Stone
6f2af481a5 Fix for potential driver conflicts with same named machine states between MAME and MESS. [David Haywood] 2012-02-27 17:48:43 +00:00
Scott Stone
d96955a9f8 Fix for copy/paste error (nw) 2012-02-27 17:01:02 +00:00
Scott Stone
f9b3ee8e81 Fixed ROMs labels, added pcb locations and a better documentation about sub-revisions. Renamed some romsets to use revision codes. [Team CPS-1] 2012-02-27 16:12:23 +00:00
Scott Stone
d1590bb4d4 Added Virtua Cop clone, plus some better description fixes. [Team CPS-1]
New clones added
----------------
Virtua Cop (Revision A) [Layne, Smitdogg, The Dumping Union]
2012-02-27 15:59:52 +00:00
Scott Stone
f0a2344909 CPS-1 update [Team CPS-1]:
* Added some notes and done some documentation fixes.
* Expanded and updated games table in video\cps1.c
* Removed the notes about LW-13.10D ROM in forgottnu
  and RT_23.13B ROM in wonder3, since current dumps
  are confirmed as good.
* Fixed qad labels and confirmed pcb infos.


New clones added
----------------
Final Fight (World, set 2) [Bonky0013, JacKc]
Forgotten Worlds (USA, B-Board 88618B-2, Rev. C) [Bonky0013, JacKc]
Street Fighter II: The World Warrior (USA 920522, Rev. G) [Bonky0013, JacKc]
2012-02-27 15:14:51 +00:00
R. Belmont
24633788c0 naomi: corrected PIC number information for starseek [Guru] 2012-02-27 02:03:43 +00:00
R. Belmont
a0b7883fa3 SDL: support unofficial (not in the OSD class) num_processors API used by chdman. Allows chdman to use multiple cores/processors on non-Windows. [R. Belmont] 2012-02-26 22:55:18 +00:00
Angelo Salese
569dc10219 Fixed swapped romsets between doncdoon and kurufev 2012-02-26 21:20:33 +00:00
Wilbert Pol
08d355c02a lr35902.c: Converted LR35902 cpu core to c++. [Wilbert Pol] 2012-02-26 20:36:24 +00:00
Angelo Salese
d27f8cb525 Clean-ups (?) and version bump 2012-02-26 19:51:00 +00:00
R. Belmont
782c568876 chdman: Properly handle and warn on bin/cue output of images with subcode data [R. Belmont] 2012-02-26 18:23:18 +00:00
Fabio Priuli
939ed1febe fixed listxml and validation. 2012-02-26 17:05:45 +00:00
Angelo Salese
04145d0b62 Clean-ups and version bump 2012-02-26 14:31:24 +00:00
Angelo Salese
b46b9de8c8 Set splitting from J. Wallace, nw 2012-02-26 14:05:46 +00:00
Miodrag Milanovic
7b19378ffe Proper start state of ins8250 by Carl (no whatsnew) 2012-02-26 13:46:03 +00:00
Miodrag Milanovic
de8965097c Fixed order of timer init and save state by Sandro Ronco (no whatsnew) 2012-02-26 13:42:03 +00:00
Aaron Giles
5409b54206 Better management of FLAC block sizes, aiming to keep them around 2k
samples. Increased CD sectors per hunk to 8 for better compression.
[David Haywood]

Re-did the non-CD FLAC codec to be "smart" in that it can choose
either big-endian or little-endian on the fly and uses the best one.
Added FLAC as a default codec for hard disks, which helps a lot for
certain disks. [Aaron Giles]
2012-02-26 07:18:28 +00:00
R. Belmont
570a3b5010 konamigv: updated all CDs to v5 SHA1s, marked all old-format dumps BAD_DUMP (nw) 2012-02-26 02:37:27 +00:00
Scott Stone
4ce6aee617 Fixed MT#04704: 25pacman: Unable to continue while playing Galaga 2012-02-25 23:51:59 +00:00
Ville Linde
217ddea642 Fix typo (nw) 2012-02-25 22:49:18 +00:00
Wilbert Pol
d20fa161df Sync with MESS 2012-02-25 21:22:21 +00:00
Aaron Giles
1ff793a4a8 Create a new device_mixer_interface, derived from device_sound_interface,
which mixes all its inputs to a single output stream. Redefined the
SPEAKER device to use this and remove the duplicate underlying logic.
The main purpose of this new interface is to allow device-ification of
an entire sound board, which can itself become a mixer of all of its
sound components to a single output stream. This stream can then be
routed by the device's owner to the appropriate speakers. A real-life
example will show up soon.
2012-02-25 19:21:35 +00:00
Aaron Giles
19d720efc1 Expose a static interface for using the sample loader, for any
other sound chips which may need to fetch samples.
2012-02-25 19:19:01 +00:00
Aaron Giles
8d02105004 Added member read/write handlers to the 6532 RIOT. 2012-02-25 19:18:06 +00:00
Aaron Giles
a3fa2781de Fatal error if a custom I/O port handler's device is not found. 2012-02-25 19:17:03 +00:00
Aaron Giles
716a07a18e Devcb port tags need to be relative, not absolute, like other devcb tags. 2012-02-25 19:15:32 +00:00
Ville Linde
d4b608c178 gticlub: Rewrote the 3D renderer. Implemented gouraud shading, lighting and fog. [Ville Linde] 2012-02-25 15:31:26 +00:00
Ville Linde
e1b983d658 Enabled MMU on MPC8240. (nw) 2012-02-25 15:02:06 +00:00
Wilbert Pol
9add8b78c0 Sync with MESS 2012-02-25 11:48:35 +00:00
mahlemiut
84422fd1ca i386: LOCK prefix should depend on IOPL on 386. Windows NT beta boots. [Carl] 2012-02-24 21:04:08 +00:00
Miodrag Milanovic
d4311f0853 Added getsoftlist;glist call so list content can be taken by name, to help clrmamepro and others handling software lists, and simplified rest of code (no whatsnew) 2012-02-24 14:59:26 +00:00
smf-
ae55397d52 merged changes from mess 2012-02-24 14:22:36 +00:00
Miodrag Milanovic
fe6a725e91 [N64] Fix audio sync issues in Super Mario 64 and probably others, and also bring PI DMA speed into the realm of reality. [Ryan Holtz]
[N64] Change PI DMA speed from 3 cycles/word to 5.08 cycles, as average PI speed is between 2.53 and 2.55 cycles/byte. [Ryan Holtz]
2012-02-24 08:51:46 +00:00
Miodrag Milanovic
d615871662 Reverted some checks back and fixed few more cases (no whatsnew) 2012-02-24 08:44:23 +00:00
Miodrag Milanovic
e1439dfa3f Previous check gave false positives, also slot devices can gave empty rom regions so that have to be marked on output (no whatsnew) 2012-02-24 08:10:37 +00:00
Fabio Priuli
dd9f8aa093 clifront.c: slightly modified verifyroms to handle properly no-roms devices verification (wrong report message was output). no whatsnew. 2012-02-24 07:21:53 +00:00
Scott Stone
90e52f9887 Documentation of the video data on Dragon Gun. [David Haywood]
Fix for clones for j6cpal (nw)


New games marked as GAME_NOT_WORKING
------------------------------------
Pot O' Gold  [Bicyclerepairman]
2012-02-24 03:31:09 +00:00
mahlemiut
4cedc79e43 i386: Prevent page faults when returning to same privilege and unmapped pages are above the stack. Windows 95 boots now. [Carl] 2012-02-24 00:40:48 +00:00
Angelo Salese
c62d5a2d70 Not much time, but nailed where it loops 2012-02-23 18:56:37 +00:00
Fabio Priuli
5607b591db info: made consistent the loops through subdevices. no whatsnew. 2012-02-23 17:51:14 +00:00
Fabio Priuli
9e08266ba6 clifront: fix verifyroms behavior after rev.15500. no whatsnew. 2012-02-23 17:37:52 +00:00
Fabio Priuli
734562844e info.c: additional cleanup for device info output made possible by Micko's work + renamed slot "shortname" attribute to "devname" to make clear it is the name of the device to be mounted. no whatsnew. 2012-02-23 16:18:48 +00:00
Miodrag Milanovic
8e20ddb184 Fixed debug asserts (no whatsnew) 2012-02-23 15:36:18 +00:00
Miodrag Milanovic
266db132cc info.c - no need for description here since you can now check it in device according to shortname (nw) 2012-02-23 14:51:32 +00:00
Miodrag Milanovic
4f311f5db7 Small fix (nw) 2012-02-23 14:42:22 +00:00
Miodrag Milanovic
b0f7165a6a [N64] Don't flush the RSP DRC cache on DMA. Fixes Mario 64 and others. [Ryan Holtz]
[N64] Miscellaneous machine fixes, gets Conker's Bad Fur Day to boot through its legal screens with interpreter MIPS. [Ryan Holtz]
- Increase the amount of time consumed by PI DMA, makes certain RSP microcodes that test DMA speed land in the correct window.
- Force the main CPU to yield when the RSP reads its atomic semaphore.
- Force the RSP to yield when PI DMA completes.
- Flush the RSP DRC cache when touching IMEM with SP DMA.
2012-02-23 14:31:03 +00:00
Miodrag Milanovic
3915e5c0e2 [N64] Force mtc0 opcodes that initiate to-RSP DMAs to end recompile sequences to force a code check. Fixes certain microcodes from executing garbage code after DMA. [Ryan Holtz] 2012-02-23 14:30:03 +00:00
Miodrag Milanovic
97c3d0cb39 - removed need for *_dev.lst files [Miodrag Milanovic]
- enforced short names for slot card devices
- updated validation, romverify and listxml output accordingly
- slotoptions now also contain shortnames so it's possible to link
  slot option and device
2012-02-23 14:19:37 +00:00
Miodrag Milanovic
dc0fc0e01f Sync OG changes from MESS (no whatsnew) 2012-02-23 14:07:01 +00:00
Scott Stone
bce5902abc New clones added
----------------
Mortal Kombat (Yawdim bootleg - Set 2)  [ScheissNussen, Smitdogg, The Dumping Union]


New games marked as GAME_NOT_WORKING
------------------------------------
Area 51: Site 4 (September 11, 1998)  [ninjakid]


Added missing proms for Fax and Fax 2.  [W. Belk, Smitdogg, The Dumping Union]
2012-02-23 04:39:44 +00:00
Scott Stone
207c1bb05e New games marked as GAME_NOT_WORKING
------------------------------------
NFL Classic Football (NCF3 Ver.A.)  [Smitdogg, The Dumping Union]
2012-02-23 01:02:10 +00:00
Roberto Fresca
f53073eefd Preliminary driver for Merkur's 'Mahn Oh-Mann'. German board game
similar to Ludo, derivated from the indian game Parchisi. Coin-op
machine for 1-4 players. No screen, just artwork and lamps.
[Roberto Fresca]


New games marked as GAME_NOT_WORKING
------------------------------------
Mann, oh-Mann [Roberto Fresca, Team Europe]
2012-02-23 00:11:50 +00:00
mahlemiut
b27a83bf13 i386: Added 32-bit versions of LMSW, and made LMSW only change the lower
4 bits of CR0. [Barry Rodewald]
      Fixed Windows 95 blue screen. [Carl]
2012-02-22 23:42:26 +00:00
Fabio Priuli
965547d513 not sure when I needed this, but for sure not in the latest code... no whatsnew. 2012-02-22 22:45:31 +00:00
Fabio Priuli
f49ce40623 info.c: several fixes and additions to listxml output [Fabio Priuli]
- appended to xml info about devices which can be optionally mounted to slots
- added a description attribute to slotoption to show which devices can be mounted
  in each slot
- added to xml info of cpus/inputs/image/slots which are relative to devices (e.g. CPUs
  or Dipswitches in the device itself)
- tags of elements directly attached to the root_device do not display anymore the
  root colon (slot tags were already behaving in this way); elements attached to optional 
  devices use tags starting with colon (to be interpreted as a relative tags which gets 
  appended to the device tag, when such a device is selected in a slot)
- modified when necessary output routines to pass a root_device and a root_tag as 
  parameters, in order to simplify output of relative devices and avoid duplicated code
- updated DTD according to the new elements and attributes
These changes allow frontends to know in advance how drivers can be configured
through the various slot options (by matching option descriptions with device
descriptions), without the need to run -lx with the various slot combinations. This is
especially of use if a device adds e.g. dipswitches or image devices (like additional
floppy drives or additional slot expansions), but also if one wants to know e.g. how many 
sound channels a soundcard would add to a pc driver, or which kind of screen parameters
would be added by a specific choice of video card.
2012-02-22 22:17:24 +00:00
smf-
6cac5ee3ab verifyroms looks in parent sets again. The bug caused clone sets to be listed as bad when you didn't have them as it thought every rom was shared with the parent. 2012-02-22 21:35:30 +00:00
Scott Stone
849d9e9684 label adjustments from Guru for nwk-tr.c (nw) 2012-02-22 20:55:18 +00:00
Scott Stone
b5c63c14e2 rom label adjustments to match discussed format. (nw) 2012-02-21 23:51:07 +00:00
Scott Stone
6137621cdb MT #4691-4694: Misc documentation fixes (nw) 2012-02-21 21:00:29 +00:00
Angelo Salese
b1fadc6961 new clones
---------------
PuzzLoop 2 (Japan 010226) [idc/Team Avalaunch]
Street Fighter II': Champion Edition (Japan 920322)  [idc/Team Avalaunch]
2012-02-21 18:11:26 +00:00
Miodrag Milanovic
7f9a1e5e97 Fix for device_ref tag in listxml (no whatsnew) 2012-02-21 15:12:03 +00:00
Miodrag Milanovic
bb0f3da064 Give more proper name and disabled loading of soflist items in open_image_file call (no whatsnew) 2012-02-21 12:43:14 +00:00
Miodrag Milanovic
dab559f2aa Added helpers for loading file for slot determination (no whatsnew) 2012-02-21 10:27:17 +00:00
Miodrag Milanovic
d9303a9a03 [N64] Various PIF fixes, gets Command & Conquer to boot and games to recognize and save to controller paks. [Ryan Holtz] 2012-02-21 07:57:32 +00:00
Aaron Giles
8cf5580b11 Fix MT4696 - 8-bit sample reading was broken 2012-02-21 06:36:17 +00:00
Aaron Giles
fe763516ae Be more rigorous about parsing invalid hashes. Report them
only through validity checking. If detected normally, do
a best-effort attempt so that things like CRC(1) SHA1(1) can
be used to force reporting of proper checksums.
2012-02-21 06:29:54 +00:00
Aaron Giles
1824c80bdd Added new function dumpmeta to dump out a particular piece of metadata
to a file or stdout.
2012-02-21 04:29:55 +00:00
Ryan Holtz
5c66c749e2 - Added a trivial Y reject to triangle draw commands in the N64 RDP. [Ryan Holtz] 2012-02-20 21:10:04 +00:00
Roberto Fresca
668eb4b95e Improvements to golden poker driver [Roberto Fresca]
* Added Casino Poker (Ver PM86LO-35-5, German).
 * Inputs from the scratch.
 * Switched manufacturer 'Playman' to PM / Beck Elektronik, since
    it's PM and Beck Elektronik/Computer/etc...
 * Added technical and game notes.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Casino Poker (Ver PM86LO-35-5, German) [Roberto Fresca, Team Europe]
2012-02-20 18:09:16 +00:00
Miodrag Milanovic
8e7764e673 One more to fix cmpsb (dir /s works now) and remove unused variables. [Carl] 2012-02-20 17:34:10 +00:00
Aaron Giles
721e1726ee Better fix is to just not parse start/end when there's no input file. 2012-02-20 15:59:09 +00:00
Scott Stone
3fc1d53b26 Misc documentation fixes (nw) 2012-02-20 15:26:12 +00:00
R. Belmont
b25c022e00 chd.c: fix trivial uninitialized variable (nw) 2012-02-20 14:51:09 +00:00
Miodrag Milanovic
1aed309a48 Fixed empty CHD creation for HDD's (no whatsnew) 2012-02-20 14:34:52 +00:00
Miodrag Milanovic
bd25da6519 Error message type fix from Firewave (nw) 2012-02-20 11:44:29 +00:00
Miodrag Milanovic
73b83d515d Removed some calls in image.c, note that add_dynamic_device is still used, it's still handy (no whatsnew) 2012-02-20 11:42:40 +00:00
Miodrag Milanovic
274d3d58a8 Removed printfs (nw) 2012-02-20 10:59:22 +00:00
Aaron Giles
fd8924f793 Williams blits with bit 2 set take approximately 2x as long because
they are bus-shared with RAM. Should impact some timing behaviors
such as later levels in Robotron, where approximately 10% of the
blits are done with bit 2 set. Further refinements may be necessary
but this addresses the most significant issue. [Sean Riddle, Aaron Giles]
2012-02-20 08:41:18 +00:00
Miodrag Milanovic
07ae75de27 m68k: Add API to install a non-debugger instruction hook. Usage is strongly NOT recommended except for dire cases. [R. Belmont] 2012-02-20 08:25:57 +00:00
Miodrag Milanovic
f17ae85865 mc146818 - Set period even if timer is disabled, required for windows nt [Carl]
diserial - added optinal rx and tx timers and callbacks [Carl]

ins8250 - serial rx line high on start and fix for msr register [Carl] 

bitbanger - added 19200bps (no whatsnew)
2012-02-20 08:05:19 +00:00
Miodrag Milanovic
1a4b927e36 Fix compile under 4.6.2 (nw) 2012-02-20 07:53:43 +00:00
Ryan Holtz
7b88bd1f7d - Checksum the delay slot in single-instruction blocks in the MIPS3 and RSP DRCs. [Ryan Holtz] 2012-02-20 07:47:44 +00:00
Aaron Giles
29b32d229b Fix ld tool compilation. 2012-02-20 07:26:05 +00:00
Aaron Giles
1db879e232 Removed rom_source abstraction, which was just mapping to devices
anyways. Updated everyone involved to just iterate over devices
directly.
2012-02-20 06:06:58 +00:00
Brian Troha
3acdb010c5 new working clone - Alt Beast set 5 (formerly Juuouki set 2)
Now that the FD1094 key has been supplied we see it's actually Altered Beast ;-)


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Altered Beast (FD1094 317-0069) [Stefan Lindberg, Chris Hardy, The Dumping Union]
2012-02-20 00:12:44 +00:00
Aaron Giles
d73542e199 The right fix is to not compare against array index -1. 2012-02-19 17:22:07 +00:00
Miodrag Milanovic
e82fa6e24e Rewrite INS8250 to use diserial, updated Microtouch to modern and made it serial device, updated connected drivers [Carl] 2012-02-19 16:46:00 +00:00
Miodrag Milanovic
d24e475f0e This one visible on clean only (nw) 2012-02-19 16:13:29 +00:00
Miodrag Milanovic
6edc79e1fd compile fix (nw) 2012-02-19 15:42:06 +00:00
R. Belmont
8f0d4dc709 chdcd: Fix crash when parsing bin/cue [R. Belmont] 2012-02-19 15:35:46 +00:00
Angelo Salese
cf4b58b6f6 Clean-ups and version bump 2012-02-19 15:23:23 +00:00
R. Belmont
2f8094ea33 Compile fix for PPC OSX (nw) 2012-02-19 15:05:37 +00:00
Miodrag Milanovic
3fc01aab1b Added more checks while doing listslots (nw) 2012-02-19 14:41:15 +00:00
Miodrag Milanovic
438f8781de ups (nw) 2012-02-19 14:16:27 +00:00
Miodrag Milanovic
2c4fdd2625 Added possibility to see subslot devices when they are added from softlist, also removed "const" from get_default_card_software, that enable better usage and no need for it to be like that (no whatsnew) 2012-02-19 14:09:07 +00:00
Fabio Priuli
e1de7b7db1 fixed MacOSX compile. no whatsnew.
src/lib/util/chd.c: In member function 'chd_error chd_file::compress_v5_map()':
src/lib/util/chd.c:1660: warning: comparison is always true due to limited range of data type
2012-02-19 13:26:01 +00:00
Ryan Holtz
285c2fd3b7 - Fixed N64 RDP to not try to render a triangle with no spans. [Ryan Holtz] 2012-02-19 11:21:36 +00:00
Miodrag Milanovic
4ba8461f7c Added windows implementation of pseudo tty access functions over pipes [Carl] 2012-02-19 08:50:03 +00:00
Miodrag Milanovic
f15ecf090f Fix compile under 4.6.2 (no whatsnew) 2012-02-19 08:46:27 +00:00
Scott Stone
04d36f7f50 Missed a parent on description rename (nw) 2012-02-19 04:06:59 +00:00
Scott Stone
fffd05a4c6 Further rom name adjustments per Guru's direction (nw) 2012-02-19 03:59:57 +00:00
Scott Stone
b4bb202b7e rom name update per Guru for kofnwj (nw) 2012-02-19 02:53:48 +00:00
Aaron Giles
a33c799e22 free_file_line no longer complains about NULL free's not existing.
Removed unnecessary checks for NULL that were added due to the
previous problem.
2012-02-19 02:01:54 +00:00
Aaron Giles
1db230096b Update CHD error list in chd.c
Remove 100% redundant and silly list of error strings in harddriv.c
and chd_cd.c
2012-02-19 01:59:23 +00:00
Aaron Giles
24400ec223 Rewrote SAMPLES as a modern device. Updated all callers. FLAC
reading is now done using the FLAC wrapper. There is now a
samples_iterator class to centralize the logic for handling
the sample list walking.

Also redid the cheesy half-baked votrax device since it relied 
on some old samples-based handling. Until we have a real 
implementation, it would be good to route the various clients 
through the current one to at least wire it up properly, even 
if it just plays samples in the end. Will look into that 
shortly.
2012-02-19 01:53:16 +00:00
Scott Stone
b76358a335 Documentation fixes for gambling games, covering MT# 4680, 4682, 4683, 4687-4690 (nw) 2012-02-19 01:23:50 +00:00
R. Belmont
1a7f8efd92 New games added as GAME_NOT_WORKING
-----------------------------------
Soul Surfer (Rev A) [f205v. The Dumping Union]
Initial D Arcade Stage Ver. 3 (Export) [f205v, The Dumping Union]
2012-02-19 01:16:43 +00:00
Ryan Holtz
a286574bb1 - Assorted N64 SP/DP/CPU comms accuracy fixes. [Ryan Holtz] 2012-02-19 00:44:19 +00:00
Scott Stone
444ded2016 Nearly finished making some individual rom name adjustments to ease potential merging issues. (nw) 2012-02-19 00:27:36 +00:00
Brian Troha
04ba4a7e4e vamphalf.c: Added correct speed up to Diet Family [Dave Haywood] 2012-02-18 22:33:49 +00:00
Scott Stone
e3cd5e1e17 Misc rom name adjustments (nw) 2012-02-18 20:42:26 +00:00
Miodrag Milanovic
c4baab0fee Fixed CHD error messages for image devices (no whatsnew) 2012-02-18 18:22:47 +00:00
Miodrag Milanovic
05c62ec803 Fixed cdrom_file allocation, it contains classes so can't be allocated by malloc this fix crash opeining CUE file directly from MESS (no whatsnew) 2012-02-18 16:13:16 +00:00
R. Belmont
f1df472f90 namcos23: documentation update [Guru] 2012-02-18 15:00:19 +00:00
Miodrag Milanovic
287777d6a1 Delete dynamic_array buffer only if allocated, fixes crash in taitogn, require at least clean lib compile (no whatsnew) 2012-02-18 14:09:09 +00:00
Miodrag Milanovic
07077bc425 Fixed taitogn regression (no whatsnew) 2012-02-18 13:25:02 +00:00
Miodrag Milanovic
f47c0750ce dma8237: fix uninitialized variable [Hans Ostermeyer]
mc146818: remove previous Apollo hack, fix 32768 Hz. updates [Hans Ostermeyer]

m68k: fix FSGLMUL/FSGLDIV plus some minor MMU improvements [Hans Ostermeyer]

m68k: slightly less stubby CINV [Hans Ostermeyer]
2012-02-18 10:58:12 +00:00
smf-
c19f1f8c49 fixed whitespace in macro_string(). 2012-02-18 07:15:45 +00:00
Scott Stone
0fb3eb2cbf Changed sample pack names for alphamc07 -> equites and aristmk4 -> 3bagflvt to match up sample to an actual setname. [Tafoid]
Started making some individual rom name adjustments, assisting those who decide to use parent-only romset merging, a more likely event now with added .7z solid archiving.  (nw)
2012-02-18 02:48:45 +00:00
Brian Troha
a189646e80 New Game - Diet Family
Out of whatsnew - Haze should be able to correct the speed up soonish

New Game Added
-----------------------------------------
Diet Family [Dr. Spankenstein, Paratech, joe35car, tormod, M. Hoenig, Mosquito2001, M. Ponweiser, M. Viste, Phil Bennett, N. Francfort, A. Costin, J. Finney, gamerfan, Smitdogg, The Dumping Union]
2012-02-18 00:23:17 +00:00
Scott Stone
46c7ed406e Changed goodluck to be clone of bsuerte due to rom comparisons (nw) 2012-02-17 22:49:04 +00:00
Scott Stone
4126c9f0e0 Fixed MT#04685: yosakdon, yosakdona: Unable to control players 2012-02-17 20:29:14 +00:00
Aaron Giles
633f8e497f Move all-0 detection to the write path. Use hunk_info on the
compression path to detect whether the write went through.
2012-02-17 18:37:10 +00:00
Aaron Giles
397de27f0c Fail initializing the CD-FLAC codec if the hunk size is not CD-compatible.
Centralize detection of existing output files. Add detection (require --force)
for extracted files as well. Move checks outside of try/catch so that the
files are not subsequently deleted.
2012-02-17 18:24:30 +00:00
Aaron Giles
9e8ea7466f Added new CHD codec: CD-FLAC which knows how to shuffle CD data
to more optimally use FLAC. Updated flac wrapper to implement a
tell callback so FLAC can tell us how much we've decoded. Updated
chdman to use CD-FLAC codec in preference over the existing 
codecs for CDs by default. Credit Haze for the idea.
2012-02-17 15:34:14 +00:00
R. Belmont
37cbf2808e Fix -romident to work with .7z archives [David Haywood] 2012-02-17 14:22:28 +00:00
Miodrag Milanovic
5b0924d6fa Fix char_to_hex upper chars, this fixes listxml output (no whatsnew) 2012-02-17 10:26:51 +00:00
Miodrag Milanovic
b6bf294ed3 fix from mess, visible by 32bit mingw 4.4.7 (no whatsnew) 2012-02-17 09:38:56 +00:00
Ryan Holtz
1fdead69f6 - Added warm reset support to N64 hardware [Ryan Holtz] 2012-02-17 05:30:47 +00:00
Ryan Holtz
93648728b7 - Hook up 64DD RTC and interrupts in the N64 code. Please insert disc. [Ryan Holtz] 2012-02-17 02:40:14 +00:00
mahlemiut
c2a33be1bd chdcodec.c: Fix Linux compile (no whatsnew) 2012-02-16 22:36:52 +00:00
Ryan Holtz
9812116f2b - Fixed an issue with text being missing in some Aleck 64 games. [Ryan Holtz]
- Reduced memory usage in the N64 driver. [Ryan Holtz]
2012-02-16 22:10:34 +00:00
Aaron Giles
e055a551c1 Remove redundant hashing code, use hashing.h instead.
Remove overabstraction in hash.h; it's ok to hard code the
two types of hashes we have. Even adding another one would
not be very difficult. ;)
2012-02-16 21:53:30 +00:00
Aaron Giles
a825e9730d Fix blocksize for FLAC encoder.
Fix writing uncompressed CHDs via createhd.
2012-02-16 18:09:56 +00:00
Miodrag Milanovic
b4c36e74e0 Sync with MESS (no whatsnew) 2012-02-16 14:02:34 +00:00
Miodrag Milanovic
a7343bc628 Moved software checks in front of other checks in clifront
in order to make things more consistent with behaving when cmd line
parameters are sent, also added emuopts support to add newly created
options if some is added with adding software item in slot (no whatsnew)
2012-02-16 13:54:52 +00:00
Miodrag Milanovic
b68594778f Fix compile on 4.6.2 (no whatsnew) 2012-02-16 13:47:34 +00:00
Aaron Giles
f0823886a6 Major CHD/chdman update. The CHD version number has been increased
from 4 to 5. This means any diff CHDs will no longer work. If you
absolutely need to keep the data for any existing ones you have,
find both the diff CHD and the original CHD for the game in question 
and upgrade using these commands:

  rename diff\game.dif diff\game-old.dif
  chdman copy -i diff\game-old.dif -ip roms\game.chd -o diff\game.dif -op roms\game.chd -c none

Specifics regarding this change:

Defined a new CHD version 5. New features/behaviors of this version:
  - support for up to 4 codecs; each block can use 1 of the 4
  - new LZMA codec, which tends to do better than zlib overall
  - new FLAC codec, primarily used for CDs (but can be applied anywhere)
  - upgraded AVHuff codec now uses FLAC for encoding audio
  - new Huffman codec, used to catch more nearly-uncompressable blocks
  - compressed CHDs now use a compressed map for significant savings
  - CHDs now are aware of a "unit" size; each hunk holds 1 or more units
     (in general units map to sectors for hard disks/CDs)
  - diff'ing against a parent now diffs at the unit level, greatly
     improving compression

Rewrote and modernized chd.c. CHD versions prior to 3 are unsupported,
and version 3/4 CHDs are only supported for reading. Creating a new
CHD now leaves the file open.  Added methods to read and write at the 
unit and byte level, removing the need to handle this manually. Added
metadata access methods that pass astrings and dynamic_buffers to
simplify the interfaces. A companion class chd_compressor now
implements full multithreaded compression, analyzing and compressing
multiple hunks independently in parallel. Split the codec 
implementations out into a separate file chdcodec.*

Updated harddisk.c and cdrom.c to rely on the caching/byte-level read/
write capabilities of the chd_file class. cdrom.c (and chdman) now also 
pad CDs to 4-frame boundaries instead of hunk boundaries, ensuring that
the same SHA1 hashes are produced regardless of the hunk size.

Rewrote chdman.exe entirely, switching from positional parameters to
proper options. Use "chdman help" to get a list of commands, and
"chdman help <command>" to get help for any particular command. Many 
redundant commands were removed now that additional flexibility is
available. Some basic mappings:

  Old: chdman -createblankhd <out.chd> <cyls> <heads> <secs>
  New: chdman createhd -o <out.chd> -chs <cyls>,<heads>,<secs>

  Old: chdman -createuncomphd <in.raw> <out.chd> ....
  New: chdman createhd -i <in.raw> -o <out.chd> -c none ....

  Old: chdman -verifyfix <in.chd>
  New: chdman verify -i <in.chd> -f

  Old: chdman -merge <parent.chd> <diff.chd> <out.chd>
  New: chdman copy -i <diff.chd> -ip <parent.chd> -o <out.chd>

  Old: chdman -diff <parent.chd> <compare.chd> <diff.chd>
  New: chdman copy -i <compare.chd> -o <diff.chd> -op <parent.chd>

  Old: chdman -update <in.chd> <out.chd>
  New: chdman copy -i <in.chd> -o <out.chd>

Added new core file coretmpl.h to hold core template classes. For now
just one class, dynamic_array<> is defined, which acts like an array
of a given object but which can be appended to and/or resized. Also
defines dynamic_buffer as dynamic_array<UINT8> for holding an 
arbitrary buffer of bytes. Expect to see these used a lot.

Added new core helper hashing.c/.h which defines classes for each of
the common hashing methods and creator classes to wrap the 
computation of these hashes. A future work item is to reimplement
the core emulator hashing code using these.

Split bit buffer helpers out into C++ classes and into their own
public header in bitstream.h.

Updated huffman.c/.h to C++, and changed the interface to make it
more flexible to use in nonstandard ways. Also added huffman compression
of the static tree for slightly better compression rates.

Created flac.c/.h as simplified C++ wrappers around the FLAC interface.
A future work item is to convert the samples sound device to a modern
device and leverage this for reading FLAC files.

Renamed avcomp.* to avhuff.*, updated to C++, and added support for
FLAC as the audio encoding mechanism. The old huffman audio is still
supported for decode only.

Added a variant of core_fload that loads to a dynamic_buffer.

Tweaked winwork.c a bit to not limit the maximum number of processors
unless the work queue was created with the WORK_QUEUE_FLAG_HIGH_FREQ
option. Further adjustments here are likely going to be necessary.

Fixed bug in aviio.c which caused errors when reading some AVI files.
2012-02-16 09:47:18 +00:00
Olivier Galibert
e6dad37593 sync (nw) 2012-02-16 05:38:17 +00:00
Brian Troha
431af6c164 vamphalf.c: Whitespace fix and allow both Wyvern Wings sets to co-exist. 2012-02-16 01:55:05 +00:00
Couriersud
ebe89a47d3 Fixed testkeys to work with SDL2.0. Keymaps can now contain SDL1.3 and SDL2.0 mappings. Updated km-de.txt as an example. [Couriersud] 2012-02-16 01:38:13 +00:00
Angelo Salese
1ea68a18b1 Haze: speed ups for the new sets, nw 2012-02-16 01:28:28 +00:00
Scott Stone
7eac47988b Two completely different definitions of class sms_state being linked in was never going to end well. Patch from Haze (nw) 2012-02-16 01:10:13 +00:00
Couriersud
19c3217408 Added support for (track)balls to osd/sdl. [Couriersud]
To test it, I used my Logitech Trackball (normally a mouse) and configured it as a joystick.

Prerequisites:

- Locate your linux input device for the trackball. In my case that's /dev/input/event3
- "sudo chmod a+r /dev/input/event3"
- "export SDL_JOYSTICK_DEVICE=/dev/input/event3"

This forces sdl to recognize the trackball as a input device.

-mame64 missile -nomouse -w

Configure the trackball axis. Make sure the mouse pointer is outside the window and window still has keyboard focus - most modern window manager should support this. 

Quit and restart with

-mame64 missile -mouse -now

to hide the mouse. Voila. Works.
2012-02-15 21:40:35 +00:00
Olivier Galibert
19f9947d9f 68040: Teach fsave to pee on the correct side of the tree [O. Galibert] 2012-02-15 17:37:01 +00:00
Miodrag Milanovic
7e5ba6d041 Made aliases for image devices without index, make some exotic cases to work better (no whatsnew) 2012-02-15 15:29:33 +00:00
Miodrag Milanovic
e50e22bd14 Making sure tape stops at end when playing (Apple1 for example), patch by Robbbert (no whatsnew) 2012-02-15 11:34:49 +00:00