Commit Graph

1010 Commits

Author SHA1 Message Date
Nicola Salmoria
6183e18a21 fix 00406: qadj: When playing as the ninja, there is one broekn frame in his animation loop when walking.
using the fix that had been posted to mametesters one year ago
2008-03-20 11:44:47 +00:00
Curt Coder
bc8eb54a5e Cleaned driver up to the latest spec. 2008-03-19 21:55:16 +00:00
Nicola Salmoria
72889926e1 Added Noise Output to the MSM5232 emulation
Added placeholder effects for cymbal and hihat to equites.c. These will need further work to properly emulate the discrete circuitry.
2008-03-19 09:35:57 +00:00
Zsolt Vasvari
aca4fd01ce Fixes sprite wrapping -- this is used on the gun calibration screen, at least.
For me, the game hangs on a black screen after service mode is turned off.  Even exsiting MAME and restarting doesn't fix it, so it's probably a EEPROM issue
2008-03-19 09:22:44 +00:00
Aaron Giles
4a5001927c Cleanups and version bump. 2008-03-19 08:52:53 +00:00
Aaron Giles
78c12f1b82 From: Corrado Tomaselli
Subject: nmk16 diff

Added Thunder Dragon (9th Jan 1992), corrected clock frequencies and 
verified oki pin 7
Changed some nmk16.c romset names

Note:
The revision is not a typo, it's 6 months later than the previous one.
2008-03-19 08:45:45 +00:00
Aaron Giles
6a4df142c2 From: Corrado Tomaselli
Subject: pitfall2

Added Pitfall2 (Flicky conversion)
you can see the pcb here: 
http://www.citylan.it/pitfall2flic/PCB%20component%20side.jpg

the mobo is the same as my flicky pcb.
I also renamed Wboy4 since the dump was from my pcb and it's a 4d 
warriors conversion even if sega reproduced the protection custom with a 
piggyback.
I think we should rename all the sets to the proper conversions for 
proper documentation
2008-03-19 08:44:42 +00:00
Aaron Giles
4967410073 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: SH-4 debugger output fix

This patch fixes "garbage" (newlines) in the debugger window when 
debugging the SH-4 CPU.

It also conatins a small comment fix in video/playch10.c and the 
removal of some yet unused or just obsolete macros in emu/cpuint.h.
2008-03-19 08:38:01 +00:00
Aaron Giles
5c3f83eb1f From: JEA Wallace [mailto:jeaw100@york.ac.uk]
Subject: Deal 'Em phase 3

Conerted the driver to use an HD6845, as the Hitachi part was on the 
PCB, while also using it to generate the VBLANK, rather than hardcoding 
a value. Added the pulldown resistor to the network, and added all the 
conditional inputs. Please note that on the later Cabinet Types (Ready 
Steady Go-1 onwards), the 10p slot is locked out (location of the true 
register for this is unknown), but the input setting is correct - you 
have to use Coin 2 or higher to get money in.
2008-03-19 08:36:32 +00:00
Aaron Giles
41239093bf From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: Legion name change

Changed Legion to his complete title "Chouji Meikyuu Legion"
2008-03-19 08:35:26 +00:00
Aaron Giles
a9bb6bbdec From: RansAckeR [mailto:RansAckeR@pandora.be]
Subject: 40love-88games-1945kiii inputs/dips

1945kiii.c, 88games.c and 40love.c:
Made use of PORT_DIPUNKNOWN_DIPLOC

40love.c:
Made use of PORT_INCLUDE

--

From: RansAckeR [mailto:RansAckeR@pandora.be] 
Subject: 8080bw.c inputs/dips

8080bw.c:
-Added more dip locations
-Made use of PORT_INCLUDE

--

From: RansAckeR [mailto:RansAckeR@pandora.be] 
Subject: wilytowr.c dips

wilytowr.c:
-Added dip locations for atomboy/wilytowr
-Fixed coin modes
-'Fixed' bug 01520

--

From: RansAckeR [mailto:RansAckeR@pandora.be] 
Subject: battlane-battlera-battlnts-bbusters inputs/dips

battlane.c, battlera.c, battlnts.c, bbusters.c:
-added dip locations

battlnts.c:
-made use of PORT_INCLUDE
-fixed unknown dip switch

bbusters.c:
-added note regarding correct gun calibration, 'fix' for bug 00014 
(bbusters0101u1yel) 

--

From: RansAckeR [mailto:RansAckeR@pandora.be] 
Subject: bionicc-bladestl-blockade-beezer-bfm_sc2 inputs/dips

bionicc.c: Added dip locations
bladestl.c: Added dip locations, made use of PORT_INCLUDE
blockade.c: made use of PORT_INCLUDE
beezer.c: Added dip locations

bfm_sc2.c: dip switch improvements, made use of PORT_INCLUDE
2008-03-19 08:34:25 +00:00
Aaron Giles
a99fd9575a From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: pit and run

diff to fix my typo on the main frequency of the z80
2008-03-19 08:25:20 +00:00
Aaron Giles
5807e98052 Removed excessive assertions in the device_list code -- it is ok to pass
a NULL list head (in which case you have an empty device list). All the
code works fine with a NULL head and returns appropriate values. Removed
changes to video_screen_count() and video_screen_first() which were added
to work around this behavior.
2008-03-19 08:15:37 +00:00
Zsolt Vasvari
109441c041 And one more pedantic change... 2008-03-19 08:08:43 +00:00
Zsolt Vasvari
8eb8cf9c11 Spelling... 2008-03-19 08:06:48 +00:00
Zsolt Vasvari
a9de40c914 Fix 01236: psurge: Power Surge isn't coining up. 2008-03-19 08:03:56 +00:00
Aaron Giles
d75b3d1dff Added return value to video_screen_update_partial() indicating whether
or not the VIDEO_UPDATE was called as a result.

Modified amiga.c to use this information so that we guarantee a call
to amiga_render_scanline() regardless of the video state.

Fixes 01521: ar_sdwr: Game hangs on title screen
2008-03-19 07:58:51 +00:00
Aaron Giles
c44017b4fd Fixed chdman -extract to a physical drive on Windows. 2008-03-19 07:16:57 +00:00
Nicola Salmoria
e4d1474415 added percussions to the equites.c games using samples.
Hopefully the samples can be replaced with discrete emulation in the future.

Sound board emulation is still not complete. Cymbal hit and hi-hat are missing; bassline is incorrect, and DAC output should be filtered.
2008-03-18 15:40:31 +00:00
Zsolt Vasvari
3335ef02e2 Fix: 01477: metamrph, metamrpj, metamrpu: Game doesn't start 2008-03-18 09:48:57 +00:00
Zsolt Vasvari
2e9b9ad653 Fix: 01452: boobhack: Crashes 2008-03-18 09:37:43 +00:00
Nicola Salmoria
a096d73ba4 fix ninjakd2 PCM sample rate to match pcb measurement 2008-03-18 08:57:13 +00:00
Zsolt Vasvari
ad9f4a0baa Removes TRANSPARENCY_PEN_RAW hack from Raiga and Super Pinball Action 2008-03-18 08:39:33 +00:00
Zsolt Vasvari
772311642a Removed unneeded pen lookups.
Some code formatting clean-up.
2008-03-18 08:34:01 +00:00
Roberto Fresca
dc4065e1b2 Added Pot Game (italian), recent dumped in Intel hex format ;-) by f205v.
Updated technical notes.
2008-03-18 06:53:24 +00:00
Aaron Giles
9c74429866 01440: mazingar, agallet: Terrible slow down in some scenes.
Removed weird use of color table in favor of a direct palette
map. It is still a weird abuse of color, but at least it is
done internally and doesn't have the terrible slowdown behavior.
2008-03-18 04:55:46 +00:00
Zsolt Vasvari
59300d2fd3 Fixes crash 2008-03-18 04:31:18 +00:00
Nicola Salmoria
23a0601055 Alpha Denshi major update
This is still WIP bug I've been working on it for sveral weeks and I want to get it out before leaving for holidays.

- Fixed Alpha 8201/830x MCU simulation.
  - all hacks from the equites driver removed
  - fixed equites restart position after going underground
  - fixed hvolume, splndrbt 2 players
  - removed hacks from exctsccr2
  - fixed CPU gameplay in shougi

- Gekisou promoted to working

- added dump of Alpha 8201 MCU to games that use it (the ROM isn't used yet, HMCS44 CPU core needs to be written first)

- major cleanup of the mess in equites.c:
  - many thanks to Corrado Tomaselli for precious hardware info.
  - implemented bg perspective scrolling using PROMs
  - fixed sprite flip & disable
  - fixed bg color
  - converted bg to tilemaps
  - fixed fg banking
  - fixed screen flip
  - removed meaningless banking of player inputs
  - added UI adjuster for MSM5232 frequency
  - MSM5232 volume control

- fixed MSM5232 noise LFSR formula (done by Jarek Burczynski; thanks to Corrado Tomaselli for samples)

- changed MSM5232 emulator to output channels separately

- added output of SOLO channels to MSM5232 emulator.

- mametesters bugs fixed:
  - 00217 splndrbt: On boot the pcb displays a clean light blu screen while in mame there is a black road. 
  - 00220 splndrbt: Concerning the gfx, on the pcb the background is not linear as shown in mame.
  - 00223 splndrbt: On the first level when you pass the asteroid belt the star road should be light blue instead of black like mam 

- fixed champbas inputs

- merged talbot with champbas, some driver clenaup

- fixed shougi inputs

- switched exctsccb to use the correct gfx ROMs (matches screenshot found in 01058 exctsccb: Exciting soccer bootleg should be placed in champbas.c.)

- fixed sprite bpp in exctscrr, removed the horrible hacks that were used to fix colors and transparency.

- fixed sound clipping in exctsccr
2008-03-17 19:07:23 +00:00
Aaron Giles
1e3c411a46 Fix 01531: polygon-based drivers: winwork.c memory leak 2008-03-17 17:04:24 +00:00
Aaron Giles
e4e17a4fcd Fix 00150: alpinr2b, alpinesa : Assertion with -debug 2008-03-17 16:51:19 +00:00
Aaron Giles
e499ad86e7 Fix 01462: [Save/Restore] atarimo_render-based drivers:
Crash when loading an autosave save state.

Removed excessive dirty tracking. This creates a bit more
work on each update, but gets rid of some dodgy logic.

Added typedefs for 'struct xxxx' to simply 'xxxx'.
2008-03-17 16:39:18 +00:00
Aaron Giles
91bc82c487 Better multisession fix. Reverted previous change (1002) and simply
initialize the digital joystick state in input_port_init().
2008-03-17 16:36:26 +00:00
Aaron Giles
ec550fa07b Fixed pick_best_mode in both d3d and ddraw cases to manually extract
refresh information from the device's inline_config, since this is
done before the screen devices are start. Fixes 01491: switchres 
causes Exception at EIP=009413BF: ACCESS VIOLATION.

Also, fixed render_target_get_minimum_size() to return nominal values
if no screens are found.
2008-03-17 15:50:12 +00:00
Aaron Giles
75056eb1b5 Moved per-screen initialization into DEVICE_START and per-screen cleanup
into DEVICE_STOP.
2008-03-17 15:38:18 +00:00
Aaron Giles
7a0931f08d Fix chicken and egg problem with device_start callbacks.
Added DEVINFO_INT_TOKEN_BYTES, which is queried before device
startup. It should return the size of the structure that will
be hung off of device->token. It must not return 0.

Changed the core device interface to allocate and zero a block
of memory the size of DEVINFO_INT_TOKEN_BYTES before calling
device_start. The pointer to this memory is already attached
to device->token at the time device_start is called.

The primary motivation for this is to allow the device_start
function to make internal calls and pass the device_config *
around as if the object were fully constructed. Since the token
is used to indicate whether or not a device is live, this makes
the device "live" at the time device_start is called rather
than after it completes.
2008-03-17 15:23:07 +00:00
Zsolt Vasvari
c7b072564c Restores the previous verifyroms() code. Left verifysamples() untocuhed for now. 2008-03-17 15:21:07 +00:00
Aaron Giles
ce011916b4 Made it a fatalerror to registr save state callbacks at the wrong time
if the current driver claims to support save states.
2008-03-17 14:45:27 +00:00
Nathan Woods
6a7c3d1589 Added a crosshair_set_screen() to allow drivers to control which screen(s) on
which crosshairs are displayed.
2008-03-17 12:47:22 +00:00
Nathan Woods
e7508371ed Fix for screenless (and deviceless) systems - this fix assumes that it is
illegal to pass a NULL listhead to device_list_first() and that the assert there
should stand.  Please review and correct if appropriate.
2008-03-17 10:52:16 +00:00
Zsolt Vasvari
c031746599 Fix: 01538: -verifysamples: Inconsistent handling of missing sample sets
I applied the same fix to verifyroms.  Now a status message is printed for every sample/ROM set regardless if an individual or all the sets are audited.
2008-03-17 09:19:11 +00:00
Zsolt Vasvari
9eb278b911 Fixed memory leak 2008-03-17 08:56:10 +00:00
Zsolt Vasvari
650f7af6be Corrects some game titles:
Sea Wolf II -> Seawolf II  (original is still Sea Wolf, as per the flyer)
Professor PacMan -> Professor Pac-Man
Demons and Dragons -> Demons & Dragons
2008-03-17 05:27:07 +00:00
Zsolt Vasvari
12546a8559 From Mr.Do: Adds Gorf internal artwork 2008-03-17 05:15:37 +00:00
Zsolt Vasvari
255698f927 Fixes the top screen 2008-03-17 05:03:31 +00:00
Zsolt Vasvari
b78ff83cd0 Fix: 01529: AICA memory leak 2008-03-17 00:58:24 +00:00
Couriersud
8bb4a10f0b Fix: 01511: batman: Fails to load autosave state
* fixes late creation of timer which caused 0-length save states
2008-03-17 00:50:48 +00:00
Zsolt Vasvari
c230321cdc The on-screen "Reset by watchdog" message only appears in debug builds 2008-03-17 00:44:00 +00:00
Zsolt Vasvari
36d69f3b61 Fix: 01535: usclssic: Access Violation with -debug
Fix: 01536: uballoon: Access Violation with -debug
2008-03-17 00:40:09 +00:00
Zsolt Vasvari
14761df1e4 Fixes Air Buster bootleg from reseting because of the watchdog 2008-03-17 00:15:30 +00:00
Zsolt Vasvari
7fb7afb780 - Changes exidy440_sound_command back to "UINT8." Since it's used by both 8-bit and 16-bit system,
the automatic allocation is not worth it if you need an ugly UINT16 ** cast.
- Removed deprecat.h from some of the files here
2008-03-17 00:09:16 +00:00