Commit Graph

5282 Commits

Author SHA1 Message Date
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
Ryan Holtz
0cb8748d7c Merged memory maps for the following drivers: [MooglyGuy]
- battlex.c, buggychl.c, bwing.c, carjmbre.c, cbuster.c, chaknpop.c
2009-04-25 05:11:38 +00:00
Ryan Holtz
65857674fe Audited code and added savestate support to the following drivers: [MooglyGuy]
- dotrikun.c (dotrikun, dotriku2)
 - espial.c (espial, netwars)
 - zodiack.c (zodiack, dogfight, moguchan, percuss, bounty)
Merged memory maps in the Dottori Kun driver [MooglyGuy]
2009-04-25 01:08:42 +00:00
smf-
ecb1774ad0 added memmory card reader program rom to Dance Dance Revolution 2nd Mix Link Ver
New games marked as GAME_NOT_WORKING
------------------------------------
Dancing Stage Featuring Disney's Rave [smf/Mike DX]
2009-04-24 20:24:57 +00:00
davidhay
962fede4c5 added a large gfx decode using macros to allow the textures on hng64 to be viewed, handy for verifying the dumps. 2009-04-24 19:28:54 +00:00
davidhay
f87e6a3c26 added rom loading for samurai shodown 64
New Games Not Working
---------------------

Samurai Shodown 64 [Guru]
2009-04-24 18:56:37 +00:00
davidhay
a035dee95c made Hyper Pacman run with protection code from decapped MCU rather than simulation [Guru, David Haywood] 2009-04-24 18:17:08 +00:00
Angelo Salese
486ae4b9a9 Memory map merging for the NMK16 driver and cleaned-up some unneeded video code. 2009-04-24 15:02:52 +00:00
Angelo Salese
14c0bcddb0 Moved stv_vdp2_dynamic_res_change() function outside of VIDEO_UPDATE in ST-V. 2009-04-24 14:27:11 +00:00
Derrick Renaud
b61e06613b Changed UI to ignore selection from lightguns when off screen. This stops selection of Gun X Gun Y if you move the gun out of range. 2009-04-24 01:56:45 +00:00
Pierpaolo Prazzoli
a67a2f3959 Fixed sprites priority and added sprites wrap-around y in captaven.
It fixes Bug 03104: captaven and clones: In second phase don't appear player and any enemys
2009-04-23 17:07:39 +00:00
Aaron Giles
7b90e01659 Deprecated device_set_info. Almost all devices had a NULL or empty
function here. Remaining devices have been converted to have 
device-specific functions to do the same thing with proper type 
checking.

CPUs still have a set_info function but it is CPU-specific now and 
no longer piggybacks on the general device function.
2009-04-23 16:33:28 +00:00
Angelo Salese
c8f329e654 New games marked as GAME_NOT_WORKING
------------------------------------
Ferrari F355 Challenge [Guru]
2009-04-23 13:00:37 +00:00
Aaron Giles
4b7dd3cd0d Cleanups and version bump for 0.131. 2009-04-23 05:44:35 +00:00
Aaron Giles
662888441b Removed run like hell cheat. We pulled these from trackfld a while ago,
no reason why 88games should be special.
2009-04-23 05:38:47 +00:00
Aaron Giles
83f91c7bf6 From: Luigi30 [mailto:luigi30@gmail.com]
Sent: Monday, April 20, 2009 4:22 PM
To: submit@mamedev.org
Subject: 4/20 diff

Crystallized 1945kiii.c, maygay1b.c, maygayv1.c, mwarr.c, n8080.c
(20.16MHz crystal confirmed with schematics), pacman.c, panicr.c,
rallyx.c

[2399] Changed qmhayaku's sound CPU back to 4MHz, sounds work now
2009-04-23 05:08:30 +00:00
Aaron Giles
788cd0cb80 From: Kevin Eshbach [mailto:keshbach@comcast.net]
Sent: Monday, April 20, 2009 3:49 AM
To: submit@mamedev.org
Subject: Patch file with minor updates to the PAL's on Xenophobe

Hi,
 
Contained in this patch file are some updates to the PALs located on Xenophobe.  
Now the actual labels on the chips are used and a couple of additional PALs a
re documented as needing to be dumped.
 
 
 
Kevin Eshbach
2009-04-23 05:05:34 +00:00
Aaron Giles
d7f2bb25be From: Duke [mailto:startaq@gmail.com]
Sent: Monday, April 20, 2009 2:04 AM
To: submit@mamedev.org
Subject: small fix to debug screenless systems

Hello,

this small fix is needed to enable debugging screenless systems again:
2009-04-23 05:04:11 +00:00
Aaron Giles
85a870ca07 Added cursor info to the TMS9927, and also the CRT50x7 device variants.
Added Tripple Draw and Casino Strip to the Status driver, both non-
working.
2009-04-23 04:58:41 +00:00
Derrick Renaud
b3b2a83f05 Fixed bug where repeating axis values were being selected for button input in UI. 2009-04-23 03:28:15 +00:00
Derrick Renaud
6896a9c603 fixed P2 gun reload in Lethal Enforcers II. 2009-04-22 23:12:26 +00:00
mariuszw1
72a8244c53 Fixed multigm3, so it works again [Mariusz Wojcieszek]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Multi Game 2 [Mariusz Wojcieszek]
2009-04-22 20:38:54 +00:00
Angelo Salese
2dcc2acb29 03115: nss_smw: Tilemap issue when displaying game map 2009-04-22 15:24:08 +00:00
Angelo Salese
568a369617 More preparation for the Naomi JVS specific settings. 2009-04-22 11:07:57 +00:00