Commit Graph

473 Commits

Author SHA1 Message Date
Zsolt Vasvari
bd18da7d71 Removes color table from Centipede and related games 2008-01-29 13:50:12 +00:00
Zsolt Vasvari
faa995111f Color table removal -- a couple of more involved ones 2008-01-29 06:41:04 +00:00
Aaron Giles
05da1d9ec9 Cleaned up pooyan driver. Save states, full memory maps, proper NMI generation, etc.
Also added proper NMI generation to Time Pilot.
2008-01-29 05:58:38 +00:00
Zsolt Vasvari
274235aef1 - Removed color table from a couple of games
- Renamed bking2 to bking
2008-01-29 02:50:12 +00:00
Zsolt Vasvari
2a63836833 Removes color table 2008-01-29 02:15:27 +00:00
Aaron Giles
f394a31d0e Cleaned up Time Pilot sound board implementation:
* full memory maps
 * partial machine driver removes need for replicating filtering logic
 * updated all relevant drivers

Cleaned up Time Pilot and Tutankham drivers:
 * correct clocks where possible
 * merged memory maps
 * fully decoded memory maps
 * replaced hacky sprite rendering in Time Pilot with partial updates
 * save state support
 * removed Power Surge kludge, replaced with unmapped handler control
 * Tutankham runs at 60fps, with IRQs every other frame
 * Proper IRQ ack in Tutankham
2008-01-29 02:14:44 +00:00
Brian Troha
04dc9d1025 Verified the sound roms for Rock'n 3 and added proper names.
Added PCB layout for sound rom board only
2008-01-28 23:31:01 +00:00
Luca Elia
6df2f99e7f - Added "Wheels Runner"
- Merged memory maps

roms are in current/w/wheelrun.zip (with the PCB picture)
2008-01-28 23:06:06 +00:00
Aaron Giles
06d83c8ba6 From: RansAckeR [mailto:RansAckeR@pandora.be]
Subject: proper fix for stadhero0122u3gra

Fixes Demo Sound DIP.

---

From: RansAckeR [mailto:RansAckeR@pandora.be] 
Subject: system1.c dips / wboy3_0119u3gra fix

Fixed wboy and chplft DIPs according to manuals and added diplocations.

Also fixes wboy3_0119u3gra:

"Clone wboy3: In this clone, you get 2 lives less than indicated in the 
dipsw menu. So, instead of 3, 4, 5 (or infinite) lives, you respectively
get 1, 2, 3 (or infinite)." 

---

From: RansAckeR [mailto:RansAckeR@pandora.be] 
Subject: fix for zerohour0122u6gra

Fixed Bonus_Life DIP values.

You might want to adjust the example in 
http://mamedev.org/devwiki/index.php/DIP_Switches_in_MAME accordingly. 

---

From: RansAckeR [mailto:RansAckeR@pandora.be] 
Subject: seta.c DIP locations

Added dip locations from manuals for extdwnhl and zingzip.

---

From: RansAckeR [mailto:RansAckeR@pandora.be] 
Subject: zaxxon.c dip fixes

Improved DIP switches for zaxxon and congo from manuals and added dip 
locations. 

---

From: RansAckeR [mailto:RansAckeR@pandora.be] 
Subject: rockola.c dip fixes

Improved DIP switches for vanguard, zarzon & nibbler and added dip
locations according to manuals. 

---

From: RansAckeR
Subject: sega80r.c yard.c kaneko16.c DIP improvements

Improvements to sega80r.c, yard.c & kaneko16.c DIPs.
Added DIP locations to yard.c and kaneko16.c.
2008-01-28 22:44:18 +00:00
Phil Bennett
8b448b7b3d * Removed non-existent, second M6295 from Hit the Ice. Fixes missing sounds (e.g. team select screen).
* Hit the Ice/Violence Fight now share the same sound CPU memory maps.
2008-01-28 19:40:55 +00:00
Zsolt Vasvari
2950f78b45 Removed the color table from a couple of drivers. Just want to make sure this is the right way before continuing. 2008-01-28 13:28:07 +00:00
Zsolt Vasvari
354acd5f1b - Removed TRANSPARENCY_NONE_RAW, TRANSPARENCY_PENS_RAW and TRANSPARENCY_PEN_TABLE_RAW as they were no
longer used.  Source needs to be recompiled because of the changed enum.

- Changed copybitmap and copyscrollbitmap:

  There are now 2 versions of each, one without and with transparency:

  void copybitmap(mame_bitmap *dest,mame_bitmap *src,int flipx,int flipy, int sx,int sy,const rectangle *clip);
  void copybitmap_trans(mame_bitmap *dest,mame_bitmap *src,int flipx,int flipy, int sx,int sy,const rectangle *clip, pen_t transparent_pen);
  void copyscrollbitmap(mame_bitmap *dest,mame_bitmap *src, nt rows,const int *rowscroll,int cols,const int *colscroll, const rectangle *clip);
  void copyscrollbitmap_trans(mame_bitmap *dest,mame_bitmap *src, int rows,const int *rowscroll,int cols,const int *colscroll, const rectangle *clip, pen_t transparent_pen);

  The version without _trans is the equivalent of the old TRANSPARENCY_NONE,  The *_trans version is the equivalent
  of the old TRANSPARENCY_PEN.  The old TRANSPARENCY_COLOR mode is done via calling *_trans version and passing in
  the pen that has been looked up via machine->pens[].
  So for example, copybitmap(..., TRANSPARENCY_COLOR, 0) becomes
  copybitmap_trans(..., machine->pens[0])

- Changed all drivers to the new calls.  Suprising how few drivers still use these functions.
  Most have still not been converted to tilemaps, or they are still writing to a tmpbitmap
  which gets copied over to the real bitmap in VIDEO_UPDATE.

- Changed machine->screen[0].visarea to 'cliprect' where appropriate.
2008-01-28 13:02:04 +00:00
Zsolt Vasvari
e424adb362 - Driver clean-up, including driver state
- Tried improving on the ROM mirroring, without any success.  Maybe somebody could look into it -- right now it requires all kinds of trickery and even a memcpy ;)  All I know is that everything that's there right now is needed otherwise either the game fails the ROM test, or Galaga crashes
2008-01-28 06:06:27 +00:00
Aaron Giles
340d21a577 mpatrol -> m52
troangel -> m57
2008-01-28 00:07:18 +00:00
Aaron Giles
395e08814b Turns out not all Irem sound boards are identical.
Properly tagged m52 and m62 sound boards, plus variants.
Updated all connected drivers.
Merged memory maps.
Proper video timing in 10 yard fight.
Converted troangel to tilemaps.
Moved definitions to header files.
2008-01-28 00:05:08 +00:00
Couriersud
06cf28a0e6 build environment:
* added checks for CROSS_BUILD=1 to omit building m68kmake.exe, verinfo.exe, png2bdc.exe and file2str
* enables building mame using mingw on linux
2008-01-27 20:19:32 +00:00
Nicola Salmoria
65444cb34f Replaced tables with equations in the Sega C2 driver 2008-01-27 13:57:05 +00:00
Andrew Gardner
72cd87c470 Heh. Forgot an important flag. 2008-01-27 08:07:20 +00:00
Zsolt Vasvari
10b4ed5a2d Removes TRANSPARENCY_BLEND completely and TRANSPARENCY_BLEND_RAW as an option to copybitmap. Source tree needs to be recompiled as the transparancy mode enum has changed. 2008-01-27 07:48:31 +00:00
Zsolt Vasvari
07410a78d8 Forgot to check this in earlier 2008-01-27 07:41:18 +00:00
Zsolt Vasvari
e0c828ed0c - Simplified video code
- Adjusted some set names
2008-01-27 07:37:48 +00:00
Brian Troha
4597e29af4 cut & paste error for MASK rom size & type 2008-01-27 05:05:37 +00:00
Brian Troha
f7a042d934 adds PCB layouts for Penguin Bros & Puzzle De Bowling based on Hi-res pics
Corrects 68301 base clock as 50MHz / 3 (16.66666MHz) as all the Seta2 hardware has a 50MHz OSC.
Secondary OSC are for other chips (28MHz and or 32.53047MHz)
2008-01-27 04:41:50 +00:00
Zsolt Vasvari
1d0d95dcc0 Forgot to implement screen flipping -- duh 2008-01-27 04:33:43 +00:00
Andrew Gardner
777f10fff8 Adds Galaxy Games multi-system dumped by www.softwarethis.com.
This purely a skeleton driver.  Someone who knows anything about the m68k will likely be able to make great progress with this one.

"Galaxy Games" is a trackball-based, cocktail, multi-game cab released in 1998.  It has 7 games built into the BIOS, but can also take 4 cartridges.  Namco apparently licensed some software to the company who makes it (two player simultaneous Ms. Pac Man - using trackballs?!).

The company's webpage is here:  http://www.cesgames.com/

They also have ROMs for their Classic Collection games available for download.  There's no information about the Classic Collection hardware, but I'm guessing it's very similar to the Galaxy Games hardware.  These can be likely added at a later date.

It looks like the softwarethis.com fellow has a Namco cart, but was unable to dump the ROMs?

BIOS ROMs are uploaded to /roms/g/galgbios.zip and Wiki is updated with skeleton status.
2008-01-27 04:04:04 +00:00
Zsolt Vasvari
85636e6f54 Simplifies the video code 2008-01-27 04:00:23 +00:00
Couriersud
5c8a08ce3c m62.c:
* fixed wrong resistor value (22K to 2.2K) - verified on spelunkr and kidniki hires pcb pictures
* Changed resistor network calculation based on assumption that cs line is active either on tiles or sprites color prom.
2008-01-27 00:53:25 +00:00
Brian Troha
34c714b281 adds more NAOMI BIOS dumps 2008-01-26 17:57:33 +00:00
davidhay
c7a929b2ae Let's at least display the correct clock in the driver info. 2008-01-26 14:23:25 +00:00
Zsolt Vasvari
e3df2f0f54 - Changed video code to directly manipulate the game bitmap
- Background smoothing now happens at the same time as the background is drawn
- Our smoothing PROMs are half the size shown on the schamatics.  The schematics shows A8-A10 connected, indicating 8 different smoothing tables.  Our dumps are only 0x400 bytes long, half the size they should be.  I marked them BAD_DUMP and the game IMPERFECT_GRAPHICS
2008-01-26 13:58:31 +00:00
Zsolt Vasvari
f3f249af3f Fixed compilation when X86_MIPS3_DRC is not defined 2008-01-25 23:55:28 +00:00
Jim Stolis
6c582352b6 Corrected previous timer fix to use more accurate IE SFRs. 2008-01-25 22:14:46 +00:00
Couriersud
b56271d5c9 ppc.c:
* Fixes DEBUG=1 build - adds include deprecat.h
2008-01-25 21:42:28 +00:00
Couriersud
3033986d2c mario.c:
* fixes crash in masao

Proposal:
move videoram & spriteram to deprecat.h
2008-01-25 20:48:43 +00:00
Zsolt Vasvari
b4cc7b0021 Removes TRANSPARENCY_NONE case from copybitmap_core, which can never happen 2008-01-25 16:35:16 +00:00
Zsolt Vasvari
596635241a - Removes copybitmap_remap and copyscrollbitmap_remap, neither which was used by anybody
- Removes some obsolete commented out code
- Fixed up some comments
2008-01-25 16:22:26 +00:00
Zsolt Vasvari
4b6ceec3f9 Simplifies Star Fire driver 2008-01-25 16:15:40 +00:00
Zsolt Vasvari
4930b2dbfd - Added deprecat.h that contains some deprecated/discouraged contructs (see below)
The idea is to create extra work if a driver wants to use these and hopefully
  gives an incentive to look for an alternate solution
- Added #include of deprecat.h that rely on these contructs
- Removed a bunch of unneccassary #include's from these files
2008-01-25 09:30:43 +00:00
Aaron Giles
877b75ad75 Cleanups and version bump to 0.122u7. 2008-01-25 06:17:54 +00:00
Aaron Giles
97cf740a23 From: roberto zandonà
Subject: risky challenge another opcode and unencryted routine

now the game boot with the intro animation
2008-01-25 03:01:57 +00:00
Aaron Giles
bbffc81785 From: roberto zandonà [mailto:robiza71@tin.it]
Subject: Fw: fix for toki060gre

please credits the fix to robiza and Corrado Tomaselli
2008-01-25 03:00:28 +00:00
Aaron Giles
2b0c136968 From: Wilbert Pol [mailto:w.pol@tiscali.nl]
Subject: z80gb cpu core patch

Changes:
- Small timing fixes when leaving HALT state.
- Fixed bug in retrieving Z80GB_SPEED pseudo register.

--

From: Wilbert Pol [mailto:wilbert@jdg.info] 
Subject: Re: timer_set_global_time patch

This patch for the z80gb cpu core also fixes my problems without the  
need to recode a lot of things:
- Split the execution of an instruction into separate fetch and  
execute phase.
2008-01-25 02:59:21 +00:00
Jim Stolis
9249191b8b Removed all memory hacks and game specific DRIVER_INIT. There are now just two DRIVER_INIT, one for normal boards and one for superboards.
Temporarily disabled AutoHold Cheat but documented addresses for future update.
2008-01-25 00:54:05 +00:00
Andrew Gardner
c930b5a187 Adds second set of Trivial Pursuit Genus 1 to balsente.c.
ROMs were downloaded from softwarethis.com and uploaded to /roms/current/t

Same program roms, but 20% of questions are different from Genus 1 set 1.
2008-01-24 16:26:48 +00:00
Zsolt Vasvari
b460e5cf43 Fix for broken xtal.h 2008-01-24 15:35:44 +00:00
Aaron Giles
ae72e423a6 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: other frequencies verified

Corrected Diet gogo h6280 clock so that it behaves correctly with
Charles Macdonald fix to the cpu core.
Verified anc corrected frequencies and pin 7 okim6295 on the following
games:
The new zealand story (3 z80 version), Trio The punch, Vandyke,
paradise.c games, Downtown, Shaolin's Road and Twins.
Updated Xtal.h with 1.056mhz resonator from Trio the punch
2008-01-24 14:29:06 +00:00
Aaron Giles
444d77b838 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix C4305 warnings, other MSVC tweaks

Hi mamedev,

This patch is a bit of a potpourri.  It is the result of enabling most
of the suppressed warnings when using MSVC compilers and seeing what
issues arose with different compilers (I used 70,71,80,90).  Two of
the warnings were judged to be useful to enable and methodically fix.
Some issues spotted by the other warnings were also fixed.

1. Fixed issues flagged by MSVC warning C4305 (type truncation).
Almost all of these are harmless double->float narrowing in
initializers, but one warning spotlighted a bug in segasyse.c, where
code to use a higher sprite number had no effect due to the
insufficient range of UINT8.
2. Removed /wd4550 for VS7/VS71 compilers (expression evaluates to a
function which is missing an argument list).  There are no cases of
this warning currently, and if there were they would most certainly be
bugs.  This also allowed the warning suppression lists to be remerged
for VS7 and VS2005.
3. Decoupled intrinsic support decisions from PTR64 in eivc.h.
4. Fixed some VS7-specific issues (OPTIMIZE=0 at least compiles now).
That compiler doesn't support "long long" or "ll" (rsp.c/dkong.c).
5. Added a missing case statement in sm8500d.c.  Noticed while
reviewing dead code warnings.
6. Replaced a number of static constants with an enum in sidenvel.h.
This is unrelated to the rest of this patch, but it was overdue to be
done.
2008-01-24 14:24:59 +00:00
Aaron Giles
f446536f18 Minor spacing and clock cleanup. 2008-01-24 14:16:13 +00:00
Zsolt Vasvari
3815ec44e1 - Changed cpunum_set_input_line* functions to take running_machine as an argument
- Added that fix the arm7dasm, otherwise I couldn't compile the code
2008-01-24 14:14:21 +00:00
Zsolt Vasvari
f7c5c67e2e First in a series of updates to remove the use of the global Machine from as many places as possible 2008-01-24 09:12:03 +00:00