Commit Graph

956 Commits

Author SHA1 Message Date
smf-
7940e28ae2 "Why do you take this apart now? I'm trying to get us out of here and you pull both of these. Put them back together right now." --Han Solo
MDEC is now an internal device of the PlayStation CPU [smf]
PlayStation DMA uses delegates so devices can be hooked up.
device_t::siblingdevice() uses device list on mconfig() so it can work before the machine is constructed.
moved unused console code back to mess.
2011-05-10 21:21:55 +00:00
Tomasz Slanina
4041b4da0f New games added or promoted from NOT_WORKING status
----------------------------
Super Wing [Tomasz Slanina, Wulfman]
2011-05-08 16:15:01 +00:00
Miodrag Milanovic
df7401d0e2 Moved some devices back to MESS since they belong there and are not used by arcades. (no whatsnew)
Note that msm8251 would be nice to have on emu section but it depends of serial.c which needs to be rewritten in order to be useful. Also upd765 is used only by MESS and it's pain to keep it in emu since it is not yet bug free.
2011-05-07 12:03:33 +00:00
smf-
d1b109625d "You have taken your first step into a larger world." ―Obi-Wan Kenobi
Converted PlayStation DMA to an internal device to the CPU core. DMA to external devices can be set in the machine config, the old calls are still there until the rest of the code is converted. [smf]

The following MAME core changes have been required to allow internal devices to be configurable by the main machine config & to work with internal memory maps.
 device.machine_config_additions() are now processed as soon as the device is added, so sub devices can be configured straight away. 
 replacing or removing a device removes any devices owned by the device being removed, as now they are added straight away.
 device_t::subdevice() uses the machine config device list instead of the machine to find the device as the machine is not created until after all the devices have been created.
 devices in an internal address map are assumed to be owned by the CPU, while devices in a standard address maps are assumed to be siblings of the CPU.


A code review and regression test would be a good idea.
2011-05-06 23:55:53 +00:00
Miodrag Milanovic
edd7394ca8 moved aescart to machine, same as it is for other cart devices for nes and msx, let's don't make it too complicated structure (no whatsnew) 2011-05-06 20:22:53 +00:00
Miodrag Milanovic
62d841c270 Moved format handling and all formats to separate library [Miodrag Milanovic] 2011-05-06 19:42:26 +00:00
Angelo Salese
18f84bcc0c More porting ... 2011-05-06 17:13:14 +00:00
Miodrag Milanovic
29e7942986 Moved centronics device to proper location (no whatsnew) 2011-05-06 12:45:56 +00:00
Angelo Salese
f280fd9f99 Ported DC, SMS and SG1000 to main folder, nw 2011-05-06 10:52:23 +00:00
Angelo Salese
372a9d51b2 Bulk replace machine/armedf.c -> machine/nb1414m4.c 2011-05-04 21:25:00 +00:00
Angelo Salese
f535812870 Ported i8275 from MESS to MAME, will be needed for Dwarf's Den / Quarter Horse driver, nw 2011-05-04 20:27:34 +00:00
Angelo Salese
415f52befb Blame Micko ... 2011-05-04 19:05:02 +00:00
Angelo Salese
b1931a6769 Ok, enough Vectrshit for today 2011-05-04 18:56:54 +00:00
Angelo Salese
82b5fb6ab1 3do import from MESS, nw 2011-05-04 18:51:52 +00:00
Angelo Salese
c0214df35a Another one, shrug 2011-05-04 18:38:03 +00:00
Angelo Salese
89bf152dae Missed files 2011-05-04 18:31:47 +00:00
Miodrag Milanovic
eeff4d5133 Added support for dynamic devices, will add more info for log
later when there are more support added (no whatsnew)
2011-05-04 14:47:41 +00:00
Angelo Salese
eb0514c684 By request, testing the waters etcetera ... 2011-05-03 19:39:22 +00:00
Angelo Salese
fe2561055f Started unifying sprite implementations for setax001/x002 chips [David Haywood] 2011-05-03 15:20:11 +00:00
Olivier Galibert
7f4a2043d2 Placeholders. 2011-05-02 19:57:59 +00:00
Angelo Salese
6e801d187c .lay files 2011-05-01 19:06:14 +00:00
Curt Coder
83c16c9766 Added MCCS1850 RTC emulation. [Curt Coder] 2011-05-01 17:58:05 +00:00
smf-
d7b295a387 split out gte code from cpu core, although it's still part of the cpu device. 2011-04-27 12:29:39 +00:00
smf-
8f7caff5ea split out psx cpu core to it's own directory, ready for a reorganisation. 2011-04-27 10:31:44 +00:00
Curt Coder
d696ce66b4 Fixed build breakage. (nw) 2011-04-26 21:41:59 +00:00
Fabio Priuli
2444f3ae40 Temporary workaround to allow successful compile. No whatsnew
Please Curt, check the following drivers, when you can

pengudvb.c
sg1000.c
norautp.c
photon.c
2011-04-26 20:37:08 +00:00
Curt Coder
9b06486135 Refactored I8255 into a C++ device. (no whatsnew) 2011-04-26 14:10:10 +00:00
Curt Coder
92ebabc84f Imported LMC1992 audio mixer from MESS. (no whatsnew) 2011-04-25 14:56:03 +00:00
Angelo Salese
ae71618fd5 Celebrate marriage between stv.c and saturn.c, nw 2011-04-24 23:35:30 +00:00
Angelo Salese
fed08e39f7 Haze: Merged CoJag and Jaguar (MESS side) drivers, nw 2011-04-24 22:15:07 +00:00
Angelo Salese
647862de3a Merged Tatakae Big Fighter into Armed F driver [Angelo Salese] 2011-04-23 19:02:29 +00:00
Curt Coder
06fe09e29b Imported MM74C922 KBE from MESS. (no whatsnew) 2011-04-23 15:35:52 +00:00
Angelo Salese
27c3a972a4 Merged 86 Lions inside Aristocrat Mk-4 driver [Angelo Salese] 2011-04-23 00:34:16 +00:00
Curt Coder
6a429971f6 Added missing files. (nw) 2011-04-22 21:42:59 +00:00
Curt Coder
c39297ce17 Imported RP5C15 RTC from MESS. (no whatsnew) 2011-04-22 20:03:47 +00:00
Angelo Salese
e5ae0d5785 Code refactoring, and fixed some bugs while at it 2011-04-21 15:09:15 +00:00
Aaron Giles
543fa08fd0 Rename state_manager -> save_manager since the term "state" is overloaded. 2011-04-20 15:14:54 +00:00
Aaron Giles
60965715b2 Fix ldplayer, and convert the driver to modern style. 2011-04-19 06:57:57 +00:00
Olivier Galibert
59a98d5c7c segas24: Start untangling the Vogon poetry Atari Ace left is his wake.
Apply the new timing implementation per cgfm's analysis.
          Gain ground is going to be stuck in free play mode.
          [O. Galibert]
2011-04-17 18:00:35 +00:00
Curt Coder
8511e83106 Moved files to correct folder. 2011-04-17 14:12:06 +00:00
Curt Coder
4f3f0decb8 Imported MSM5832 RTC from MESS. (no whatsnew) 2011-04-17 14:10:26 +00:00
Curt Coder
47120dca49 Imported MSM58321 RTC from MESS. (no whatsnew) 2011-04-17 12:36:33 +00:00
Curt Coder
509663c0d5 Imported MOS6529 SPIA from MESS. (no whatsnew) 2011-04-17 10:19:49 +00:00
Curt Coder
2541451a8a Imported RP5C01 RTC from MESS. (no whatsnew) 2011-04-16 15:30:57 +00:00
Curt Coder
d45116c7f6 Imported ADC0808 A/DC from MESS. (no whatsnew) 2011-04-16 13:06:04 +00:00
Curt Coder
67cf590df8 Imported HD44102 LCDC from MESS. (no whatsnew) 2011-04-16 10:58:19 +00:00
Phil Bennett
4ab59dc7d1 Added reverse-spin support to the stepper motor simulator [James Wallace]
mpu4.c: Documented MOD 4 OKI program card ROM banking and improved the BwB characteriser emulation. [James Wallace]


New games added as GAME_NOT_WORKING:
------------------------------------

MPU3 Unit Test (Program 5)
Hyper Viper
2011-04-15 11:59:49 +00:00
Aaron Giles
00d745ca77 (Big tangle of changes that all happened as I was looking into the ROM
loader rewrite, which is still in progress....)

Replaced mamedriv.c with a new driver list mechanism that is generated
by the build tools. The emulator core now expects the presence of a
file called src/$(TARGET)/$(SUBTARGET).lst which is just a raw list of
driver names, one per line. C and C++ comments are still permitted.
This file is parsed by a new build tool makelist which extracts the
driver names, sorts them, and generates a file called drivlist.c, which
is consumed by the core. [Aaron Giles]

Added new osdcore function osd_malloc_array() which is identical to
osd_malloc() but obviously hints that the underlying allocation is for
an array. Updated all callers to use the appropriate form. Modified the
Windows allocator to only use guard pages for array-style allocations,
allowing us to enable them once again in debug builds. [Aaron Giles]

Created new static class driver_list to wrap accesses to the list of
available drivers. Improved speed of driver lookups by relying on the
presorting done by makelist. [Aaron Giles]

Created helper class driver_enumerator as a helper for iterating through 
the list of drivers. This class supports basic filtering and iteration,
and also serves as a temporary cache of machine_configs. [Aaron Giles]

Created cli_frontend object to wrap all the CLI handling code in
clifront.c. Updated/simplified all the code to take advantage of the
driver_enumerator. [Aaron Giles]

Created media_auditor object to wrap all the auditing functions in
audit.c. Updated all users to the new interface. Note that the new
auditing mechanism is slightly out of sync with the romload code in
terms of finding ROMs owned by devices, so it may mis-report some
issues until the new ROM loading code is in. [Aaron Giles]

Added concept of a per-device searchpath. For most devices, their 
searchpath is just the short name of the device. For driver_devices, the
searchpath is driver[;parent[;bios]]. This searchpath will eventually be
used by the rom loader to find ROMs. For now it is used by the media
auditor only. [Aaron Giles]

Created info_xml_creator object to wrap all the info generation functions
in info.c. Converted the file to C++ and cleaned up the input processing
code. [Aaron Giles]

(not for whatsnew ... Known issues: auditing of CHDs appears busted, and 
debug builds report unfreed memory if you use the built-in game picker)
2011-04-13 20:31:00 +00:00
Scott Stone
c61bdcd0bb New Not Working
---------------
Nintendo FamicomBox  [Kevin Horton]
2011-04-13 02:02:12 +00:00
mariuszw1
6e0083a8d7 New games marked as NOT_WORKING
-------------------------------
Home Run Classic [Mariusz Wojcieszek]
Country Club Classic [Mariusz Wojcieszek]
Trap Shoot Classic [Mariusz Wojcieszek]
2011-04-12 21:03:36 +00:00
Angelo Salese
613401f005 new not working game
--------------------
Alien: The Arcade Medal Edition [Yohji, Tormod, Smitdogg, The Dumping Union]
2011-04-12 19:43:30 +00:00
Curt Coder
87a69b25ae Imported I8214 PIC from MESS. (no whatsnew) 2011-04-10 19:03:08 +00:00
Curt Coder
009a270864 Imported COM8116 DBRG from MESS. (no whatsnew) 2011-04-10 18:37:27 +00:00
Luca Elia
51e1ce8a43 subsino.c: moved decryption to machine/subsino.c
New games added or promoted from NOT_WORKING status
---------------------------------------------------

Water-Nymph (Ver. 1.4) [Team Europe, Luca Elia]
2011-04-10 13:44:01 +00:00
Curt Coder
c7d0b7bb64 Imported CDP1862 CGC from MESS. (no whatsnew) 2011-04-10 11:26:59 +00:00
Scott Stone
e488397757 Convert scramble/galaxold to driver_device [Atari Ace] 2011-04-09 18:31:55 +00:00
Curt Coder
5b8e012b82 Imported CDP1861 VDC from MESS. (no whatsnew) 2011-04-09 18:15:25 +00:00
Curt Coder
f9e0125246 Imported UPD7201 MPSC from MESS. (no whatsnew) 2011-04-09 12:01:11 +00:00
Curt Coder
21f309929e Imported MC6852 SSDA from MESS. (no whatsnew) 2011-04-09 09:25:34 +00:00
Curt Coder
1fcf326181 Imported UPD3301 CRTC from MESS. (no whatsnew) 2011-04-08 06:15:46 +00:00
Angelo Salese
a11930aeb4 Merged 3super8 driver inside spoker one [Angelo Salese] 2011-04-07 23:51:12 +00:00
Fabio Priuli
52d81e9a8e softlist: moved software list handling (in the Internal UI) to a separate source, and made the code more similar to the File Manager handling code. [Fabio Priuli]
out of whatsnew: this log covers all changes done today, for MAME. A more detailed log will be in MESS whatsnew.
2011-04-06 19:33:27 +00:00
Curt Coder
79cf761a31 Imported DM9368 7 segment LED from MESS. (no whatsnew) 2011-04-05 20:27:55 +00:00
Roberto Fresca
c890313ba5 New driver for Major Poker (PAL System) [Roberto Fresca, Tomasz Slanina]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Major Poker (v2.0) [Roberto Fresca, Tomasz Slanina, Rob Ragon]
2011-04-04 21:04:28 +00:00
Curt Coder
383a7ab8fe Imported SED1330 LCDC from MESS. (no whatsnew) 2011-04-04 05:58:57 +00:00
Aaron Giles
bf65492d5e MT#04287,04289 -- hook up bootleg video systems properly 2011-03-31 05:31:28 +00:00
Curt Coder
9ce28237de Imported uPD1990A RTC from MESS. (no whatsnew) 2011-03-30 18:36:47 +00:00
Angelo Salese
49eeca47b4 Implemented karnov style sprites in its own file, shared with karnov and dec8 drivers [David Haywood] 2011-03-30 15:42:18 +00:00
Curt Coder
b72cf3c570 Imported MSM6255 LCD controller device from MESS. (no whatsnew) 2011-03-29 07:19:09 +00:00
Angelo Salese
01c56fd81f started moving common deco MXC06 sprite controller code to it's own device files, reducing code duplication [David Haywood] 2011-03-28 21:41:32 +00:00
Curt Coder
399c6e8c26 Imported some common C++ devices from MESS to emu folder. 2011-03-28 20:15:05 +00:00
Angelo Salese
0b87c6e06a Converted DECO BAC06 tilemap (used by dec0.c) to be a device, reducing code duplication [David Haywood] 2011-03-27 13:38:52 +00:00
Scott Stone
7c267fe3c4 Haze: Added new files: video/decocomn.c video/decocomn. Split non-tilemap functions out of deco16ic and moved to decocomn. (no whatsnew) 2011-03-25 19:51:12 +00:00
Angelo Salese
4c1663441a Putted Deco 56 video sprite chip inside its own file [David Haywood] 2011-03-22 23:35:01 +00:00
Angelo Salese
235b0d2e01 Moved Kaneko Super Nova sprite chip emulation inside its own file [David Haywood] 2011-03-22 20:57:27 +00:00
Michaël Banaan Ananas
eb56337c34 r11913: forgot to add this file 2011-03-21 09:34:06 +00:00
Aaron Giles
f5dceea8a6 Converted asteroid/bzone/funworld/itech8/kongambl/legionna/leland/quakeat/
quizpun2/segas24/twincobr/warpwarp to driver_device. [Atari Ace]
2011-03-21 08:35:42 +00:00
Aaron Giles
c809bf3d3a Breaks some driver entanglements to simplify future driver_device
conversion efforts: [Atari Ace]
 * taito_f3 is disentangled from a number of other drivers by using
    an AM_SHARE tag instead of a common variable.
 * Several drivers are made into explicit subclasses of other drivers:
    8080bw from mw8080bw, missb2 from bublbobl, quasar from cvs, taito_x
    from seta.
 * arcadecl is separated from rampart by duplicating the bitmap
    rendering code.
 * jaleco decryption code is moved to jalcrpt.c.
 * cischeat is separated from megasys1 by duplicating some video code.
 * mcr3 is partly separated from mcr.
 * machine/midwunit.c is split into wunit and xunit files with some
    code duplication.
 * midtunit gfx_rom variables are made distinct from midyunit
    variables, making midyunit independent of midtunit.
 * contants in namconb1 are duplicated/renamed in namcofl.
 * namcos2 uses of namcos21 are eliminated by introducing
    namcos2_kickstart.
 * toypop is separated from mappy by duplicating some video code.
2011-03-10 07:30:54 +00:00
Scott Stone
8acf0fa5d3 Major toaplan2.c updates [Alex Jackson]
- Some sets reparented and renamed as well as a cleanup of source comments:
grindstm (parent), vfive (clone)
kingdmgp (parent), shippumd (clone)
The set formerly known as "sstrikera" is now "sstriker" and is now the parent of mahoudai (clone).
Reverted batrid to batrider and bkraid to bbakraid.

- Put common init code into MACHINE_START, leaving DRIVER_INITs only for games that actually need unique initialization.

- Dead code cleanup: Removed old hacks and some no-longer-used used member variables from the driver class.

- ROM banking cleanup: Added a device address map for the OKI in fixeightbl. Stopped misusing the bank system for memory that isn't actually bankswitched (fixeightbl again) Simplified the Z80 ROM banking (and loading) in the Raizing games.

- Address map cleanup: Unified 8-bit shared RAM handling between the Z80-based and the V25-based games. Replaced lots of pointless READ_HANDLERs with AM_RAM_WRITE. Moved fixeight EEPROM handling into the input ports instead of using READ/WRITE_HANDLERs. Incidentally, this makes toaplan2.c the very first MAME driver to use the AM_READWRITE_PORT macro.

- Removed IPT_VBLANK input ports (no longer used since the video rewrite)

- Removed Truxton 2 player 2 "button 4" (after confirming that the game never reads it) and changed player 1 "button 4" to an IPT_OTHER not bound to any key by default, since it's clearly some kind of test/debug input not meant to be hooked up in a regular cabinet (for one thing, it works whether you're actually playing or in attract mode)

- Added button 3 to Batsugun Special Version. It's a full auto fire button like Cave games have. The service mode input test doesn't show it, presumably because Toaplan didn't bother to update the service mode code from the original version of the game.

- Fixed region jumpers and dipswitches in many sets, based on analysis of the program code and strings in the ROMs.

- Added a #define to optionally make Truxton 2 stereo (commented out by default). See the comments at the top of the driver and in the MACHINE_CONFIG.

- Corrected kbash ROM names, thanks to information from Charles MacDonald. Also fixed inconsistent ROM naming between some of the batrider clones.

- Loaded bbakraid default EEPROM as a ROM rather than hardcoding the contents into the driver.

- Completely removed audio/toaplan2.c, which isn't needed any more now that all the V25s are decrypted and hooked up.
2011-03-09 15:25:49 +00:00
Roberto Fresca
20c268248a More improvements to corona.c driver. Splitted new machine,
memory map, and complete multiplexed inputs/outputs for
Lucky Roulette type games. Also added NVRAM and inverted
blitter [Roberto Fresca]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Lucky Roulette (6-players, Spanish) [Roberto Fresca, Rob Ragon]
2011-03-06 06:19:44 +00:00
Roberto Fresca
78e2f896d0 New driver for Winners Circle (Corona), dual CPU hardware. [Roberto Fresca]
New games marked as GAME_NOT_WORKING
------------------------------------
Winners Circle (81) [Roberto Fresca, Rob Ragon]
Winners Circle (82) [Roberto Fresca, Rob Ragon]


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Ruleta RE-800 (earlier) [Roberto Fresca]
Ruleta RE-800 (v1.0) [Roberto Fresca]
Ruleta RE-800 (v3.0) [Roberto Fresca, Grull Osgo]
2011-03-02 06:51:55 +00:00
Michaël Banaan Ananas
affffb43cb add navarone overlay based on old flyer 2011-02-24 23:25:55 +00:00
Angelo Salese
c9eacdf091 Forgot to actually add the files ... 2011-02-24 22:53:35 +00:00
Angelo Salese
bf65d6322d Refactored the CD32 code base to eliminate duplicate code between MAME and MESS [David Haywood] 2011-02-24 22:50:45 +00:00
Michaël Banaan Ananas
ea0ccbda32 change from hardcoded palette overlay to layout overlay (also changed hustle from yellow to green: there's only 1 flyer pic that shows greenish yellow images, other flyers are green) 2011-02-22 20:25:09 +00:00
Aaron Giles
93c8f9c014 Decoupled some entagled drivers: [Atari ACe]
- Removed unneeded #include lines (gal3.c galaxold.c asic65.c)
 - Split part of the driver include into a separate multi-driver
   include file (audio/exidy.h audio/exidy440.h audio/wiping.h
   machine/segag80.h)
 - Moved code to a new file/include to be referenced in multiple
   drivers (ms32crpt.[ch] opwolf.c rainbow.c)
 - Duplicated some code (palette related) between drivers (mainsnk
   rollrace sslam)
 - Moved a driver specific routine to a generic device file (atarimo)
 - Cleaned up a few include files (cubocd32 cidelsa metalmx seicross 
   thoop2).
2011-02-18 17:57:56 +00:00
Miodrag Milanovic
00ee3521a3 Removed hashfile and dependencies (no whatsnew) 2011-02-14 15:49:58 +00:00
Andrew Gardner
d14f5fbeab No propset == no commit. Added missing files. (no whatsnew) 2011-02-13 19:06:31 +00:00
R. Belmont
cf61877230 Replacement PSX SPU [pSXAuthor, R. Belmont] 2011-02-12 16:42:01 +00:00
Angelo Salese
c97ddb40d3 Fixed LLDT [reg], LTR and LMSW instructions, and added preliminary implementations of VERR, VERW and LAR in the i386 CPU core. [Barry Rodewald] 2011-02-12 13:59:59 +00:00
Angelo Salese
8eecdc0e5f I've said placeholderS ... ^^' 2011-02-11 18:42:03 +00:00
Angelo Salese
29508857c9 Placeholders for OG 2011-02-11 18:41:03 +00:00
Andrew Gardner
545f57a04c Added a new sound device: Oki MSM9810. Emulation is not yet perfect.
[out of whatsnew]
It sounds ~60% correct, and appears to play the right stuff, but there is still much to do.
I'm not respecting the volume command.
I'm not taking sample rate into account.
I'm not doing anything with stereo yet (though funcube doesn't tickle that functionality).
The ADPCM(2?) decoding clearly isn't perfect (I've made a local copy of the oki_adpcm class to mess around with).
The way i set the clock in the seta2 driver should show I don't know what I'm doing :).
None of the channel flags are being interpreted yet.
I haven't hooked up Luca's sigma98 games yet.
2011-02-10 15:52:50 +00:00
Angelo Salese
dd5ea079cd new not working game
--------------------
Last Bank [Yohji, Smitdogg, The Dumping Union]
2011-02-09 00:56:41 +00:00
Angelo Salese
e2d374a9ee new not working game
--------------------
Dream Fruit [Yohji, Smitdogg, The Dumping Union]

(being very busy lately, so if somebody wants to do this be my guest, shouldn't be too hard as the basics are inside Taito L driver ...)
2011-02-08 16:19:56 +00:00
Aaron Giles
07a66f8c54 Move generic templates from emucore.h to emutempl.h.
Normalize the tagged_list template to wrap a regular standard_list
and have similar semantics. Updated a few direct callers to handle
the changes.
2011-02-07 05:47:17 +00:00
R. Belmont
bf505cd350 tms57002: significantly improved build speed on lower-end h/w [R. Belmont]
No-whatsnew explanation: this takes OPTIMIZE=3 compile time for this core from 
over 1 hour down to about 2 minutes on PS3 Linux.  (Yes, the tms57002 itself 
took over an hour to compile before - the thing has 256 MB of RAM and 
a very slow HDD so when it hits swap, swap hits back).
2011-02-06 23:46:37 +00:00
Phil Bennett
89d42d492b Forgot to include the mpu4ext.lay file I requested. Sorry! 2011-02-06 11:33:04 +00:00
Miodrag Milanovic
10da185c4e - Cleanup of WINUI depending compiling (no whatsnew)
- Rewritten some checks to be runtime instead of compile dependent
- Added winmenu.c and "menu" option in windows build
- winmenu.c provide just dummy implementation, and makes linking with actual menu implementation easier.
2011-02-04 10:13:13 +00:00
Michaël Banaan Ananas
f7b1e68670 New non-working game
--------------------
18 Wheeler [hap, Siftware]
2011-02-03 22:08:42 +00:00
Roberto Fresca
3d3ffe3a59 Improvements to Magic's 10 driver. [Roberto Fresca]
* New inputs from the scratch for Music Sort.
 * Complete DIP Switches and DIP locations for Music Sort.
 * Added a new button-lamps layout for Music Sort.
 * Created a default NVRAM that allow Music Sort work properly.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Music Sort (ver 2.02, English) [Roberto Fresca, Team Europe]
2011-02-01 06:16:41 +00:00
Angelo Salese
b34fa47ece new not working game
----------------------
Funky Ball [krick, incog, Smitdogg, Guru, The Dumping Union]
2011-01-31 19:07:38 +00:00
Luca Elia
746d4fb7e0 Renamed bishjan.c to subsino2.c [Luca Elia]
- Implemented reel layer
- Fixed rogue tiles in xplan
- Hopper emulation in bishjan

New games added or promoted from NOT_WORKING status
---------------------------------------------------

Express Card / Top Card [Smitdogg, The Dumping Union, Luca Elia]
Magic Train [Grull Osgo, Roberto Fresca, David Haywood, Luca Elia]
X-Train [Smitdogg, The Dumping Union, Luca Elia]
2011-01-29 22:57:25 +00:00
Angelo Salese
917323733c ksys573: Hook up part of the i2c communication with the mas3507d. [O. Galibert] 2011-01-29 13:24:21 +00:00
Curt Coder
380925dc14 Imported the MC68901 device from MESS so it can be shared with micro3d.c. [Curt Coder] 2011-01-29 11:11:12 +00:00
Aaron Giles
ce62988c27 Whoops, missed some files. 2011-01-27 09:00:49 +00:00
Fabio Priuli
2fc75fcd45 Fix for Haze's (or Kale's) lazyness ;P
This should be included in the release as well
2011-01-27 08:16:13 +00:00
Aaron Giles
c94b8c9490 C++-ified the sound and streams interfaces. Combined sound.c and streams.c
into one file, and separated the speaker device into its own file.
Generalized the concept of dynamically assigned inputs and re-wired the
speaker to work this way, so it is now treated just like any other
sound device. Added methods to the device_sound_interface for controlling
output gain and mapping device inputs/outputs to stream inputs/outputs.
Also made the sound_stream_update() method pure virtual, so all modern
sound devices must use the new mechanism for stream updates.

Primary changes outside of the core are:

  stream_update(stream) == stream->update()
  stream_create(device,...) == machine->sound().stream_alloc(*device,...)
  sound_global_enable(machine,enable) == machine->sound().system_enable(enable)

Beyond this, the patterns are relatively obvious for the remaining calls.
2011-01-27 08:06:43 +00:00
Angelo Salese
a4b743ea1e Added a preliminary Softlist support for Sega Megatech, that allows multi-cart support [David Haywood]
- SoftList is incompelte, I hate working with the XML, if somebody wants to add the remaining titles, be my guest
 - SMS games have issues, the CPU isn't being properly reset (or something) when moving between games, so stick to only a single SMS game for now or the z80 will crash.  
 It used to work, but the code has been out of use for a while.
 - syntax is MAME megatech -cart1 mt_beast -cart2 mt_soni2 -cart8 mt_shar2
2011-01-26 00:51:01 +00:00
Andrew Gardner
512d2af3b4 A new WE DSP16A cpu disassembler. [Andrew Gardner]
Notes out of whatsnew.txt
* This uses modern devices, but has not been tested in a driver yet, so I may 
  have done something wrong.  I will fix it when the time comes.
* 60% of the disassembler is complete.  I will finish it over the next few days.
* There are many similarities in execution to the dsp32, and the existing 32 code
  will come in handy when it's time to write the execution engine.
* This thing is a pleasure compared to the dsp56k.
2011-01-25 16:14:13 +00:00
Aaron Giles
b3d7e09292 Cleanups and version bump. 2011-01-24 05:09:05 +00:00
R. Belmont
551ee8ee7e NEC DSP updates [R. Belmont, byuu, Dr. Decapitator]:
- Now supports uPD7725 and uPD96050
- Hooked up SNES common code to use uPD96050 for ST-010/011
- Removed ST-010 HLE simulation



Non-whatsnew: ST-010 is also found in some ssv.c games so this will be
hooked up there soon.
2011-01-23 16:22:36 +00:00
Fabio Priuli
96cb9f475f reorganized megadrive/sms sourcefiles:
* machine/megadriv.c + md_pcb.c (originally from MESS) -> machine/md_cart.c  [since they only contained code to handle cart loading]
* first half of drivers/megadriv.c (the code shared by mtech/mplay/c2 with MESS) -> machine/megadriv.c  [since these are the 'machine' functions shared by arcade and console systems]
* second half of drivers/megadriv.c (the part recently imported from MESS) -> it remains where it was [since it is 'driver'-specific, even if in this case it is a MESS driver]
* drivers/segamsys.c (SMS part of the code used for mtech/mplay) -> machine/segamsys.c [again, these are 'machine' functions]

among other things, this new setup makes the MESS-specific parts (machine/md_cart.c & drivers/megadriv.c) independent from the MAME files, i.e. if we ever decide to change the tree structure, it will be much easier to move these files in any other location of the tree without affecting MAME (or MESS) compile process
2011-01-23 15:37:34 +00:00
Couriersud
c05c959203 Added serial interface to gaelco3d hardware. In machine/gaelco3d there are instructions on how to compile and run two synchronized instances of mame to play gaelco3d games. This requires shared memory and currently only works on UNIX. It is disabled by default.
This is a proof-of-concept commit. It works but is far from stable. Synchronization between two mame processes is *somehow* (trying to avoid hacked) in. However, this is not HLE. Shared memory is used to share the serial interface lines.

If the shared memory code is not enable, stub functions are used. If you set the link mode to master or slave, "not linked" will be shown in the game. That's better than the previous hang.

Please, no whatsnew.
2011-01-21 20:50:43 +00:00
Jonathan Gevaryahu
1d78049857 Added preliminary working sound to beezer. [Lord Nightmare] 2011-01-21 07:54:12 +00:00
Aaron Giles
f5c03d12e2 Redo most of the DRC/backend support as C++
Yes, it is intentional that the x86/x64 backends compile everywhere.

Backends are now derived from drcbe_interface and implement several
required overrides.

x86emit.h now uses namespaces so that the x86/x64 emitters can co-exist.

New file uml.h/uml.c actually describes the UML language, separating
out several concepts from drcuml.c.

Lots of other changes/fixes.
2011-01-17 03:43:54 +00:00
Angelo Salese
f1337ddfb6 Delete needless file as per AWJ 2011-01-16 14:25:12 +00:00
Angelo Salese
6d8cb11524 Added a mostly complete NEC V25/V35 CPU core, added working sound to Batsugun and hooked up proper V35-controlled interrupts in Cosmic Cop / Gallop and Kengo [Alex Jackson] 2011-01-16 14:23:07 +00:00
Couriersud
156a1efd1c Discrete subsystem: Maintenance commit before I move from linked lists to dynamic arrays.
- Also fixes bzone regression.
- Contexts have disappeared now. All modules use class level private variables now.
- Reorganized code and added more include files.
- This is still work in progress. It is working though.
2011-01-15 13:49:27 +00:00
Miodrag Milanovic
8d47838f94 Let's keep all pinball machines as skeletons, will commit my work after next release. (no whatsnew) 2011-01-15 13:34:24 +00:00
Miodrag Milanovic
b3fbaced11 Placed full megadrive code in MAME section [David Haywood] 2011-01-14 09:09:15 +00:00
Couriersud
f420c226a4 Discrete sound system:
- all nodes are now class based
- removed all support for "legacy", i.e. procedural node functions.
- nodes are created using a class factory whose instances
  are set up in discrete blocks. There is no separation of
  node vs. module any longer.
- Custom modules are now just implemented like "normal" nodes.
- Converted all custom modules.
- Context variables can now be migrated to be private class members.
[Couriersud]
2011-01-11 00:21:43 +00:00
R. Belmont
2d32a07198 SDL OS/2 fixes [K.O. Myung-Hun] 2011-01-10 14:32:42 +00:00
R. Belmont
8332fea6d4 Games added as GAME_NOT_WORKING
-------------------------------
ATV Track [hap, ANY, ranger_lennier, dopefishjustin, gamerfan, gatt9, N. Francfort, Smitdogg, The Dumping Union, David Haywood]
2011-01-10 02:29:06 +00:00
Luca Elia
3355c47d22 bishjan.c update [Luca Elia]
- Implemented dynamic tile sizes
- Generalized video routines to support more layers
- Moved mtrain in from subsino.c

New games added or promoted from NOT_WORKING status
---------------------------------------------------

X-Plan [Bicycle Repair Man, Luca Elia]
2011-01-07 21:51:45 +00:00
Miodrag Milanovic
0cc1b379e5 Added HD61700 CPU core used for emulate Casio PB-1000/PB-2000c in MESS [Sandro Ronco] 2011-01-06 22:00:43 +00:00
Miodrag Milanovic
2231fb32b4 Moved LCD layouts to emu section and removed some more ifdefs (no whatsnew) 2011-01-05 21:14:20 +00:00
Miodrag Milanovic
12a5370d85 Moved image devices implementation and related UI functions to emu section from MESS [Miodrag Milanovic] 2011-01-05 15:59:06 +00:00
Miodrag Milanovic
249def5363 - Moved RAM device into emu core [Miodrag Milanovic]
- Moved COMP and CONS macros in driver.h
2011-01-05 12:51:11 +00:00
Angelo Salese
bb69ba8546 new NOT_WORKING game
---------
X-Plan [Bicycle Repairman]

vram is weird to say the least but run out of time, if somebody (Haze, Arbee, Dox?) wants to look at it be my guest.
2011-01-04 03:08:30 +00:00
Andrew Gardner
db29ff96be New Namco 62xx device with internal ROM. [Dr. Decapitator, Phil Bennett, Andrew Gardner]
* Note: This patch simply adds the ROM to MAME.  Much work still needs to be done to
        hook it up to gaplus and document the chip itself.
        Please note the MCU is currently disabled because the device has a
        MCFG_DEVICE_DISABLE() in namco62.c.
2011-01-03 06:01:31 +00:00
R. Belmont
ed6bd9cd5f Removing no longer needed SNES HLE code [R. Belmont] 2011-01-02 21:59:28 +00:00
R. Belmont
b219fb7b69 Add uPD7725 16-bit DSP core and hookups for SNES hardware [byuu, R. Belmont] 2011-01-02 21:57:49 +00:00
Couriersud
8386bf94a5 Implemented "-watchdog" option for SDLMame. [Couriersud] 2011-01-02 19:12:08 +00:00
Miodrag Milanovic
db14e98dd0 - Added Rockwell PPS4 CPU core (not finished) [Miodrag Milanovic]
- Added GAME_MECHANICAL flag to mark games having mechanical interface (such as pinball,redemption, bowling games ...)
- Imported games from PinMAME as skeletons
2011-01-01 11:47:49 +00:00
Ryan Holtz
0ea11333c6 Updated the RSP and RDP implementations to be largely bit-perfect and pixel-accurate. [angrylion, Harmony] 2010-12-31 07:29:47 +00:00
Luca Elia
9f4c0401e1 Renamed ilpag.c as blitz68k.c and added several games to the driver [Luca Elia]
New games marked as GAME_NOT_WORKING
------------------------------------

Bank Robbery (Ver. 2.00) [ChrisQC, Smitdogg, Luca Elia, The Dumping Union]
Bank Robbery (Ver. 3.32) [ChrisQC, Smitdogg, Luca Elia, The Dumping Union]
Deuces Wild 2 - American Heritage (Ver. 2.02F) [ChrisQC, Smitdogg, Luca Elia, The Dumping Union]
Maxi Double Poker (Ver. 1.10) [ChrisQC, Smitdogg, Luca Elia, The Dumping Union]
Mega Double Poker (Ver. 1.63 Espagnol) [ChrisQC, Smitdogg, Luca Elia, The Dumping Union]
Mega Double Poker Jackpot (Ver. 1.26) [ChrisQC, Smitdogg, Luca Elia, The Dumping Union]
Poker 52 (Ver. 1.2) [ChrisQC, Smitdogg, Luca Elia, The Dumping Union]
The Hermit (Ver. 1.14) [ChrisQC, Smitdogg, Luca Elia, The Dumping Union]
2010-12-28 18:19:21 +00:00
Angelo Salese
e8cfb9e513 Implemented a preliminary V25/V35 CPU core [Alex Jackson] 2010-12-23 02:46:39 +00:00
Scott Stone
ec22c1d014 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Dai San Wakusei Meteor - Hau, Chack'n


Comments:
This is the initial check-in of the driver which was posted (plus some driver notes based on some quick tests).  If anyone has work they need to add (discrete audio, dip/input improvements), please work with this as a base.
2010-12-22 02:10:16 +00:00
Brian Troha
2ce99369e7 add multfish.h 2010-12-21 21:47:26 +00:00
Angelo Salese
919ce83a7e Forgot new files 2010-12-21 21:22:13 +00:00
mariuszw1
6a1cad38e1 New games marked as NOT_WORKING
-------------------------------
Hydro Thunder [Mr. Do]
Offroad Thunder [Tom, gamerfan, Smitdogg, The Dumping Union]
2010-12-20 18:57:06 +00:00
Angelo Salese
37f9e00b73 It helps if I properly link the files 2010-12-20 17:04:48 +00:00
Angelo Salese
dc70d117a2 new not working
---------------
NeoPrint V1 [ANY]
2010-12-03 19:39:33 +00:00
Aaron Giles
57ef3a5ed6 Split the screen device into a separate module.
Converted global video routines into a video_manager.
Moved video manager initialization earlier in startup.
2010-12-02 17:26:38 +00:00
mariuszw1
a3aa7831dc New games marked as NOT_WORKING
-------------------------------
X Tom 3D [Guru]
2010-11-23 22:18:15 +00:00
R. Belmont
0dd880a3cb SDL: add ptty (*IX/OS X) and sockets (all SDL builds) capability [Tim Lindner, R. Belmont] 2010-11-20 04:14:19 +00:00
mariuszw1
d1bfc7a210 New games marked as NOT_WORKING
-------------------------------
Barroom Baseball (prototype) [Mariusz Wojcieszek]
2010-11-16 20:41:14 +00:00
Aaron Giles
3c10bcaed2 From: Atari Ace <atari_ace@frontier.com>
Date: Sun, Nov 7, 2010 at 3:43 PM
Subject: [patch] Split entangled drivers
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

This patch takes some driver_device classes that cover multiple
drivers and splits them so that each driver gets their own
driver_device class.  In most cases, these drivers got entangled
because of audio/mcu code that was shared between multiple drivers.
The first patch breaks that dependency by making a separate base class
for the common code and having each driver_device derive from that.
That solution isn't really the typical MAME approach, so the second
incremental patch changes them into proper devices.

espial/marineb/zodiak
       - common code duplicated
m52/m57/m58/m62/travrusa
       - common code in audio/irem.c
junofrst/pooyan/rallyx/rocnrope/timeplt/tutankm
       - common code in audio/timeplt.c
hyperspt/sbasketb/trackfld/yiear
       - common code in audio/trackfld and audio/hyprolyb.c
40love/bking/buggychl/msisaac
       - common code in machine/buggychl.c
2010-11-15 16:52:56 +00:00
Derrick Renaud
c956d18f78 Atari Cops'n Robbers Updates [Derrick Renaud]
Converted controls to Positional type.
Started Discrete sounds. (Motor 2 & 3, Crash sounds implemented)

Optimized speed of DISCRETE_DAC_R1 [Derrick Renaud]
2010-11-01 03:31:24 +00:00
Wilbert Pol
5976655411 i286.c: Partially implemented protected mode. Fixed verw, verr, lar, lsl, and arpl instructions. [Wilbert Pol] 2010-10-31 15:29:10 +00:00
Aaron Giles
f661970a4a Make osdmini build again. 2010-10-21 16:14:46 +00:00
Aaron Giles
e4beed95a6 Create new class osd_interface to house OSD callbacks. Added new
module osdepend.c with default empty implementations. Changed
mame_execute() and cli_execute() to accept a reference to an
osd_interface which is provided by the caller.

Updated SDL and Windows OSD to create an osd_interface-derived
class and moved their OSD callbacks to be members.
2010-10-21 15:59:44 +00:00
Curt Coder
0f268291ed Removed old CDP1802 CPU. (no whatsnew) 2010-10-19 13:01:57 +00:00
Aaron Giles
cf6927cb9f Fix MT04065: tiny (and ldplayer) don't link.
This needs an unfortunate hack with a dummy driver added to seed references to
the devices that are only otherwise referenced by libemu.a.

Also removed SOUNDS += CUSTOM since such a sound device no longer exists.
2010-10-19 05:52:41 +00:00
Curt Coder
3c3f26a66f Converted the RCA CDP1802 CPU into a C++ device. Refactored cidelsa.c to use the new RCA COSMAC CPU. [Curt Coder] 2010-10-18 12:13:58 +00:00
mariuszw1
633d76bbbf New games marked as NOT_WORKING
-------------------------------
Magical Touch [Siftware, Mariusz Wojcieszek]
2010-10-14 20:51:54 +00:00
Roberto Fresca
30e795e988 New driver for Advanced Video Technology (AVT) platform [Roberto Fresca]
* Almost accurate memory map.
  * Decoded graphics.
  * Decoded the bipolar PROM.
  * Detected a CRTC (MC6845 type) reversing the code.
  * Guessed the CRTC clock to get proper values.
  * Hooked the AY-3-8910.
  * Added games notes.
  * Added technical notes.


New games marked as GAME_NOT_WORKING
------------------------------------
Symbols (ver 1.4) [Roberto Fresca, Dave Ormiston]
Symbols (ver 2.5) [Roberto Fresca, Dave Ormiston]
Arrow Bingo [Roberto Fresca, Dave Ormiston]
NFL (ver 109) [Roberto Fresca, Dave Ormiston]
2010-10-10 14:16:08 +00:00
Angelo Salese
67f3668a31 new working game
----------------
Victor 6 [Smitdogg, The Dumping Union]

new NOT WORKING
---------------
Dual Games (prototype) [Smitdogg, The Dumping Union]
2010-10-09 15:08:14 +00:00
Roberto Fresca
a4ad950160 Added new driver for NSM TMS9995 based hardware. [Roberto Fresca]
New games marked as GAME_NOT_WORKING
------------------------------------
NSM Poker (TMS9995) [Roberto Fresca, Team Europe]
2010-10-07 06:29:17 +00:00
Curt Coder
2fa7094eab Added INT1, INT2, INT3, DRQ0, DRQ1, TMRIN0, TMRIN1 input and TMROUT0, TMROUT1 output lines to the Intel 80186 CPU interface. [Curt Coder] 2010-10-06 12:35:12 +00:00
Angelo Salese
e1a32f54d8 Fixed unaligned 16 and 32-bit i/o accesses in i386 CPU core [Barry Rodewald] 2010-09-29 11:42:38 +00:00
Ryan Holtz
179a81a030 Ported over CD-i cleanup from MESS. [Harmony] 2010-09-26 22:08:49 +00:00
Angelo Salese
72c62e09b2 new NOT WORKING
---------------------
Cosplay Heaven 5 [alien_mame, Angelo Salese]
2010-09-26 15:17:06 +00:00
Aaron Giles
dc84302fe5 Added ER2055 device. Changed liberator over to using it. Other Atari games
to follow.
2010-09-21 15:40:32 +00:00
R. Belmont
893c1f3e81 Add skeleton Apple Sound Chip device (no whatsnew) 2010-09-17 02:42:13 +00:00
Aaron Giles
266ad848cf Removed obsolete code detected by the dependency analyzer. 2010-09-14 01:16:38 +00:00
Aaron Giles
db797ba791 New build tool makedep.c, derived from src2html.c (really!).
Does basic dependency analysis and supports excluding paths.

Makefile now supports a depend target which will run makedep
on the src/$(TARGET) tree and create dependencies. It deliberately
excludes the root of src/emu as well as the osd directories in
order to keep the dependency file down to a reasonable size, so
if a core header file changes, you still need to clean and build
all.
2010-09-14 01:15:26 +00:00
Roberto Fresca
01136a7d31 New driver for Golden Games / C+M Technics AG hardware. [Roberto Fresca, Tomasz Slanina]
New games marked as GAME_NOT_WORKING
------------------------------------
Swiss Poker ('50 SG-.10', V2.5) [Roberto Fresca, Tomasz Slanina, Team Europe & Housi]
2010-09-13 01:38:45 +00:00
Phil Bennett
fdc0db7e26 Merged ssgbl.c into megadrvb.c and moved bootleg input definitions
out of megadriv.c [Sonikos]


---------- Forwarded message ----------
From: abcd efgh <cix_999@yahoo.it>
Date: Thu, Sep 2, 2010 at 8:50 PM
Subject: megadrvb.c - ssgbl
To: submit@mamedev.org


Hi

This is the finished work for megadrvb.c:
Merge ssgbl into megadrvb
Moved inputs game from megadriv.c to megadrvb.c
if you use R2 diff i change also the roms names for a better fit the
drive in ending with "mdb" wich means "mega drive bootleg" so the
result is:
aladbl     -> aladmdb
mk3ghw -> mk3mdb
ssf2ghw  -> ssf2mdb
ssgbl       -> srmdb

The R2 diff is the better way but you choose the best for you.

Bye Sonikos
2010-09-10 22:55:22 +00:00
smf-
acaf942e31 added missing file from Atari Ace's submission 2010-09-08 19:45:06 +00:00
Aaron Giles
06e995de5f Removed generic.videoram and generic.videoram_size. These generics
have no core use, they are simply there for the convenience of drivers.  
Now that drivers are required to have devices, the data should move there.
[Atari Ace]

---------- Forwarded message ----------
From: Atari Ace <atari_ace@frontier.com>
Date: Sun, Sep 5, 2010 at 4:45 PM
Subject: [patch] Eliminate generic.videoramm generic.videoram_size
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

This set of patches removes generic.videoram and
generic.videoram_size.  These generics have no core use, they are
simply there for the convenience of drivers.  Now that drivers are
required to have devices, the data should move there.

The first patch sets the stage for the rest of the patch.  It includes
several changes.
1.  It replaces all the uses of generic.videoram_size with appropriate
constants.
2.  It eliminates the write handlers from pc_video.c.  These are
unused in MAME and MESS appears to have a private copy.
3.  It splits some drivers:
 a.  It separates mcr68 from the mcr driver, mostly by dividing
machine/mcr.c.
 b.  It separates naughtyb from the phoenix driver by introducing an
audio/pleiads.h include.
 c.  It replaces video/system1.h with includes/system1.h.
4.  It fixes some videoram related bugs.
 a.  balsente, mole didn't need videoram.
 b.  sbowling has a dangling reference to videoram from an earlier
driver_data conversion
5.  It expands some namcona functions to multiple lines so that later
scripted-edits look sensible.

The second patch is generated by vram01_1.pl.  It introduces videoram
local variables in function that use videoram read-only and removes
AM_SIZE_GENERIC(videoram).

The third patch is generated by vram01_2.pl.  It replaces all
occurances of generic.videoram with state->videoram,
introducing/modifying driver_device classes as needed.

The fourth patch then actually removes the generics, and fixes one
issue the scripts didn't handle.

~aa
2010-09-08 15:45:46 +00:00
Aaron Giles
6fe9fe53f4 Integrated comments into debugcpu.c, and removed debugcmt.c. Modernized
the code and updated so it actually works with the modern debug classes.
2010-09-05 06:12:47 +00:00
Roberto Fresca
d5f94fa913 New driver for Jubilee's Double-Up Poker. Decoded graphics and colors
properly. Hooked the correct TMS9980 CPU, added a preliminary memory
map and some technical notes. [Roberto Fresca]


New games marked as GAME_NOT_WORKING
------------------------------------
Jubilee Double-Up Poker [Roberto Fresca]
2010-09-05 05:20:43 +00:00
Aaron Giles
5b6c078aeb Added templates required_shared_ptr<> and optional_shared_ptr<> which
work just like required_device<> and optional_device<> for retrieving a
pointer by tag from an address space that specifies AM_SHARE("tag").
Also added templates required_shared_size<> and optional_shared_size<>
for retrieving the size of the AM_SHARE region.

Created a new generic NVRAM device. It can be configured to default to
0-fill, 1-fill, random-fill, or custom fill. In all cases, a same-named
memory region overrides the default fill. The address range where the
NVRAM can be found is now identified by an AM_SHARE() region of the
same tag as the NVRAM device. Drivers can also explicitly configure a
separately-allocated NVRAM region via nvram_device::set_base().

Replaced all instances of MDRV_NVRAM_HANDLER(generic_*) with
MDRV_NVRAM_ADD_*("nvram"). Replaced all AM_BASE_GENERIC/AM_SIZE_GENERIC(nvram)
with AM_SHARE("nvram"). For all remaining drivers that referenced the
generic.nvram directly, changed them to hold a required_shared_ptr<UINTx>
to the NVRAM in their driver state, and use that instead. Removed
nvram and nvram_size from the generic_ptrs.
2010-09-04 17:01:46 +00:00
Aaron Giles
420e1e0ad5 Added include files for all remaining drivers with multiple source files.
[Atari Ace]

---------- Forwarded message ----------
From: Atari Ace <atari_ace@frontier.com>
Date: Sun, Aug 29, 2010 at 10:35 PM
Subject: [patch] Add missing include files for multi-file drivers
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamdev,

Converting a driver to use driver_data requires that multi-file
drivers have a common include file to host the driver_data class. Thus
this patch, which gets ahead of the curve and adds missing include
files to all multi-file drivers (minus ones covered by my last
driver_data patch).  The first patch is include-related cleanup of the
existing drivers.  The second patch then adds ~100 files to
mame/includes.

~aa
2010-09-02 09:13:01 +00:00
Aaron Giles
a7313263b3 Converted sauro, scotrsht, segald, seicross, senjyo, shangha3,
shaolins, shisen, skyraid, solomon, spcforce, speekatk, splash, 
sprcros2, ssozumo, suna16, suna8 to driver_data. [Atari Ace]


---------- Forwarded message ----------
From: Atari Ace <atari_ace@frontier.com>
Date: Sat, Aug 28, 2010 at 9:39 PM
Subject: [patch] Convert various s drivers to driver_data
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

Another round of driver_data conversions...

sauro, scotrsht, segald, seicross, senjyo, shangha3, shaolins, shisen,
skyraid, solomon, spcforce, speekatk, splash, sprcros2, ssozumo,
suna16, suna8

~aa
2010-09-02 09:04:26 +00:00
Miodrag Milanovic
5319902394 Made MAME compile by adding missing H files restored from files Atari Ace sent (no whatsnew) 2010-08-27 09:03:57 +00:00
Ryan Holtz
e2f6e9c473 Added a set of macros to minimize the amount of copy/pasting necessary to convert a device to the new style. [Harmony] 2010-08-26 01:56:46 +00:00
R. Belmont
65425075d3 New games added as GAME_NOT_WORKING
-----------------------------------
Savage Quest [TrevEB]
2010-08-25 01:11:26 +00:00
Aaron Giles
e38adf825e Added mask-free versions of read_word/read_dword/read_qword to
address_space. Also added unaligned variants that can read
unaligned values. Rewrote the core handler as a template that
handles all cases, along with a simple unit test to verify that
everything is correct.

Updated 68k, v60, i86, and nec cores to use unaligned read/
write instead of their own stubs for handling misalinged reads.

Fixed memory management of ga2 decryption.
2010-08-21 18:40:01 +00:00
Curt Coder
d303a4f17d Imported the Hitachi HCD62121 CPU core from MESS. 2010-08-20 17:32:03 +00:00
Aaron Giles
dd19e512c0 Massive memory system change. This is another step along the path toward
supporting cleaner implementations of drivers in the explicitly OO world.
Expect a follow-on of several more changes to clean up from this one, which
deliberately tried to avoid touching much driver code.

Converted address_space to a class, and moved most members behind accessor
methods, apart from space->machine and space->cpu. Removed external references
to 8le/8be/16le/16be/32le/32be/64le/64be. All external access is now done via
virtual functions read_byte()/read_word()/etc. Moved differentiation between
the endianness and the bus width internal to memory.c, and also added a new
axis to support small/large address spaces, which allows for faster lookups
on spaces smaller than 18 bits. 

Provided methods for most global memory operations within the new address_space 
class. These will be bulk converted in a future update, but for now there are
inline wrappers to hide this change from existing callers.

Created new module delegate.h which implements C++ delegates in a form that 
works for MAME. Details are in the opening comment. Delegates allow member 
functions of certain classes to be used as callbacks, which will hopefully 
be the beginning of the end of fetching the driver_data field in most 
callbacks. All classes that host delegates must derive from bindable_object.
Today, all devices and driver_data do implicitly via their base class.

Defined delegates for read/write handlers. The new delegates are always
passed an address_space reference, along with offset, data, and mask. Delegates
can refer to methods either in the driver_data class or in a device class.
To specify a callback in an address map, just use AM_READ_MEMBER(class, member).
In fact, all existing AM_ macros that take read/write handlers can now accept
delegates in their place. Delegates that are specified in an address map are
proto-delegates which have no object; they are bound to their object when
the corresponding address_space is created.

Added machine->m_nonspecific_space which can be passed as the required
address_space parameter to the new read/write methods in legacy situations 
where the space is not provided. Eventually this can go away but we will
need it for a while yet.

Added methods to the new address_space class to dynamically install delegates
just like you can dynamically install handlers today. Delegates installed this
way must be pre-bound to their object.

Moved beathead's read/write handlers into members of beathead_state as an
example of using the new delegates. This provides examples of both static (via
an address_map) and dynamic (via install_handler calls) mapping using delegates.

Added read/write member functions to okim6295_device as an example of using
delegates to call devices. Updated audio/williams.c as a single example of
calling the device via its member function callbacks. These will be bulk
updated in a future update, and the old global callbacks removed.

Changed the DIRECT_UPDATE_CALLBACKs into delegates as well. Updated all users
to the new function format. Added methods on direct_read_data for configuring the
parameters in a standard way to make the implementation clearer.

Created a simple_list template container class for managing the common
singly-linked lists we use all over in the project.

Many other internal changes in memory.c, mostly involving restructuring the code
into proper classes.
2010-08-19 06:57:51 +00:00
Angelo Salese
9000eb69e3 Improved video emulation to the Aristocrat MK-5, added bare-bones VIDC DMA transfer and timings, added 8bpp mode [Angelo Salese] 2010-08-18 20:37:01 +00:00
Phil Bennett
9ddee4ab77 Merged topshoot into the megadrvb driver (formerly genesisb) [Sonikos]
---------- Forwarded message ----------
From: abcd efgh <cix_999@yahoo.it>

- Hide quoted text -
Date: Sat, Aug 14, 2010 at 8:41 PM
Subject: topshoot/genesisb
To: submit@mamedev.org


Hi

I merge topshoot into genesisb driver.

bye sonikos
2010-08-16 12:16:19 +00:00
Angelo Salese
4201afbb6d new NOT WORKING
----------------
Olympic Hot Stuff [Ogoun]
2010-08-13 09:59:00 +00:00
mariuszw1
793c0fd358 Added sound support to Signetics S2636 (by using VC4000 sound support from MESS). Hooked up sound to Malzak, Galaxia and Astro Wars [Mariusz Wojcieszek] 2010-08-12 19:45:01 +00:00
Phil Bennett
f3581568d8 Merged aladbl.c and ssf2md.c to create genesisb.c [Sonikos]
---------- Forwarded message ----------
From: abcd efgh <cix_999@yahoo.it>
Date: Mon, Aug 9, 2010 at 7:51 PM
Subject: genesisb.c
To: submit@mamedev.org


Hi everybody !
I made just a little work, i moved ssf2md  in to aladinb.c driver and
renamed this one genesisb.c for create a new driver for all the
Genesis\Megadrive bootleg.

Bye Sonikos.
2010-08-11 19:12:32 +00:00
Angelo Salese
d310259357 More refactoring to the Toaplan 2 / GP9001 VDP device [David Haywood] 2010-08-09 10:48:14 +00:00
Andrew Gardner
26d3ec3244 plygonet.c : Updates Polygonet driver to use driver_data class. [Atari Ace] 2010-08-08 07:07:15 +00:00
Andrew Gardner
0946c173cb dsp56k : Hooked up new execution engine. [Andrew Gardner] 2010-08-07 18:42:59 +00:00
Phil Bennett
cf66ab4463 New games added or promoted from NOT_WORKING
--------------------------------------------
The Last Starfighter (prototype) [Phil Bennett, Ken Van Mersbergen]
Air Race (prototype) [Phil Bennett, Ken Van Mersbergen]
2010-08-07 17:32:54 +00:00
Aaron Giles
ff3f202d0a Convert seta.c, seta2.c, and ssv.c to driver_data. [Atari Ace]
--

From: Atari Ace <atari_ace@frontier.com>
Date: Tue, Aug 3, 2010 at 3:03 PM
Subject: [patch] Convert seta/seta2/ssv to driver_data
To: submit@mamedev.org
Cc: atariace@hotmail.com


Hi mamedev,

This patch removes all global variables from seta.c, seta2.c and
ssv.c.  The number of AM_BASE() macros drops by 4% from 3111 to 2989.

Note: ssv.h and seta2.h are new files.

~aa
2010-08-04 15:58:29 +00:00
Andrew Gardner
7543a1a9a4 The dsp561xx CPU core now generates accurate disassembly for Konami Polygonet hardware
(verified against Motorola's reference disassembler). [Andrew Gardner, Stiletto]
2010-08-04 05:11:00 +00:00
Aaron Giles
fe47da274e Return to type safety. Changed address maps back into functions that build
up the definition, rather than the whole tokenizing system, which lost type
checking. Added a new module addrmap.c which implements the address map
classes, and changed the macros to call methods on the address_map and
address_map_entry classes which are strongly typed.

Fixed a few incorrectly specified memory map entries along the way. Please
double-check to make sure the behavior is expected in: twincobr.c, lordgun.c,
galaxold.c.

This change also means that since the address_maps are now constructor
functions, they are detected when not used, so a number of #ifdef UNUSED_CODE
were added around dangling address map definitions.

Also included with this change:
- removed cputag_clocks_to_attotime() and cputag_attotime_to_clocks() in
   favor of just expanding the class
- same for cputag_suspend() and cputag_resume()
2010-08-01 21:04:03 +00:00
Roberto Fresca
811ee9874e New driver for Mega Double Poker, from Blitz System Inc. [Roberto Fresca]
* Initial release.
 * Preliminary memory map.
 * Hooked both PIAs, but need more analysis to confirm the offsets.
 * Accurate graphics and color decode.
 * Added main PCB and daughterboard layouts.
 * Added partial docs and diagrams about the CPU/MCU/ROMs addressing.
 * Added debug and technical notes.


New games marked as GAME_NOT_WORKING
------------------------------------
Mega Double Poker (conversion kit) [Roberto Fresca, ChrisQC, Smitdogg]
2010-07-30 21:06:28 +00:00
Quench
08c2ad802e Added Ameri Darts internal DSP dump and TMS32015 support to the
Amerdart driver. Also added savestate support to the game.
[Dr Decapitator, Quench]
2010-07-20 16:11:46 +00:00
Phil Bennett
e848cb8bb7 Various improvements to polepos.c [Alex Jackson]:
* Corrected the way the steering wheel is hooked up, fixing the jittery
   steering in the sets with MCUs.
 * Added a new layout file for the bootleg sets without MCUs (topracern and polepos2bi).
 * Converted clock frequencies to crystal values from xtal.c.
 * Added correct ROM names for the Namco-manufactured sets (polepos and polepos2).
 * Completely removed the unused global variable polepos_gear_bit.
 * Fixed a couple of bootleg ROMs that were very likely bit-rotted.
2010-07-15 11:05:38 +00:00
R. Belmont
018a21fa53 Add *IX man pages for MAME and utils [wallyweek] 2010-07-08 14:18:07 +00:00
smf-
c13eb4d193 turned i2cmem into a c++ device & ditched the unused legacy device. 2010-07-07 13:05:02 +00:00
Nicola Salmoria
0664448c9d divided segacrpt.c in two files, one for the old encryption and one for the new one. 2010-07-05 19:38:55 +00:00
Miodrag Milanovic
c14878e59a Imported image related utils from MESS into /lib/util [Miodrag Milanovic] 2010-07-05 10:19:05 +00:00
Aaron Giles
733b797a3d Split mame.c into mame.c and machine.c, the latter containing the
running_machine definition and implementation.

Moved global machine-level operations and accessors into methods on the
running_machine class. For the most part, this doesn't affect drivers
except for a few occasional bits:

  mame_get_phase() == machine->phase()
  add_reset_callback() == machine->add_notifier(MACHINE_NOTIFY_RESET, ...)
  add_exit_callback() == machine->add_notifier(MACHINE_NOTIFY_EXIT, ...)
  mame_get_base_datetime() == machine->base_datetime()
  mame_get_current_datetime() == machine->current_datetime()

Cleaned up the region_info class, removing most global region accessors
except for memory_region() and memory_region_length(). Again, this doesn't
generally affect drivers.
2010-06-30 03:46:21 +00:00
Phil Bennett
6fa25e5c9a aristmk4: various improvements: [FrasheR, Palindrome]
* Fixed VIA for good. 5010 - 501F
* Hooked up push button inputs
* Hooked up ports for the PML 2852 U3
* Implemented coin input
* Lamp output and button layout
* NVRAM backup
* Connected SW7 for BG colour map select
* Added LK13. 3MHz or 1.5 MHz CPU speed select
* Added sound sample for mechanical meter pulse
* Replaced custom RTC code with MC146818
2010-06-27 14:42:45 +00:00
Phil Bennett
b94bf9156b Hooked up Daikaiju no Gyakushu 68705 MCU and removed MCU simulation code [Phil Bennett, Dr. Decapitator] 2010-06-26 20:34:51 +00:00
Aaron Giles
29b6b0de41 C++-ified the debugger views. Not quite architecturally where I would
like them, but it's a start. Split implementation of individual view
types out to separate files. Updated all callers.

Also:
 * fixed okim6295 memory view
 * changed emualloc to free resource pools from earliest to latest
    so that early objects can safely clean up stuff they allocated
2010-06-25 05:11:42 +00:00
Miodrag Milanovic
ea8dd94677 - Moved ioproc implementation from MESS [Miodrag Milanovic]
- Implemented more image device calls, and did some cleanup (no whatsnew)
2010-06-23 19:35:49 +00:00
Miodrag Milanovic
cbe7260a59 - Moved softlist implementation from MESS [Miodrag Milanovic]
- Moved image related UI from MESS to emu core
- Reimplemented filename related image device calls
2010-06-20 18:48:02 +00:00
Ryan Holtz
834b1badde Added a skeleton driver for Philips CD-i-based arcade series, Quizard [Harmony]
New gamse marked as GAME_NOT_WORKING
------------------------------------
Quizard (1.7) [ANY, The Dumping Union, Harmony]
Quizard (2.2) [ANY, The Dumping Union, Harmony]
Quizard (3.2) [ANY, The Dumping Union, Harmony]
Quizard Rainbow (4.1) [ANY, The Dumping Union, Harmony]
2010-06-19 20:58:26 +00:00
Miodrag Milanovic
826dba5923 - removed MESS dependency from config.c
- moved image legacy device implementation to devimage.c
- created image.c implementation with initialization of devices/configuration for image devices, used those calls from mame.c
- some minor cleanup of legacy device and initial implementation of some calls

(no whatsnew for now, this is just for log,will put more info on final commit)
2010-06-17 20:06:54 +00:00
Miodrag Milanovic
d2a7b5f332 hashfile moved from MESS to emu section (needed for now in image support until softlist implementation is finished), this doesn't affect mame side (no whatsnew) 2010-06-17 06:57:05 +00:00
Miodrag Milanovic
848bf53c3d - moved opresolv and zippath into /lib/util from MESS [Miodrag Milanovic]
- removed ifdef MESS from osd part since calls are needed by zippath
2010-06-16 18:04:30 +00:00
Miodrag Milanovic
791a3515b9 devlegacy.c,clifront.c,info.c [Miodrag Milanovic]
- Created legacy image device
- Moved opresolv implementation from MESS
- listmedia is option is available in MAME too
- listxml output now contains image devices
2010-06-15 09:16:05 +00:00
Angelo Salese
4a7156c0a0 Dumped internal ROM for Janshi [Charles MacDonald] 2010-06-13 16:45:41 +00:00
Aaron Giles
100564d412 WARNING: There are likely to be regressions in both functionality and
performance as a result of this change. Do not panic; report issues to the
list in the short term and I will look into them. There are probably also
some details I forgot to mention. Please ask questions if anything is not
clear.

NOTE: This is a major internal change to the way devices are handled in
MAME. There is a small impact on drivers, but the bulk of the changes are
to the devices themselves. Full documentation on the new device handling
is in progress at http://mamedev.org/devwiki/index.php/MAME_Device_Basics

Defined two new casting helpers: [Aaron Giles]

  downcast<type>(value) should be used for safe and efficient downcasting
  from a base class to a derived class. It wraps static_cast<> by adding
  an assert that a matching dynamic_cast<> returns the same result in 
  debug builds.
  
  crosscast<type>(value) should be used for safe casting from one type to
  another in multiple inheritance scenarios. It compiles to a 
  dynamic_cast<> plus an assert on the result. Since it does not optimize
  down to static_cast<>, you should prefer downcast<> over crosscast<>
  when you can.
  
Redefined running_device to be a proper C++ class (now called device_t).
Same for device_config (still called device_config). All devices and
device_configs must now be derived from these base classes. This means
each device type now has a pair of its own unique classes that describe
the device. Drivers are encouraged to use the specific device types
instead of the generic running_device or device_t classes. Drivers that
have a state class defined in their header file are encouraged to use
initializers off the constructor to locate devices. [Aaron Giles]

Removed the following fields from the device and device configuration
classes as they never were necessary or provided any use: device class,
device family, source file, version, credits. [Aaron Giles]

Added templatized variant of machine->device() which performs a downcast
as part of the device fetch. Thus machine->device<timer_device>("timer")
will locate a device named "timer", downcast it to a timer_device, and
assert if the downcast fails. [Aaron Giles]

Removed most publically accessible members of running_device/device_t in
favor of inline accessor functions. The only remaining public member is
machine. Thus all references to device->type are now device->type(), etc.
[Aaron Giles]

Created a number of device interface classes which are designed to be mix-
ins for the device classes, providing specific extended functionality and
information. There are standard interface classes for sound, execution,
state, nvram, memory, and disassembly. Devices can opt into 0 or more of
these classes. [Aaron Giles]

Converted the classic CPU device to a standard device that uses the
execution, state, memory, and disassembly interfaces. Used this new class
(cpu_device) to implement the existing CPU device interface. In the future
it will be possible to convert each CPU core to its own device type, but 
for now they are still all CPU devices with a cpu_type() that specifies
exactly which kind of CPU. [Aaron Giles] 

Created a new header devlegcy.h which wraps the old device interface using
some special template classes. To use these with an existing device,
simply remove from the device header the DEVICE_GET_INFO() declaration and
the #define mapping the ALL_CAPS name to the DEVICE_GET_INFO. In their
place #include "devlegcy.h" and use the DECLARE_LEGACY_DEVICE() macro.
In addition, there is a DECLARE_LEGACY_SOUND_DEVICE() macro for wrapping
existing sound devices into new-style devices, and a 
DECLARE_LEGACY_NVRAM_DEVICE() for wrapping NVRAM devices. Also moved the
token and inline_config members to the legacy device class, as these are
not used in modern devices. [Aaron Giles]

Converted the standard base devices (VIDEO_SCREEN, SPEAKER, and TIMER) 
from legacy devices to the new C++ style. Also renamed VIDEO_SCREEN to
simply SCREEN. The various global functions that were previously used to
access information or modify the state of these devices are now replaced
by methods on the device classes. Specifically:

  video_screen_configure()             == screen->configure()
  video_screen_set_visarea()           == screen->set_visible_area()
  video_screen_update_partial()        == screen->update_partial()
  video_screen_update_now()            == screen->update_now()
  video_screen_get_vpos()              == screen->vpos()
  video_screen_get_hpos()              == screen->hpos()
  video_screen_get_vblank()            == screen->vblank()
  video_screen_get_hblank()            == screen->hblank()
  video_screen_get_width()             == screen->width()
  video_screen_get_height()            == screen->height()
  video_screen_get_visible_area()      == screen->visible_area()
  video_screen_get_time_until_pos()    == screen->time_until_pos()
  video_screen_get_time_until_vblank_start() == 
                                 screen->time_until_vblank_start()
  video_screen_get_time_until_vblank_end() == 
                                 screen->time_until_vblank_end()
  video_screen_get_time_until_update() == screen->time_until_update()
  video_screen_get_scan_period()       == screen->scan_period()
  video_screen_get_frame_period()      == screen->frame_period()
  video_screen_get_frame_number()      == screen->frame_number()

  timer_device_adjust_oneshot()        == timer->adjust()
  timer_device_adjust_periodic()       == timer->adjust()
  timer_device_reset()                 == timer->reset()
  timer_device_enable()                == timer->enable()
  timer_device_enabled()               == timer->enabled()
  timer_device_get_param()             == timer->param()
  timer_device_set_param()             == timer->set_param()
  timer_device_get_ptr()               == timer->get_ptr()
  timer_device_set_ptr()               == timer->set_ptr()
  timer_device_timeelapsed()           == timer->time_elapsed()
  timer_device_timeleft()              == timer->time_left()
  timer_device_starttime()             == timer->start_time()
  timer_device_firetime()              == timer->fire_time()

Updated all drivers that use the above functions to fetch the specific
device type (timer_device or screen_device) and call the appropriate
method. [Aaron Giles]

Changed machine->primary_screen and the 'screen' parameter to VIDEO_UPDATE
to specifically pass in a screen_device object. [Aaron Giles]

Defined a new custom interface for the Z80 daisy chain. This interface
behaves like the standard interfaces, and can be added to any device that
implements the Z80 daisy chain behavior. Converted all existing Z80 daisy
chain devices to new-style devices that inherit this interface.
[Aaron Giles]

Changed the way CPU state tables are built up. Previously, these were data
structures defined by a CPU core which described all the registers and how
to output them. This functionality is now part of the state interface and
is implemented via the device_state_entry class. Updated all CPU cores
which were using the old data structure to use the new form. The syntax is
currently awkward, but will be cleaner for CPUs that are native new 
devices. [Aaron Giles]

Converted the okim6295 and eeprom devices to the new model. These were
necessary because they both require multiple interfaces to operate and it
didn't make sense to create legacy device templates for these single cases.
(okim6295 needs the sound interface and the memory interface, while eeprom
requires both the nvram and memory interfaces). [Aaron Giles]

Changed parameters in a few callback functions from pointers to references
in situations where they are guaranteed to never be NULL. [Aaron Giles]

Removed MDRV_CPU_FLAGS() which was only used for disabling a CPU. Changed
it to MDRV_DEVICE_DISABLE() instead. Updated drivers. [Aaron Giles]

Reorganized the token parsing for machine configurations. The core parsing
code knows how to create/replace/remove devices, but all device token
parsing is now handled in the device_config class, which in turn will make
use of any interface classes or device-specific token handling for custom
token processing. [Aaron Giles]

Moved many validity checks out of validity.c and into the device interface
classes. For example, address space validation is now part of the memory
interface class. [Aaron Giles]

Consolidated address space parameters (bus width, endianness, etc.) into
a single address_space_config class. Updated all code that queried for
address space parameters to use the new mechanism. [Aaron Giles]
2010-06-08 06:09:57 +00:00
Roberto Fresca
e9e9e31d9c Improvements to Lucky Girl (newer Z80 based hardware): [Roberto Fresca]
* Improved the input system, added missing buttons.
 * Figured out the full coinage DIP switches. (Coins A, B, C, Key In)
 * Found and documented the output ports.
 * Added full lamps support.
 * Created a new button-lamps layout.
 * Hooked the coin and key in counters.
 * Added technical notes.
2010-06-07 01:54:25 +00:00
mariuszw1
7ca4c4a9f5 pcat_nit.c update [Mariusz Wojcieszek]
- added VGA emulation from MESS
- added INS8250 emulation from MESS
- added format decimal support to Microtouch
- added rom banking and inputs to pcat_nit games
- streetg(2) now boot properly
2010-06-05 19:41:27 +00:00
Angelo Salese
00d405a975 Basic M6502 hook-up in Royal Gum [David Haywood]
Moved Miracle Derby inside homedata.c driver [David Haywood]
2010-06-03 15:27:27 +00:00
Couriersud
690f98e05b Moved tms6100 code into emu/machine/tms6100.[ch]. Added pinouts for TMS6100 and M58819. [Couriersud] 2010-05-31 19:54:22 +00:00
Angelo Salese
dfafd7bd5d Ported Super Famicom Box from MESS to MAME [Angelo Salese]
Modified the naomi clipping a bit to avoid so many black lines at the bottom [David Haywood]

new clones
----------
Road Riot's Revenge (prototype, set 3) [Siftware]
Indoor Soccer (set 2) [Siftware]

new not working
---------------
Super Famicom Box BIOS [Angelo Salese]
New Super 3D Golf Simulation - Waialae No Kiseki / Super Mahjong 2 (Super Famicom Box) [Angelo Salese]
2010-05-22 14:05:16 +00:00
Fabio Priuli
728e00bc44 sega16sp: moved bootleg interfaces to the system 16 bootleg driver and added different interfaces to avoid drivers to directly access device private items. No whatsnew.
snes.c: moved some more elements to driver_data class and added skeleton support for the BS-X satellaview addon (which will be used by MESS, eventually). No whatsnew.
2010-05-19 08:52:12 +00:00
Luca Elia
ede9da11b2 New driver: sigmab98.c [Luca Elia]
New games added or promoted from NOT_WORKING status
---------------------------------------------------

GeGeGe no Kitarou Youkai Slot [A. Hoekman, ranger_lennier, Smitdogg, The Dumping Union, Luca Elia]

New games marked as GAME_NOT_WORKING
------------------------------------

Win Win Bingo (2 sets) [f205v, Filippo Tarderia]
Zoo [Brian Troha, The Dumping Union]
2010-05-16 14:04:49 +00:00
Michaël Banaan Ananas
f45ce8f223 rm empty unused file 2010-05-10 13:48:49 +00:00
Roberto Fresca
8ab54982e1 New Lucky 8 Lines hardware:
* Added lamps support to lucky8, lucky8a, lucky8b,
    ns8liner, ns8linew and kkojnoli.
 * Created lamps layout for the above sets.
 * New inputs for ns8linew. This set has a second set of inputs,
    and can be switched between them. No lamps activity or Big/Small
    buttons are present while this alternative controls are used.
    Maybe is a leftover.
 * Some DIP switches were figured out. Coinage and limits are still
    a real mystery since all DIP switches are reflected in the test mode.
 * Remapped inputs to be straightforward with the control panel.
 * Added the type (W-4/F-5) to the sets description.
 * General inputs clean-up.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
New Lucky 8 Lines / New Super 8 Lines (F-5, Witch Bonus)
[Roberto Fresca, incog, Smitdogg, The Dumping Union]
2010-05-06 16:51:41 +00:00
Fabio Priuli
d327f106f4 sega system16 and later: first pass in the conversion of video ICs to be devices [David Haywood]
also, out of whatsnew: modified segaybd to use callbacks for output instead of a huge switch statement (as per Haze's and Arbee's suggestions).
2010-04-26 15:28:03 +00:00
Scott Stone
89c4252140 Added a screen layout for Space Stranger based on photos [M.A.S.H] 2010-04-23 22:11:06 +00:00
Roberto Fresca
5b15b9b029 More improvements to Treasure Bonus (Subsino) [Roberto Fresca]
* Fixed inverted functions and buggy inputs.
 * Added lamps support.
 * Created button-lamps layout.
 * Remapped inputs to reflect the controls layout. This way is more
    user-friendly since controls are straight with button-lamps.
 * Added coin/keyin/keyout/payout counters.
 * Removed the pulse limitation in the BET input. This allow it to work
    as BET and STOP2 properly.
 * Added technical notes.
2010-04-22 19:08:45 +00:00
Roberto Fresca
392179b0ab Improvements to Shark Party (English, Alpha license): [Roberto Fresca]
* Created complete inputs from the scratch.
 * Added coin/keyin/keyout counters.
 * Added main game and double-up rates DIP switches.
 * Added minimum bet DIP switches.
 * Added maximum bet DIP switches.
 * Added complete coinage and remote credits DIP switches.
 * Added jokers and demo sounds DIP switches.
 * Figured out and documented all the game outputs.
 * Created proper button-lamps layout.

Now the game is in full-working state.
2010-04-20 06:56:01 +00:00
Fabio Priuli
1e21b12b9e Added driver data class and save states to playmark.c, powerbal.c, pushman.c and pzletime.c [Fabio Priuli] 2010-04-19 08:00:59 +00:00
Ryan Holtz
b64d429b8e Reworked the entire Nintendo 64 renderer to be class-based. More
cleanup to follow. [Harmony]
2010-04-02 05:34:10 +00:00
Angelo Salese
2f0d3d3d25 Replaced Stocker dump with a good set [Kevin Eshbach]
Hooked up default NVRAM for Golly Ghost / Bubble Trouble [David Haywood]

clones
---
Moon Base (set 2) [jmurjr, D. Maeby, Charles MacDonald, The Dumping Union]
Vapor Trail - Hyper Offence Formation (World revision 3?) [f205v, Tirino73]
Cherry Bonus III (alt, set 2) [Anonymous]


new NOT WORKING games
---------------------
Lucky Boy / Poker 72 [David Haywood]
2010-03-28 19:53:10 +00:00
Fabio Priuli
b7d6cf77c1 metro.c: added driver data class [Fabio Priuli]
vmetal: added driver data class and save states [Fabio Priuli]

no save states in metro.c (yet) because some games like 3kokushi have serious glitches when loading a state. any help is welcome...
2010-03-17 16:38:26 +00:00
Fabio Priuli
47a1fe17f8 spc700.c: Added save states [Fabio Priuli]
snes.c: Updated the snes sound device to use device handlers, to store its internals in a struct, and to save them [Fabio Priuli]
2010-03-17 09:33:15 +00:00
Fabio Priuli
462128d7a8 Added driver data class and save states to: paradise.c, pasha2.c and pbaction.c
Enabled saves states in pass.c (everything was already saved)
2010-03-16 07:53:12 +00:00
Roberto Fresca
1388839de7 More improvements to Funworld driver. [Roberto Fresca]
* Reworked button-lamps layouts per game. Cleaned-up the code.
 * Added specific button-lamps layout for bigdeal games.
 * Added specific button-lamps layout for royalcrd & jolycdit,
    but there is a bug in the d-up select code that lights the
    wrong lamp. This is a leftover from jollycrd routines.
 * Flagged vegasfte as GAME_NOT_WORKING, since is not receiving
    any coins or remote credits anymore.
2010-03-16 01:51:08 +00:00
Angelo Salese
8a376dc6e6 Added default NVRAM for Namco FL games and some Namco System 2 games [David Haywood] 2010-03-15 19:13:44 +00:00
Curt Coder
5826c45ea4 Imported Z80 DART and Z80 STI from MESS. (no whatsnew) 2010-03-08 16:47:53 +00:00
Roberto Fresca
f84bb3da43 New driver for Five Clown, from IGS. This is a dual 6502 system
with CRT controller, AY8910 and OKI M6295. Main program, graphics
and sound samples are encrypted. [Roberto Fresca, Grull Osgo]

 - Hooked both 6502 CPU's.
 - Hooked the M6845 CRT.
 - Decrypted main program and bulk GFX.
 - Decoded GFX and color PROM.
 - Hooked both PIA's 6821.
 - Worked inputs from the scratch.
 - Hooked DIP Switches banks 2 & 4.
 - Hooked proper interrupts for audio CPU.
 - Hooked the AY8910 latches...
 - Hooked the OKI6295.
 - Hooked DIP switches ports $C400 & $CC00.
 - Found the sound samples decryption algorithm.
 - Added NVRAM support.
 - Added a complete PCB layout.
 - Added game notes.
 - Added technical notes.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Five Clown (english) [Roberto Fresca, Grull Osgo]
Five Clown (spanish hack) [Roberto Fresca, Grull Osgo]
2010-03-08 05:23:44 +00:00
Angelo Salese
e65d75cfee Merged kingdrby.c and cowrace.c drivers [Angelo Salese] 2010-03-02 20:37:30 +00:00
Angelo Salese
8ba44d6bad new NOT WORKING
---------------

Royal Gum [Siftware]
2010-03-02 19:57:37 +00:00
R. Belmont
beeffeb5e7 Add MAME-ified version of SoftFloat library [John R. Hauser]
As previously discussed, this will be used for the MC680x0 FPU in 
order to handle high-precision floats portably.  The license is 
included in README.txt and is MAME compatible.
2010-03-02 04:26:48 +00:00
Fabio Priuli
19723cecd0 Added driver_data class and save states to the following drivers: oneshot.c, onetwo.c, orbit.c, othello.c and othldrby.c
Added driver_data class to the following drivers: nemesis.c and nyny.c
2010-03-01 09:10:49 +00:00
Fabio Priuli
bb91514d13 Added missing files from rev.8444 2010-03-01 05:39:34 +00:00
Fabio Priuli
745d7c0f68 Added driver_data class and save states to the following drivers: backfire.c, boogwing.c, cbuster.c, cninja.c, dassault.c, dblewing.c, deco156.c, rohga.c, simpl156.c [Fabio Priuli]
and yes, this completes driver data class for all the deco16ic drivers ;)
2010-02-25 21:17:06 +00:00
Fabio Priuli
ef97820c1b Renamed decodev->deco16ic [Fabio Priuli]
Added driver data class to funkyjet.c [Fabio Priuli]

Added driver data class and save states to vaportra.c and tumbleb.c [Fabio Priuli]
2010-02-25 16:21:27 +00:00
Fabio Priuli
acf08c5b70 Made deco32.c independent of deco16ic.c (it only needed a drawing routine) and removed deco16ic.c now that it is not needed anymore [Fabio Priuli] 2010-02-25 13:11:59 +00:00
stephh
56c1f02268 wardner, wardnerj, pyros (wardner.c driver) :
- Fixed Dip Switches and Inputs (after verification of the Z80 code)
2010-02-25 10:51:37 +00:00
Fabio Priuli
9c435fdb38 Implemented device version of the deco16ic tilemap chip [Fabio Priuli]
Converted backfire.c, boogwing.c, dietgo.c, mirage.c, pktgaldx.c, simpl156.c, supbtime.c, tumblep.c to use the device-fied video chips [Fabio Priuli]

Added driver data struct and save states to the following drivers: dietgo.c, mirage.c, pktgaldx.c, supbtime.c and tumblep.c [Fabio Priuli]


side note: the device-fied code (currently included in video/decodev.c) still needs various refinements, but I will clean it up after all the drivers have been converted.
2010-02-25 00:33:25 +00:00
Fabio Priuli
a47eb26d5b Added driver_data struct and save states to the following drivers: matmania.c, metlclsh.c, mexico86.c, mouser.c, mrflea.c, mrjong.c, munchmo.c and mwarr.c
Added driver_data struct to the following drivers: mgolf.c, minivadr.c, mosaic.c and mrdo.c

Enabled save states to mugsmash.c (everything was already saved)
2010-02-23 19:18:49 +00:00
Fabio Priuli
02ef38f4bd forgotten headers 2010-02-21 00:37:26 +00:00