Commit Graph

956 Commits

Author SHA1 Message Date
Angelo Salese
83cde9101e New WORKING game
--------------------
Lucky Boom [f205v, David Haywood]

Refactoring of the PGM protection [David Haywood, iq_132]
2012-03-25 13:19:50 +00:00
R. Belmont
58eb388fd5 Update SDL man pages. chdman has formatting glitches but at least matches the binary we ship. [wallyweek, R. Belmont] 2012-03-25 02:27:58 +00:00
Michaël Banaan Ananas
a0dfd5f6cb give quasar driver separate include 2012-03-23 16:35:11 +00:00
Roberto Fresca
b4cf60c026 Emulated the Video Klein extended hardware, with Dallas Timekeeper,
and the insane 16 graphics banks scheme. Improved the Wild Witch and
Jolli Witch inputs, and switched them to the extended hardware. Got
accurate colors for all the extended sets. Worked inputs and lamps
from the scratch. Added technical notes. [Roberto Fresca]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Witch Up & Down (Export, 6T/12T ver 0.99) [Roberto Fresca, Team Europe, Marcus Jendroska, Video Klein]
Witch Up & Down (Export, 6T/12T ver 1.02) [Roberto Fresca, Team Europe, Marcus Jendroska, Video Klein]
Wild Witch (Export, 6T/12T ver 1.74A) [Roberto Fresca]
2012-03-13 06:01:19 +00:00
Roberto Fresca
a90f5e431f New driver for japanese Janken Man units. They are screenless
Z80 + CTC + DAC systems with artwork and lamps + LEDs, running
the well-known game "Rock-Paper-Scissors". Also added a complex
internal artwork layout. [Roberto Fresca]


New games marked as GAME_NOT_WORKING
------------------------------------
Janken Man (Pretty Carnival) [Roberto Fresca, anonyMous donator]
2012-03-12 19:27:37 +00:00
Olivier Galibert
a41b3c3898 tms57002: Modernize [O. Galibert] 2012-03-09 18:50:18 +00:00
Aaron Giles
388d53737e Create new devices buffered_spriteram<n>_device, which manage buffered
spriteram. Removed core support for legacy buffered spriteram, and
updated all drivers to use the new devices instead. [Aaron Giles]

Removed required/optional_shared_size helpers. Instead the existing
required/optional_shared_ptr helpers now have a bytes() method that
can be used to query the size of the shared region. [Aaron Giles]
2012-03-08 07:39:27 +00:00
Miodrag Milanovic
95b451277d Removed legacy image devices and related code (no whatsnew) 2012-03-06 12:57:06 +00:00
Scott Stone
5f83fb7118 Added Konami Pyson skeleton driver w/Guru notes and the known 2 dumped games. (nw)
New games marked as GAME_NOT_WORKING
------------------------------------
World Soccer Winning Eleven Arcade Game Style  [Team Japump, Guru]
World Soccer Winning Eleven Arcade Game 2003  [Team Japump, Guru]
2012-03-06 03:37:05 +00:00
Aaron Giles
c3ed880bf2 Remove libflac++, there's no intention of using the C++ interface,
so it's just dead code.
2012-03-04 21:04:24 +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
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
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
Miodrag Milanovic
4ba8461f7c Added windows implementation of pseudo tty access functions over pipes [Carl] 2012-02-19 08:50:03 +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
Couriersud
5344166555 updated sdl os-core to compile against stock SDL-2.0 [couriersud].
- The SDL team has moved from 1.3 to 2.0. At the same time, changes were made to allow SDL1.2 and SDL2.0 to coexist. All SDL2.0 include files are now in /usr/include/SDL2.
- Added sdlinc.h to avoid having tons of #ifdef .. #include in the code.
- Scalemode is no longer a per-window setting
- Fixed a bug in YUV rendering.
- Use SDL_GetClipboard (SDL2.0)
- Updated README_SDL20.txt

Currently, SDL 2.0 is only supported on *nix. Volunteers welcome.
2012-02-12 20:59:24 +00:00
R. Belmont
d75dbab0de Add LZMA codec and .7z container support [David Haywood, R. Belmont] 2012-02-12 17:55:51 +00:00
Ryan Holtz
4c31089ae1 Missed a file, oops, nw 2012-02-11 16:51:48 +00:00
Ryan Holtz
5cb480e748 - Added polynew.h multithreaded-render support to N64 RDP emulation. Speedup ratios of 1.6x to 2.8x observed. [Ryan Holtz]
(nw) If anyone has any suggestions on how better to sync per-scanline state than what I'm currently doing, I'd be all ears. The renderer is now pretty darn fast, but every little bit counts.
2012-02-11 16:05:10 +00:00
Michaël Banaan Ananas
2a7ca78de4 placeholder 2012-02-09 05:27:09 +00:00
R. Belmont
d37f1bb316 New modern object-oriented bus-signals-available SCSI implementation [O. Galibert] 2012-02-09 03:41:36 +00:00
Curt Coder
1f25060412 Added PLS100 (82S100) PLA emulation which utilizes a binary JED fusemap. [Curt Coder] 2012-02-05 15:49:34 +00:00
Angelo Salese
a6ab6ec40c New NOT WORKING game
--------------------
Bounty Hunter [Gatinho]
2012-02-05 13:59:47 +00:00
R. Belmont
2181d363cd Model 1: add skeleton device for Z80 version of the MPEG sound board. No playback, just running the Z80. [R. Belmont] 2012-02-04 23:57:03 +00:00
Scott Stone
39dfe5ea91 First pass of cleaning up LDPLAYER to allow for building (nw) 2012-02-02 15:14:43 +00:00
Angelo Salese
b9bc1733b9 From Haze:
new not working:
---------------
Unknown BMC Poker Game, 
Gone Fishing 2
Chess Challenge 2
EZ Touch
Sega Shooting Zone

new clones
---------
Warriors of Fate ('sgyxz' bootleg) (not working)
2012-01-31 17:22:15 +00:00
Aaron Giles
ed0207f126 Move devices into a proper hierarchy and handle naming
and paths consistently for devices, I/O ports, memory
regions, memory banks, and memory shares. [Aaron Giles]

NOTE: there are likely regressions lurking here, mostly
due to devices not being properly found. I have temporarily
added more logging to -verbose to help understand what's
going on. Please let me know ASAP if anything that is being
actively worked on got broken.

As before, the driver device is the root device and all 
other devices are owned by it. Previously all devices
were kept in a single master list, and the hierarchy was
purely logical. With this change, each device owns its
own list of subdevices, and the hierarchy is explicitly
manifest. This means when a device is removed, all of its
subdevices are automatically removed as well.

A side effect of this is that walking the device list is
no longer simple. To address this, a new set of iterator
classes is provided, which walks the device tree in a depth
first manner. There is a general device_iterator class for
walking all devices, plus templates for a device_type_iterator
and a device_interface_iterator which are used to build
iterators for identifying only devices of a given type or
with a given interface. Typedefs for commonly-used cases
(e.g., screen_device_iterator, memory_interface_iterator)
are provided. Iterators can also provide counts, and can
perform indexed lookups.

All device name lookups are now done relative to another 
device. The maching_config and running_machine classes now
have a root_device() method to get the root of the hierarchy. 
The  existing machine->device("name") is now equivalent to
machine->root_device().subdevice("name").

A proper and normalized device path structure is now
supported. Device names that start with a colon are
treated as absolute paths from the root device. Device
names can also use a caret (^) to refer to the owning
device. Querying the device's tag() returns the device's
full path from the root. A new method basetag() returns
just the final tag.

The new pathing system is built on top of the 
device_t::subtag() method, so anyone using that will 
automatically support the new pathing rules. Each device
has its own internal map to cache successful lookups so
that subsequent lookups should be very fast.

Updated every place I could find that referenced devices,
memory regions, I/O ports, memory banks and memory shares
to leverage subtag/subdevice (or siblingtag/siblingdevice
which are built on top).

Removed the device_list class, as it doesn't apply any
more. Moved some of its methods into running_machine
instead.

Simplified the device callback system since the new 
pathing can describe all of the special-case devices that
were previously handled manually.

Changed the core output function callbacks to be delegates.

Completely rewrote the validity checking mechanism. The
validity checker is now a proper C++ class, and temporarily
takes over the error and warning outputs. All errors and 
warnings are collected during a session, and then output in
a consistent manner, with an explicit driver and source file
listed for each one, as well as additional device and/or
I/O port contexts where appropriate. Validity checkers 
should no longer explicitly output this information, just
the error, assuming that the context is provided.

Rewrote the software_list_device as a modern device, getting
rid of the software_list_config abstraction and simplifying
things.

Changed the way FLAC compiles so that it works like other
external libraries, and also compiles successfully for MSVC
builds.
2012-01-24 20:18:55 +00:00
Olivier Galibert
c8822a8937 mess sync (nw) 2012-01-23 21:49:46 +00:00
R. Belmont
8703f92910 Added FLAC (lossless audio) codec support plus experimental hooks in samples and chdman. Bumped up CHD-CD hunk size to get better compression ratios on both zlib and flac. [David Haywood, R. Belmont] 2012-01-22 18:38:22 +00:00
Curt Coder
2af25c4c7e Added Intersil IM6402 UART emulation. [Curt Coder] 2012-01-20 14:07:54 +00:00
Angelo Salese
8e09bd59fa New NOT WORKING game
--------------------
Popo Bear [R. Mucciarelli, N. Francfort, Smitdogg, The Dumping Union]
2012-01-18 18:13:08 +00:00
Aaron Giles
49f15acb7d tagmap is just a C++ template now. Added iterators to it as
well. Updated a few outlying uses.
2012-01-17 19:06:55 +00:00
R. Belmont
f6b2c736c4 Add libjpeg; converted Sliver to decompress pictures on the fly [David Haywood, R. Belmont] 2012-01-16 17:06:42 +00:00
mariuszw1
a70481349e New games added as NOT_WORKING
------------------------------
Ichi Ban Jyan [Guru]
2012-01-15 22:10:00 +00:00
Aaron Giles
845c34f586 Created new testcpu driver that shows how to develop an empty
test driver that (ab)uses the core to single step a CPU executing
arbitrary instructions and capturing before/after state and 
tracking memory. Currently this driver is always compiled, but is
not referenced in mame.lst.

Also updated and modernized the dummy empty driver.
2012-01-14 09:14:28 +00:00
Aaron Giles
e4238fb654 Major bitmap-related changes throughout the system. There are
almost certainly some regressions lurking. Let me know if
something seems busted.

Bitmaps are now strongly typed based on format. bitmap_t still
exists as an abstract base class, but it is almost never used.
Instead, format-specific bitmap classes are provided:

   bitmap_ind8 == 8bpp indexed
   bitmap_ind16 == 16bpp indexed
   bitmap_ind32 == 32bpp indexed
   bitmap_ind64 == 64bpp indexed
   bitmap_rgb32 == 32bpp RGB
   bitmap_argb32 == 32bpp ARGB
   bitmap_yuy16 == 16bpp YUY

For each format, a generic pix() method is provided which
references pixels of the correct type. The old pix8/pix16/pix32/
pix64 methods still exist in the short term, but the only one
available is the one that matches the bitmap's pixel size. Note
also that the old RGB15 format bitmaps are no longer supported
at all.

Converted model1, megadriv, and stv drivers away from the RGB15
format bitmaps.

New auto_bitmap_<type>_alloc() macros are provided for allocating
the appropriate type of bitmap.

Screen update functions now must specify the correct bitmap type
as their input parameters. For static update functions the
SCREEN_UPDATE macro is now replaced with SCREEN_UPDATE_RGB32 and
SCREEN_UPDATE_IND16 macros. All existing drivers have been 
updated to use the correct macros. 

Screen update functions are now required for all screens; there
is no longer any default behavior of copying a "default" bitmap
to the screen (in fact the default bitmap has been deprecated).
Use one of the following to specify your screen_update callback:

   MCFG_SCREEN_UPDATE_STATIC(name) - static functions
   MCFG_SCREEN_UPDATE_DRIVER(class, func) - driver members
   MCFG_SCREEN_UPDATE_DEVICE(tag, class, func) - device members

Because the target bitmap format can now be deduced from the
screen update function itself, the MCFG_SCREEN_FORMAT macro is
no longer necessary, and has been removed. If you specify a
screen update callback that takes a bitmap_ind16, then the screen
will be configured to use a 16bpp indexed bitmap, and if you
specify a callback that takes a bitmap_rgb32, then a 32bpp RGB
bitmap will be provided.

Extended the bitmap classes to support wrapping a subregion of
another bitmap, and cleaner allocation/resetting. The preferred
use of bitmaps now is to define them directly in drivers/devices
and use allocate() or wrap() to set them up, rather than 
allocating them via auto_bitmap_*_alloc().

Several common devices needed overhauls or changes as a result
of the above changes:

 * Reorganized the laserdisc base driver and all the laserdisc 
    drivers as modern C++ devices, cleaning the code up 
    considerably. Merged ldsound device into the laserdsc
    device since modern devices are flexible enough to handle
    it.

 * Reorganized the v9938 device as a modern C++ device. Removed
    v9938mod.c in favor of template functions in v9938.c directly.

 * Added independent ind16 and rgb32 callbacks for TMS340x0 devices.

 * All video devices are now hard-coded to either ind16 or rgb32
    bitmaps. The most notable is the mc6845 which is rgb32, and
    required changes to a number of consumers.

 * Added screen_update methods to most video devices so they can be
    directly called via MCFG_SCREEN_UPDATE_DEVICE instead of creating
    tons of stub functions.
2012-01-12 21:19:49 +00:00
Michaël Banaan Ananas
2dd6b44714 beaminv.c: added color overlay [MASH] 2012-01-12 14:51:04 +00:00
R. Belmont
f44cec2da5 ARM7: Gave ARM mode its own file & cleaned up formatting/indenting [David Haywood] 2012-01-11 17:47:39 +00:00
R. Belmont
749b1fa9e7 and 2 more (nw) 2012-01-11 03:49:08 +00:00
R. Belmont
ab2555b4d0 missed a file (nw) 2012-01-11 03:48:06 +00:00
Olivier Galibert
517ae1369f Placeholders. 2012-01-07 20:50:20 +00:00
Angelo Salese
532dff205f New file addition 2012-01-06 17:50:46 +00:00
Phil Bennett
2bec585837 New games added as NOT_WORKING
----------------------------------
Virtuality SU2000 [Phil Bennett, SailorSat]
2012-01-05 18:08:59 +00:00
Scott Stone
15d533f21b Consistency fix: Moved .h file out of DRIVERS and placed into INCLUDES (nw) 2012-01-05 00:13:16 +00:00
Miodrag Milanovic
35af256640 Removed not needed files (no whatsnew) 2012-01-01 17:23:43 +00:00
Wilbert Pol
25818c4b1a Fix svn properties. 2011-12-31 19:15:58 +00:00
Wilbert Pol
65d63e8e0b Moved the implementation for the Sega 315-5124, 315-5246, and 315-5378 video chips from MESS to src/emu/video. 2011-12-31 19:15:02 +00:00
Angelo Salese
48687df54a Moved pc_cga again 2011-12-27 13:59:30 +00:00
Miodrag Milanovic
d27e240394 Added missing files (no whatsnew) 2011-12-25 08:19:37 +00:00
Angelo Salese
2300eaa029 Ported PC CGA device emulation from MESS to MAME, and updated Filetto and Tetris (KR) to use it accordingly [Angelo Salese] 2011-12-25 04:16:20 +00:00