Commit Graph

5305 Commits

Author SHA1 Message Date
Angelo Salese
0b81310fa8 Memory maps merges for the following drivers:
* shaolins.c
* shisen.c
* shootout.c (and cleaned-up the NMIs on coin insertions)
* sidearms.c
* sidepckt.c (merged the two per-game memory maps and moved the protection simulation hook-up to be called on DRIVER_INIT)
* skyarmy.c
* skyfox.c (and cleaned-up the NMIs on coin insertions)
* skyraid.c
* slapfght.c (also cleaned-up the ram sharing)
* slapshot.c
* spbactn.c
* spcforce.c
* spdodgeb.c
* speedspn.c

Modified my coin_insertion() function to use ASSERT & CLEAR instead of PULSE_LINE in cntsteer.c & ssozumo.c
Small region map rename for funystrp.
2009-04-28 19:05:40 +00:00
Fabio Priuli
ae146312df A last round of number-to-tag changes, for the moment (I don't want to conflict with memory maps merging) 2009-04-28 15:32:49 +00:00
Angelo Salese
cc551d8d90 Memory maps merges for the following drivers:
* groundfx.c (also fixed 00487: groundfx: It has wrong default NVRAM settings, especially about the lap number (1) and the coin/credit settings (1/2).)
* lastduel.c
* macrossp.c
* madmotor.c (also cleaned-up some video variables in it)
* mcatadv.c (also reduced a 1.0 clipping out volume setting)
* moo.c

Converted ssingles.c case of AM_READ(SMH_ROM)
2009-04-28 15:08:42 +00:00
Fabio Priuli
2a0bcb26f3 And some more again... 2009-04-28 12:52:17 +00:00
Fabio Priuli
fdd2d4ab63 Again, number-to-tag conversions in CPU calls 2009-04-28 09:27:18 +00:00
Fabio Priuli
e120da4469 I had sent two outdated files. Now compile works again. 2009-04-28 07:46:24 +00:00
Fabio Priuli
4576576204 More number-to-tag conversions in CPU calls. As a result, simplified dec8.c removing game specific irqhandler and ym3526_interface (previously only needed because of different "audiocpu" number) 2009-04-28 07:40:05 +00:00
davidhay
484b50dc42 fixed mantis 3126
sbishi is a 2 player set, it uses the 'player 3' inputs for the 2nd player.

attempting to use the inputs mapped as 'player 2' in the parent set causes the game to break in strange ways, treating that player as both player 1 and/or player 2 depending on the situation, not awarding any score etc.

this removes the broken inputs for the 2 player set and renumbers the players correctly, as they are clearly not meant to be connected in this case.
2009-04-28 07:39:53 +00:00
Angelo Salese
fe193bc43c small memory map name clean-up in espial.c 2009-04-27 22:37:59 +00:00
Angelo Salese
e9f13aef3d Memory maps merges for the following drivers:
* mayumi.c (also cleaned-up the video routines)
* mazerbla.c
* momoko.c
* mosaic.c
* mouser.c
* mrflea.c
* mrjong.c (also cleaned-up the spriteram routines)
* srmp2.c
2009-04-27 22:35:02 +00:00
davidhay
62812a286c fix player controls in the 4 player version of tank force (thanks to tip posted by sxevious on mantis #3127) [David Haywood] 2009-04-27 21:40:22 +00:00
Angelo Salese
8f7f39b71c Memory maps merges for the following drivers:
* metlclsh.c
* mexico86.c (also added a basic hook-up for the 4p communication cpu, disabled by default)
* mirage.c
* mjkjidai.c
* mjsister.c
* mogura.c
* news.c
* ohmygod.c
* ojankohs.c (also cleaned-up some video variables in it)
* oneshot.c
* opwolf.c
2009-04-27 20:55:37 +00:00
Angelo Salese
cd8e7cde01 Fixed nested NMIs on Chequered Flag sound cpu, this fixes the sound loops and the music tempo [Phil Bennett] 2009-04-27 18:37:13 +00:00
Angelo Salese
ae56af5a44 Merged memory maps in the megasys1.c driver 2009-04-27 18:27:49 +00:00
Angelo Salese
54156976aa Added engine noise hook-up to Chequered Flag [Angelo Salese] 2009-04-27 18:03:36 +00:00
Angelo Salese
63ad07061e Merged memory maps in the overdriv.c and demoted it tothe GNW flag. 2009-04-27 14:38:53 +00:00
Fabio Priuli
74551d702d Again, number-to-tag conversions in CPU calls 2009-04-27 14:20:12 +00:00
Angelo Salese
fc59ddc7a0 Merged memory maps in the nbmj8688.c 2009-04-27 14:19:59 +00:00
Angelo Salese
e1f62a820f Merged memory map in the sf.c driver 2009-04-27 13:43:28 +00:00
Angelo Salese
faa95b2751 Merged memory maps for the sub cpus in the seta.c driver 2009-04-27 13:21:01 +00:00
Aaron Giles
9eb86548bb Added missing casts and made other tweaks. The entire project
can now be optionally compiled with the C++ compiler (mingw g++
only for the moment; MSVC still has issues).
2009-04-27 09:18:17 +00:00
Fabio Priuli
5d4816b665 A few more number-to-tag conversions in CPU calls 2009-04-27 09:16:08 +00:00
davidhay
64a5e34b3f hng64 improvements
fixed tile flipping
2009-04-27 08:03:08 +00:00
davidhay
c25178dfe6 hng64 improvements
documented + hooked up 4bpp/8bpp select on layers.
2009-04-27 07:47:25 +00:00
Ryan Holtz
a8583531fd Merged memory maps for all driver sources beginning with 'F': [MooglyGuy]
- f1gp.c, fastlane.c, firetrap.c, flkatck.c, flstory.c, freekick.c, fromanc2.c, fromance.c, funkybee.c, funkyjet.c, funybubl.c, fuukifg2.c, fuukifg3.c

Non-whatsnew note:
There were a number of conflicts, but apart from the auto_malloc in funybubl.c, all of them were corrected with selecting "Your entire file", as all of them appeared to have to do with the SMH_BANK conversion that went away thanks to memory-map merging anyway.
2009-04-27 02:05:09 +00:00
Fabio Priuli
07dab27eaf Second (and last for now) round of cpu->[n] to cputags conversions 2009-04-27 01:21:26 +00:00
Angelo Salese
1f6899de7a Merged m68k side memory maps in the seta.c driver.
====================================================================================

Will do the sound cpus tomorrow. I should admit that I could have broke something in the process...
2009-04-27 00:24:54 +00:00
Aaron Giles
ad4910a8a8 Bulk change alert.
This update changes the way we handle memory allocation. Rather
than allocating in terms of bytes, allocations are now done in
terms of objects. This is done via new set of macros that replace
the malloc_or_die() macro:

  alloc_or_die(t) - allocate memory for an object of type 't'
  alloc_array_or_die(t,c) - allocate memory for an array of 'c' objects of type 't'
  alloc_clear_or_die(t) - same as alloc_or_die but memset's the memory to 0
  alloc_array_clear_or_die(t,c) - same as alloc_array_or_die but memset's the memory to 0

All original callers of malloc_or_die have been updated to call these
new macros. If you just need an array of bytes, you can use
alloc_array_or_die(UINT8, numbytes).

Made a similar change to the auto_* allocation macros. In addition,
added 'machine' as a required parameter to the auto-allocation macros,
as the resource pools will eventually be owned by the machine object.
The new macros are:

  auto_alloc(m,t) - allocate memory for an object of type 't'
  auto_alloc_array(m,t,c) - allocate memory for an array of 'c' objects of type 't'
  auto_alloc_clear(m,t) - allocate and memset
  auto_alloc_array_clear(m,t,c) - allocate and memset

All original calls or auto_malloc have been updated to use the new
macros. In addition, auto_realloc(), auto_strdup(), auto_astring_alloc(),
and auto_bitmap_alloc() have been updated to take a machine parameter.

Changed validity check allocations to not rely on auto_alloc* anymore
because they are not done in the context of a machine.

One final change that is included is the removal of SMH_BANKn macros.
Just use SMH_BANK(n) instead, which is what the previous macros mapped
to anyhow.
2009-04-26 23:54:37 +00:00
Angelo Salese
7c137ce2a7 Memory maps merges for the following drivers:
* groundfx.c (also fixed 00487: groundfx: It has wrong default NVRAM settings, especially about the lap number (1) and the coin/credit settings (1/2).)
* lastduel.c
* macrossp.c
* madmotor.c (also cleaned-up some video variables in it)
* mcatadv.c (also reduced a 1.0 clipping out volume setting)
* moo.c

Converted ssingles.c case of AM_READ(SMH_ROM)
2009-04-26 22:23:22 +00:00
davidhay
da0f8757c8 hng64.c improvements / changes
-- Stripped out some old HNG64 code / some improvements
-- disabled the floor stuff in Fatal Fury Wild Ambition (looking for a cleaner implementation)
-- disabled zooming code for the same reasons (it was causing many issues)
-- understood and implemented the 'auto-animate' registers for the tilemaps (animated waterfalls etc. in Fatal Fury Wild Ambition)
-- reorganized graphic decoding

goldstar.c improvements / changes
-- added scroll registers for the girl when enabled in attract mode
-- documented how you can swap the blue/green bonus colours (but left the code disabled, I think versions with it swapped probably just have different proms)
-- added gfxdecode for cmasterc
2009-04-26 22:18:55 +00:00
Phil Bennett
aa82f73e7e New games marked as GAME_NOT_WORKING
------------------------------------

Skimaxx [Phil Bennett]
2009-04-26 22:09:14 +00:00
Yasuhiro Ogawa
211647d433 New clones added
The Combatribes (Japan) [Chack'n]
2009-04-26 08:35:32 +00:00
Ryan Holtz
3b005b1c35 Merged memory maps for all driver sources beginning with 'E': [MooglyGuy]
- egghunt.c, epos.c, esd16.c, espial.c, exedexes.c, exzisus.c
2009-04-26 04:27:15 +00:00
Ryan Holtz
469b1a2449 Merged memory maps for all driver sources beginning with 'D': [MooglyGuy]
- dambustr.c, darius.c, darkhors.c, darkseal.c, dassault.c, dbz.c, dcon.c, dday.c, ddenlovr.c, ddragon3.c, ddrible.c, dec0.c, dec8.c, deco32.c, deco_mlc.c, deniam.c, dietgo.c, discoboy.c, diverboy.c, dogfgt.c, dooyong.c, dragrace.c, dribling.c, drmicro.c
2009-04-26 01:04:31 +00:00
Fabio Priuli
798dfc2ad6 Replaced a few CPU numbers with corresponding tags 2009-04-26 00:51:57 +00:00
davidhay
04e02a8136 new not working
Xtreme Rally / Off Beat Racer! [Guru]
Beast Busters 2nd Nightmare [Guru]

also hacked out the sprite zooming in hng64 video, it's wrong.  looks like beast busters might give me something to work with tho.
2009-04-26 00:34:48 +00:00
Angelo Salese
6963540c12 Hooked up standard paletteram16_xbgr() function instead of a custom one in sshangha.c driver 2009-04-25 19:21:49 +00:00
Angelo Salese
995bbc2191 Merged memory map in sshangha.c 2009-04-25 19:11:25 +00:00
Angelo Salese
ef93bcecba Merged memory map and worked out some sound related stuff in Pass. 2009-04-25 18:50:26 +00:00
Angelo Salese
b92d43185b Merged memory maps in Popper 2009-04-25 17:37:31 +00:00
Angelo Salese
0fd22bce0a Merged memory maps in Pushman 2009-04-25 17:27:58 +00:00
Angelo Salese
0504ef23fe Merged quizdna.c driver 2009-04-25 17:10:35 +00:00
Wilbert Pol
3e9927b878 TLCS-900/H cpu core fixes:
- Reimplemented hdma
- Fixed bugs in the EX (mem), R instructions.
2009-04-25 16:47:22 +00:00
Ryan Holtz
5dc520cde8 Merged memory maps in ssv.c. [MooglyGuy]
Non-whatsnew note:

I'm all for some manner of inheritance when a lot of memory maps have many similar entries, but it probably shouldn't be done via a huge #define.
2009-04-25 14:49:54 +00:00
Angelo Salese
7fddeed59f Added irq acks to the snowbros.c driver and merged memory maps on it. 2009-04-25 14:24:31 +00:00
Ryan Holtz
87fb810905 Merged memory maps for the following drivers: [MooglyGuy]
- cave.c, circusc.c, citycon.c, cninja.c, combatsc.c, compgolf.c, contra.c, cop01.c, cosmic.c, cps2.c, crimfght.c, crospang.c, crshrace.c, and cshooter.c
All drivers from # to C should now have properly-merged memory maps.
2009-04-25 13:42:37 +00:00
Angelo Salese
ad855deca6 Merged memory map in Lemmings 2009-04-25 13:39:40 +00:00
Angelo Salese
d4f1eba3bc Merged memory map in ltcasino.c 2009-04-25 13:27:02 +00:00
Ryan Holtz
c7ea87f616 Merged memory maps for the following drivers: [Mooglyguy]
- changela.c, chqflag.c, circus.c, cischeat.c
2009-04-25 09:33:25 +00:00
Yasuhiro Ogawa
29731d5d7a added missing OBJ2 ROM to bubbletr [Uki]
New clones added [Uki]
Legend of Kage (oldest)
Final Star Force (Japan)
Yellow Cab (Japan) - not working
Zero Team (set 4) - not working
2009-04-25 07:39:25 +00:00