Commit Graph

14999 Commits

Author SHA1 Message Date
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
Ryan Holtz
5e880d2887 [N64] Partially fix PIF access, several more games recognize cart SRAM, cart FlashROM, cart EEPROM, and controller paks [Ryan Holtz] 2012-02-15 03:10:27 +00:00
Scott Stone
6f1ad5e425 Deleted comments on some model2.c games added recently which are actually 2B-based. (nw) 2012-02-15 02:40:48 +00:00
Brian Troha
a976cc65a8 cps3.c: Documentation update and + white space alignment. - NW 2012-02-15 01:56:05 +00:00
Miodrag Milanovic
5ef9d506a1 Fixed kinst regression, thing is update of fetures should be done on different place now (no whatsnew) 2012-02-14 14:41:27 +00:00
Miodrag Milanovic
37a5826373 pic8259 : when using level trigger mode we are taking current lines on EOI (no whatsnew) 2012-02-14 10:57:29 +00:00
Miodrag Milanovic
cfabeee3ab import from MESS (no whatsnew) 2012-02-14 10:38:12 +00:00
Olivier Galibert
417378e40c mumble (nw) 2012-02-14 09:27:58 +00:00
Scott Stone
0dbc8ff47c Drop duplicate setname from mame.lst (nw) 2012-02-14 02:26:07 +00:00
Scott Stone
53dba65fa2 Misc gambling additions from AgeMAME (nw) 2012-02-14 01:33:01 +00:00