Commit Graph

509 Commits

Author SHA1 Message Date
Aaron Giles
a1e1f436b4 Updated mpatrol to use resnet for colors. 2008-02-01 06:30:30 +00:00
Zsolt Vasvari
7f838521bf - Converted all games to use the colortable table
- Fixed ancient cloud layer transparency glitch in 1943
- Corrected colors in Gyruss and Got-Ya.  Neither had a pure white and Gyruss was missing a pull-down resistor as well
2008-02-01 02:16:45 +00:00
stephh
80e066940c Added a few more notes about some games. 2008-02-01 01:52:19 +00:00
Zsolt Vasvari
75e7fdd1af - Circus Charlie, Champion Base Ball and Fire Battle use the colortable object to get rid of TRANSPARENT_COLOR
- resnet usage in Circus Charlie and Champion Base Ball. Finally a pure white in circusc, after all these years
2008-02-01 01:05:23 +00:00
davidhay
e7a2e72273 now loads (hopefully) correct gfx / sound roms -- will check + add ms32 version to ms32 driver soon. 2008-02-01 01:04:51 +00:00
Brian Troha
5f55ac631b Corrected rom names and added some info from an old zip I found :-P 2008-01-31 22:02:32 +00:00
Aaron Giles
63eae52c38 Updated williams driver to use VIDEO_UPDATE_SCANLINE.
(Most bitmap-based drivers should.)
Converted to 32bpp to catch mid-screen palette tweaks.
Removed some unnecessary read/write handlers.
2008-01-31 17:52:36 +00:00
Zsolt Vasvari
7489a81c2f Emulates the 3 vs 4-bit difference between the MC3417 and MC3418 variants 2008-01-31 10:22:30 +00:00
Zsolt Vasvari
8ec0aae886 - Source code reorganization to make it easier to add MC3417/18 audio chips
- Made some unneccassarily public functions static
2008-01-31 09:47:37 +00:00
stephh
9eec539323 Tried to clean the rockola.c driver "a la Aaron" (please have a look and feel free to rename it now).
Fixed Dip Switches for all games. Inputs might be checked for 'fantasy*' and 'pballoon' to see if there are no debug buttons. as for 'nibbler'.
Added notes about some games at the top of the file. They aren't complete, but it's enough to be included in next release.

It's almost my first attempt to look at M6502 games, so I hope I haven't made too many mistakes ...
2008-01-31 07:17:17 +00:00
Zsolt Vasvari
2595e5758a - Correct colors in Birdie King 3 -- just needed a new dump from the Guru
- Fixed incorrect ROM name
- Switched color decoding to use the resnet code
2008-01-31 06:39:35 +00:00
Zsolt Vasvari
043af3f608 Removed no longer applicable to-do item 2008-01-31 02:53:01 +00:00
Zsolt Vasvari
f65f3077b0 - Fixes reset crashes in all Z180 games. Not sure if there is a bug ID for this
- Removed the various busy loop and non-exact optimzations from the Z180 core
2008-01-31 02:27:44 +00:00
Zsolt Vasvari
242b08c930 Readded accidentaly deleted line -- sorry about that 2008-01-31 01:00:45 +00:00
Zsolt Vasvari
887823ae97 - Added 73.728MHz crystal to xtal.h
- Added clock #define's to 20pacgal.c
- Minor formatting clean-up
2008-01-31 00:50:52 +00:00
Brian Troha
3a5232a03c added a port locations to a few more games.
fixed a few other minor things.
2008-01-30 23:38:40 +00:00
Brian Troha
5a9be1f90f Note about the CPU & OSC used _NO_ other changes 2008-01-30 22:24:30 +00:00
Aaron Giles
ebb34351e4 Take advantage of attotime_div. 2008-01-30 17:44:14 +00:00
Aaron Giles
d90d36b49f Added stream_get_sample_rate(), stream_get_time(), and stream_get_sample_period().
These functions are not really tested yet -- make sure they give reasonable results when first used!
Updated streams.h header to latest core style.
2008-01-30 17:18:29 +00:00
Aaron Giles
18241e1a36 Oops, forgot to remove static variable. 2008-01-30 16:48:23 +00:00
Aaron Giles
4a312b9176 Added new option VIDEO_UPDATE_SCANLINE, which cases VIDEO_UPDATE to be called for every visible scanline.
Removed manual implementation of this in timeplt, in favor of using the new flag.
There are probably many more drivers that can leverage this.
2008-01-30 16:34:29 +00:00
Aaron Giles
052a638e8f Minor cleanup, merging of memory maps. What a disaster. 2008-01-30 15:55:57 +00:00
Zsolt Vasvari
f56ae95d27 - Removed color PROM -- uses TRANSPARENCY_PENS instead of TRANSPARENCY_COLOR as per Aaron's instruction
- Hooked up palette bank selector from schematics, though I am not sure if it is actually used by the code
- Changed set names to match title screen, which is why baseball is spelt as "Base Ball"
2008-01-30 00:47:51 +00:00
Brian Troha
bc0696ade1 Added dip locations to about half the games... will finish the rest soonish
corrected recent submission for dip locs as well
2008-01-30 00:10:58 +00:00
Brian Troha
745f556cf2 fix minor issue with dip locations for unused dips. 2008-01-29 23:35:30 +00:00
Aaron Giles
19dc5dba41 Moved cpu_getiloops() and cpu_scalebyfcount() to deprecat.h.
Added #include "deprecat.h" where necessary to make this happen.
Cleaned up cpuexec.c/.h to latest core style.
Cleaned up implementation of extended INP header in inptport.c.
Removed external access to cycles_currently_ran().
Replaced use of cycles_currently_ran() in v9938 code with mame_rand(), since that is effectively the same thing. :)
2008-01-29 23:27:24 +00:00
Zsolt Vasvari
ef7452b852 Removed memory_region[]() construct 2008-01-29 23:22:53 +00:00
R. Belmont
dfccbbc479 Further improvements to SCSP FM (kingshriek). 2008-01-29 21:36:02 +00:00
Aaron Giles
dbf80b011c Removed distinction between *_gettotalcycles() and *_gettotalcycles64().
All functions now return 64-bit results.
Updated all call sites appropriately.
2008-01-29 19:35:27 +00:00
Aaron Giles
acd05b666f From: RansAckeR [mailto:RansAckeR@pandora.be]
Subject: 1942.c 1943.c segas16a.c segas16b.c system16.c DIPs

Made some minor improvements to 1942.c & 1943.c DIPs.
Improved segas16a.c, segas16b.c & system16.c DIPs and added DIP
locations from manuals.
2008-01-29 19:34:43 +00:00
stephh
c3527446e4 Fixed some games descriptions (mainly when "set 1" was missing).
Aligned some GAME definitions.
2008-01-29 19:19:55 +00:00
Aaron Giles
dc7e9bba99 Further code cleanup.
Flipped Pooyan so it behaves more like Time Pilot.
Fixed Time Pilot sprite offset.
Changed tutankhm video rendering to be destination-based.
2008-01-29 18:47:28 +00:00
Aaron Giles
b7c8c89e4e From: Mamesick [mailto:mamesick@libero.it]
Subject: Fixed MAME Testers bug STRAHL0122u6YEL

Hello. Attached diff fixes the bug STRAHL0122u6YEL. Sprites are simply 
allocated in a different memory range from all other nmk16 games.
Regards.
2008-01-29 16:44:47 +00:00
Aaron Giles
4fca4e6535 From: Luis Faria [mailto:luis.faria@gmail.com]
Subject: Update for galpani2 driver

Hi,
Here's a small update for gals panic 2, the diff is made against 122u7.
I've resolved all unknown dips according to kaneko's docs, unified
memory maps of both CPUs and repositioned a pair of graphic ROMS.
Regards,
LFaria
2008-01-29 16:43:01 +00:00
Aaron Giles
381fe1f9b8 From: JEA Wallace [mailto:jeaw100@york.ac.uk]
Subject: AGEMAME upstream patches for u8/0.123

I thought I'd push a few minor coding improvements in now, while I still

have something resembling free time.

Firstly, I've made a few changes to the 6840 interrupt handling, to be 
more like that in the 6821 driver, and to hopefully reduce the IRQ 
swamping that could occur using the old setup. In the process, I've 
added the 6840 IRQ handler to the wire-OR in the MPU4 driver, as that's 
what the schematic shows (there's just one track for each interrupt 
class, all the way down the PCB to the cartridge loading point). Since I

was looking at that, I made MPU4 games that didn't use a CRT as 
screenless as they can get at present, and altered the logging options 
to avoid a redefinition issue if you wanted the core and driver portions

to log at different levels.

Scorpion 2 has also been altered to match the MPU4 coding style, where 
proper handlers re now included for the stepper motor data, which can 
then be expanded on in AGEMAME.
2008-01-29 16:40:41 +00:00
Aaron Giles
839029d302 From: Dirk Best
the latest changes in MAME 0.122u7 broke the screenless systems in
MESS. The attached patch fixes this.
2008-01-29 16:37:58 +00:00
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