Commit Graph

2721 Commits

Author SHA1 Message Date
Aaron Giles
c48c851c8d 02206: cubeqst: Cubequest now missing narrator and music during attract mode 2008-09-11 15:07:38 +00:00
Aaron Giles
6d26419b72 02207: marioj, marioo: Access Violation 2008-09-11 14:37:23 +00:00
Aaron Giles
2398d51941 Fixed memory handling of internal banks. They should be LOWER priority than
the driver's memory maps.

Reverted recent changes to MCS-48 core that were very hacky and which crashed
many games. You can now properly override the internal memory map and do
your own banking.

Also fixed 02204: masao: Memory bank error.
2008-09-11 14:33:52 +00:00
Roberto Fresca
1510ffd2e3 Improvements to Croupier (Playmark Roulette):
- Simulated the MCU communication/protection.
  The game seems to work properly, but is hard to win.
  I conserved the game flags till we have the MCU decapped,
  and emulated properly.

- Added full sound support.
- Added lamps support + layout.
2008-09-10 23:47:12 +00:00
davidhay
98f430a552 marked vf4 key as incorrect. 2008-09-10 22:18:21 +00:00
davidhay
112cfd4dc1 more n2 gd-rom stuff 2008-09-10 20:25:46 +00:00
Wilbert Pol
a004308575 Fix stupid compile error 2008-09-10 19:31:41 +00:00
Wilbert Pol
815cf5f076 MESS specific update. 2008-09-10 19:14:18 +00:00
Pierpaolo Prazzoli
fcd9a40755 Added sprites buffering to Limenko driver and removed imperfect video flag from spotty.
Can someone take a look at spotty sound? I think I've some basic stuffs hooked up
2008-09-10 17:02:22 +00:00
davidhay
51f402201a started adding naomi2 sets. 2008-09-10 08:07:25 +00:00
Aaron Giles
a9b7f2d1a4 Further reduced the maximum tag length to 10 characters, since
there were only a few cases where longer tags were in use.
2008-09-10 06:29:24 +00:00
Aaron Giles
e647d9be1a Adjusted tags in drivers to meet conformity checks. Promoted checks to
full errors.
2008-09-10 06:24:46 +00:00
Aaron Giles
e5ec7b2687 Fixed memory leak due to recent input changes. 2008-09-10 06:02:22 +00:00
Roberto Fresca
f599e6d274 More cleanups and improvements to Super Derby driver.
- Fixed memory maps.
- Documented Super Derby outputs.
- Added lamps support + layout to Super Derby.
- Fixed the phisical RAM size to all games.
- Fixed the wrong NVRAM size to spacewin (16Kb instead of 16KB).
- Added proper NVRAM to sderby and pmroulet.
- Added the missing 3rd input to pmroulet (needed for 3-button mode).
- Cleaned up the driver.
2008-09-09 23:51:25 +00:00
Aaron Giles
ec2639d221 OSD notice: you now need to report separate mouse up/mouse down events
for this new support to work.

Clickable input support. Mostly by Nathan. A few changes from the
proposal:

* as far as the layout is concerned, states are 0 (off) or 1 (on) and
   aren't impacted by the port's ACTIVE_HIGH or ACTIVE_LOW

* instead of checking each individual field for a hit, we look to see
   what is hit once per frame and then just check against that; this
   is faster, but does limit us to a single hit item

* added function input_field_by_tag_and_mask() to look up a particular
   input_field_config by tag and mask; this makes it possible to easily
   get the port default value or other information as necessary
2008-09-09 17:11:52 +00:00
Aaron Giles
9b4e46fad5 Changed DEVICE_START functions to return an error code. Currently this
is either DEVICE_START_OK or DEVICE_START_MISSING_DEPENDENCY. The latter
should be returned by a device if there is another device it depends on
which hasn't been started yet. Added new flag in the device interface to
indicate whether a device has been started.

Changed laserdisc interface to explicitly specify the screen and sound
devices it should route to. Drivers no longer have to manually call
laserdisc_vsync(). Instead, the laserdisc code connects up to the routed
screen device and works based on that screen's VBLANK timing. Removed
all existing calls to laserdisc_vsync().

Changed laserdisc behavior so that it completes the previous video read
and initiates the next read at the end of VBLANK instead of the beginning.
This gives player logic time during VBLANK to alter the slider position
prior to fetching the next frame.

Added new laserdisc callback for vsync begin and changed the update
callback to be called at the end of VBLANK. Also added functions to set
the slider speed, advance the slider, and directly control the video/
audio squelch. In addition, there is a new status function to get the
slider position in general terms.

Added parameter to the VBLANK callbacks supported in emu/video.c. Updated
all callers to provide a callback value.

Fixed bug that would cause watchpoints to trigger if you had a memory
window open to the watchpoint address.

Further updates to the PR-8210 ROM simulation. Still not quite there but
the system is much better understood now. Added layout to the PR-8210
which displays the state of the front-panel LEDs.
2008-09-09 16:10:11 +00:00
Andrew Gardner
bd8c06c155 Part 11 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-09 04:29:13 +00:00
Roberto Fresca
0ad067f14d Space Win changes:
- Some corrections to the memory map.
- Added proper working RAM.
- Added Dallas DS1220Y NVRAM.
- Added output port.
- Added lamps layout.
- Added complete inputs.
- Changed description to "Scacco Matto / Space Win" since the default game is Scacco Matto.

You must enter the service mode and change graphics in order to switch the game.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Scacco Matto / Space Win [David Haywood, Roberto Fresca]
2008-09-09 01:11:43 +00:00
davidhay
95762c625f found sprites, needs controls 2008-09-08 19:05:15 +00:00
davidhay
5e23dea766 preliminary support for Space Win / Scacco Matto from Playmark, currently the cards don't display... (sprites? spriteram isn't populated) 2008-09-08 18:59:25 +00:00
Andrew Gardner
dcb6d50706 Part 10 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-08 06:15:08 +00:00
Nicola Salmoria
3c7aa41306 02205: jackal, jackalj, topgunbl, topgunr: Enemy tank colors are wrong 2008-09-08 05:07:11 +00:00
Nathan Woods
30dcca1594 Created a hook for populating MESS-specific main menu items 2008-09-08 03:34:15 +00:00
Aaron Giles
f5d90dac56 CPUs, sound chips, devices, and ROM-regions which are specified by devices
now have their tags auto-prefixed with the device's tag. This allows for
multiple instances to be present. For example, the PR-8210 laserdisc player
has a CPU with a tag of "pr8210". When it is included as a device by a
driver, the driver may tag the device "laserdisc". The resulting final
CPU tag name will be "laserdisc:pr8210". Also updated the debugger
expression engine to support names with embedded colons.

Added warnings to ensure that tags used for CPUs, sound chips, regions, and
devices follow some basic rules: they should be less than 12 characters long,
be all lower-case, and only contain letters, numbers, underscores, or dots
(no spaces). This is to ensure that they can be used properly in debugger
expressions and don't get too long or unwieldy to type (even 12 chars is a
bit long).
2008-09-08 03:05:09 +00:00
Andrew Gardner
9af15fd27f Part 9 of "The big IO_MAP merge of 2008". (Andrew Gardner)
* Because twinadv (snowbros.c) had a crash introduced in 127u1, I wasn't able to test the results of the automated IO_MAP merge operation.  It's a simple map though, so I don't expect any difficulties.  I apologize for not having the time to fix the bug myself (mantis : 02184).
2008-09-07 20:33:53 +00:00
Phil Bennett
c538e495b8 Added redumped welltris program ROMs (credit 'Dazzer') 2008-09-07 12:53:31 +00:00
Nathan Woods
f1d5b2a1ec Added a core_fopen_ram_copy() call, similar to core_fopen_ram() except that it
copies the memory
2008-09-06 22:47:05 +00:00
Aaron Giles
c0b1419a96 Added concept of rom sources to the rom loader. Updated auditing,
CLI utilities, validity checks, and ROM loading to use these new
functions so that device-specific ROMs are handled properly.
2008-09-06 22:17:37 +00:00
Brian Troha
7097684ac8 adds Super Gran Safari to mamedriv.c to enable it ;-) 2008-09-06 20:21:13 +00:00
Pierpaolo Prazzoli
986ddf9bef Fixed sprites in imago [Pierpaolo Prazzoli, Tomasz Slanina] 2008-09-06 17:04:30 +00:00
Andrew Gardner
4fd10c4ea8 Part 8 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-06 16:46:07 +00:00
Andrew Gardner
b010f791c1 Part 7 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-06 15:21:38 +00:00
davidhay
ecb8a184d4 let's just have one way of mapping the ports in Shadow Force. This way makes most sense, each port is a physical element of the board, we descramble in the code. 2008-09-06 12:10:31 +00:00
davidhay
79dc6729ca adds clone tnzsjn
The NewZealand Story (Japan, newer) [Tirino73]
2008-09-06 11:48:45 +00:00
davidhay
689cefab97 moved all naomi-gd keys to external 2008-09-06 09:26:45 +00:00
Aaron Giles
20bbc6726f Fixed potential crasher when the player-specific info was not found
for a laserdisc player.
2008-09-06 07:03:42 +00:00
Aaron Giles
a6c3d9b671 Moved reset to default behavior in the cheat menu to IPT_UI_CLEAR. 2008-09-06 06:59:35 +00:00
Aaron Giles
89730e4d28 Added built-in "Off" states to the cheats with parameters. This is
also the default state, obviating the need for a default value. Removed
the "default" attribute as a result. Switching from "Off" to another
state first executes the "on" script followed by the "change" script.
Switching to "Off" from another state executes the "off" script. While
not off, the "run" script is executed each frame.
2008-09-06 06:57:47 +00:00
Aaron Giles
8c9f7cbc76 Added new device interface selector: DEVINFO_PTR_ROM_REGION. This allows a
device to provide a set of ROM regions to be loaded along with the game
ROMs. It is expected that most regions defined for devices will use the
ROMREGION_LOADBYNAME flag to enable the ROMs to live in a central location.

Added new device interface selector: DEVINFO_PTR_MACHINE_CONFIG. This allows
a device to specify a partial machine driver which is appended to the end of
the machine driver for any game using that device. The intention for this is
to allow devices which have their own BIOS logic to specify CPUs and other
characteristics common to all systems using the device.

Added new ROMREGION flag: ROMREGION_LOADBYNAME, which means that if the ROMs
in that region are not found in the usual driver files, then the name of the
region will be used as a driver filename for loading.

Extended the ldcore interface structure to allow each player type to provide
its own ROM region and partial machine driver.

Moved preliminary PR-8210 emulation code from ldplayer.c to ldpr8210.c. It
is currently disabled behind the EMULATE_PR8210_ROM compile time flag.
2008-09-06 06:36:32 +00:00
Roberto Fresca
2c605c0528 Changes to magic10 driver.
- Better structure and organization.
- Added Super Gran Safari.
- Added improved lamps layout to Super Gran Safari and Magic's 10.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Super Gran Safari [Roberto Fresca]
2008-09-06 05:24:37 +00:00
Roberto Fresca
520c511cd0 Some corrections/optimizations. 2008-09-05 21:31:13 +00:00
davidhay
46a808f72d continued adding naomi gdrom chds 2008-09-05 19:58:44 +00:00
Nicola Salmoria
613cc4539f merged memory maps 2008-09-05 13:27:43 +00:00
Nicola Salmoria
22348c290f fixed bg tile banking in Canvas Croquis
removed snkwave since it doesn't seem to be used and might not be present on the pcb at all
general driver cleanup, bringing it in line with snk.c but not merging it since somthing doesn't quite fit
2008-09-05 12:52:39 +00:00
Nicola Salmoria
ff15df471f coin inputs seem to be active high (except for jcross) 2008-09-05 12:43:37 +00:00
Pierpaolo Prazzoli
c0802d7f0d Added newer parent set for Imago, which is also a cocktail set for the 2nd player.
New clones added
----------------
Imago (cocktail set) [Chris Hardy]
2008-09-05 09:11:12 +00:00
davidhay
a2f1e496d5 more naomi gd-rom chds 2008-09-05 08:01:40 +00:00
davidhay
274333faef continued adding naomigd chds 2008-09-05 06:49:41 +00:00
davidhay
b0603ed003 ragtimea : correct rom loading generally helps. 2008-09-05 06:07:32 +00:00
R. Belmont
9cb4b8e665 This links on some combination of tools somewhere? Seriously? 2008-09-05 04:02:57 +00:00