Commit Graph

2695 Commits

Author SHA1 Message Date
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
Brian Troha
54fd9a4b0b New Clone (not working)
New clones added
----------------
The Great Ragtime Show (Japan v1.3, 92.11.26) [Stefan Lindberg]

Renamed the roms for the Japanese v1.5 from kh_0x-1 to kh_0x-2 like the other v1.5 sets.  This new earlier version is the "true" kh_0x-1

Slight update to info... the PAL "VF-00" wasn't mentioned.  PCB picture is at http://arcade.ym2149.com/

This rom set is not working.  Bad dump???  Slightly different encryption???  Emulation issue???
2008-09-05 03:02:03 +00:00
Brian Troha
f8193e20e8 Additional documentation for Egg Venture & Lethal Justice
Added JAMMA pinout
Gun Connector pinout
Sound & Amp information
2008-09-05 02:13:29 +00:00
davidhay
7d8c534137 started changing naomi gdrom sets to load the CHDs 2008-09-04 23:47:11 +00:00
Pierpaolo Prazzoli
e8ffe5a711 Implemented playfield 1 and playfield 2 y-offset table. This fixes, at least, the water effect in riskchal and the text fading effect in the matchit2 demo. [Pierpaolo Prazzoli, Tomasz Slanina] 2008-09-04 18:05:49 +00:00
Aaron Giles
4c8f0225a7 Added missing include. 2008-09-04 16:52:36 +00:00
Aaron Giles
a4bca37f81 Cleanups and version bump. 2008-09-04 15:31:56 +00:00
Aaron Giles
05915406d0 Missing include. 2008-09-04 15:11:10 +00:00
Pierpaolo Prazzoli
83b31ba4ce Little change about the video partial update in Shadow Force, calling the update inside the raster timer 2008-09-04 10:36:49 +00:00
Aaron Giles
a50feca332 From: Barry Rodewald [mailto:bsr@xnet.co.nz]
Subject: Update to MC146818 RTC

Hi,
Here's a small patch to the MC146818 code, which gives a basic 
implementation of the "update ended" interrupt flag.

The code is based on the behaviour of the Aleste 520EX (Russian Amstrad 
CPC clone) BIOS, which periodically (about 7 or 8 times a second) checks

the flag to see if the date and time display on the BIOS setup screen 
needs to be updated.  Without the flag implemented, the date and time 
are static on the setup screen, or if the time hasn't been initialised 
(blank NVRAM) it is blank.

The BIOS function that does this basically checks bit 4 of register 
0x0c, and if 0, ends there, otherwise it will read register 0x0b, sets 
bit 7 of the result and writes it back to register 0x0b (presumably, 
this resets the interrupt flags).  Then it continues on to the display 
refresh function.
(Disassembly attached)
2008-09-04 09:07:03 +00:00
Aaron Giles
503786f7d7 From: Mike Green [mailto:mikedx@gmail.com]
Subject: rockduck_02137

Fixes mametesters mantis bug 02137. checked with -valid

http://mametesters.org/mantis/view.php?id=2137

--

From: Mike Green [mailto:mikedx@gmail.com] 
Subject: mooncrgx bug: 2075

Fixes bug 2075 in mametesters, duplication of upright/cocktail dipswitch

http://mametesters.org/mantis/view.php?id=2075
2008-09-04 09:06:13 +00:00
Aaron Giles
7c568de573 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: missing SHA1 checksums

This patch adds the missing SHA1 checksums to the atrowar set and 
fixes a comments in a disabled block.
2008-09-04 09:04:45 +00:00
Aaron Giles
c27f7296e0 Double Dragon (bootleg)
From Sonikos
2008-09-04 09:03:47 +00:00
Aaron Giles
8831895bae From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: a few patches

Hi,

enclosed please find a few patches that finally conclude my 
input_port cleanups. I will still probably change some bit 
here and there, but there will be no more massive changes 
which could collide with current developments. 

Notice that, after applying these patches, indexed input reads 
remain only present in CPU interfaces (e.g. all the yamaha 
interfaces when the sound cpu is used to read inputs) and no 
more 16bit/32bit indexed read are present at all in MAME or 
MESS source. Therefore, you may consider the removal of 
input_port_N_word_r & input_port_N_dword_r, if you think you 
don't need them anymore.

More in detail:

* patch01.diff & patch02.diff: conclude the cleanup for 
drivers W -> Z

* primrage.diff: changes the start buttons with input buttons 
in primrage, as per the test mode (no start button is reported) 
and the control panel (see 
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=161107 )

* drivedge.diff: makes drivedge ports fully 32bit and removes 
the protection bit (which seems not to be used in this game, or 
at least not in the port where it was tested since at least MAME 
0.100)

* duplicate.diff: introduces a PORT_CUSTOM which returns a tagged 
input (like a input_port_read). this could be useful for those 
games which require to read the same 8bit (resp. 16bit) input in 
both the upper and lower half of a 16bit (resp. 32bit) port. you 
can see its use for this purpose in the modified drivers (fuukifg3, 
dreamwld, cojag etc.)

Regards,

     Fabio Priuli
2008-09-04 09:02:10 +00:00
Nicola Salmoria
7c90a0cd38 fixed emulation of the "SNK Wave" custom sound used by Marvin's Maze and Vanguard II and made it into a proper sound core
fixed palette decoding of early SNK games (from marvins to athena + fitegolf). The least significan bits were assigned incorrectly.
merged marvins.c into snk.c, with all resulting fixes (removed hacks, correct shadows, scroll offsets etc)
2008-09-04 08:57:02 +00:00
Aaron Giles
f724e4c6bf From: Luigi30 [mailto:luigi30@gmail.com]
Subject: lethalej fix

Fixes bug 02179
2008-09-04 08:55:49 +00:00
Aaron Giles
cffe201094 From Oliver Stoeneberg [oliverst@online.de]
This contains three different patches:

20080829.patch
Introducing the running_machine* parameter in a few more places. Next 
step would be to make the execute_* function aware of it, if that's 
OK. Also used the machine parameter in memory.c were it's available.

20080829_1.patch
The already discussed and probably being rejected removal of 
dreprecat.h from debugger.h. I think this is a low-risk patch (we had 
worse cleanups) and it lowers the risk of new code using deprecated 
function beign introduced in MAME/MESS, because there is no invisible 
inclusion of deprecat.h anymore (I think one driver - kofball.c - got 
it with deprecated code).

20080829_2.patch
The last Machine -> machine conversion I had sitting in my local 
tree. I know the proper way is to turn them into devices, but I still 
haven't looked into that.
2008-09-04 08:55:01 +00:00
Aaron Giles
c1f0164f5d Split core laserdisc functionality into separate file ldcore.c.
Each player now gets its own source file, along with new hooks
which enable more precise control over the behavior. Updated the
PR-8210 and LD-V1000 implementations to the new spec. Other 
players will come online shortly.

Changed scan behavior so that it requires a constant stream of
signals to continue scanning. Updated ldplayer accordingly.
2008-09-04 08:48:57 +00:00
Andrew Gardner
b660cc0f70 Part 6 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-04 04:09:06 +00:00
Brian Troha
b95a80ceb6 fix cut-n-paste error in rom name for Hard Yardage 2008-09-04 04:03:44 +00:00
Brian Troha
f4aa18e0a6 added PCB info for Hard Yardage & earlier World Class Bowling. Corrects a few rom names. 2008-09-04 03:38:22 +00:00
davidhay
0fef3144dd adds Fist of the North Star and (partial) Demolish Fist sets (Atomiswave) and decryption [Andreas Naive] 2008-09-03 22:54:44 +00:00
Aaron Giles
95aec1fffb Changed refreshspeed target to 0.25Hz below rate provided, in order to guarantee that
inexact timings do not lead to sound stuttering.
2008-09-03 17:44:08 +00:00
Andrew Gardner
8d6c8cf5e8 Part 5 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-03 05:28:28 +00:00
stephh
ec7ac6f0b2 Fixed Dip Switches and Inputs for 'hal21', 'hal21j' (same as 'hal'), 'fitegolf', 'fitegol2' (same as 'fitegolf') and 'countryc'. 2008-09-02 21:45:07 +00:00
Nicola Salmoria
ceb28ace28 merged hal21.c into snk.c
removed hacks and kludges
fixed colors (I think--though some sprites do look weird)
2008-09-02 19:31:57 +00:00
Nicola Salmoria
5bd3539147 fixed sound in Jumping Cross
adjusted some input bits in several games
2008-09-02 13:40:54 +00:00