Commit Graph

488 Commits

Author SHA1 Message Date
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
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