Commit Graph

4007 Commits

Author SHA1 Message Date
Aaron Giles
c6a7299b4e 02544: Dip Condition / Port Include limitation 2008-11-03 10:01:43 +00:00
Curt Coder
086cc0d047 [MC6845] Fixed display enable. 2008-11-03 09:56:09 +00:00
Aaron Giles
7038a72e76 Converted toobin to RGB32 to allow for mid-screen palette updates.
Also added correct video timing and full memory map, and connected
watchdog.
2008-11-03 09:41:03 +00:00
Aaron Giles
abf8eafc47 02607: frogs: Taking a screenshot in Frogs (Gremlin) exits the game with an error. 2008-11-03 08:31:39 +00:00
Yasuhiro Ogawa
bf4f376e9b allows YM2203C to be heard by default.
Credit Jim H.
2008-11-03 03:08:08 +00:00
R. Belmont
8d3e0e1ba2 Small Naomi update
AICA: fix missing instruments in DTPK driver games [R. Belmont, Deunan Knute, kingshriek]

Naomi: unmapped words in the AICA address range must read as zero [R. Belmont]

With these changes Toy Fighter's music is much better.
2008-11-03 02:58:59 +00:00
Couriersud
f9029d88a5 Irem M10: first results from schematics
* Updated video timing and cpu/pixel clocks
* Rewrote irq for m10/m11 to use two 74LS123
2008-11-03 01:19:51 +00:00
Couriersud
17b6c56de9 74123 Fixes:
* Clear behaviour to follow datasheet.
* Avoid recursive calls when setting a/b/clear lines from callback
2008-11-03 01:16:39 +00:00
davidhay
b29e06704b added 32x DRAM clear, needed by 32x tempo, pitfall, primal rage 2008-11-03 00:50:46 +00:00
davidhay
45a29c2c22 added RLE mode to 32x renderer, needed by brutal intro 2008-11-02 23:06:53 +00:00
stephh
4f157ee1b4 Fixed Dip Switches for all games in halleys.c driver.
Added Dip locations for 'halleys' and clones.
2008-11-02 22:33:19 +00:00
Couriersud
ec60d29846 Changed 74123 into a device 2008-11-02 21:55:06 +00:00
davidhay
b11d133ccc current 32x code 2008-11-02 21:21:46 +00:00
Aaron Giles
a769919540 Missed file from AtariAce. 2008-11-02 03:15:38 +00:00
Aaron Giles
0c35694668 Oops, not ready for these yet. 2008-11-02 03:15:03 +00:00
Aaron Giles
ffc97bd35d Cleanups and version bump. 2008-11-02 03:11:19 +00:00
Aaron Giles
8dac65b955 I changed the coinage settings and swapped coin A mech with coin B to
match the behaviour of Chelnov (world) pcb
[Corrado Tomaselli]
2008-11-02 02:48:28 +00:00
Aaron Giles
a69e703854 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, November 01, 2008 4:14 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Toaplan2 save state fix

Hi mamedev,

I realized after sending my toaplan2 save state patch that I had
ignored the implications of memory_set_bankptr (grrr).  This followup
patch fixes the most significant case of that, I'll fix up the
remaining ones later.  Alternately, you can drop the patches for now
and I'll resubmit them later.

~aa
2008-11-02 02:45:04 +00:00
Aaron Giles
ae0c3e8811 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, November 01, 2008 11:29 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] State save support for toaplan2

Hi mamedev,

Attached is a small patch to add a toaplan2.h include file and save
state support for the driver.  A number of variables changed from int
to specific sizes to support this, and I also fixed a harmless typo in
the mem_mask size.

~aa
2008-11-02 02:44:33 +00:00
Aaron Giles
9e9ebc19a6 From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Sunday, October 26, 2008 3:01 PM
To: submit@mamedev.org
Subject: expro02

Hi folk!
Another work in expro02 drive:
-  Fixed dips in all galsnew sets and  fantasia.
- Added dips  location.
- A little drive clean up.
Bye Sonikos
2008-11-02 02:41:52 +00:00
Aaron Giles
4e80367366 Here's another MAME tidy patch. This one adds missing const/statics,
adds/removes entries in header files, and fixes a few potential
multisession issues by explicitly adding initializers.  asic65.c has
significant changes to accomodate using a struct instead of 16
variables, otherwise the changes in this patch are modest and obvious.

[Atari Ace]
2008-11-02 02:40:46 +00:00
Aaron Giles
d08215d8ee [Pugsy]
There's an issue with the debugger handling of the 6502 instructions as
there's a mismatch between the core and what the debugger shows.
The changes are detailed in the spreadsheets that I've attached that
compares the core to the dasm.


Attachments:

m6502fix.zip contains the diff file
6502 debugger disassembly changes.zip   contains an excel spreadsheet
(in both xls and xml formats) detailing the reasons/changes.
2008-11-02 02:38:50 +00:00
Aaron Giles
1763eae62b Fix NES APU to work with high sample rates (don't know the bug #) 2008-11-02 02:36:52 +00:00
davidhay
272416355e still working on 32x... these require such heavy sync it kills performance :/ 2008-11-02 01:48:46 +00:00
davidhay
7ed79633f9 current 32x backup - some stuff actually boots now...
(again, no impact on MAME)
2008-11-02 00:40:56 +00:00
Aaron Giles
67a5e53e17 From mamesick:
* bbusters.diff:
- Fixed service mode issues enabling extra RAM that was previously unmapped.
- Properly implemented all sound communications.
- Fixed ID 00387. (there are no sound issues, the bug in my opinion is no more valid)

* nmk16.diff
- Fixed ID 00224. (PCB behaviour verified by Corrado Tomaselli)

* renegade.diff
- Fixed ID 01679. (old code was an hack, cpu_getiloops is more acceptable)

* suprnova.diff
- Fixed ID 02042. (no other games are broken)

* twin16.diff
- Cleaned up a bit code to make it more readable.
- Reorganized CPUs order in all games. (main, sub, audio)
- Fixed ID 02268. (guesswork, a PCB is needed to understand how priorities work)
2008-11-02 00:14:17 +00:00
Angelo Salese
8c2c0d0043 Discovered that Virtual Mahjong 2 - My Fair Lady currently works,so changed flags GAME_NOT_WORKING to IMPERFECT_GRAPHICS / IMPERFECT_SOUND
and removed an unnecessary hack from the driver.Probably one of Arbee's SCSP changes fixed it.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Virtual Mahjong 2 - My Fair Lady

(i.e. Do not credit me on this)
2008-11-01 23:45:47 +00:00
davidhay
c9e94756cc fix mantis 02605 'Wrong colors in Funny Mouse and clone. ' 2008-11-01 11:16:58 +00:00
Roberto Fresca
e03868c87a Ruleta RE-900:
Use pre-defined crystals. Added with notes to xtal.h.
Added missing layout file.
2008-11-01 01:17:55 +00:00
Couriersud
66c3f28e30 Removed dkongx code
* Copy of driver file put on ftp
2008-10-31 23:28:35 +00:00
Couriersud
10b85f1efe More changes to timer 0 split mode 3 and how timer 1 operates than
* Quotes from the documentation added to the source as well
* Started DS5002FP integration
2008-10-31 22:49:33 +00:00
stephh
4791a80745 Fixed Dip Switches for 'gyruss' and clones. 2008-10-31 22:14:29 +00:00
davidhay
5646489864 continued 32x changes. 2008-10-31 08:33:03 +00:00
Roberto Fresca
6f714af5a7 Minor tech notes correction. 2008-10-31 06:12:51 +00:00
Roberto Fresca
aaa8405a51 Improvements to re900.c driver [Roberto Fresca, Grull Osgo]
- Reworked inputs to allow 6 players through a selector.
 - Hooked all lamps (even the ball simulator array).
 - Added a internal layout and support for external artwork.
 - Extended the hardware to support Buena Suerte '94.
 - Cleaned up the driver.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Buena Suerte '94 [Grull Osgo, Roberto Fresca]
2008-10-31 06:04:36 +00:00
stephh
ce7f16d0ef Cleaned up some notes. 2008-10-31 02:27:46 +00:00
stephh
ef14884b5f Fixed Dip Switches for 'exprraid' and clones.
Enjoy the various notes ! ;)
2008-10-31 02:18:02 +00:00
davidhay
b5c6bb78fa Naomi / DC improvements [Samuele Zannoli]
Hello, with this patch finally cvs2gd stops looping forever. However with
no 3d emulation nothing is shown on the screen.
Then i have implemented the naomi RTC and there are a few verbose messages
about transfers not implemented yet.
2008-10-30 21:56:33 +00:00
davidhay
84cf2596c5 include correct file in m72.c 2008-10-30 21:31:09 +00:00
davidhay
1a280c612f if we support this we may as well support both sets.. 2008-10-30 21:18:53 +00:00
davidhay
6b6c728694 changed magictg to use (hopefully correct) roms. 2008-10-30 20:43:33 +00:00
Aaron Giles
5f440c4a63 Changed from explicit styles to classes. 2008-10-30 15:30:24 +00:00
Aaron Giles
e5183b1d20 Modified src2html to use a template source file instead of hard-coding to
the MAME site.
2008-10-30 09:43:25 +00:00
davidhay
bb7010e30e Submission from Johnboy for Mame 0.128u1 mainline
Changed drivers:
	src\mame\drivers\neodrvr.c
	src\mame\machine\neoboot.c

. Updated NeoGeo game pcb infos
. Renamed p's in kof2000n to correct chip label
. Renamed v's in mahretsu to correct chip label, readded 128k m1 from Mame 0.34b6 / s1 from older dump
. breakrev: Renamed c's to correct chip label, added correct c5/c6
. Marked mslug3h MVS AND AES VERSION
. Marked mslug4 2nd revision, added mslug4 1st revision missing set comment
. Marked trally MVS AND AES VERSION
. Marked ncombath MVS AND AES VERSION
. Marked sengoku MVS VERSION
. Marked superspy MVS AND AES VERSION
. Marked mutnat MVS AND AES VERSION
2008-10-30 09:09:45 +00:00
davidhay
689975bba6 continuing to look at 32x - M_OK S_OK 2008-10-30 08:48:02 +00:00
Roberto Fresca
f0ed9a4e86 - Fixed Joker's Wild graphics to 2 bits per pixel. 2008-10-30 06:21:33 +00:00
Andrew Gardner
c33d3a4f52 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Partially implemented move, asr4, and mpy ops.
2008-10-30 05:21:45 +00:00
R. Belmont
9ebd7a57f3 plygonet: Fixed text layer emulation and visible area. FBI logo and color test now display properly. 2008-10-30 03:11:19 +00:00
R. Belmont
c6e16e1925 02456: wrong sector size at CD_TRACK_MODE2 conversion routine 2008-10-30 03:08:35 +00:00
Couriersud
7dd6c89221 Finally move cpu/i8051 to cpu/mcs51, rename files and some constants 2008-10-29 23:41:31 +00:00
Couriersud
bf27ac4ff9 Fixed m72 tilemap group 2 priorities 2008-10-29 21:59:23 +00:00
Couriersud
e60a8d7bfe Fixed INT0 & INT1 interrupt line handling 2008-10-29 21:58:19 +00:00
Couriersud
a9afec7df4 More NEC V30 changes
* improved prefetch timing calculation
* prefetch timing now also used by V20 and V33
* moved some static variables into cpu context
* nec_reset now explicitly clears context variables
* all cpus now share nec_execute
2008-10-29 21:52:51 +00:00
Angelo Salese
46cf59b61a Fixed sound,hooked-up generic inputs and added some notes in Alien Command (not yet working) 2008-10-29 17:52:47 +00:00
R. Belmont
bf8e1b4314 plygonet improvements
- Turned off network IRQ.  Game now boots without "network error"
- Hooked up palette RAM
- Improved text layer emulation (flip bits still missing)
2008-10-29 04:31:28 +00:00
R. Belmont
2a3495ab59 plygonet: set visible area to something more reasonable. 2008-10-29 03:53:27 +00:00
R. Belmont
99b29738b8 Fix GCC 4.3 "array bounds exceeded" error in disc_flt.c.
Would whoever checked this in double-check my change?  I believe I got the intent of the code (which is not how it was written ;-) but I could be wrong.

--This line, and those belo

M    disc_flt.c
2008-10-29 03:42:33 +00:00
Couriersud
31ee705dba lohtb2: Improved mcu emulation
* The whole startup cycle now works. No more timeouts and erratic behavior.
* lohtb2 will however not display the "Warning" screen due to a priority issue. With color/attribute of 0x80 in videoram at 0xd0000 and 0xd8000, videoram at 0xd80000 will be displayed. Some tilemap guru has to look into this.
2008-10-29 03:18:13 +00:00
Couriersud
ed56a340c0 Prefetch timing
* currently only for V30
* necessary to get lohtb2 working - somebody virtually counted cycles here
2008-10-29 03:11:17 +00:00
Derrick Renaud
65d187ecf2 More Discrete module optimizations.
Added optimized custom mixer to Donkey Kong.
2008-10-29 01:59:44 +00:00
Couriersud
0a82f62644 Removed another speed hack and renamed "FETCH" to "FETCH()"
* Macros used as functions should look like functions
* Preparation for opcode prefetch timing
2008-10-29 01:22:59 +00:00
stephh
0c22d0bf47 Fixed Dip Switches and inputs for 'dreamwld'. 2008-10-28 22:36:44 +00:00
Brian Troha
59898e7d86 new clone: Power Instinct (USA)
Credit Jim (or however he wants his name listed ;-)

Also specifies the difference between the two Ghox sets (in toaplan2.c).  One set is 8-way joystick controls and the parent is a spinner with forward/backward single axis control
2008-10-28 20:55:01 +00:00
Curt Coder
342fa7a26c [MC6845] Fixed skewing and display area. 2008-10-28 16:05:54 +00:00
Andrew Gardner
5b5edd9eb9 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Partially implemented tfr op.
* Polygonet now allows test mode to be run for a few seconds.  Most IO is now known, though coin2 is still a mystery.
2008-10-28 14:44:07 +00:00
stephh
8c317b186b Cleaned Dip Switches and added a few notes here and there.
Not worth being mentionned in the whatsnew.txt file !
2008-10-27 23:29:58 +00:00
Angelo Salese
59eaabfd5f Added palette fading effect on macrossp.c driver;
Added a speed-up hack for quizmoon (disabled by default);
2008-10-27 17:49:09 +00:00
R. Belmont
eb91a91308 YM2608/2612: applied latest fixes/discoveries [Eke-Eke, Nemesis]. 2008-10-27 13:39:01 +00:00
Andrew Gardner
db51d2ca3c Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Partially implemented inc24, asl4, bcc, brkcc, and doForever ops.
* Added code for parallel address register update.
2008-10-27 03:53:23 +00:00
Angelo Salese
c42f386a8f 02199: banbam, pettanp: The 4th 'Unused' dipswitch is the 'Freeze' switch. 2008-10-27 01:03:45 +00:00
Angelo Salese
9285bf4e0c Various improvements to the jalmah.c driver:
* Fixed tilemaps paging / tilemap positioning;
* Fixed a protection issue in Mahjong Daireikai,not giving correct colors for the girls in-game;
* Fixed a rom-loading issue in Mahjong Daireikai;
* Fixed 'ZA' sound banking behaviour,this fixes at least the sound in kakumei2;
* Removed VIDEO_EOF and added a TIMER_DEVICE_CALLBACK function for MCU simulations;
* Added WIP code for the priority system;
* Added a NO_DUMP for the MCU for all the sets;
2008-10-26 22:00:56 +00:00
Couriersud
76182c3f9c MCS51 additions
* Implemented cmos features: powerdown & idle
* Added comments about special function registers on Philips 80C52
* cleaned up reset routines
2008-10-26 12:35:47 +00:00
stephh
c911e7c3a8 Fixed Dip Switches for all games in astrof.c driver. 2008-10-26 08:41:17 +00:00
Couriersud
493ccba85f New clone: D2K Jumpman returns
- emulates Braze Technologies addon board
- eeprom hooked up
- implemented bank switching

I am still unsure about whether this should be added or not.
Interestingly, D2K shows a "(C) 1981 Nintendo" copyright message.
Still, it is actively marketed. 
Putting this up for discussion again.
2008-10-25 22:46:30 +00:00
Phil Bennett
7938cd3974 Changed superchs ES5505 clock rate to 15238050Hz 2008-10-25 16:24:07 +00:00
Phil Bennett
c562a89dcc Fixed MSM5205 ADPCM and sound comms in Ashita no Joe/Success Joe 2008-10-25 15:06:57 +00:00
stephh
3ce911cfa8 Fixed Dip Switches for 'spaceint' and clones. 2008-10-25 11:04:35 +00:00
Roberto Fresca
b2288ad1d5 Preliminary driver for Joker's Wild (Sigma, 1988).
- Initial release.
 - ROMs load OK.
 - Proper ROMs decryption.
 - Added MC6845 CRTC.
 - Video RAM OK.
 - Added technical notes.


New games marked as GAME_NOT_WORKING
------------------------------------
Joker's Wild (encrypted) [Roberto Fresca]
2008-10-25 09:09:31 +00:00
stephh
0658fcabef Fixed Dip Switches for 'arabian' and clones. 2008-10-25 08:11:24 +00:00
Roberto Fresca
d00a268e32 Improvements to magicfly driver:
- Added sound support to magicfly and 7mezzo.
 - Hooked coin counters to magicfly and 7mezzo.
 - Inverted the graphics banks to be straight with the hardware accesses.
 - Updated the memory map description and technical notes.
 - Added game notes and documented the test/settings/bookkeeping modes.
2008-10-25 03:42:40 +00:00
stephh
ff805be4a9 Fixed Dip Switches for 'ambush' and clones. 2008-10-24 22:59:58 +00:00
Couriersud
9be049b4b2 According to Philips, 80C31 is a 80C52 family member with 128K internal ram and no rom 2008-10-24 21:53:09 +00:00
Couriersud
b1e8ff0a3e Implemented 80C52 interrupt handling
* mcs51 core now supports 4 interrupt levels depending on cpu type
2008-10-24 21:23:41 +00:00
Wilbert Pol
d64bda5e94 Updated nes pcm dma to read data through the cpu address map. 2008-10-24 21:15:49 +00:00
Couriersud
a4059f19ad Fixed split timer mode
* Credit: Jim Stolis
* No interrupts for timer 0 modes 0,1,2 while timer 1 in mode 3
2008-10-24 17:45:42 +00:00
Roberto Fresca
1b7cfe0da2 Another driver from Grull Osgo.
Ruleta RE-900 from Entretenimientos GEMINI.

Is a roulette game based on i8051 and TMS9928, that has a phisical roulette with leds simulating the ball.
Game is working properly with full sound support.
Need better inputs implementation, leds, external artwork for the roulette and technical notes (I'm taking care of them).
If someone want to give a try, turn the operator key to allow enter credits.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Ruleta RE-900 [Grull Osgo]
2008-10-24 17:28:14 +00:00
Angelo Salese
09a98ddb58 Cleaned up the sample rom loading in mirage.c 2008-10-24 17:02:18 +00:00
Jim Stolis
4e8d9407a2 Changed VBLANK to irq0_line_assert and added a CLEAR_LINE. This greatly increases speed on all video slots. 2008-10-24 00:43:53 +00:00
davidhay
227d8cc88f removed parent clone relationship between missb2 and bublbobl. we don't usually make the 'korean hacks' as clones as they have very little to do with the original releases except for the stolen cpu code. GFX / Sound / Gameplay are completely redesigned. 2008-10-23 23:23:49 +00:00
davidhay
410e897210 removed parent clone relationship from "Street Fighter Zero/Alpha 2" and "Street Fighter Zero 2 Alpha"
Capcom consider these to be different games (they have different encryption keys)
2008-10-23 21:21:05 +00:00
Angelo Salese
6f6ace4bb7 Added sound banking to the mirage.c driver. 2008-10-23 19:19:02 +00:00
Aaron Giles
7f39a3503c Cleanups and version bump. 2008-10-23 09:15:58 +00:00
Aaron Giles
6d55bb26f5 Added correct timing PROM for Cloak & Dagger. 2008-10-23 09:11:45 +00:00
Aaron Giles
a113e24a94 From: tbellm@arcor.de [mailto:tbellm@arcor.de]
Sent: Sunday, October 19, 2008 9:01 AM
To: submit@mamedev.org
Subject: Sound Support for Cosmic Alien

Hello,

I own a cosmic alien PCB and so I thought it would be a good idea to add
sound support
to this game by changing the corresponding driver ("drivers\cosmic.c").
I also have recorded the different sound effects as wave - files.

I have attached two files to this mail. The file "cosmica.zip" contains
the samples
(so it can be simply copied to the "samples" folder) and
the other one "cosmica_diff.zip" contain the "diff" file taken against
the 0128 sources.
So you can check it and maybe you want to implement the changes in a
further release?

best regards
T.Bellm
2008-10-23 08:50:55 +00:00
Aaron Giles
da657ff7c1 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Mon 10/20/2008 9:45 AM
To: submit@mamedev.org
Subject: fix for mt 2577
the wrong tags were used for maketrax when indexed inputs were converted to tagged ones (0.125u7): input 2 was 'dsw1' but 'in1' was used. probably a mistake I made. sorry. 

regards

        Fabio
2008-10-23 08:48:30 +00:00
Aaron Giles
410a99b10d From: Phill Harvey-Smith [mailto:afra@aurigae.demon.co.uk]
Sent: Fri 10/17/2008 11:45 AM
To: submit@mamedev.org
Subject: 65c02 core bugfix
Hi,

This patch fixes a subtle bug in the 65c02 emulation where the result of
the BIT instruction  differs on the 65c02 (from the 6502), when executed
in immediate mode.

Cheers,

Phill.
2008-10-23 08:47:52 +00:00
Aaron Giles
03a2175b6a From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Sunday, October 12, 2008 1:15 PM
To: submit@mamedev.org
Subject: dakkochn gfx improve

Improve dakkochn gfx, the priority are ok but there are various offset so i marked also the game as "inperfect gfx".

Bye Sonikos
2008-10-23 08:45:53 +00:00
Aaron Giles
c97fe8b6bb 01722: sokonuke: Game hangs after you choose stage 2008-10-23 08:44:21 +00:00
Aaron Giles
a882bc8050 Silenced an annoying log message. 2008-10-23 08:22:49 +00:00
Angelo Salese
190d129d24 Quick bug fix for Mirage. 2008-10-22 22:42:59 +00:00
davidhay
4cb699ad06 more megadriv.c stuff moving towards 32x support for MESS / HazeMD 2008-10-22 21:52:14 +00:00
Angelo Salese
52942414f4 Fixed controls and added preliminary sound (missing rom banking) to Mirage Youjuu Mahjongden
Game is now working

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mirage Youjuu Mahjongden [Angelo Salese]
2008-10-22 21:35:23 +00:00
Brian Troha
f39969550e update for Super Mega Touch IV:
Created default EEPROM which is required to get it going.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Super Megatouch IV (9255-41-07 ROG, New Jersey version) [Mariusz Wojcieszek]
2008-10-22 20:49:05 +00:00
davidhay
a25d0df144 still working on MD stuff 2008-10-22 19:34:36 +00:00
Angelo Salese
913716dd58 Completed protection vectors,fixed video emulation and added coin setting simulation in the Double Dealer driver.
Game is now playable

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Double Dealer [Angelo Salese,David Haywood]
2008-10-22 18:14:46 +00:00
Curt Coder
dab7aa732b Added crystal value. 2008-10-22 18:10:57 +00:00
davidhay
36985785ad still rearranging things in here 2008-10-22 18:00:13 +00:00
davidhay
f0d27435f7 some reorganization in megadriv.c, porting over some code to attempt to get it working again, bit by bit. 2008-10-22 16:20:45 +00:00
davidhay
add038ed62 I think umk3 and breakrev are different enough from their parent sets to be considered unique games, not clones. This kills the relationship between them. 2008-10-22 12:08:21 +00:00
Andrew Gardner
40a5d0c543 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Implemented tst, or, jsr, rti, tst2, and 2 new movec ops.
* Added opbase handler to plygonet.c
2008-10-22 04:15:30 +00:00
Phil Bennett
a30f534c52 Fix MT 00436: 'kyukaidk: Some of the sound effects are wrong'
(You must delete kyukaidk.cfg and kyukaido.cfg)
2008-10-21 23:26:48 +00:00
Angelo Salese
7ee62a3760 Added flip screen / cocktail support,completed DIP-Switches (manual-wise) and made better comments on the Yumefuda driver 2008-10-21 23:19:28 +00:00
Phil Bennett
7864db5d2d Remove comment (the game is playable). 2008-10-21 21:07:51 +00:00
Phil Bennett
605d3493d5 Fix MT 01702: 'cloak + clones: Can't pick up items'
Added (undumped) vertical timing PROM ROMdef
2008-10-21 20:45:28 +00:00
Phil Bennett
40520a87cd Fix MT 02140: "cube quest crashes mame when saving state" 2008-10-21 20:42:56 +00:00
Phil Bennett
8b368475fa Fixed recently regressed raster interrupt issues 2008-10-21 20:37:18 +00:00
Couriersud
a0d4e2085a Revoke accidental commit
* added comment about possible fix gseeker "black continue screen"
2008-10-20 23:53:02 +00:00
Couriersud
8eecd6745c More mcs51 updates
* Remaining games checked and adapted to changes in cpu core 
 * Cardline still broken. I need the exact and complete cpu name.
 * Added more variants 803X, 80CXX, AT89C4051
 * Fix segas18.c (segaic16.c) mcu maps. 
 * Fix sslam.c 
 * Fix limenko.c videopkr.c : Issue with core allocation of ram (duplicate savestate)
2008-10-20 23:42:09 +00:00
Brian Troha
c87376f45f minor correction for the Grudge Match PCB info... changed to show groms 0 through 6 :-) 2008-10-20 21:01:22 +00:00
davidhay
898e334344 marked magictg smt roms as BAD as per Guru's recommendation. 2008-10-20 20:35:16 +00:00
Couriersud
3181cb2ba2 segas18.c: use 8751 io map 2008-10-20 19:40:26 +00:00
Couriersud
3b0ee27f97 mcs51/i8051 - please credit Jim Stolis as well
* fix timer 2 interrupts
* implement serial mode 2/3 rx and tx clock handling
2008-10-20 19:23:58 +00:00
Curt Coder
daea45ca62 [MC6845] Hsync should be pulsed even when vsync is active. 2008-10-20 17:42:38 +00:00
Aaron Giles
13ad68bca4 New games added: Grudge Match (Yankee Game Technology)
Yet another 8-bit Incredible Technologies board. Different in several
significant ways from previous models:
 * YM2608B for audio, replacing YM3812+OKI6295
 * TMS34070 for palettes instead of PC RAMDAC
 * Different video memory layout
2008-10-20 15:34:27 +00:00
Angelo Salese
f7c8307f90 Added sound and corrected wrong DIP-SW in the Double Dealer driver 2008-10-20 14:55:51 +00:00
davidhay
d216b054af clone
Seibu Cup Soccer (set 2) [Chris Hardy] (NOT WORKING)
2008-10-20 08:07:24 +00:00
Couriersud
3038a5c7b6 More data to io map for mcs51 2008-10-19 22:37:06 +00:00
davidhay
fb52b3eee8 replace monkelf prom with one from the bootleg board 2008-10-19 22:36:18 +00:00
davidhay
72269c2e5e Magic the Gathering: Armageddon (Skeleton driver)
I'm not going to be working on this, but this documents it in the source at least.
2008-10-19 22:07:43 +00:00
Couriersud
a7da02e00e MCS51/I8051 overhaul, micro3d improvements and full m72 protection emulation for lohtb2
* improved serial port timing (f15se (micro3d.c) sound board now works)
 * better infrastructure for adding more variants like DS5002
 * Fixed port reading
 * Rewrote Macros for better readibility
 * Fixed and rewrote Interrupt handling
 * Now returns INTERNAL_DIVIDER, adjusted cycle counts
 * Remove unnecessary and duplicated code
 * Remove unnecessary functions
 * Rewrite to have sfr-registers stored in int_ram. 
 * Debugger may now watch sfr-registers as well.
 * implemented interrupt callbacks (HOLD_LINE now supported)
 * Runtime switch for processor type - remove ifdefs
 * internal memory maps for internal rom versions (internal ram now displayed in debugger)
 * more timer cleanups from manual
 
micro3d:
 * serial port communication between main cpu and sound board works
 * sound board now works
 
m72 - lohtb2:
 * full emulation of protection device
 * Samples are now piped through the mcu
2008-10-19 22:06:47 +00:00
stephh
10e8a13d82 Updated tnzs.c driver : readded wrongly deleted player 1 BUTTON1 for 'jpopnics'. 2008-10-19 21:28:25 +00:00
stephh
75d94fe936 Updated tnzs.c driver : minor clean-up. 2008-10-19 21:22:39 +00:00
davidhay
16e2482cde NOT WORKING | P's Attack [Guru] 2008-10-19 21:12:38 +00:00
davidhay
d54afb3202 adds the 2 new fireshark sets [Guru]
clones
------

Fire Shark (Korea, set 1, easier) [Guru]
Fire Shark (Korea, set 2, harder) [Guru]
2008-10-19 20:12:01 +00:00
davidhay
5f23c76212 fix bnstars1 screens, looks like this didn't get properly tested after some mass change, was checking for screen == 0, which doesn't work anymore. 2008-10-19 18:52:04 +00:00
Brian Troha
430c387dce new clones added:
New clones added
----------------
Police Trainer (v1.3B Newer) [Brian Troha]
Egg Venture (Release 8) [Brian Troha]
Kick for the Goal [Brian Troha] (Not Working)
2008-10-19 17:33:01 +00:00
Andrew Gardner
9014e91a62 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Added additional branch, move and bitfield ops.
* Plygonet now passes its memory test and uploads a new program.


[[Next step is to install an opbase handler and let the dsp56k run further into its new proggie.]]
2008-10-19 17:14:14 +00:00
Angelo Salese
a9c0fd7295 Fixed input ports in Yumefuda and added Dip-Switches.
Game is now playable

New games added or promoted from NOT_WORKING status
---------------------------------------------------
(Medal) Yumefuda [Bet] [Angelo Salese]
2008-10-19 16:58:12 +00:00
R. Belmont
9fc7f46095 AICA: fix sample addressing for the full 8 MB [kingshriek]. 2008-10-19 15:06:20 +00:00
Angelo Salese
1c9ae23521 Small cleanups to the ST-V driver
Make some work for magzun,still not working.
2008-10-19 11:07:53 +00:00
stephh
5715167157 Updated tnzs.c driver :
- renamed sets :
      * 'tnzsjn'   -> 'tnzsj'
      * 'tnzsj'    -> 'tnzsjo'
      * 'kagekia'  -> 'kagekih'
  - fixed Dip Switches for all games (2 remaining unknown Dips in 'plumppop' and 'jpopnics' though)
  - added many notes
2008-10-19 08:04:20 +00:00
R. Belmont
ec59b2b982 NamcoNBx: fixed C75 BIOS loading for big-endian targets. 2008-10-18 23:44:09 +00:00
davidhay
84dd8639d8 cleaned up STV rom loading a bit 2008-10-18 22:07:30 +00:00
Phil Bennett
aeb70f6c9b Added redumped B-Rap Boys sample ROMs (c/o Guru) 2008-10-18 20:25:13 +00:00
Phil Bennett
01f562f229 Increase interleave factor to eliminate LDP timeout countdown flicker. 2008-10-18 20:09:49 +00:00
Phil Bennett
e1b9a1bcf2 Fix MT00359/blocken337b8gre 2008-10-18 20:06:01 +00:00
Andrew Gardner
e138837002 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Complete rewrite focusing on legibility and extensibility.
* 27/121 opcodes (mostly) implemented.
* Bugfix for reset status of interrupt priority bits.
* Bugfix for disassembly of register-to-register parallel data move.


[[These changes bring the driver up to the point where the plygonet hardware begins banking memory.  The behavior is understood, so I should have the driver back to where it was before the rewrite soon.  Then real progress can be made.]]
2008-10-18 18:10:59 +00:00
davidhay
191767f62f Minor NeoGeo cleanups [JohnBoy]
kof2002b set from Kawaks [Kawaks]
2008-10-18 14:47:41 +00:00
davidhay
090ab6fe44 Removed per-game hacks from CPS3 (moved to DMA callback in SH2 core)
(also added a to-check note, 16-bit wide DMA is currently using 32-bit functions, is this correct?)

Removed Speedups from CPS3 / PsikyoSH, while they do still give a decent speed boost they're not really needed with the DRC and just clutter the code.
2008-10-18 14:44:20 +00:00
Curt Coder
298dd21606 MC6845:
- added cursor and display enable skewing
- added preliminary support for SY6545-1's transparent addressing mode
2008-10-16 17:09:58 +00:00
Aaron Giles
7d3221dcf3 Cleanups and version bump. 2008-10-16 08:59:25 +00:00
Aaron Giles
819c231992 Added new tool ldresample to assist in resynchronizing audio tracks in
a CHD with frames. Currently still WIP but useful if you know what 
you're doing. [Aaron Giles]
2008-10-16 08:47:06 +00:00
Aaron Giles
a1c2887d78 Rebalanced audio and corrected TMS5220 frequency. 2008-10-16 08:46:43 +00:00
Aaron Giles
f61550ab4f - 02531: [Sound] mshuttle, mshuttlj, mshutlj2: Moon shuttle speech
wrong (Corrado Tomaselli)
2008-10-16 08:42:57 +00:00
Aaron Giles
5bcb95dff7 From: Phill Harvey-Smith [mailto:afra@aurigae.demon.co.uk]
Sent: Saturday, October 11, 2008 12:01 PM
To: submit@mamedev.org
Subject: 6821 PIA changes

Hi,

Can this change be added to the 6821 pia code, it adds a function that 
allows the client code to get the status of CA2, taking account of the 
internal pull up resistor. This code only adds a function and does not 
change any existing code so should not have any impact on existing
drivers.

This change is needed for a couple of the mess drivers.

Thanks.

Phill.

-- 
Phill Harvey-Smith, Programmer, Hardware hacker, and general eccentric !
2008-10-16 07:19:16 +00:00
Aaron Giles
8769bea92e 02554: jackal: Sprite lag confirmed
02432: denjinmk: Bad Sprite rom - half size, causes missing sprite graphics.
2008-10-16 06:21:05 +00:00
Aaron Giles
c993b2a4e1 02539: phrcraze, phrcrazs: [debug] Access Violation
This is actually Couriersud's fix as posted in the bug.
2008-10-16 06:05:33 +00:00
Nicola Salmoria
5caf8d2e5c New clones added
----------------
Giga Wing (Brazil 990222) [Luis]
2008-10-15 06:55:31 +00:00
Angelo Salese
f4e0931b93 Fixed the colors of Yumefuda.
Added two new palette functions in generic.c: paletteram_xRRRRRGGGGGBBBBB_split1_w() and paletteram_xRRRRRGGGGGBBBBB_split2_w() (used by Yumefuda)
2008-10-14 18:31:05 +00:00
Roberto Fresca
5537bbe8a5 Improved the poker41 and pulltabs button-lamps layouts to look more realistic. 2008-10-14 02:43:26 +00:00
davidhay
62e94572da marked Hacha Mecha Fighter (nmk16.c) BG rom as a bad dump [David Haywood] 2008-10-13 22:27:48 +00:00
Angelo Salese
0f49d587b8 Added input controls,coins,some dip-switches and sound to the good.c driver.
Game is now playable.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Good [David Haywood,Angelo Salese]
2008-10-13 21:43:44 +00:00
Aaron Giles
85e3077616 Connected firefox audio enables. 2008-10-13 17:17:07 +00:00
Curt Coder
3d85b66c5e Added pinout, not worth mentioning in whatsnew. 2008-10-13 14:16:07 +00:00
Aaron Giles
0fddfa1a44 Cleanups and version bump. 2008-10-13 08:38:32 +00:00
Aaron Giles
76d7050e7a Cleaned up video implementation:
- proper sprite/tile priorities
 - adjusted X offset to match screenshots
 - converted to tilemaps
2008-10-13 08:31:25 +00:00
Nicola Salmoria
bccaf911b4 Added cawing B-Board PAL dumps [Corrado Tomaselli] 2008-10-13 07:59:49 +00:00
Aaron Giles
2afb0e1049 Using tags instead of indexes for input line control. 2008-10-13 05:39:07 +00:00
Aaron Giles
da7c14f848 cubeqst changes:
* removed custom sound in favor of individual DACs
 * simplified palette management logic
 * hooked up the "disc on" signal
2008-10-13 04:32:54 +00:00
Brian Troha
5120786ad1 white space fixes... mainly for looks. 2008-10-13 02:23:11 +00:00
Aaron Giles
824059b768 Added DIP LOCATIONS to items in the driver and cleaned up some of the
comments mentioning duplicate dips configurations.  Not fully understanding
how the FREE PLAY was implemented, I left that not to show a location.

This .DIFF is based on 0.127u7 sources.
Tafoid
tafoid@yahoo.com
2008-10-13 01:33:52 +00:00
Angelo Salese
cec2bad823 Done most of the protection work for Double Dealer
It appears to use a funky video register setting involving locations $8c1e0-8c1ef range for cards movements so it isn't playable yet.
2008-10-12 22:07:28 +00:00
R. Belmont
606e284917 01867: plygonet: Duplicated Inputs
Removed unnecessary copy/pasted Run and Gun inputs.
2008-10-12 20:49:27 +00:00
Couriersud
b35bec7642 01716: backfire, backfira: Coin 1+2, Service1 and Service Mode mapped twice. 2008-10-12 16:18:12 +00:00
R. Belmont
29e2e3855e Fix Mantis #00106.
KonamiGX: Tweek le2 gun aiming.  Reloading off the top and bottom of the screen works again.
2008-10-12 16:13:43 +00:00
Couriersud
3518ae84ac 01708: stargrds: stargrds duplicate inputs 2008-10-12 16:07:22 +00:00
Aaron Giles
61d2dcd14e 02533: nbapbp: CPU audio: PULSE_LINE used with level-detected IRQ 1 2008-10-12 14:11:58 +00:00
Aaron Giles
44f0b5a68a 02532: lunarba1: Unable to locate input port 'DSW2' 2008-10-12 14:09:50 +00:00
Couriersud
499073eb8e 02529: catch22: Credits do not register in game. 2008-10-12 09:29:10 +00:00
davidhay
11caa89955 removed speedups from sokyugrt, they break the game (make it too slow) the SH2 DRC is sufficient 2008-10-12 09:28:00 +00:00
davidhay
cceb21bd99 added a note about C2 IRQ6 for future reference when rewriting all this. 2008-10-12 09:18:59 +00:00
Couriersud
ea05fb2e38 02530: Various: Assertion in cpuint.c
* renamed "audio" tags to "sound"
2008-10-12 09:13:38 +00:00
Jonathan Gevaryahu
3c7cecd362 fix comments to have actually CORRECT resolution calculations listed. oops. 2008-10-12 07:39:39 +00:00
Jonathan Gevaryahu
4d5248949f Large update to comments in smstrv.c for SMS Manufacturing boards. Documented how the input/output ports are hooked up, and what the PALS do, still need to document the video output port and add the smssshot roms, and actually hook stuff up (like the z80) based on the comments. 2008-10-12 06:45:38 +00:00
Aaron Giles
ea49def07b Brought a little closer to the MESS implementation, but it still hangs due to
PIT changes made a while back (r2193)
2008-10-12 05:38:57 +00:00
Aaron Giles
cbc146d0a9 Minor tweak to fix initial attract mode timing. 2008-10-12 05:37:42 +00:00
R. Belmont
c26f82169b Fix Mantis #02528.
Xexex: clear auto-init EEPROM flag in the right place so startup with no .nv file works properly.
2008-10-12 04:03:51 +00:00
Brian Troha
d68b885909 Adds board location to roms based on hi-res picture on Stefan Lindberg's Arcade PCB web page.
Adds comment on the actual CPU used.
2008-10-12 02:55:39 +00:00
Roberto Fresca
eeb8016109 Rewrote pmpoker.c driver (first part). [Roberto Fresca, Grull Osgo]
- Added discrete sound support to Golden Poker hardware games based on schematics.
 - Added discrete sound support to Potten's Poker hardware games based on PCB analysis.
 - Added discrete circuitry diagrams for both hardware types.
 - Adjusted the CPU adressing to 15 bits for pmpoker/goldenpkr hardware.
 - Adjusted the CPU adressing to 14 bits for pottnpkr hardware.
 - Rewrote all the ROM loads based on these changes.
 - Defined MASTER Xtal & CPU clock.
 - Fixed the visible area based on M6845 registers.
 - Improved the lamps layouts to be more realistic.
 - Added Good Luck (potten's poker hybrid running in goldnpkr hardware).
 - Added Buena Suerte (spanish) x 2 sets.
 - Added set Royale.
 - Added Witch Card and spanish variants.
 - Added Super Loco 93 (spanish) x 2 sets.
 - Renamed set goldnpkc to pottnpkr (parent Jack Potten's Poker set).
 - Renamed set jokerpkr to potnpkra, since is another Jack Potten's Poker set.
 - Added other 2 clones of Jack Potten's Poker.
 - Renamed/cleaned all sets based on code/hardware analysis.
 - Added intensity bit to the color system.
 - Implemented the blue killer bit for Witch Card hardware.
 - Implemented the extended graphics addressing bit for Witch Card hardware.
 - Added proper visible area to sloco93.
 - Rewrote the graphics & color decode system based on schematics. No more patched codes.
 - Changed the char gfx bank structure and rom load according to the new routines.
 - Adjusted the amount of color codes and PROM region size accordingly.
 - Updated all notes.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Good Luck! [Roberto Fresca]
Buena Suerte! (spanish) [Roberto Fresca]
Witch Card (english) [Roberto Fresca]
Super Loco 93 (spanish) [Roberto Fresca]


New clones added
----------------
Jack Potten's Poker (2 sets) [Roberto Fresca]
Witch Card (spanish)(2 sets) [Roberto Fresca]
Buena Suerte (spanish, set 2) [Roberto Fresca]
Super Loco 93 (spanish, set 2) [Roberto Fresca]


New games marked as GAME_NOT_WORKING
------------------------------------
Royale [Roberto Fresca]
2008-10-12 02:25:04 +00:00
R. Belmont
876116276d Fix Mantis #01447
Namcos22: prevent Prop Cycle analog controls from underflowing.
2008-10-12 02:00:52 +00:00
R. Belmont
864820d8ad Fix Mantis #02211
PsikyoSH: hook up VBL IRQ ack
SH2: fix DRC's handling of internally generated IRQs
SH2: fix compiling in interpreter mode
2008-10-12 00:05:13 +00:00
davidhay
e135e4e8d6 correct crc on new decathlete set 2008-10-11 14:57:12 +00:00
davidhay
95af25d76d this moves fantasia -> expro02.c, however, the extra layer is misplaced on it. scroll regs probably differ from the original. 2008-10-11 14:52:27 +00:00
davidhay
3479a045d6 added comment about Sol Divide's music being missing since the SH2 DRC update (RB??)
added comment about other roms on this hardware. (anonymous)

-----------

(testing the water, if Arika aren't happy with comments mentioning them, then there isn't much chance of them ever being supported, seems smarter than just adding them outright)
2008-10-11 13:48:45 +00:00
davidhay
20c0ca98f3 should bring ribbit back to where it was. 2008-10-11 13:11:18 +00:00
davidhay
6c9daddd3c video disable 2008-10-11 12:18:25 +00:00
davidhay
d8a6433cc5 matrimbl set from Kawaks [Kawaks] 2008-10-11 12:14:57 +00:00
davidhay
79e4dc3955 no need to call this. 2008-10-11 12:12:16 +00:00
davidhay
095f32a199 segac2 updates - breaks ribbit for now. this isn't really ready yet, but since the c2 stuff broke anyway I'm sending it. 2008-10-11 12:08:06 +00:00
Aaron Giles
1a720bdf32 Changed Cube Quest laserdisc override logic. It's still a little hacky but
this works better than the previous attempt.
2008-10-10 14:41:22 +00:00
davidhay
6d8fbd09cf Submission from Johnboy for Mame v0.127u7 mainline
Affected files:

	mame\src\mame\drivers\neodrvr.c
	mame\src\mame\includes\neogeo.h
	mame\src\mame\machine\neoboot.c
	mame\src\mame\machine\neoprot.c

Changes:
 . Completed general cleanup
	Sorting OEM / bootleg sets
	Renaming roms on non OEM / bootleg sets to ONE naming sheme
	Renamed functions
	Cleaned up bootleg sets
	Added some comments
	Renamed sma in garou/garouo, added comment
2008-10-10 07:29:33 +00:00
Nicola Salmoria
33f6cb5d84 simplified expro02 decryption 2008-10-10 07:14:10 +00:00
Aaron Giles
fa433938c0 02512: dkong: Artwork and gameplay area are getting squished/distorted
02511: dkong: Donkey Kong crashes after quiting
2008-10-10 05:25:45 +00:00
stephh
854005e78a Removed log of missing variable in debug build. 2008-10-09 23:22:29 +00:00
Angelo Salese
661cab1a44 jalmah.c update
Fixed several things in the jalmah.c driver:
*Fixed Mahjong Daireikai pseudo-random number generator;
*Fixed Otogizoushi Urashima Mahjong to make it playable;
*Fixed a start-up crashing bug in mjzoomin/urashima/daireika

MAMETesters Bugs Fixed
----------------------
- 01820: [Crash/Freeze] mjzoomin: Game stops at PCB test (Angelo Salese)


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Daireikai [Angelo Salese]
Otogizoushi Urashima Mahjong [Angelo Salese]
2008-10-09 19:13:59 +00:00
stephh
c15f4a0606 Updated Dip Switches and Inputs for 'yesnoj' (taito_f2.c driver). 2008-10-09 19:00:49 +00:00
Aaron Giles
d3ab17e0e3 Cleanups and version bump. 2008-10-09 15:29:22 +00:00
Roberto Fresca
3ceca447b7 More improvements to InterFlip/R.Franco games: [Grull Osgo, Roberto Fresca]
- Mapped "Hand Pay" button for Baby Games.
 - Added decoder to Jackpot mechanical counter.
 - Added tower lamps to Baby Games layouts.
 - Reworked layouts for Baby Games.
2008-10-09 09:48:18 +00:00
Aaron Giles
51098d32cd From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Tue 10/7/2008 10:45 AM
To: submit@mamedev.org
Subject: snes special chips emulation
Hi, 

the attached patch adds emulation for snes special chips DSP-2 & OBC-1. Changes:

- added sources snesdsp2.c & snesobc1.c (directly included in machine/snes.c as per Arbee's guidelines). credits mostly goes to byuu, which released to Public Domain his sources
- removed special chips detection from MAME (no nss / bootleg carts have special chips so far) and only left a variable has_addon_chip whose possible values are in includes/snes.h (it is initialized to HAS_NONE for MAME games)
- modified memory handlers to account for the new chips

Regards
   Fabio
2008-10-09 09:41:12 +00:00
Aaron Giles
01d21217d7 From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Sent: Sunday, October 05, 2008 1:46 PM
To: submit@mamedev.org
Subject: 2 small patches

Here are two small patches.

The first one remove a profiler_mark that has been forgotten in one of
the
last update in the tx1.c video driver.

The second is a small speed up in the neo-geo driver which gives a 0.5%
speed up on my machine.
    - replace a loop with an equivalent memset
    - remove a useless parameter I forgot to remove in a previous patch

Hope this help.

Best regards,

CJ
2008-10-09 09:39:15 +00:00
Roberto Fresca
dfd75d29b8 Improvements to Sandii' games (snookr10, apple10 & tenballs):
- Reworked the button-lamps matrix system.
 - Documented both output ports.
 - Connected coin in, key in and payout counters.
 - Improved the lamps layout to be more realistic.
 - Updated technical notes.
2008-10-09 09:35:46 +00:00
Aaron Giles
86c1be8c70 From: Franklin Bowen [mailto:Franklin@Bowen.net]
Sent: Sunday, October 05, 2008 3:46 AM
To: submit@mamedev.org
Subject: Delete previous submission! Space Duel: Add the P10/11 dip
switch

Delete previous submission!  Functionally the same, just reordered 
some source and added a comment.  Thanks!


Space Duel: Add the P10/11 dip switch (only 4 switches instead of the 
standard 8)

Let me know if you have any questions.

Franklin
2008-10-09 09:34:36 +00:00
Aaron Giles
39a8efbdfb > From: Andrea Turci [mailto:aturci@gmail.com]
> Sent: Saturday, October 04, 2008 10:16 PM
> To: submit@mamedev.org
> Cc: ANY
> Subject: Some stuff
> 
> Diff aganist 127u6
> 
> New stuff
> 
> Mk3 p4.0 (revision 1.0 in test menu, but marked P4.0 on chip label)
> Decathlete V1.001
> 
> revisited stuff
> 
> Gpworld brake-gas issue should be fine, I cannot enter into the test
> menu to
> find out is gas is gas and brake is brake or swapped
> 
> Thanks Andrea
2008-10-09 09:32:07 +00:00
Aaron Giles
1b0d9feb58 02221: blzntrnd: Sound is almost completely broken 2008-10-09 09:24:43 +00:00
Aaron Giles
ca7e069f29 02479: Various: Memory leak 2008-10-09 09:14:07 +00:00
Aaron Giles
0329403bae 02488: All sets with using 2+ monitors: Crash to desktop on second play
02439: tx1: TX1 quits out on second launch
02266: tceptor: Thunder Ceptor crashes out when run as the second game
2008-10-09 09:11:42 +00:00
Aaron Giles
8a0b803ec4 02321: mpu4utst, mpu4tst2, mpu4met0: Screenless systems crash due to problems in some display core functions 2008-10-09 08:58:09 +00:00
Aaron Giles
f2464e06f2 02324: dokyusei, dokyusp, gakusai, gakusai2: Game doesn't start 2008-10-09 08:48:12 +00:00
Aaron Giles
6f77816007 Further crash fixes. Also optimized st0016 RAM tile behavior to
lazy decode the graphics, giving a big speed boost to some of the
mahjong games.
2008-10-09 08:36:16 +00:00
Aaron Giles
0389171b57 02470: Various: Access Violation
Note that this is caused by leaving entries in the bitmap
with an index larger than the palette size. This is forbidden
and now can lead to a crash in debug builds.
2008-10-09 08:08:06 +00:00
Aaron Giles
c270b3d714 02475: kf10thep: Access Violation [JohnBoy] 2008-10-09 07:17:11 +00:00
Aaron Giles
01cf916801 02502: fax, hardhat, mtrap, pepper2, teetert, venture and clones: Accessing a certain portion of memory in the debugger causes crash. 2008-10-09 07:11:08 +00:00
Aaron Giles
7b84b06986 Fix regression due to non-zero alpha values being present in the bitmap. 2008-10-09 06:35:00 +00:00
Aaron Giles
2d6453c98a Made the Z80 daisy chain aware of referencing device-specific devices.
Added preliminary LD-V1000 emulation. Not fully working yet, but mostly
there.

Cleaned up and normalized the three existing laserdisc emulations.
Removed obsolete code from the laserdisc core.
2008-10-09 05:31:15 +00:00
Tomasz Slanina
3df44083f8 snes.c - Fixed problem with OAM address reset at start of vblank.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Sonic Blast Man 2 Special Turbo (SNES bootleg) [Andreas Naive, Tomasz Slanina]
2008-10-08 18:35:22 +00:00
Couriersud
b02332f875 MCU protection now working for lohtb2 (m72.c)
* Hooked up 6751
* Synchronized protection ram writes with timer callbacks

This is not really stable - please refer to my mail to the dev-list.
2008-10-08 01:00:36 +00:00
Couriersud
7494be5525 Removed speed hack - this would break the protection for lohtb2 2008-10-07 23:07:09 +00:00
stephh
486d9c32c0 Checked, via Z80 code analysis, inputs and Dip Switches for the following games in snk.c driver :
- gwar, gwarj, gwara, gwarb
  - chopper, choppera, chopperb, legofair
  - tdfever, tdfeverj, tdfever2
  - fsoccer, fsoccerj, fsoccerb
2008-10-07 22:55:55 +00:00
Angelo Salese
f6ef599f4d There's a regression bug in Sengoku Mahjong that doesn't make the controls work from when the V30 CPU core has been converted to 16-bit.Specifically,the game accesses the multiplexer with a word write instead of a byte write.This snippet will fix it. 2008-10-07 21:26:39 +00:00
Brian Troha
70b0bba80e new clone: Armored Warriors (US 940920)
New clones added
----------------
Armored Warriors (US 940920) {Razoola]
2008-10-07 20:58:56 +00:00
Roberto Fresca
2a000a7cc8 Improvements to InterFlip / Recreativos Franco driver: [Grull Osgo, Roberto Fresca]
- Added Baby Poker Game.
 - Added sound support to Baby Poker Game.
 - Reworked the color routines.
 - Added Baby Dado Game.
 - Added new color routines for Baby Games.
 - Redumped the videocba color PROM.
 - Added color switch. (It changes background color in some games).
 - Added "hopper full" switch support (for diverter function).
 - Added diverter function decoder.
 - Added full functional mechanical counters decoding.
 - Added 7 Segment decoder and 7 Digit Counter functions.
 - Added button-lamps layout & mechanical counters simulation on layout.
   Mechanical counters to layout: Coin-In, Coin-Out and Coin to Drop.
 - Added NVRAM support to mechanical counters.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Baby Poker [Grull Osgo, Roberto Fresca]
Baby Dado [Grull Osgo, Roberto Fresca]
2008-10-07 06:27:53 +00:00
Roberto Fresca
69d1fe783a Improved the Lucky 74 button-lamps layout to be more realistic. 2008-10-07 05:57:30 +00:00
Roberto Fresca
ee91cf4d19 Improved the button-lamps layout to all games in ampoker2.c driver. Now buttons are more realistic. 2008-10-07 05:55:59 +00:00
Roberto Fresca
c6ec8026bc Fixed the i8051 AJMP opcode to take 2 bytes instead of 3.
Please also credit Grull Osgo.
2008-10-06 21:57:27 +00:00
davidhay
6ee556f84c fix for 02460: qrouka: Coin 1+2 no longer work.
still not really convinced by this conditional dip stuff.. it stands no chance of working on games where the coinage mode is in eeprom... (but i have no better suggestions)
2008-10-06 21:52:41 +00:00
Couriersud
fc3b7838bc 02498: lightbr: Trouble of title screen
02483: gunlock, rayforcj: Title screen trouble
02482: bubblemj: Demonstration screen trouble

* Check for whether tile is opaque must honour extra planes.
2008-10-06 21:49:37 +00:00
Roberto Fresca
d3cc1b9742 Fixed timers in i8051 core. [Grull Osgo] 2008-10-06 21:36:30 +00:00
davidhay
c03c27eef3 fix for "00989: qgh: If you do a metamorphose, the screen turns black without displaying words/pictures. "
shared palette ram should actually be shared..
2008-10-06 21:10:09 +00:00
Tomasz Slanina
04c37c7bcb Sonic Blast Man 2 Special Turbo (SNES bootleg) changes:
- added rom decryption
- patched protection checks
- mapped extra inputs

Game is not playable due to heavy gfx glitches caused by bugs in SNES hw emulation.
[Andreas Naive, Tomasz Slanina]
2008-10-06 11:17:07 +00:00
Aaron Giles
e9dd491777 Added correct overlay positioning, font, and behavior to PR-8210 emulation. 2008-10-06 08:34:48 +00:00
Brian Troha
f8d5f2ed6f verified the checksum via a different auction on eBay. 2008-10-06 01:19:12 +00:00
Couriersud
887dc53b80 02458: enforce: Road layer colors are wrong.
* Please credit M.A.S.H. & Phil Bennett
2008-10-05 22:15:17 +00:00
Couriersud
4749a7dc51 02469: geebee and clones: Appears to be missing its middle swinging gate 2008-10-05 21:23:47 +00:00
stephh
c782dba531 Checked, via Z80 code analysis, inputs and Dip Switches for the following games in snk.c driver :
- ikari, ikaria, ikarinc, ikarijp, ikarijpb
  - victroad, dogosoke, dogosokb
  - bermudat, bermudaj
  - worldwar, bermudaa
  - psychos, psychosj
2008-10-05 20:54:09 +00:00
Aaron Giles
fabff71d78 OG's fixes:
* proper interrupt handling
 * fixed dcclub magic latch
2008-10-05 16:09:46 +00:00
Aaron Giles
dfa4d1a50f Completed memory maps per Charles' updated docs. 2008-10-05 00:07:36 +00:00
Couriersud
96ea69015f Fixed inputs
* added missing button mappings
* corrected dip switch

This seems to be a prototype. The number of remaining ships displayed is not correct.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Astropal (Sidam?) [Couriersud]
2008-10-04 21:33:41 +00:00
Aaron Giles
88c710d582 System 24 cleanups:
* correct memory map for CPU A
 * reduced RAM size to 256k
 * correct video timings
 * renamed regions
2008-10-04 17:30:41 +00:00
davidhay
e39b0ece90 Submission from Johnboy for Mame v0.127u6 mainline
Affected files:

	mame\src\mame\drivers\neodrvr.c
	mame\src\mame\includes\neogeo.h
	mame\src\mame\machine\neocrypt.c
	mame\src\mame\machine\neoboot.c

Changes:
 . Begin of a general cleanup
	Sorting OEM / Bootleg sets
	Renaming roms on non OEM / Bootleg sets to ONE naming sheme
	Renaming functions
	Added some comments
   Cleanup is not completed.
2008-10-04 13:00:16 +00:00
Aaron Giles
099373081e Added new functions for building device-relative tags. Changed machine
configuration builder to use these functions. Also changed the laserdisc
player devices to use them. Updated Z80 CTC/SIO code to assume that the
CPU provided for the clock is relative to the device that the CTC/SIO
belong to. Updated memory code to assume that regions and devices
referenced by the memory map are relative to the device the associated
CPU belongs to.
2008-10-03 16:29:33 +00:00
Aaron Giles
d707ec622e Fixed a number of regressions due to recent 68000 IRQ changes. 2008-10-03 06:05:16 +00:00
stephh
e348c244aa Added missing support of normal joystick for player 2 in 'gwarb'. 2008-10-03 04:20:30 +00:00
stephh
fc54f63a09 Removed unneeded keys by removing the constants.
Readded UI_ON_SCREEN_DISPLAY to be changed again in the "Inputs" menu as per Aaron's request.

A clean build is required and cfg/default.cfg has to be deleted !
2008-10-03 04:00:41 +00:00
Nathan Woods
17b9549fef Fixed broken prototypes 2008-10-03 03:27:37 +00:00
Brian Troha
18748a6b3f new games/clones added
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Megatouch 5 (9255-60-07 RON, New Jersey version) [Brian Troha]

New clones added
----------------
Megatouch III (9255-20-07 ROG, New Jersey version) [Brian Troha]
Super Megatouch IV (9255-41-07 ROG, New Jersey version) [Brian Troha] (Not Working)
2008-10-02 22:40:37 +00:00
Aaron Giles
f90a19f2bc MSVC compiler error. 2008-10-02 15:05:46 +00:00
Aaron Giles
5123b07115 Cleanups and version bump. 2008-10-02 05:34:21 +00:00
Aaron Giles
cf63e2baa8 Fixed handling of interrupts when the CPU was in the STOP state. 2008-10-02 05:31:24 +00:00
Aaron Giles
18c6cfb56a From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Mon 9/29/2008 9:45 AM
To: submit@mamedev.org
Subject: Small SNES changes
Hi,  

enclosed please find a patch which changes a bit the way SNES 
carts (NSS & bootlegs) are loaded at init time. Currently, data 
are loaded once at start and then the read handlers perform various 
mirroring tricks. With the attached patch, the cart is loaded at 
init and mirrored as many times as it is necessary, while handlers 
simply read from the plain offset. Also, blocks of data are mirrored 
until they fill all the available banks. Implementing this behavior 
both simplifies the handlers code and is more faithful to the hardware 
(see mirroring note included in the DRIVER_INIT).

I also slightly changed some handlers to take into account the new 
mirroring system. OTOH sram_handlers haven't been updated (they will 
be eventually) because with carts as small as the ones in nss.c and 
snesb.c, they basically have no overlapping with the new mirroring 
approach... as soon as I come up with a satisfactory implementation 
that works in MESS (which has to deal with much larger carts), I will 
also submit the MAME side.

No regressions appear with the patch, as far as I could test.

Regards
   Fabio

--

From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Sent: Wednesday, October 01, 2008 12:01 AM
To: submit@mamedev.org
Subject: further snes changes

Hi,

enclosed please find a patch which rewrites memory handlers in 
machine/snes.c to take into account the additional cart/memory layouts 
(mode 22 & 25) which were available for the home console (almost no 
impact on nss.c & snesb.c, which only use mode 20 & 21). rather than 
only add a bunch of if(snes_cart.mode == XXXX), I preferred to slightly 
rewrite the handlers. main changes on the MAME side are:

* merged regions 0x700000 up to 0x7dffff in snes_map (this allows to 
make memory maps in nss.c and snesb.c identical: the zone previously 
NOPed in nss.c is now handled by snes_r_bank5, because it was not 
reserved for all cart types)
* split region 0x800000-0xbfffff from 0xc00000-0xffffff in snes_map. 
This simplifies a bit handlers used by MAME and it will be necessary 
when MESS supports special chips like SDD-1 (which dynamically changes 
the part of cart loaded in the latter region)
* slightly enlarged SRAM regions (in this case, it only affects what 
happens inside the handler, NOT snes_map) to support carts with 512kbits 
of SRAM (e.g. Thoroughbred Breeder III for MESS). I'm still not 100% 
satisfied with SRAM mirroring, but this is closer to the real thing 
than the previous way to handle it

No regressions are present, neither in MAME nor in MESS, as far as I 
could test (well, for MAME weren't expected, since most changes affected 
mode 22 & 25).

Regards,
     Fabio
2008-10-02 05:09:37 +00:00
Aaron Giles
96943508cd From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Sunday, September 28, 2008 6:01 AM
To: submit@mamedev.org
Subject: System1 Dips Location

Hi folk!
I continuing   the work on System1
- Added dips location in all game
- Moved in generic Cabinet dip for eliminate the redundancy
- Better implementation of generic input
Bye Sonikos
2008-10-02 05:06:13 +00:00
Aaron Giles
742dcf52f3 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Friday, September 26, 2008 11:01 PM
To: submit@mamedev.org
Subject: fix for sbasketb

As pointed out by ShimaPong on mameworld forums, dips are 
read in the wrong way in sbasketb.c. It seems that when 
DipLocations were added, the tags were changed in the input 
ports but not in the memory map.

The enclosed patch fixes this regression

Regards,
    Fabio
2008-10-02 05:05:20 +00:00
Aaron Giles
adaaf55595 From: Matt Ownby [mailto:matt.ownby@gmail.com]
Sent: Fri 9/26/2008 10:15 AM
To: submit@mamedev.org
Cc: Philip Bennett
Subject: fix for Cube Quest Line CPU emulation
I found a bug in the emulation of the Cube Quest Line CPU.

Proof of bug:
After looking at .diff,
Assume 'ci' is 1, and assume 'r' and 's' are both 0xFFF 
(0xFFF equals -1, as these numbers are 12-bit signed).
The result should be mathematically equivalent to -1 - (-1) 
which is 0.
~0xFFF is 0xF000, so you'd have 0xF000 + 0x0FFF + 1 which equals 
0x10000 but since 'res' is 16-bits this is truncated to 0x0.  
'C' then becomes 0 and 'V' becomes 1 (as I recall).  The result of 
0 is correct, but the flags are wrong; V should be 0 and C should 
be 1.

Under my proposed fix, you'd have 0x000 + 0x0FFF + 1, which equals 
0x1000, so the lower 12 bits are 0 (correct) and C is 1 and V is 0 
(correct).

I discovered this bug while disassembling the line CPU's ROM.
2008-10-02 05:04:06 +00:00
Aaron Giles
4e9364ded5 Stupid compiler. 2008-10-01 17:12:04 +00:00
Aaron Giles
ce465cb509 Changed 68000 interrupts to only trigger during execution. This
means that multiple changes without any execution will be seen as
atomic. It also means that PULSE_LINE no longer works for signalling
IRQs.

Added checks in the debug build to catch people who try to use
PULSE_LINE for non-NMI and non-RESET input lines on CPUs that no
longer support direct interrupt generation. Over time expect this
list to increase.
2008-10-01 17:09:11 +00:00
Aaron Giles
34cd80a8e5 Added mechanism to generically specify input port tags in place of
machine/device handlers. Unfortunately, the implementation relies on
sentinel values to distinguish a port tag versus a pointer to function
code. However, since this is a very common situation, it will hopefully
be worth the slight grossness. New macros are defined in inptport.h:

   DEVICE8_PORT(name) - use this to specify the name of a port to read
     wherever a read8_device_func would normally be used

   MACHINE8_PORT(name) - same as DEVICE8_PORT except it can be used
     wherever a read8_machine_func would normally be used

   IS_HANDLER_PORT(ptr) - accepts a read8_device_func or read8_machine_func
     and determines if it is an actual function or a reference to a port;
     intended for use by devices that accept DEVICE8_PORT-style functions

   CALL_DEVICE8_READ(ptr,device,offset) - either calls through the given
     read8_device_func, or calls input_port_read with the appropriate
     tag, depending on the result of IS_HANDLER_PORT; intended for use 
     by devices that accept DEVICE8_PORT-style functions

   CALL_MACHINE8_READ(ptr,machine,offset) - same as CALL_DEVICE8_READ
     except for read8_machine_func

Note that in order for these to be useful, the consumer of the function
pointer must be enhanced to use the CALL_* macros above instead of directly
calling through the function. So far, only the 8255 PPI is set up to do
this, as part of the cleanup below. Also note that the sentinel value is
currently 4 consecutive 0 bytes; this may need to change in the future, in 
either length or value, so it is important to stick to the macros above.

8255 PPI interface cleanup:
 - added MDRV_PPI8255_ADD, MDRV_PPI8255_RECONFIG and
    MDRV_PPI8255_REMOVE macros; updated all drivers to use them
 - changed callbacks to device read/write handlers intead of
    machine read/write handlers; updated all drivers accordingly
 - normalized function and variable names to be lower_under
 - removed a number of redundant interfaces from the galaxian/
    scamble line of games

LD-V1000: added some (compile-time removed) information about the
ROM and memory map
2008-10-01 16:36:04 +00:00
Andrew Gardner
8515504a7b Added additional Motorola DSP56k reset behavior. (Andrew Gardner) 2008-10-01 04:24:46 +00:00
Couriersud
a10dfb942d Removed GAME_IMPERFECT_GRAPHICS from Phraze Craze
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Pit Boss, [Couriersud]
2008-09-30 22:51:36 +00:00
Couriersud
227dccde00 merit.c:
* Hooked up 6845
* Hooked up lscnblk line
* Fixed Phraze Craze gfx rom ordering
* Clocks from schematics
* Ram palette moved to static var. This should not be in RAM.
* Added save state support
2008-09-30 22:45:10 +00:00
davidhay
c44a5d3d1c adds new Csclub set
New Clones
----------

Capcom Sports Club (EURO 971017) [Corrado Tomaselli]

This is newer than any of the other sets, it probably fixes the euro specific crash in the special extended bonus round (at a guess)
2008-09-30 16:54:34 +00:00
Aaron Giles
e3dd5224c0 Converted Z80 SIO to device. Updated drivers accordingly. 2008-09-30 05:29:59 +00:00
Brian Troha
b91c8e11e2 adds include to Z80ctc interface. Fixes compile issue 2008-09-29 22:47:20 +00:00
Brian Troha
fa978eb229 by DITraI4D0
expro02.c
- fixed DIPSW
- added graphics decode routine (probably it can be simpler)

video/kaneko16.c
- tilemap scroll position is different for expro02, so added new
function (is it better to fix current one?)

TODO
- in gfx data banking function (newly added), some strange gfx are shown.
Timing issue?



New games added or promoted from NOT_WORKING status
---------------------------------------------------
Gals Panic (US, EXPRO-02 PCB)
2008-09-29 21:42:19 +00:00
Brian Troha
34a21d3cff New Clone: 20 Year Reunion (V1.04)
New Clones Added
------------------------------
20 Year Reunion (V1.04) [Johan Samuelsson]
2008-09-29 21:30:11 +00:00
Couriersud
8f094e3d0f merit.c: Fix colours
* implemented palette & colour decoding from crt 200 schematics.
2008-09-29 19:58:25 +00:00
Aaron Giles
f4dc7a2f36 Converted Z80 CTC to a proper device. Updated all drivers.
Added new item to the interface which is the tag of a CPU
to take the base clock from. Are there any known cases
where the base clock does NOT come from the CPU directly?

Changed Z80 daisy chain interface to simply be a list of
devices in the chain. Interrupt callback functions are now
fetched via the standard device interface and referenced by
the daisy chain code.

Changed Z80 PIO interrupt callback to pass a device instead
of the machine. All device callbacks should provide the
device.
2008-09-29 17:20:58 +00:00
Aaron Giles
3355357ffc Simplified core deinterlacing logic based on availability of pre-
decoded VBI data. Added plumbing for allowing for overall brightness/
contrast/gamma corrections on laserdisc video. Fixed bug when combining
brightness values in the palette logic.
2008-09-29 09:23:22 +00:00
Aaron Giles
296347baab Plumbed machine parameters through the renderer. Removed need for
deprecat.h.

Changed render_texture_set_bitmap() to accept a palette object 
instead of a palette index. The renderer remains optimized for the 
system palette but will work if objects have their own palette as 
well.

Changed renderer to permit palettes for RGB and YUY textures. If
specified, these palettes specify a 32-entry (RGB15) or 256-entry
(others) lookup for applying additional brightness/contrast/gamma
on a per-texture basis.

Removed rescale notification. It never really worked that well and 
violated proper layering.

Renamed palette_set_brightness() to palette_set_pen_contrast() for 
clarity.

Changed palette objects to support global brightness/contrast/gamma
in addition to per-group and per-entry controls.
2008-09-29 08:02:58 +00:00
Aaron Giles
ef2fa89e44 Compile error fix. 2008-09-29 07:01:55 +00:00
Aaron Giles
ce7edb155d ldverify improvements:
- uses back-end decoding for CHDs directly to bitmaps
 - changed min/max detection to only check 0/255
 - fixed off-by-one bug in min/max computation
 - separated white code detection from frame number detection
 - track cadence with frame numbers as well as white codes
 - use vbiparse.h constants where appropriate
2008-09-29 02:26:20 +00:00
Couriersud
4021930758 Verified watchdog behaviour in schematics. 2008-09-28 18:08:43 +00:00
Andrew Gardner
889a589849 Fixes build with official dev tools. 2008-09-28 16:43:13 +00:00
Wilbert Pol
08e57e7e28 Converted the z80pio implementation into a device. 2008-09-28 15:32:18 +00:00
stephh
e8896b0416 Removed unneeded keys :
- UI_ON_SCREEN_DISPLAY (there is now a "Slider Controls" menu)
  - UI_ADD_CHEAT, UI_DELETE_CHEAT, UI_SAVE_CHEAT, UI_WATCH_VALUE, UI_EDIT_CHEAT, UI_RELOAD_CHEAT (these keys belonged to the old cheat engine)

A clean build is required and cfg/default.cfg has to be deleted !
2008-09-28 14:56:17 +00:00
stephh
490823b1aa Updated warpwarp.c driver :
- fix Mantis bug ID 02323 (this might not be the best way though).
  - reworked 'geebee', 'navarone' and 'warpwarp' INPUT_PORTS definitions by using conditional Dip Switches.
  - added 'geebeeb' INPUT_PORTS definition (this game has specific "Replay" settings).
2008-09-28 14:22:02 +00:00
Couriersud
197085900b 01090: invadpt2, sicv: Watchdog reset. 2008-09-28 12:07:27 +00:00
Couriersud
841649ee4c 02440: abcop, gprider1, rachero: abcop just shows a black flickering screen, rachero gives an error and crashes on exit 2008-09-28 11:03:24 +00:00
R. Belmont
a51c28697d Minor NSS/SNES cleanups [Fabio Priuli] 2008-09-28 01:13:07 +00:00
Aaron Giles
6c05b835a2 02442: -aviwrite produces faulty files 2008-09-27 22:48:52 +00:00
Aaron Giles
2a3301d0b9 Removed render_container_set_palette_alpha() hack. Now the alpha value
can be set directly in the palette entry and will be respected for
laserdisc overlays.
2008-09-27 22:05:30 +00:00
Couriersud
3959354577 02441: rdft22kc: rdft22kc just shows a black screen and fails to boot 2008-09-27 20:51:36 +00:00
Couriersud
e2e042dc14 02194: All Sets in othunder.c: Black screen, game does not start 2008-09-27 20:37:39 +00:00
Aaron Giles
9766dc2367 Changed MAKE_RGB macro to set the alpha to 255 instead of 0. Updated
palette.c to preserve the alpha when transforming palette values.
These changes should be transparent to almost all drivers and rendering
(ha-ha), but there may be an occasional instance where a driver relied
on the alpha being 0 in the system palette. This also means that the
palette_set_color() function preserves any alpha value that is set.

Changed Firefox to RGB32 to allow for mid-screen palette changes. Because
of the above change, the hacky alpha manipulation that was previously
required is no longer necessary; the alpha is set directly in the palette
entry.
2008-09-27 20:36:04 +00:00
Aaron Giles
c391ab646f 02410: -aviwrite: files over 2 gigs sometimes get cut off 2008-09-27 20:04:01 +00:00
Nicola Salmoria
9ff6c5bb96 added pen_mask tile attribute to the tilemap system.
implemented dynamic tile & sprite bit depth in the Taito F3 driver.
02024: pbobble3, pbobble4, ringrage and clones: Color Regression
2008-09-27 17:30:17 +00:00
davidhay
448984121f remove obsolete function in neocrypt.c 2008-09-26 21:12:43 +00:00
davidhay
c423c47d14 NeoGeo Update from Johnboy
(Guru, can you check that ms5pcb you have, the roms in MAME are now marked as NO DUMP)

Updated Neo-Geo game pcb infos
2020bba: Marked MVS and AES version
sonicwi2: Added correct sized v2
kof95 / kof95a:
	. Renamed kof95 to kof95h
	. Renamed p1 to correct chip label
	. Added note
	. Renamed kof95a to kof95
	. Renamed p1
samsho3 / samsho3a:
	. Renamed samsho3a to samsho3
	. Renamed samsho3 to samsho3h
	. Renamed p1 to correct chip label
	. Marked AES version
kof98 / kof98n:
	. Renamed m1 in kof98 to correct chip label
	. Renamed m1 in kof98n to correct chip label
	  (kof98n should be latest revision, cart had very high SN 1xx.xxx)
kof97: Marked MVS version
samsho5 / samsho5h:
	. Correct text layer size
	. Marked samsho5h AES version
neogeo:
	. Updated system set to what is found on NEO-MVH MV1FS
	. Added note
ms5pcb:
	. Hooked up bios dip
	. Renamed bios to correct chip label
	. Renamed p1 / p2 to correct chip label, marked NO_DUMP
	. Added note
2008-09-26 20:41:47 +00:00
davidhay
ef10dec73f para2dx rom should be good now. 2008-09-26 20:24:12 +00:00
Aaron Giles
229d598989 Cleanups and version bump. 2008-09-26 13:42:51 +00:00
Aaron Giles
6d7ed9b573 Reverted change 2915. 2008-09-26 13:31:31 +00:00
davidhay
d67de02bda getting there. 2008-09-26 08:10:28 +00:00
Couriersud
d9988a4f21 01187: gseeker: In attract mode, there is a priority error where a stealth bomber is coming out of a hanger. 2008-09-26 07:48:21 +00:00
davidhay
3e245f35a9 new game
--------

Paradise Deluxe 2 [Chris Hardy]

(redump of incorrect size roms pending)
2008-09-26 06:54:44 +00:00
Aaron Giles
8a78b0252d Hi,
compared to other emulator (i.e. kawak), mame does not perform very well in
terms of speed of emulation against Neo Geo games.

Looking at profiling data for these neo geo games, we can see :
---------------------------------------------------------
  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
 18.40     18.80    18.80   971070     0.00     0.00  video_update_neogeo
 10.42     29.45    10.65     4416     0.00     0.00  texture_set_data
 10.06     39.73    10.28  1144463     0.00     0.00
sprite_line_timer_callback
  6.24     46.10     6.37 187970965     0.00     0.00  astring_cmpc
  3.77     49.95     3.85 35732143     0.00     0.00  memory_region
---------------------------------------------------------

I was wondering why functions like 'astring_cmpc' and 'memory_region' where
in the top 5 of the most time consuming functions.

The answer is found in the function 'draw_sprites' from
'mame/video/neogeo.c' where 'memory_region' is called for each sprites for
each VIDEO_UPDATE.
I patched mame in order to keep track of this 'memory_region'. This is done
in VIDEO_START via a global variable (region_zoomy) just like in some other
drivers.
2008-09-26 05:38:40 +00:00
Aaron Giles
decc35b5f2 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Sent: Thursday, September 25, 2008 3:15 AM
To: submit@mamedev.org
Subject: using macros in UI message

This patch changes the message, that appears when no roms have been 
found, to use the macros instead of hard-coded strings
2008-09-26 05:32:29 +00:00
Aaron Giles
0f775dc84e From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Sent: Wed 9/24/2008 2:00 PM
To: submit@mamedev.org
Subject: Speed up fillbitmap
Hi,

there are many places in mame which make use of "fill_bitmap" or the
equivalent "fillbitmap"

An optimisation is done when the depth of the bitmap is 16 or 32 bpp and
when the UINT16 or UINT32 corresponding to the color is composed of same
bytes (i.e 0xffff for example). This is usefull because most of the calls
are for color 0 (black).

In all other cases, the bitmap is filled one pixel at a time using a loop
with a code like :
================
    for (y = fill.min_y; y <= fill.max_y; y++)
    {
     UINT16 *destrow = BITMAP_ADDR16(dest, y, 0);
     for (x = fill.min_x; x <= fill.max_x; x++)
      destrow[x] = (UINT16)color;
    }

================


However, each rows of the final bitmap will be the same. So I modified this
simple assigned to work as follow :
    1) fill the first row one pixel at a time
    2) fill all the other rows by copying the first one.
This makes us use memcpy instead of a hard coded loop for most of the
filling process.
2008-09-26 05:31:34 +00:00
Aaron Giles
07d208cbbd From: Samuele Zannoli [mailto:samuele.zannoli@airmachine.it]
Sent: Tue 9/23/2008 1:16 PM
To: submit@mamedev.org
Subject: More naomi ...
Hi.

This patch shows the contents of the framebuffer if the 3d accelerator is
not used so that now the atomiswave logo and messages are shown (if you
wait enough).
Removes a maple bug (no more strange messages in cvs2gd).
Improves documentation of the communication registers with the dimm board.
And if DEBUG_VERTICES is defined as 1 the vertices sent to the tile
accelerator are collected and then drawn connected by a segment to give a
wireframe-like view of the scene.

Bye,
 Samuele Zannoli
2008-09-26 05:27:40 +00:00
Aaron Giles
3d65b57f77 From: Micko [mailto:mmicko@gmail.com]
Sent: Tuesday, September 23, 2008 4:46 AM
To: Aaron Giles
Subject: 8080 bug

To fix this bug : http://mametesters.org/mantis/view.php?id=2322
 
a part of my code should be removed.
 
It seams that this feature I have added is only available on KP580BM80A (Russian clone of this processor).
 
So until I make a new patch (that support this clone processor)  please apply this to fix MAME drivers.
 
Thanks,
Miodrag
2008-09-26 05:27:00 +00:00
Aaron Giles
390e9f007c From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Mon 9/22/2008 3:15 PM
To: submit@mamedev.org
Subject: Better Input clean in system1
I've re-made the job better than last time (i hope), clean up the inputs in system1, next time i'll fix all dips location.
Bye Sonikos.
2008-09-26 05:26:15 +00:00
Aaron Giles
0f3e79564d From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Sunday, September 21, 2008 10:45 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] More static qualifiers

Hi mamedev,

Another static function update from yours truly, almost entirely
affecting code added in the last few months to MAME.  The fixes are
the usual lot, changing enum definitions so they aren't declared,
decorating dead code/declarations with #if...#endif, and of course,
adding static where appropriate.  In addition, I fixed a bunch of
UNUSED_FUNCTON symbols to be spelled correctly (I didn't introduce
this).

~aa
2008-09-26 05:25:11 +00:00
Aaron Giles
844dca9402 -listroms knows about device-specific ROMs now. 2008-09-26 05:00:14 +00:00
Couriersud
f82a2aa779 Move memory_region calls into initialization routines. 2008-09-25 23:07:50 +00:00
davidhay
55f42eed2c copy + paste error in geebeeg romset? 2008-09-25 22:19:38 +00:00
Aaron Giles
4ef4716752 Changed indytemc to use the new BIOS stuff. 2008-09-25 16:28:57 +00:00
Aaron Giles
ed87d81e3d From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Thursday, September 18, 2008 6:01 AM
To: submit@mamedev.org
Subject: fix for MT 2252

1 line fix (silly mistake that I was sure I had fixed BEFORE sending the patch) :(

Regards,

    Fabio

---

From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Sent: Friday, September 19, 2008 1:15 AM
To: submit@mamedev.org
Subject: Fix for MT 2258

Regressed in 126u3 due to a wrong tag. Fixed.

   Fabio

---

enclosed please find a patch which makes non-static two pointers to i/o handlers and includes them in megadriv.h. This makes possible for external drivers (in particular MESS genesis emulation) to define elsewhere their own input handlers and to feed them to the megadriv.c routines.

---

From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Mon 9/22/2008 2:15 PM
To: submit@mamedev.org
Subject: fix for MT 2254
Hi,  

enclosed please find a patch which fixes bug 2254. Tags were switched. Thanks to Haze for noticing the root of the problem.

Regards,
    Fabio
2008-09-25 16:27:01 +00:00
Aaron Giles
9b72b5abc4 Added 22VP931 emulation, which is mostly working. Communication works
fine and basic searching/playback/skipping is functional. Still a bit
glitchy.

Firefox improvements:
 - removed need for deprecat.h
 - memory map is complete from schematics
 - gutted laserdisc hacks in favor of actual laserdisc implementation
 - fixed all CPU and sound clocks
 
Removed old laserdsc.c implementation.

Added generic timer devices, which simply allocate a timer but don't
prime it. This is the preferred method for allocating timers, and may 
eventually be the only mechanism for doing so in the future.
2008-09-25 16:21:35 +00:00
Wilbert Pol
e4dc04a323 rescale_notifier() changed to always allow rescaling for screenless drivers. 2008-09-25 10:02:46 +00:00
R. Belmont
45c7d1a094 System 23: fixed sound CPU shared RAM. comms not yet correct. 2008-09-25 03:26:41 +00:00
Couriersud
924e6acf54 Change timer_t to emu_timer * 2008-09-24 21:25:09 +00:00
Couriersud
2376fc84ad 02024: pbobble3, pbobble4, ringrage and clones: Color Regression
* set tile_bpp and sprite_bpp to 4. This reenables previous behaviour for theses games.
2008-09-24 20:23:31 +00:00
Couriersud
28173a071d leland ay8910/12 have all outputs tied together 2008-09-24 19:55:00 +00:00
Couriersud
df41a23888 02191: wseries, basebal2, dblplay, strkzone: Speech quality regression
* use a timer to update dacs per scanline
2008-09-24 19:54:03 +00:00
Aaron Giles
fad77cb08e Fixed AF calculation in mcs48. 2008-09-24 15:54:13 +00:00
R. Belmont
60fd22db00 Updates
System 23:
* Added Rapid River readme
* Adjusted Gorgon h/w MIPS clock to 133 MHz based on readme
* Renamed GP500 to 500GP, which is it's correct name

Game Cristal:
* Use correct BIOS [f205v]

Uploaded to roms/current/g.
2008-09-24 13:34:18 +00:00
R. Belmont
5564389ead Add alternate version of "GameCristal" MAME bootleg.
Includes mamedriv.c I missed with the System 23 checkin.

New games marked as GAME_NOT_WORKING
------------------------------------
GameCristal (version 2.613) [ANY, f205v]
2008-09-24 03:45:21 +00:00
R. Belmont
8e3cd1573d 65816/377xx: fix disassembly of BRL [ShimaPong] 2008-09-24 03:25:11 +00:00
R. Belmont
53bb5e5107 System 23 updates:
* Fixed text layer to show (colors are wrong)
* Added very preliminary support for Gorgon h/w
* Added Rapid River and an alternate Time Crisis 2

New games marked as GAME_NOT_WORKING
------------------------------------
Rapid River (RD3 Ver. C) [Guru, R. Belmont]
Time Crisis 2 (TSS2 Ver. B) [Guru]
2008-09-24 01:27:29 +00:00
Couriersud
a6624fbce7 Fixed typo and added explanation 2008-09-23 20:08:53 +00:00
davidhay
07a34e9cd3 New Games
---------

Chanbara [Tomasz Slanina, David Haywood]
2008-09-23 18:35:10 +00:00
smf-
bc3fdbecd7 removed sprite to tile priority, it doesn't exist. 2008-09-22 21:47:00 +00:00
Couriersud
42dc413890 02156: naughtyb: Wrong RESNET calculation of the green component.
* RGB circuit is driven by a 7407 open collector IC
2008-09-22 20:51:04 +00:00
Aaron Giles
990ef98b53 02280: any set with multiple CPUs: Disassembler freezes when doing a Run on any CPU other than CPU 0 2008-09-22 06:06:23 +00:00
R. Belmont
aca7c102f4 NB1/2: Fixed dips, added diplocations, used latest idioms. 2008-09-21 20:16:06 +00:00
R. Belmont
d0ee12bc4c NB1/NB2: fix default dips. IMPORTANT: you must delete all cfg and nv files for these games! 2008-09-21 16:17:27 +00:00
davidhay
0ccf1e16da reworked neogeo m1 decryption a little [Andreas Naive] 2008-09-20 21:58:34 +00:00
davidhay
acf1eb7cb8 fix some comments 2008-09-20 20:57:57 +00:00
davidhay
ff996589e3 fixed kf2k3pcb decrypt, the checksum (used to generate the key) must be calculated BEFORE the additional bitswap is applied. 2008-09-20 20:34:22 +00:00
davidhay
41e49963f0 the neogeo m1 key is actually generated from a checksum of the first 64kb of the m1 rom (confirmed on real hardware) [cyberwillis] 2008-09-20 20:26:29 +00:00
davidhay
df77920f75 typo 2008-09-20 12:00:00 +00:00
davidhay
3b6ebfba72 ms5pcb decryption is the same, rom was bad 2008-09-20 11:53:46 +00:00
Roberto Zandona
75c3ea62a7 removed unused variable 2008-09-20 09:59:41 +00:00
davidhay
9685c7cf7d decrypt ms5pcb m1 rom, it uses a different bitswap in one of the stages [Andreas Naive] 2008-09-20 07:31:33 +00:00
Andrew Gardner
49c8293fd9 Rewrite of the Motorola DSP56k disassembler. (Andrew Gardner)
(Same changelog as before - found another couple - not worth adding to whatsnew)
2008-09-19 02:49:18 +00:00
Andrew Gardner
66954044d1 Rewrite of the Motorola DSP56k disassembler. (Andrew Gardner)
* Fixes branch relative offset decoding.
2008-09-19 02:28:20 +00:00
Andrew Gardner
e5efb8a895 Rewrite of the Motorola DSP56k disassembler. (Andrew Gardner)
* Removes arbitrary opcode groupings in favor of flat decode model.
* Fixes a number of small issues with unknown opcodes.
* Added the final ALU parallel move ops.
2008-09-19 02:07:52 +00:00
Phil Bennett
b65671f81b Comment out a printf statement. 2008-09-18 23:08:28 +00:00
davidhay
6a3f53319a Correct NeoGeo M1 decryption for all CMC50 sets except ms5pcb [Andreas Naive]
I've ported Andreas' code over, it doesn't work for ms5pcb, there is probably an additional lineswap or something, I've asked him to look at it.  Some of the bootlegs are still using decrypted roms but that should be correct IMO.
2008-09-18 22:34:49 +00:00
Phil Bennett
49b0c4feb3 New games added or promoted from NOT_WORKING status:
TX-1 (Atari/Namco/Taito license) [Phil Bennett, Guru]
2008-09-18 21:36:17 +00:00
Brian Troha
d1a9e0d0ce Adds newest Naomi 2 BIOS 2008-09-18 21:06:16 +00:00
Aaron Giles
7f819dbfef Cleanups and version bump. 2008-09-18 16:17:42 +00:00
Aaron Giles
acc32658ac From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Thursday, September 18, 2008 6:01 AM
To: submit@mamedev.org
Subject: fix for MT 2252

1 line fix (silly mistake that I was sure I had fixed BEFORE sending the patch) :(

Regards,

    Fabio
2008-09-18 16:11:25 +00:00
Aaron Giles
5f597be8b1 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Sent: Wednesday, September 17, 2008 10:31 PM
To: submit@mamedev.org
Subject: Shadow Force clocks

Verified cpu clocks and corrected/verified OKI M6295 frequencies and pin

7 status. Updated Xtal.h file
2008-09-18 16:09:58 +00:00
Aaron Giles
c61b8ff249 From: Luigi30 [mailto:luigi30@gmail.com]
Sent: Wed 9/17/2008 10:00 AM
To: submit@mamedev.org
Subject: 40love.c fix
Fixes bug 2210

Actual fix from MASH
2008-09-18 16:09:09 +00:00
Aaron Giles
dad99e7107 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Sat 9/13/2008 5:15 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Make NBA Jam TE a set
Hi mamedev,

This patch treats NBA Jam TE versions as a set, rather than treating
them as clones of NBA Jam.  The treatment of sets varies throughout
MAME, this choice is emphasizing the fact that the games were distinct
from NBA Jam, with different marquees et cetera.

~aa
2008-09-18 16:07:12 +00:00
Aaron Giles
495d0c53ba Initially, this was to address adding the DIPs for the game, Birdie Try.
After adding these, I downloaded all manuals for the driver (couldn't find a
Boulder Dash manual) and I validated the DIPs with the manual and ensured that
the service mode (when available) matched up as well.  I also added DIP
LOCATIONS for all sets in the driver.  There were also a couple DIP items set
up in the source which did not show in the manuals I obtained - so I noted
these facts in the driver.

This .DIFF is based on 0.127u3 sources and resolves MAMETesters Bug #01897.

Tafoid
tafoid@yahoo.com
2008-09-18 16:03:03 +00:00
Aaron Giles
d4cfc65c9b I was checking the game CATAPULT and noticed this game, despite not working
due to bad roms had a fully working service mode.  I also noticed the DIP
locations were well documented on-screen and differed some from the ones in
source.  I took the time to read up on how to assign DIPs correctly - but I was
frustrated initially thinking I didn't understand it.  I spoke to ETABETA about
this and it seems I picked an uncommon game/driver which doesn't have normal
mapping locations (for whatever reason) and that I'd need to find out what each
value is actually doing.  As a result and some work and some more help - I was
able to understand how to do this and reworked the DIPs to what is output in the
service mode for all games (except for Revenger) which did not work enough at all.
While I was there, I added DIP LOCATIONS for all sets.  I would assume this
eventually benefit from a PORT_CUSTOM implementation.

This .DIFF is based on 0.127u3 sources.

Tafoid
tafoid@yahoo.com
2008-09-18 16:01:44 +00:00
Aaron Giles
2cb15a9047 From: Barry Harris [mailto:barry@barryharris.me.uk]
Sent: Monday, September 15, 2008 5:31 AM
To: submit@mamedev.org
Subject: Patch for new dumps

Hi,

I have attached a patch which adds support for the following;
* The "Three Wonders (Hack?)" dump from the EMMA dumping team (I'm not
100% sure of the CPS B-ID this should use)
* The "Marvel vs. Capcom (Euro 980123)" dump by bonky_0013 (this becomes
the parent set).

Regards,

Barry Harris
2008-09-18 16:00:41 +00:00
Aaron Giles
db3e968a6d CPU-internal regions now have priority again. Fixed mario by
installing a handler in the SOUND_START function.

02249: All Sets in zn.c: Game Hangs 
02248: All sets in m58.c: No sound in game 
02241: kncljoe, kncljoea: Missing AY-3-8910A sound effects. 
02240: All Sets in namcos12.c: Game Freeze 
02239: stunrun: No OKI6295 sound.
2008-09-18 15:54:25 +00:00
Aaron Giles
eab7222f92 Fix compile error. 2008-09-18 15:35:44 +00:00
Aaron Giles
1eb3c2d964 Changed requirements for laserdisc CHDs to require a new chunk of
metadata with pre-decoded frame information. Modified chdman to
automatically produce this for CHDs that are of the appropriate
parameters. To fix up existing CHDs, use chdman -fixavdata on the
CHD.

Modified the laserdisc core to leverage the pre-decoded frame
metadata, which is now required. This improves seek times when
searching and allows the player-specific emulation access to the
VBI data as soon as it would really be available. Changed update
callback timing to fire just before the first line of VBI data
would be read; at that point, the frame selection is assumed to
be committed. 

Converted PR-8210 emulation over to using the actual MCU from the
laserdisc player. This MCU controls low-level functions such as
slider position and laser on/off, and receives decoded vertical
blanking data in order to make decisions. Removed old HLE behavior.
Note that the overlay text is displayed via the UI; this is
temporary and will be fixed shortly.

Converted Simutrek-hacked laserdisc emulation to using the actual
MCU from the game, which in turn hands off commands to the PR-8210
MCU. This is still not 100% but is pretty close at this point and
achieves the correct behaviors in most cases.

Fixed Cube Quest overlay scaling to cover the whole screen.

Changed laserdisc video parameters to position the screen area at
the bottom rather than the top, since this corresponds more closely
to standard line numbering.

Extended the vbiparse code to support pack/unpack, and to more
fully document all the meanings of the VBI codes.

Updated ldplayer to support slow/fast forward movement, frame/chapter
display, and separate controls for scanning/stepping.

Added new built-in variable "frame" to the debugger.

Fixed device-based ROM loading to support loading ROMs from the
game's ZIP as well.
2008-09-18 15:17:42 +00:00
smf-
8e4ed69247 improved display, not sure if it's accurate. 2008-09-18 07:54:11 +00:00
Brian Troha
c6e60c5378 updated some rom names to correct labels. Actual rom dump will be verified against a New Jersey set in a week or so. 2008-09-17 21:30:09 +00:00
Curt Coder
b42e581368 [SG1000A] Fixed refresh rate and interrupts, added 8255PPI and coin counter. Fixes bug #02233, please credit Tafoid for that. 2008-09-16 18:35:16 +00:00
Roberto Fresca
ca5fa888aa Hotminda:
Full controls, plus complete DIP switches and port locations. Promoted to working.
This set has adjustable prize.


New clones added
----------------
Hot Mind (adjustable prize) [David Haywood, Roberto Fresca]
2008-09-16 07:12:19 +00:00
davidhay
4ee7a57a71 Jaleco 'Bomb's Away' Improvements [aDG4W+qp0] 2008-09-15 09:27:37 +00:00
Nicola Salmoria
0e24966dd1 adjust coinage dips 2008-09-15 08:24:22 +00:00
davidhay
e056f3782f replace vf4 keyfile with correct one. 2008-09-15 07:37:03 +00:00
Nicola Salmoria
8109e2a0e8 from 9IEM1smI0: fixed inputs in Main Event (SNK) based on the info in http://otoya.sheep-cloud.net/dipsw/ma-mo/mainevent.html 2008-09-15 05:23:37 +00:00
Nicola Salmoria
b1ae1a0d6c the coin inputs don't appear to be ACTIVE_HIGH after all.
02242: ikarijp, ikarijpb: Test screen now required to be cycled to enter game.
2008-09-15 04:52:23 +00:00
davidhay
5ac9465f70 added 'sderbya' set, it's actually a version of hotmind running on magic sticks / power balls hardware. I haven't mapped the inputs yet. 2008-09-15 00:12:50 +00:00
Phil Bennett
55805d22ce Added correct colour PROMS to arkatour [Dazzer] 2008-09-14 19:03:17 +00:00
Phil Bennett
6ff2372d8c Namco NA-2: Use real C70 BIOS. Removed sound and input simulation code. Changed the NA-1/2 MCU type to M37702. 2008-09-14 17:51:01 +00:00
smf-
75e68187dc preliminary firefox emulation. 2008-09-13 07:58:39 +00:00
Aaron Giles
fc453dc652 Fixed crash when hitting watchpoints on static handlers. 2008-09-13 06:36:29 +00:00
Roberto Fresca
0bf917467e Added lamps support + layout to magjoker and galaxi.
Magjoker has a good lamps sequence in the attract.
2008-09-12 23:56:09 +00:00
R. Belmont
c66c4d162e Namco NB-x: Use real C75 BIOS, read controls the real hardware way. 2008-09-12 21:15:18 +00:00
Andrew Gardner
22e84a0585 Part 12 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-12 15:27:13 +00:00
Roberto Fresca
9f029c6956 Improvements to Funworld driver:
- Added new clone: Pool 10 (italian, set 4).
 - Improved lamps layout for all games.
 - Added Pool 10 pinout and DIP switches info.
 - Updated technical notes.


New clones added
----------------
Pool 10 (italian, set 4) [Roberto Fresca]
2008-09-12 03:33:45 +00:00
Phil Bennett
fe9541407a Added redump of indytemc.
[Dazzer]

There's sprite/playfield flipping issues, hence GAME_IMPERFECT_GRAPHICS...
2008-09-11 22:26:28 +00:00
Brian Troha
8048eb8422 Make "World" the default for Tengai (World) :-p 2008-09-11 21:47:56 +00:00
Brian Troha
1cbefbf928 New Clone added - Tengai (World)
True world set with World, USA & Canada, Korea, Hong Kong, or Taiwan

Minor clean up of port include dipswitch defs

New clones added
----------------
Tengai (World) [Jet Black / Tormod]
2008-09-11 21:43:59 +00:00
Tomasz Slanina
2575571021 Added 'Funny Land de Luxe' to adp driver.
Updated pcb info.

New games marked as GAME_NOT_WORKING
------------------------------------
Funny Land de Luxe [Tomasz Slanina]
2008-09-11 18:58:04 +00:00
Aaron Giles
aa2b6bd29a Cleanups and version bump. 2008-09-11 16:25:46 +00:00
Aaron Giles
ae2d1ed21a Ok, I submit. Maximum tag length is 15. Be good. 2008-09-11 16:04:35 +00:00
Aaron Giles
70e6d31c73 correct dip settings, verified in game and tested with -valid
http://mametesters.org/mantis/view.php?id=2198

Best regards

Mike
2008-09-11 15:58:37 +00:00
Aaron Giles
3d1dbafcc2 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: Machine -> machine

This is a big patch adding running_machine* parameters and using 
"machine" where available.
2008-09-11 15:57:52 +00:00
Aaron Giles
f67c8732b2 From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Subject: Several patchlets

    ledutil.diff
- checking if memory is allocated before using it is good, freeing what
has
been allocated in the error path is better
2008-09-11 15:40:54 +00:00
Aaron Giles
0b3ae8f72d C352 cleanups
Remove an unused volume table dating from before the volume was
    (correctly) implemented as linear.
    
    Add a tab where appropriate.
2008-09-11 15:38:20 +00:00
Aaron Giles
9b94257dc8 In addition to this patch, I fixed up the Atari System 1 BIOS handling
and added an empty BIOS driver for it.

Here is a patch file with the following changes:

* Added new Atari System 1 Motherboard BIOS dump from a LSI motherboard
* Added a new ROM dump from a Marble Madness LSI Cartridge
* Changed the hardcoded MHz values in the Cave driver to the XTAL
equivalents
* Updated the Cave driver for the game Guwange with gals that need to be
dumped
* Updated the Jail Break driver with the dip locations
* Corrected the Jail Break driver sound chip from a SN76496 to a SN76489
* Corrected the Jail Break rom names
* Redumped the Jail Break VLM rom dump
* Corrected the Super Basketball Revision H rom dump
* Updated the Super Basketball driver with the dip locations
* Corrected the Super Basketball VLM XTAL
* Corrected the Super Basketball parent/child relationships by making
the
Revision H the parent
* Turned on save state support for the Super Basketball driver
* Updated the Sega System 1 driver with more board information on the
Choplifter bootleg and updated the placeholders for the pals that need
to be
dumped
* Updated the WWF Wrestlefest driver rom names
* Added save state support to the WWF Wrestlefest driver
2008-09-11 15:37:34 +00:00
Aaron Giles
d30fa0bcfb From: Mike Green [mailto:mikedx@gmail.com]
Subject: mametesters bug #614

Please find attached fix for bug 614

acceleration pedal now on up/down key.

It makes sense that the "down" key means push pedal down and "up"
means lift pedal up, however I am unsure that this is what the player
may expect.

http://mametesters.org/mantis/view.php?id=614


Best regards

Mike
2008-09-11 15:15:17 +00:00
Aaron Giles
b10a182054 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Even more reset/multisession cleanup

Hi mamedev,

These two patches try to reduce the amount of variable in .data, which
usually point to multisession/reset bugs or missing const qualifiers.
The first patch just adds const to a number of items, moving them from
.data to .rdata.  The second patch sets other items to zero (moving
them to .bss), adding reset/init code where appropriate.

~aa
2008-09-11 15:14:39 +00:00
Aaron Giles
746ab44148 Hello,
Found few things not right in 8080/8085 implementation.
 
1. ANA/ANI instruction, HF flag was not set right because error in calculation of it (missing brackets)
2. 8080 have NF flag always set (it is not used flag but bit is always set)
3. On unused ports/not connected memory values from status word were readed not 00 or FF, that is why I add it as a new internal register, it can also be buffered by some external hardware, so this could help other implementations too.
 
Regards,
Miodrag Milanovic
2008-09-11 15:10:41 +00:00
Aaron Giles
c48c851c8d 02206: cubeqst: Cubequest now missing narrator and music during attract mode 2008-09-11 15:07:38 +00:00
Aaron Giles
6d26419b72 02207: marioj, marioo: Access Violation 2008-09-11 14:37:23 +00:00
Aaron Giles
2398d51941 Fixed memory handling of internal banks. They should be LOWER priority than
the driver's memory maps.

Reverted recent changes to MCS-48 core that were very hacky and which crashed
many games. You can now properly override the internal memory map and do
your own banking.

Also fixed 02204: masao: Memory bank error.
2008-09-11 14:33:52 +00:00
Roberto Fresca
1510ffd2e3 Improvements to Croupier (Playmark Roulette):
- Simulated the MCU communication/protection.
  The game seems to work properly, but is hard to win.
  I conserved the game flags till we have the MCU decapped,
  and emulated properly.

- Added full sound support.
- Added lamps support + layout.
2008-09-10 23:47:12 +00:00
davidhay
98f430a552 marked vf4 key as incorrect. 2008-09-10 22:18:21 +00:00
davidhay
112cfd4dc1 more n2 gd-rom stuff 2008-09-10 20:25:46 +00:00
Wilbert Pol
a004308575 Fix stupid compile error 2008-09-10 19:31:41 +00:00
Wilbert Pol
815cf5f076 MESS specific update. 2008-09-10 19:14:18 +00:00
Pierpaolo Prazzoli
fcd9a40755 Added sprites buffering to Limenko driver and removed imperfect video flag from spotty.
Can someone take a look at spotty sound? I think I've some basic stuffs hooked up
2008-09-10 17:02:22 +00:00
davidhay
51f402201a started adding naomi2 sets. 2008-09-10 08:07:25 +00:00
Aaron Giles
a9b7f2d1a4 Further reduced the maximum tag length to 10 characters, since
there were only a few cases where longer tags were in use.
2008-09-10 06:29:24 +00:00
Aaron Giles
e647d9be1a Adjusted tags in drivers to meet conformity checks. Promoted checks to
full errors.
2008-09-10 06:24:46 +00:00
Aaron Giles
e5ec7b2687 Fixed memory leak due to recent input changes. 2008-09-10 06:02:22 +00:00
Roberto Fresca
f599e6d274 More cleanups and improvements to Super Derby driver.
- Fixed memory maps.
- Documented Super Derby outputs.
- Added lamps support + layout to Super Derby.
- Fixed the phisical RAM size to all games.
- Fixed the wrong NVRAM size to spacewin (16Kb instead of 16KB).
- Added proper NVRAM to sderby and pmroulet.
- Added the missing 3rd input to pmroulet (needed for 3-button mode).
- Cleaned up the driver.
2008-09-09 23:51:25 +00:00
Aaron Giles
ec2639d221 OSD notice: you now need to report separate mouse up/mouse down events
for this new support to work.

Clickable input support. Mostly by Nathan. A few changes from the
proposal:

* as far as the layout is concerned, states are 0 (off) or 1 (on) and
   aren't impacted by the port's ACTIVE_HIGH or ACTIVE_LOW

* instead of checking each individual field for a hit, we look to see
   what is hit once per frame and then just check against that; this
   is faster, but does limit us to a single hit item

* added function input_field_by_tag_and_mask() to look up a particular
   input_field_config by tag and mask; this makes it possible to easily
   get the port default value or other information as necessary
2008-09-09 17:11:52 +00:00
Aaron Giles
9b4e46fad5 Changed DEVICE_START functions to return an error code. Currently this
is either DEVICE_START_OK or DEVICE_START_MISSING_DEPENDENCY. The latter
should be returned by a device if there is another device it depends on
which hasn't been started yet. Added new flag in the device interface to
indicate whether a device has been started.

Changed laserdisc interface to explicitly specify the screen and sound
devices it should route to. Drivers no longer have to manually call
laserdisc_vsync(). Instead, the laserdisc code connects up to the routed
screen device and works based on that screen's VBLANK timing. Removed
all existing calls to laserdisc_vsync().

Changed laserdisc behavior so that it completes the previous video read
and initiates the next read at the end of VBLANK instead of the beginning.
This gives player logic time during VBLANK to alter the slider position
prior to fetching the next frame.

Added new laserdisc callback for vsync begin and changed the update
callback to be called at the end of VBLANK. Also added functions to set
the slider speed, advance the slider, and directly control the video/
audio squelch. In addition, there is a new status function to get the
slider position in general terms.

Added parameter to the VBLANK callbacks supported in emu/video.c. Updated
all callers to provide a callback value.

Fixed bug that would cause watchpoints to trigger if you had a memory
window open to the watchpoint address.

Further updates to the PR-8210 ROM simulation. Still not quite there but
the system is much better understood now. Added layout to the PR-8210
which displays the state of the front-panel LEDs.
2008-09-09 16:10:11 +00:00
Andrew Gardner
bd8c06c155 Part 11 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-09 04:29:13 +00:00
Roberto Fresca
0ad067f14d Space Win changes:
- Some corrections to the memory map.
- Added proper working RAM.
- Added Dallas DS1220Y NVRAM.
- Added output port.
- Added lamps layout.
- Added complete inputs.
- Changed description to "Scacco Matto / Space Win" since the default game is Scacco Matto.

You must enter the service mode and change graphics in order to switch the game.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Scacco Matto / Space Win [David Haywood, Roberto Fresca]
2008-09-09 01:11:43 +00:00
davidhay
95762c625f found sprites, needs controls 2008-09-08 19:05:15 +00:00
davidhay
5e23dea766 preliminary support for Space Win / Scacco Matto from Playmark, currently the cards don't display... (sprites? spriteram isn't populated) 2008-09-08 18:59:25 +00:00
Andrew Gardner
dcb6d50706 Part 10 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-08 06:15:08 +00:00
Nicola Salmoria
3c7aa41306 02205: jackal, jackalj, topgunbl, topgunr: Enemy tank colors are wrong 2008-09-08 05:07:11 +00:00
Nathan Woods
30dcca1594 Created a hook for populating MESS-specific main menu items 2008-09-08 03:34:15 +00:00
Aaron Giles
f5d90dac56 CPUs, sound chips, devices, and ROM-regions which are specified by devices
now have their tags auto-prefixed with the device's tag. This allows for
multiple instances to be present. For example, the PR-8210 laserdisc player
has a CPU with a tag of "pr8210". When it is included as a device by a
driver, the driver may tag the device "laserdisc". The resulting final
CPU tag name will be "laserdisc:pr8210". Also updated the debugger
expression engine to support names with embedded colons.

Added warnings to ensure that tags used for CPUs, sound chips, regions, and
devices follow some basic rules: they should be less than 12 characters long,
be all lower-case, and only contain letters, numbers, underscores, or dots
(no spaces). This is to ensure that they can be used properly in debugger
expressions and don't get too long or unwieldy to type (even 12 chars is a
bit long).
2008-09-08 03:05:09 +00:00
Andrew Gardner
9af15fd27f Part 9 of "The big IO_MAP merge of 2008". (Andrew Gardner)
* Because twinadv (snowbros.c) had a crash introduced in 127u1, I wasn't able to test the results of the automated IO_MAP merge operation.  It's a simple map though, so I don't expect any difficulties.  I apologize for not having the time to fix the bug myself (mantis : 02184).
2008-09-07 20:33:53 +00:00
Phil Bennett
c538e495b8 Added redumped welltris program ROMs (credit 'Dazzer') 2008-09-07 12:53:31 +00:00
Nathan Woods
f1d5b2a1ec Added a core_fopen_ram_copy() call, similar to core_fopen_ram() except that it
copies the memory
2008-09-06 22:47:05 +00:00
Aaron Giles
c0b1419a96 Added concept of rom sources to the rom loader. Updated auditing,
CLI utilities, validity checks, and ROM loading to use these new
functions so that device-specific ROMs are handled properly.
2008-09-06 22:17:37 +00:00
Brian Troha
7097684ac8 adds Super Gran Safari to mamedriv.c to enable it ;-) 2008-09-06 20:21:13 +00:00
Pierpaolo Prazzoli
986ddf9bef Fixed sprites in imago [Pierpaolo Prazzoli, Tomasz Slanina] 2008-09-06 17:04:30 +00:00
Andrew Gardner
4fd10c4ea8 Part 8 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-06 16:46:07 +00:00
Andrew Gardner
b010f791c1 Part 7 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-06 15:21:38 +00:00
davidhay
ecb8a184d4 let's just have one way of mapping the ports in Shadow Force. This way makes most sense, each port is a physical element of the board, we descramble in the code. 2008-09-06 12:10:31 +00:00
davidhay
79dc6729ca adds clone tnzsjn
The NewZealand Story (Japan, newer) [Tirino73]
2008-09-06 11:48:45 +00:00
davidhay
689cefab97 moved all naomi-gd keys to external 2008-09-06 09:26:45 +00:00
Aaron Giles
20bbc6726f Fixed potential crasher when the player-specific info was not found
for a laserdisc player.
2008-09-06 07:03:42 +00:00
Aaron Giles
a6c3d9b671 Moved reset to default behavior in the cheat menu to IPT_UI_CLEAR. 2008-09-06 06:59:35 +00:00
Aaron Giles
89730e4d28 Added built-in "Off" states to the cheats with parameters. This is
also the default state, obviating the need for a default value. Removed
the "default" attribute as a result. Switching from "Off" to another
state first executes the "on" script followed by the "change" script.
Switching to "Off" from another state executes the "off" script. While
not off, the "run" script is executed each frame.
2008-09-06 06:57:47 +00:00
Aaron Giles
8c9f7cbc76 Added new device interface selector: DEVINFO_PTR_ROM_REGION. This allows a
device to provide a set of ROM regions to be loaded along with the game
ROMs. It is expected that most regions defined for devices will use the
ROMREGION_LOADBYNAME flag to enable the ROMs to live in a central location.

Added new device interface selector: DEVINFO_PTR_MACHINE_CONFIG. This allows
a device to specify a partial machine driver which is appended to the end of
the machine driver for any game using that device. The intention for this is
to allow devices which have their own BIOS logic to specify CPUs and other
characteristics common to all systems using the device.

Added new ROMREGION flag: ROMREGION_LOADBYNAME, which means that if the ROMs
in that region are not found in the usual driver files, then the name of the
region will be used as a driver filename for loading.

Extended the ldcore interface structure to allow each player type to provide
its own ROM region and partial machine driver.

Moved preliminary PR-8210 emulation code from ldplayer.c to ldpr8210.c. It
is currently disabled behind the EMULATE_PR8210_ROM compile time flag.
2008-09-06 06:36:32 +00:00
Roberto Fresca
2c605c0528 Changes to magic10 driver.
- Better structure and organization.
- Added Super Gran Safari.
- Added improved lamps layout to Super Gran Safari and Magic's 10.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Super Gran Safari [Roberto Fresca]
2008-09-06 05:24:37 +00:00
Roberto Fresca
520c511cd0 Some corrections/optimizations. 2008-09-05 21:31:13 +00:00
davidhay
46a808f72d continued adding naomi gdrom chds 2008-09-05 19:58:44 +00:00
Nicola Salmoria
613cc4539f merged memory maps 2008-09-05 13:27:43 +00:00
Nicola Salmoria
22348c290f fixed bg tile banking in Canvas Croquis
removed snkwave since it doesn't seem to be used and might not be present on the pcb at all
general driver cleanup, bringing it in line with snk.c but not merging it since somthing doesn't quite fit
2008-09-05 12:52:39 +00:00
Nicola Salmoria
ff15df471f coin inputs seem to be active high (except for jcross) 2008-09-05 12:43:37 +00:00
Pierpaolo Prazzoli
c0802d7f0d Added newer parent set for Imago, which is also a cocktail set for the 2nd player.
New clones added
----------------
Imago (cocktail set) [Chris Hardy]
2008-09-05 09:11:12 +00:00
davidhay
a2f1e496d5 more naomi gd-rom chds 2008-09-05 08:01:40 +00:00
davidhay
274333faef continued adding naomigd chds 2008-09-05 06:49:41 +00:00
davidhay
b0603ed003 ragtimea : correct rom loading generally helps. 2008-09-05 06:07:32 +00:00
R. Belmont
9cb4b8e665 This links on some combination of tools somewhere? Seriously? 2008-09-05 04:02:57 +00:00
Brian Troha
54fd9a4b0b New Clone (not working)
New clones added
----------------
The Great Ragtime Show (Japan v1.3, 92.11.26) [Stefan Lindberg]

Renamed the roms for the Japanese v1.5 from kh_0x-1 to kh_0x-2 like the other v1.5 sets.  This new earlier version is the "true" kh_0x-1

Slight update to info... the PAL "VF-00" wasn't mentioned.  PCB picture is at http://arcade.ym2149.com/

This rom set is not working.  Bad dump???  Slightly different encryption???  Emulation issue???
2008-09-05 03:02:03 +00:00
Brian Troha
f8193e20e8 Additional documentation for Egg Venture & Lethal Justice
Added JAMMA pinout
Gun Connector pinout
Sound & Amp information
2008-09-05 02:13:29 +00:00
davidhay
7d8c534137 started changing naomi gdrom sets to load the CHDs 2008-09-04 23:47:11 +00:00
Pierpaolo Prazzoli
e8ffe5a711 Implemented playfield 1 and playfield 2 y-offset table. This fixes, at least, the water effect in riskchal and the text fading effect in the matchit2 demo. [Pierpaolo Prazzoli, Tomasz Slanina] 2008-09-04 18:05:49 +00:00
Aaron Giles
4c8f0225a7 Added missing include. 2008-09-04 16:52:36 +00:00
Aaron Giles
a4bca37f81 Cleanups and version bump. 2008-09-04 15:31:56 +00:00
Aaron Giles
05915406d0 Missing include. 2008-09-04 15:11:10 +00:00
Pierpaolo Prazzoli
83b31ba4ce Little change about the video partial update in Shadow Force, calling the update inside the raster timer 2008-09-04 10:36:49 +00:00
Aaron Giles
a50feca332 From: Barry Rodewald [mailto:bsr@xnet.co.nz]
Subject: Update to MC146818 RTC

Hi,
Here's a small patch to the MC146818 code, which gives a basic 
implementation of the "update ended" interrupt flag.

The code is based on the behaviour of the Aleste 520EX (Russian Amstrad 
CPC clone) BIOS, which periodically (about 7 or 8 times a second) checks

the flag to see if the date and time display on the BIOS setup screen 
needs to be updated.  Without the flag implemented, the date and time 
are static on the setup screen, or if the time hasn't been initialised 
(blank NVRAM) it is blank.

The BIOS function that does this basically checks bit 4 of register 
0x0c, and if 0, ends there, otherwise it will read register 0x0b, sets 
bit 7 of the result and writes it back to register 0x0b (presumably, 
this resets the interrupt flags).  Then it continues on to the display 
refresh function.
(Disassembly attached)
2008-09-04 09:07:03 +00:00
Aaron Giles
503786f7d7 From: Mike Green [mailto:mikedx@gmail.com]
Subject: rockduck_02137

Fixes mametesters mantis bug 02137. checked with -valid

http://mametesters.org/mantis/view.php?id=2137

--

From: Mike Green [mailto:mikedx@gmail.com] 
Subject: mooncrgx bug: 2075

Fixes bug 2075 in mametesters, duplication of upright/cocktail dipswitch

http://mametesters.org/mantis/view.php?id=2075
2008-09-04 09:06:13 +00:00
Aaron Giles
7c568de573 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: missing SHA1 checksums

This patch adds the missing SHA1 checksums to the atrowar set and 
fixes a comments in a disabled block.
2008-09-04 09:04:45 +00:00
Aaron Giles
c27f7296e0 Double Dragon (bootleg)
From Sonikos
2008-09-04 09:03:47 +00:00
Aaron Giles
8831895bae From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: a few patches

Hi,

enclosed please find a few patches that finally conclude my 
input_port cleanups. I will still probably change some bit 
here and there, but there will be no more massive changes 
which could collide with current developments. 

Notice that, after applying these patches, indexed input reads 
remain only present in CPU interfaces (e.g. all the yamaha 
interfaces when the sound cpu is used to read inputs) and no 
more 16bit/32bit indexed read are present at all in MAME or 
MESS source. Therefore, you may consider the removal of 
input_port_N_word_r & input_port_N_dword_r, if you think you 
don't need them anymore.

More in detail:

* patch01.diff & patch02.diff: conclude the cleanup for 
drivers W -> Z

* primrage.diff: changes the start buttons with input buttons 
in primrage, as per the test mode (no start button is reported) 
and the control panel (see 
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=161107 )

* drivedge.diff: makes drivedge ports fully 32bit and removes 
the protection bit (which seems not to be used in this game, or 
at least not in the port where it was tested since at least MAME 
0.100)

* duplicate.diff: introduces a PORT_CUSTOM which returns a tagged 
input (like a input_port_read). this could be useful for those 
games which require to read the same 8bit (resp. 16bit) input in 
both the upper and lower half of a 16bit (resp. 32bit) port. you 
can see its use for this purpose in the modified drivers (fuukifg3, 
dreamwld, cojag etc.)

Regards,

     Fabio Priuli
2008-09-04 09:02:10 +00:00
Nicola Salmoria
7c90a0cd38 fixed emulation of the "SNK Wave" custom sound used by Marvin's Maze and Vanguard II and made it into a proper sound core
fixed palette decoding of early SNK games (from marvins to athena + fitegolf). The least significan bits were assigned incorrectly.
merged marvins.c into snk.c, with all resulting fixes (removed hacks, correct shadows, scroll offsets etc)
2008-09-04 08:57:02 +00:00
Aaron Giles
f724e4c6bf From: Luigi30 [mailto:luigi30@gmail.com]
Subject: lethalej fix

Fixes bug 02179
2008-09-04 08:55:49 +00:00
Aaron Giles
cffe201094 From Oliver Stoeneberg [oliverst@online.de]
This contains three different patches:

20080829.patch
Introducing the running_machine* parameter in a few more places. Next 
step would be to make the execute_* function aware of it, if that's 
OK. Also used the machine parameter in memory.c were it's available.

20080829_1.patch
The already discussed and probably being rejected removal of 
dreprecat.h from debugger.h. I think this is a low-risk patch (we had 
worse cleanups) and it lowers the risk of new code using deprecated 
function beign introduced in MAME/MESS, because there is no invisible 
inclusion of deprecat.h anymore (I think one driver - kofball.c - got 
it with deprecated code).

20080829_2.patch
The last Machine -> machine conversion I had sitting in my local 
tree. I know the proper way is to turn them into devices, but I still 
haven't looked into that.
2008-09-04 08:55:01 +00:00
Aaron Giles
c1f0164f5d Split core laserdisc functionality into separate file ldcore.c.
Each player now gets its own source file, along with new hooks
which enable more precise control over the behavior. Updated the
PR-8210 and LD-V1000 implementations to the new spec. Other 
players will come online shortly.

Changed scan behavior so that it requires a constant stream of
signals to continue scanning. Updated ldplayer accordingly.
2008-09-04 08:48:57 +00:00
Andrew Gardner
b660cc0f70 Part 6 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-04 04:09:06 +00:00
Brian Troha
b95a80ceb6 fix cut-n-paste error in rom name for Hard Yardage 2008-09-04 04:03:44 +00:00
Brian Troha
f4aa18e0a6 added PCB info for Hard Yardage & earlier World Class Bowling. Corrects a few rom names. 2008-09-04 03:38:22 +00:00
davidhay
0fef3144dd adds Fist of the North Star and (partial) Demolish Fist sets (Atomiswave) and decryption [Andreas Naive] 2008-09-03 22:54:44 +00:00
Aaron Giles
95aec1fffb Changed refreshspeed target to 0.25Hz below rate provided, in order to guarantee that
inexact timings do not lead to sound stuttering.
2008-09-03 17:44:08 +00:00
Andrew Gardner
8d6c8cf5e8 Part 5 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-03 05:28:28 +00:00
stephh
ec7ac6f0b2 Fixed Dip Switches and Inputs for 'hal21', 'hal21j' (same as 'hal'), 'fitegolf', 'fitegol2' (same as 'fitegolf') and 'countryc'. 2008-09-02 21:45:07 +00:00
Nicola Salmoria
ceb28ace28 merged hal21.c into snk.c
removed hacks and kludges
fixed colors (I think--though some sprites do look weird)
2008-09-02 19:31:57 +00:00
Nicola Salmoria
5bd3539147 fixed sound in Jumping Cross
adjusted some input bits in several games
2008-09-02 13:40:54 +00:00
Andrew Gardner
73ec4e17b6 Part 4 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-02 01:23:59 +00:00
Andrew Gardner
09231710bc Part 3 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-01 23:52:31 +00:00
Pierpaolo Prazzoli
f22c328768 Better fix for the visible area in Shadow Force, that was checked from the original pcb by Stefan Lindberg. 2008-09-01 19:46:08 +00:00
Curt Coder
960126c596 [COP410] Enabled internal program map. 2008-09-01 19:37:46 +00:00
Andrew Gardner
2c2cff0bd3 Part 2 of "The big IO_MAP merge of 2008". (Andrew Gardner) 2008-09-01 17:47:24 +00:00
Aaron Giles
2c888574b1 Changed all MCS-48 chips to have a 12-bit address space, regardless
of internal ROM size.
2008-09-01 16:50:45 +00:00
R. Belmont
e425af8dc6 [39in1] Added decrypt. Doesn't get far due to very odd RAM check routine. [Andreas Naive] 2008-09-01 16:09:23 +00:00
Pierpaolo Prazzoli
7f6480e75b Shadow Force changes:
- Added irqs ack
- Implemented raster irq
- Fixed coin2 and service input not working during the game
- Added watchdog
- Fixed visible area
- Added video enable and irqs enable flags
2008-09-01 15:17:59 +00:00
smf-
2bccf6a3b0 commented out debug code that mingw didn't like because it was wrong. 2008-09-01 13:12:26 +00:00
smf-
b258d93893 converted timekeeper to a device, all default contents are loaded from disk. slapshot & opwolf3 read/write memory map have been merged. 2008-09-01 12:41:32 +00:00
Nicola Salmoria
adaa2afe49 oops missed check in 2008-09-01 10:04:46 +00:00
Nicola Salmoria
ece47eee98 repalce aso ROMs (which were possibly from a bootleg) with split ones that are definitely from an original. Renamed ROMs across sets accordingly. 2008-09-01 10:03:25 +00:00
Nicola Salmoria
ca680234fc added another ikari us clone
renamed ikaria to ikarinc (for Ikari No Continues)
ikari is the JAMMA board, with conitnues
ikaria is the non-JAMMA board, with continues
ikarinc is the non-JAMMA board, without continues

New clones added
----------------
Ikari Warriors (US) [Nicola Salmoria]
2008-09-01 09:09:02 +00:00
Jonathan Gevaryahu
bc1c78a5b9 update TMS5100 LPC tables based on mathematical analysis of 1st and 2nd derivatives of the values and comparison to the best quality patent image, which nearly always showed which values were in error. Some off-by-one issues may remain, but it is now nearly perfect. Further perfection will require PROMOUT dumping, which is planned. 2008-09-01 06:53:39 +00:00
Roberto Fresca
1ed1bcaf7f Added "Mad Zoo" from Bordun International. Also added a PCB layout to the driver.
New games marked as GAME_NOT_WORKING
------------------------------------
Mad Zoo [Roberto Fresca]
2008-09-01 01:10:27 +00:00
R. Belmont
2db405979c [ARM7] Remove unnecessary hooks so MRC and MCR disassemble properly. 2008-08-31 20:30:29 +00:00
R. Belmont
ea2944f2a4 [M377xx] - Fixed: 8-bit I/O port reads no longer cause bogus reads of neighboring ports. 2008-08-31 20:29:08 +00:00
Nicola Salmoria
c35d83a32b Corrado confirms the bootleg gwar pcb has the rotary connector so added it back. Changed the default to be joystick only, though, and removed code duplication.
Fixed jcross cabinet dip switches.
2008-08-31 20:16:40 +00:00
Andrew Gardner
8a5c4544b9 The meager beginning of "The big IO_MAP merge of 2008". (Andrew Gardner)
Since I touch up a couple of things and test each driver after the automated merge, it still takes a few minutes for each file.  More IO_MAP merges will trickle in over the next few days.

It's likely not worth writing every driver in the whatsnew.txt, since there will be ~100.
2008-08-31 16:27:20 +00:00
Roberto Fresca
1071e33c6c Improvements to galaxi driver...
- Added Magic Joker.
- Fixed the 3rd background offset to Galaxi.
- Remapped inputs to match the standard poker games.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Magic Joker (v1.25.10.2000) [Roberto Fresca]
2008-08-31 16:00:19 +00:00
Andrew Gardner
7bc95cc72b Minor: Fixes a typo in Crusin' readme and removes some more unnecessary comments in raiden2.c. 2008-08-31 13:52:31 +00:00
Nicola Salmoria
f379f78d04 removed rotary joystick option from gwarb. The bootleg board doesn't have the rotary joystick input. 2008-08-31 11:37:01 +00:00
Roberto Zandona
f162f9d2f4 fixed game name in mamedriv 2008-08-31 09:23:58 +00:00
Couriersud
c6b0fc01f4 dkong.h update for 2724 2008-08-31 08:24:24 +00:00
stephh
5d9da35053 Fixed Dip Switches and Inputs for 'aso', 'alphamis', 'arian' (same as 'alphamis'), 'tnk3', 'tnk3j' (same as 'tnk3') and 'athena'. 2008-08-31 06:29:20 +00:00
Brian Troha
87b7671ce0 removed duplicate info
changed most speeds to "xtal_xxMHz" define

corrected Battle Battle Bakraid Z80 clock based on readme info
2008-08-31 05:05:22 +00:00
Brian Troha
8cc373d4af removes "game_no_sound" from the 2 Hotrod games (in segas24.c) as all 3 seem to have the same sound capabilities. 2008-08-31 03:31:42 +00:00
Brian Troha
4612562b65 updated some info in segas24.c based on email from T.Fujita.
Only disk / rom names are updated.

Memory maps and dipswitch setting not updated.
2008-08-31 03:17:26 +00:00
Andrew Gardner
c53d8e49d0 Adds Cruis'n USA and new Raiden DX/2 readme. Cleans up some documentation in raiden2.c Renames "Raiden DX (set 2)" to "Raiden DX (Tuning license)", and renames ROMs to match the actual PCB.
Please credit Guru.
2008-08-31 01:38:54 +00:00
Couriersud
ee123f7bf9 dkong.c: S2650 based games consolidated
* consolidated memory maps for S2650 based games
* renamed handlers to s2650_*
* joined protection handlers
2008-08-31 00:19:08 +00:00
Couriersud
767150940d mario.c: Use mcs48 banking for ea line 2008-08-30 17:59:45 +00:00
Couriersud
287bc79dfc mcs48.c: Use banking to handle ea line.
* Adds MCS48_INTERNAL_ROMBANK define to header
* Drivers which need to control the ea line have to initialize banking for internal/external rom

This is not yet optimal but works as expected with existing drivers and modified mario.c
2008-08-30 17:59:06 +00:00
Andrew Gardner
48a89981b6 Preparing some MDRV_CPU_IO_MAP calls for automated memmap replacement.
(not worth putting in whatsnew)

Please note, this does touch mario.c and dkong.c (two drivers which are currently undergoing modifications), but it does so unobtrusively.  I also asked the proper parties before committing.

All games are tested and working after this patch.
2008-08-30 17:31:34 +00:00
Roberto Fresca
9af87ebaf3 New working driver for older InterFlip gambling games. [Grull Osgo, Roberto Fresca] 2008-08-30 17:08:26 +00:00
Couriersud
8ffc355ac5 changed sound cpu type in saiyugb1 to I8748 2008-08-30 13:13:45 +00:00
Roberto Zandona
12c7449332 remove a wrong return (my mistake) 2008-08-30 13:06:15 +00:00
Roberto Zandona
84a4a49bab implementation of the possibility to use a normal joystick or a rotary joystick in gwarb
this fix mantis 02035
2008-08-30 13:01:43 +00:00
Roberto Zandona
b3b0ed90c8 used the full good archive for airtrix 2008-08-30 08:47:31 +00:00
smf-
f9c3a99d26 Fixed 00596. Applied an offset to the steering wheel and remove it when reading, to work round the removal of signed analogue input ports. 2008-08-30 08:06:51 +00:00
Brian Troha
f36bfb578b corrects rom names for Egg Venture (A.L. Release) from my copy-n-paste issue. 2008-08-30 06:37:23 +00:00
Brian Troha
ecc61617cb added Egg Venture (A.L. Release)
New clones added
----------------
Egg Venture (A.L. Release) [The Guru]
2008-08-30 06:29:46 +00:00
Andrew Gardner
9585b9cb50 Added EggVenture readme to lethalj.c.
Please credit Guru.
2008-08-30 03:57:51 +00:00
Couriersud
b6cce9110a mario.c: Fix USE_8039 conditional compile 2008-08-30 00:43:26 +00:00
Couriersud
7d6a80c480 mcs48: EA line / MB8884
* MB8884 is a I8035 ==> 12 addr, no internal rom map
* EA line high: external access - this is "default"

The whole EA implementation is as Aaron named it, cheeky. EA=1 external rom access, EA=0 internal rom access.
But all variants are treated the same, i.e. for i8035, MB8884, I8039, the external rom is used in the same
way as the internal.
2008-08-30 00:36:56 +00:00
Couriersud
322e67afbb dkong/dkongjr: use MB8884 as sound cpu / verified on schematics 2008-08-30 00:29:18 +00:00
Couriersud
299fc7ec1a mcs48.c: Write p1 and p2 on reset
These ports are actually ports which sink current on logical 0. With a logical 1, they are in high impedance mode and may be read. The high impedance is treated as logical 1 by TTL gates connected to them.
2008-08-29 22:52:26 +00:00
Derrick Renaud
bd39d9e8c9 Started removing extraneous enable lines from the discrete modules. Most modules are always enabled anyways. 2008-08-29 20:38:31 +00:00
Derrick Renaud
d900cdd023 Optimized DISCRETE_555_CC
Fixed bug in my recent DISCRETE_MIXER update.

Note: the DISCRETE_MIXER bug caused most of the speed increase of its optimization and caused some games to crash.  Donkey Kong is now at 14% faster on my machine then when I started.  Better then nothing.
2008-08-29 06:22:12 +00:00
Aaron Giles
c3f7d110df 02174: dkongjr and clones + mario and clones + pestplce: Music speed regression 2008-08-29 06:01:09 +00:00
Brian Troha
baf68b6e10 adds redumped roms for the Bubble Symphony (bootleg with OKI6295) set 2008-08-29 01:21:11 +00:00
Brian Troha
4a86fab61e added updated information about Sorcer Striker and moved Fix Eight bootleg PCB layout down by the roms like the other layouts in the driver 2008-08-29 01:15:58 +00:00
Derrick Renaud
70d2f4ebff Optimized DISCRETE_555_ASTABLE_CV and DISCRETE_MIXER.
For those keeping score dkong was at 268% on my computer before I started optimizing.  It now runs at 342%.  The 555 and mixer changes also speed up just about every current discrete game.
2008-08-29 01:10:24 +00:00
Derrick Renaud
ae10d3987a Optimized DISCRETE_RCINTEGRATE and DISCRETE_555_ASTABLE. 2008-08-28 20:58:05 +00:00
Derrick Renaud
e5fbac92cf Optimized DISCRETE_RCDISC_MODULATED.
Added X_TALs to circus.

Donkey Kong now runs 10% quicker on my machine.
2008-08-28 17:40:49 +00:00
Aaron Giles
a2caa558e2 Cleanups and version bump. 2008-08-28 15:26:11 +00:00
Roberto Fresca
32d55f53b0 Improvements to magic10.c driver:
- Added Magic's 10 version 16.15
- Remapped all inputs to match other poker games.
- Added a missing input to Magic's 10 games.


New clones added
----------------
Magic's 10 (ver. 16.15) [Roberto Fresca]
2008-08-28 12:14:34 +00:00
Aaron Giles
b554d33448 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: few more patches

Hi,

enclosed please find a few patches:

TV_1.diff -> TV_4.diff: clean up of input ports for drivers starting with T,U,V

eeprom.diff: some remaining eeprom_bit_r made CUSTOM_PORT

stv_fix.diff: a small missing bit in my previous stv fix for bug 650. this patch assumes the previous has been applied and removes duplication of button 4 also from batmanfr (somehow I think I sent an outdated version of stv.diff previously)

That's all folks

     Regards,

         Fabio
2008-08-28 08:53:17 +00:00
Aaron Giles
f8f9678387 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Monday, August 25, 2008 8:16 AM
Subject: [patch] Remove useless backslashes

Hi mamedev,

I've been using pmd 4.2.2 to analyze the MAME codebase for duplicate
code, and it's C parser complains about useless backslashes and
dangling defines in #if...#endif sections.  Here's a patch that fixes
this, and additionally fixes one real bug, a string in djmain.c was
malformed, it's curious it compiled.

~aa
2008-08-28 08:50:34 +00:00
Aaron Giles
66a19bd16b From: jeaw100@york.ac.uk [mailto:jeaw100@york.ac.uk]
Sent: Monday, August 25, 2008 1:45 AM
To: submit@mamedev.org
Subject: Stepper motor changes

Updated stepper motor code to use a MAME-style config interface, rather 
than a load of setting functions. Changed optic functions to use clearly

defined start and end points. Added standard layout for Starpoint units 
used in many machines. Updated all affected drivers.


PS. At one point, I was led to believe that the UPD sound chip would
have 
support for its messaging pins added, is this still pending (I have Phil

B's old source here if it's needed). Such support would prove very
useful 
for AGEMAME as many of the drivers in that that use that chip rely on it

for timing.
2008-08-28 08:48:56 +00:00
Aaron Giles
5299bac187 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: another small revised patch

After Fujix's new findings, I realized that the coinage settings 
for ckongg were still not completely correct after my previous 
patch galaxold.diff. The attached new patch (diff'ed from clean 0.127) 
fixes the Coinage dips at last. Sorry for the possible confusion.

Regards,
    Fabio
2008-08-28 08:48:20 +00:00
Aaron Giles
04303e0b3f From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: more patches
Hi,  

enclosed please find the following patches:

spaceinv.diff : this is an important patch. Please revert (if applied) 
my previous fix to bugs 2143 & 2144. It was wrong. This is the correct 
fix for those two bugs and many other issues not reported on MT (e.g. 
spaceatt, spaceat2 not starting because tilted, missing dips in many 
invaders clones etc). Basically, in 8080bw.c all the "DSW0" input ports 
should have been "IN2" for invaders_map to work correctly, and no 
additional "IN2" is necessary. After this fix, you may want to change 
all the "IN2" occurrences 8080bw.c and in mw8080bw.c with "DSW" since 
they mostly are dips. But the latter is a cosmetic change, so it's up 
to you decide if it's worth or not (the patch leaves "IN2").

avgdvg.diff : this correctly fixes avgdvg_done usage without using a 
parameter, but using IPT_ACTIVE_LOW where needed (I'm a bit ashamed 
because I should have thought to that since the beginning).

galaxold.diff : this changes ckongg coinage inputs to fix bug 2154. 
Notice anyway that coinage settings in dips do not correspond to the 
numbers which appear on screen. This is probably due to the conversion 
to galaxian hardware (e.g. it's shown the value of coin2, but in ckongg 
there is no coin2 at all, so the appearance of the coin 2 value has no 
meaning). Notice also that an unused dips sets the possibility to play 
in 2 or not. I defaulted this to 1 player because setting "2 players" 
automatically gives 2/4 credits with a single coin, which I don't think 
it was the default back then ;) 

However, perhaps ckongg is worth further analysis when it will be 
updated to the new galaxian driver.

stv.diff : this patch fixes the longstanding bug 650 (duplicated P1 
button 4). After testing all sets which reach the test mode, I found 
out that only batmanfr uses the button4 in port "P1", while all other 
games with more than 3 buttons use the one in "EXTRA". Therefore I made 
the "P1" 4th buttons a specific batmanfr input.

patch01.diff, patch02.diff, sys1.diff : these patches simplifies input 
ports in the remaining driver starting with S (plus a few small changes 
to other drivers I forgot previously), using PORT_INCLUDE, AM_READ_PORT 
& converting 'fake' 8bit ports to full 16/32bit ports  where suitable

Let me know if something fails to apply, or if there is any other problem
2008-08-28 08:46:52 +00:00
Aaron Giles
951ab24aaa From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Subject: Profiler related #2 (v2)
Hi, this a revised version of a patch I sent yesterday.

This one is much more cleaner, and the speed improvement is now significant
enough to come out of the profiling noise.
More over, this one compiles correctly... ;-)

Best regards,
Christophe Jaillet
2008-08-28 08:41:56 +00:00
Aaron Giles
a27dbe428a Namco NB 1/2 work.
Shares the memory with the c75.
    Renames the c75 region to c7x from user4.
    Implements the c75 reset/halt control.
    Implements the irqs more correctly.

[From OG]
2008-08-28 08:38:42 +00:00
Aaron Giles
727c8323df From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: fix for MT 2135
This bug dates back to the introduction of the world parent set of rtype. 
Finally spotted and (easily) fixed in the attached patch. 

Regards,

    Fabio
2008-08-28 08:37:18 +00:00
Aaron Giles
8959f89d1a Revert change 2597 2008-08-28 08:29:56 +00:00
Aaron Giles
c71fbfc625 Changed slider controls into a menu. For now, removed the old direct access
mechanism; instead, you must access the sliders via the main menu. While in
the menu, you can use the ~ key to turn off the menu display and leave only
the bar display, in order to see more of the screen.
2008-08-28 08:25:06 +00:00
stephh
375ccafb6c Fixed Dip Switches and Inputs for 'jcross' and 'sgladiat'.
There's a remaining unknown Dip Switch in 'sgladiat' though (DSW2:7).
2008-08-28 00:36:59 +00:00
R. Belmont
dfdc8efc09 Fixed missing / causing major non-compiling. 2008-08-27 20:35:09 +00:00
Nicola Salmoria
f03d10d335 merged jcross.c into snk.c
fixed fg layer and visible area
the game seems to be ok now? is there still something wrong?
2008-08-27 13:39:09 +00:00
Nicola Salmoria
36c88b32dd merged sgladiat.c into snk.c
fixed shadows, visible area, tilemaps, inputs, etc.
00228: sgladiat: Emulation is missing some enemy sprites that are present on the pcb.
2008-08-27 08:57:20 +00:00
R. Belmont
dae4b631d7 SH4, Naomi, and Hikaru updates [Samuele Zannoli]
- Fixed SH-4 core to support multiple SH-4s
- Fixed LDCSR instruction
- Fixed SH-4 I/O ports
- Skeleton Hikaru driver with memory maps and both SH-4s
- Fixed JVS/Maple translation so Naomi 2 BIOS runs
2008-08-27 02:22:58 +00:00
R. Belmont
bfd0b53638 Fixed 64-bit GCC compile error. 2008-08-27 02:16:38 +00:00
Aaron Giles
cd299d9f8e Significant cleanup/rewrite of the MCS-48 CPU core:
* removed redundant and unused definitions from header file
 * renamed constants and functions to be MCS48* prefixed
 * re-verified all opcode behaviors and timing
 * changed illegal opcodes to count 1 cycle to avoid infinite loops
 * changed EA behavior so that it is a push from the driver instead of a pull on each opcode fetch 
    (this may change further in the future). 
 * reimplemented IRQ generation and timer behavior according to documentation
 * updated all drivers accordingly
 * fixed several uses of PULSE_LINE, which no longer works
2008-08-26 22:58:45 +00:00
Nicola Salmoria
8f409d6809 removed unused range from memory map 2008-08-26 19:23:12 +00:00
Nicola Salmoria
4ecbf842e9 Added new function tilemap_set_pen_data_offset().
While this isn't 'free' as tilemap_set_palette_offset() is (when the offset changes, the pixmap cache needs to be invalidated), it helps removing some redundant code from drivers.

Updated snk.c and snk68.c to take advantage of the new function.
2008-08-26 18:40:12 +00:00
Nicola Salmoria
dba36cfa30 moved ASO from hal21.c to snk.c
removed hacks, fixed bg color
2008-08-26 15:48:48 +00:00
Pierpaolo Prazzoli
aa70fd956a Changed Trivia Quest clocks based on some really old information 2008-08-26 13:45:26 +00:00
Nicola Salmoria
69d2176d95 snk.c rewrite (finished)
TouchDown Fever / Fighting Soccer
00870: tdfever: The siren sound keeps going off. I've got the pcb on the way to Guru if that helps any.
2008-08-26 10:49:42 +00:00
Aaron Giles
7f8e52388e 02147: Annoying behaviour of highlighted entries in minimal UI 2008-08-26 04:43:47 +00:00
Aaron Giles
ba60161f97 i8039 -> mcs48 2008-08-26 04:38:50 +00:00
Aaron Giles
6ccd121185 02159: cubeqst: Cubequest asserts on ATI hardware w/ prescale > 1
Added 1:1 fallback if surface creation fails at prescale values. Changed
prescale logic to create prescale target surfaces as ARGB for YUY2 
sources. Forced the use of render-to-texture over StretchRect for YUY2
sources.
2008-08-26 04:38:29 +00:00
Pierpaolo Prazzoli
dd914fb758 Decrypted Mahjong Shuang Long Qiang Zhu 2 and Mahjong Super Da Man Guan 2 2008-08-25 20:13:21 +00:00
Couriersud
96d622b677 rendersw.c: Added more comments
* fix clamping bug introduced by my last update
2008-08-25 20:10:08 +00:00
Roberto Zandona
58be08f089 fix TSY instruction in M4510 cpu (used in MESS) 2008-08-25 19:32:46 +00:00
Aaron Giles
3d339e51f7 Changed i8039 core to use the data address space for internal RAM.
Register access is still performed using direct memory accesses,
but the pointers are fetched through the memory system. Now you can
see i8039 RAM in the debugger. Added internal memory maps of the
appropriate size so that drivers don't need to declare this RAM.

Added a number of variants from the MCS-48 family as it was not
clear which variants had what capabilities. All documented variants
now have internal memory maps for internal ROM and RAM. Removed
memory maps from drivers using embedded ROM/EPROM/OTPROM since
they are defined by the core now.

Added some initial logic to boot and run the PR-8210 ROM (i8049)
in ldplayer.c. Currently this is disabled behind a compile-time
switch. Once this is working, the plan is to incorporate this into
the existing PR-8210 emulation, but we're not there yet.
2008-08-25 15:32:14 +00:00
Aaron Giles
4db67471be MSVC fixes. MSVC cannot handle offsetof(struct, member[index]); once an
array is involved, it seems to think it is not a constant expression.

Added MDRV_DEVICE_CONFIG_DATA32_EXPLICIT() macro which takes an explicit
size and offset. Changed MDRV_DEVICE_CONFIG_DATA32() to be built off of
this macro. Added MDRV_DEVICE_CONFIG_DATA32_ARRAY() and
MDRV_DEVICE_CONFIG_DATA32_ARRAY_MEMBER() which do explicit computations
of the offset to work around MSVC's problems.

Replicated these changes for DATA64 and DATAPTR macros. Updated latch8.h
to use the new macros.
2008-08-25 15:13:48 +00:00
Pierpaolo Prazzoli
8e44428b07 Used Nicola simplified formulas for Mahjong Man Guan Cai Shen decryption
Decrypted Mahjong Long Hu Zheng Ba 2 (set 1) and (set 2)
2008-08-25 15:05:01 +00:00
Andrew Gardner
4868576d3c Typo fixed in Simpsons readme. 2008-08-25 14:18:00 +00:00
smf-
8fc5baaaab Improved dip switch emulation in zn.c, ram hacks to get games booting are no longer required.
Added gun emulation for judge dredd.
Fixed judge dredd ide emulation when building with visual studio.
Mapped primal rage 2 inputs
Mapped player 3 & 4 inputs for 1 on 1 government, these are now the default with the 6 button inputs only mapped for games that need them.
Converted AT28C16 to a device.
Added preliminary support for devices to load/save nvram.

New games added or promoted from NOT_WORKING status

Super Football Champ (Ver 2.5O)
Super Football Champ (Ver 2.4J)
Magical Date / Magical Date - dokidoki kokuhaku daisakusen (Ver 2.02J)
Fighters' Impact (Ver 2.02O)
Judge Dredd (Rev C Dec. 17 1997)
Judge Dredd (Rev B Nov. 26 1997)
2008-08-25 09:52:26 +00:00
Andrew Gardner
aa4d5b369e Adds readme for The Simpsons.
Please credit Guru.
2008-08-25 05:38:36 +00:00
Couriersud
5e6fdaec16 Slight optimization of ycc_to_rgb 2008-08-24 23:41:46 +00:00
Couriersud
4d444b5b4a latch8: Renamed MDRV_LATCH8_MASK and added MDRV_LATCH8_INVERT
* renamed MDRV_LATCH8_MASK to MDRV_LATCH8_MASKOUT to clarify meaning
* Added MDRV_LATCH8_NOSYNC to specify which lines do not reed a cpu sync
* Updated drivers

The MDRV_LATCH8_NOSYNC is not used in dkong.c. All latches need synchronization
because at least one line does need a cpu synchronization.
2008-08-24 17:39:06 +00:00
Pierpaolo Prazzoli
04dd24b41d Simplified Mahjong Man Guan Cai Shen decryption (maybe there were some fixes too) 2008-08-24 13:18:17 +00:00
Roberto Zandona
65a96e4f7a some fix for m4510 core 2008-08-24 11:55:22 +00:00
Roberto Zandona
bfc0c6a5b2 some fix for m4510 core:
- banking in read and write operations
- jsr and jsrx instruction
2008-08-23 10:00:59 +00:00
Roberto Zandona
73e2b28ee0 updated memory map 2008-08-22 21:43:47 +00:00
Couriersud
e972cc1644 dkong & friends: Use new latch device
* adds new latch device where appropriate
* increased accuracy since now all main/sound cpu communications are properly latched
* removed quite some code as a consequence
* minor cosmetic edits
2008-08-22 21:29:11 +00:00
Couriersud
d8d031e8d3 Adds new generic latch device
8 bit latch interface and emulation
    
    Generic emulation of 74LS174/175, 74LS259 and other latches.
    Apart from providing synched latch operation, these
    latches can be configured to read their input bitwise from other
    devices as well and individual bits can be connected to
    discrete nodes.
    
    Please see audio/dkong.c for examples.
2008-08-22 21:25:49 +00:00
Couriersud
85e674d7fb 02142: centipdb, magworm, millpac: No Sound
* adjusted output volumes
2008-08-22 20:27:42 +00:00
Nicola Salmoria
06f9e52292 02150: spacegun: Missing crosshairs 2008-08-22 19:41:55 +00:00
Nicola Salmoria
5a14b6f516 snk.c rewrite (WIP)
fixed sprite-sprite priorities
2008-08-22 18:55:28 +00:00
Roberto Zandona
c4e22005eb removed a printf 2008-08-22 18:47:28 +00:00
Roberto Zandona
2b5bea71f4 some cleanup 2008-08-22 18:45:19 +00:00
Nicola Salmoria
c45d9ff0cd snk.c rewrite (WIP)
Chopper I
2008-08-22 18:15:52 +00:00
Nicola Salmoria
ec31b1d659 snk.c rewrite (WIP)
Psycho Soldier
the usual drill, nothing special about this
2008-08-22 17:19:09 +00:00
Nicola Salmoria
a87f670330 snk.c rewrite (WIP)
Bermuda Triangle / World Wars
removed ROM patches
simulated "turbo front" check
renamed bermudao->bermudaj
clarified the relationship between the four sets
made World Wars a main set instead of a clone of Bermuda Triangle
tliemaps, proper memory maps, inputs, etc.
2008-08-22 12:32:58 +00:00
Couriersud
9ff05871dc discrete.c: Added save state for node->output
* Ensures that input nodes survive save states
2008-08-22 11:05:21 +00:00
Pierpaolo Prazzoli
2443be6c3c Changed some decryptions in igs_blit.c to use program roms loaded byteswapped
Fixed vector table decryption in Mahjong Man Guan Cai Shen
2008-08-22 10:37:34 +00:00
Derrick Renaud
8a8e197eae added Discrete Sound for Starship 1. I still need to properly emulate the MC3340. 2008-08-22 03:51:26 +00:00
Aaron Giles
c50b07d391 From: john_rieman_la@yahoo.com [john_rieman_la@yahoo.com]
First of all thank you thank you thank you for all the hard work :-)

If I find that MAME is listing the wrong joystick type for a game where 
should I report it?

Journey (journey) and Domino Man (domino) are both listed as 8-way, but 
the manuals for both games show them being 4-way (they both have the 
exact same joystick as Ms. Pac-Man).


Parts manuals:

Domino Man

http://arcarc.xmission.com/PDF_Arcade_Bally_Midway/Domino_Man_Parts_and_Operating_Manual_(Nov_1982).pdf

Journey

http://arcarc.xmission.com/PDF_Arcade_Bally_Midway/Journey_Parts_and_Operating_Manual_(May%201983).pdf
2008-08-22 02:48:19 +00:00
Aaron Giles
2861244974 Author: Olivier Galibert <galibert@pobox.com>
Date:   Thu Aug 21 11:31:19 2008 +0200

    Outrun irq fix
   
    The level 6 irq happens only when both irq2 and irq4 line are active,
    not when either is, obviously.
2008-08-22 02:46:24 +00:00
Aaron Giles
7521888dd7 Added PR-8210 support to the ldplayer. Fixed step forward command on the PR-8210.
02136: cubeqst: from minimal UI cubeqst requires the optional CHD 
02127: xymg: The game name should be Xing Yun Man Guan and "Pin Yin:"should be omitted 
02138: flamegun: Debugger/Cheat System upper case cpu tag of MAIN doesn't work 
02139: In audio/system16.c, there is a reference to REGION_SOUND1 
02133: chindrah: The title of Zhong Guo Long?(Hong Kong,V011H) is Dong Fang Zhi Zhu(Hong Kong, V011H) 
02126: corrupt CHDs are reported as missing
2008-08-22 02:43:32 +00:00
Pierpaolo Prazzoli
ba5fd30bf8 Decrypted Mahjong Man Guan Cai Shen 2008-08-21 21:33:06 +00:00
Nicola Salmoria
5d2cd5732f snk.c rewrite (WIP)
Guerrilla War
tilemaps
proper memory map
input, dip locations, etc.
2008-08-21 16:08:26 +00:00
smf-
2eed0ee804 got aero fighters special out of test mode and made it the parent. 2008-08-21 12:25:30 +00:00
Nathan Woods
ef062182ce Fixed problem that would cause the "Return To Prior Menu" menu item to not stick
if one is calling ui_menu_reset() with UI_MENU_RESET_REMEMBER_POSITION, and that
menu item is selected
2008-08-21 11:26:37 +00:00
Roberto Fresca
a211e37694 Bells and whistles to Game-A-Tron gambling hardware.
After an exhaustive analysis to the unknown writes, finally figured out the missing sound device.

 - Added sound support to "Poker 4-1" and "Pull Tabs".
 - Figured out the output ports. Documented each bit accessed.
 - Added button lamps support. Created layouts for both games.
 - Switched the 8255 port C to be used as output port.
 - Adjusted the coin pulse timing.
 - Updated technical notes.
 - Splitted the driver to driver + video.
 - Final clean-up.
2008-08-21 09:42:50 +00:00
Roberto Zandona
c783bad331 first implementation of PAINT command (for now only 4bpp and 8bpp supported and the pattern is not supported) 2008-08-21 06:57:44 +00:00
Nicola Salmoria
7b13f5ba98 update comment 2008-08-21 06:52:45 +00:00
Nicola Salmoria
1fd68ecb28 snk.c rewrite (WIP)
Ikari Warriors, Victory Road
removed ROM patches
simulated "hard flags" behaviour
proper memory maps
fixed ikarijp color test
renamed dogosokj to dogosokb and loaded the correct palette PROMs
inputs, dip locations, etc.
removed NO_COCKTAIL flag since these games don't have a flip screen dip switch
02035: gwarb: Guerrilla War bootleg doesn't need a rotary joy 
00869: ikari: The title screen and high score screen do not have a black background, as MAME displays.

New clones added
----------------
Ikari Warriors (US) [Corrado Tomaselli]
2008-08-21 06:42:26 +00:00
Roberto Zandona
2a3a6ea782 modified description of a dsw in sf2m2 (it isn't unused) 2008-08-21 05:50:04 +00:00
Brian Troha
1b8e64ff7d adds in kludge logic but wrong values for Aero Fighters Special. 2008-08-21 05:42:22 +00:00
Brian Troha
d7c33492f5 adds missing SHA1 values (I missed this when it was added..) for WW3 in redalert.c 2008-08-21 05:37:47 +00:00
Brian Troha
f4280abecd partial addition of Aero Fighters Special (Tiawan)
Makes the addition as far as rom loads go & mamedriv.c

RB or SMF will have to finish off the kludge part like Sonic Wings Limited has.
2008-08-21 05:35:33 +00:00
Aaron Giles
c166186196 Derived video timing based on measurements. These are educated guesses.
The logic behind the derivations is shown in the source.
2008-08-21 04:45:06 +00:00
Aaron Giles
fd883f1e72 Fixed bug when writing AVI files with more than one RIFF chunk.
Added missing chdman error messages when extracting to an AVI file.
2008-08-21 04:18:12 +00:00
Andrew Gardner
e6a2212387 Hooks up sound CPU comms in Power Instinct 2. This enables synchronized dancing for the background characters.
Credit Shimapong.
2008-08-21 03:35:05 +00:00
Roberto Zandona
73cbd67b13 removed unused code and fix a little bug 2008-08-20 22:54:22 +00:00
Roberto Zandona
9507cf7a53 fixed for PTN command: copy direction and dot color
PAINT command, necessary for skattv, is yet missing
2008-08-20 22:03:39 +00:00
Couriersud
772082e0b8 devintrf.c: add devtag_get_device(machine, type, tag) to retrieve the device_config for (type, tag)
* This is needed, if you need to read a device or device status outside a AM_DEVREAD context.
2008-08-20 21:15:01 +00:00
Roberto Zandona
6f9eaf0908 modified the default of a dsw in sf2m2 2008-08-20 20:54:07 +00:00
Jim Stolis
b3d2dc5f59 Updated readme info for initialization of some missing games. 2008-08-20 17:00:59 +00:00
Roberto Zandona
9705d41ac7 removed unnecessary code for sf2m2 2008-08-20 16:34:01 +00:00
Roberto Zandona
7e1305fa5e sf2m2 clone: promoted to working 2008-08-20 16:29:27 +00:00
Andrew Gardner
847e160223 Fixes 00429 (fastlane: the random function of this doesn't work well and always gives a "no bonus").
This patch adds to the simulation of the K051733.

Please credit ShimaPong.
2008-08-20 15:42:21 +00:00
Roberto Zandona
fdbdbfbead removed duplicate buttons in sf2hack (as per stephh comment) 2008-08-20 15:24:12 +00:00
Nicola Salmoria
12269d8aa7 added 8303 ROM to the games using it and updated MCU simulation to match the new findings 2008-08-20 12:00:14 +00:00
Nathan Woods
57d3cb91e3 MESS-specific fixes 2008-08-20 11:31:21 +00:00
Nicola Salmoria
c6e6c95244 snk.c rewrite (WIP)
TNK3, Athena, Fighting Golf, Country Club
converted to tilemaps
removed hacks
proper memory maps
screen flip / cocktail mode support
dip locations
better implementation of sound CPU communication
hooked sound cpu interrupts to YM chips
fitegolf hax 1xYM3812, not 2xYM3526
2008-08-20 10:24:57 +00:00
Aaron Giles
565b5532a7 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: few patch based on u5
Hi, 

since it seems there will be one more update in this cycle, it is probably 
better to submit these patches. Hopefully, not too many changes have been 
done to the source and these will apply cleanly. Let me know if I have to 
re-submit any of the patches.

content of the zip

* Ndriv.diff, OPQdriv.diff and RSdriv.diff: clean up of input ports in drivers 
N->R and partially S. as usual AM_READ_PORTs, conversions to full 32bit inputs 
where suitable, CUSTOM_PORTs for eeprom bits etc.

* cps1.diff: small clean up of the inputs in cps1.c. In particular, I exploited 
a few port_include (modeled on cps2.c) and added specific inputs for sf2 hacks 
so that I could simplify input readings in video/cps1.c. Also, I added the 3rd 
buttons to games which test it in Service Mode even if they don't use it in game: 
if the game code tests for them in the service mode, they were supposed to be 
present...

* deco.diff, pgm.diff, psikyo.diff, nbmj.diff, jaleco.diff: clean up for 
specific large drivers

* other.diff: some usage of PORT_CUSTOM that I missed to implement previously


Regards,

     Fabio Priuli
2008-08-20 04:17:46 +00:00
Aaron Giles
0941eb004e Fix m68k irq line support.
Before this patch a:
      cpunum_set_input_line(5, ASSERT_LINE);
      cpunum_set_input_line(3, ASSERT_LINE);
      cpunum_set_input_line(3, CLEAR_LINE);
    
    loses the state of line 5.  This patch fixes it by adding an explicit
    but optional "virtual irq line" support to the 68k interface.

    Fix m68k interrupt handling by some drivers.
    
    Clearing the NMI line to clear all the IRQ lines worked, but it just
    doesn't make sense.  Now that the irq lines are really independant,
    the handling can be simplified.
2008-08-20 02:11:14 +00:00
Brian Troha
a9d7211726 I have a minor issue with two source trees... I only update half the stuff in both :-(
Anyways, removes the extra Wave Runner from mamedriv.c and corrects the year in model2.c

sorry for so many "fixes"
2008-08-20 01:31:21 +00:00
Aaron Giles
44019c7433 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] fd1089 external keys
Hi mamedev,

The attached patch moves the fd1089 decryption keys out of the source
of MAME and into the ROM files.  Nicola suggested this would now be
reasonable, so long as the incomplete ones were marked with BAD_DUMP.

~aa
2008-08-20 01:26:42 +00:00
Brian Troha
01c0923170 Moves Wave Runner from Model 2B to 2C like it should be ;-) 2008-08-20 01:25:38 +00:00
Aaron Giles
cf07a5a784 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] More reset/multisession cleanup

Hi mamedev,

This patch eliminates more cases of .data objects, in an effort to
make more drivers multisession/reset safe.  The changes should not
change the first time run behavior at all, except perhaps the ygv608.c
change, which had a suspicious use of a static rectangle.

~aa
2008-08-20 01:25:28 +00:00
Derrick Renaud
384422ee09 Discrete cleanups and fixed discrete logging. 2008-08-20 01:02:57 +00:00
Brian Troha
39ea677641 Top Skater (USA)
Currently not working any better then the parent
Restores old Wave Runner (Rev A, Model 2B) as a single non clone game

New clones added
----------------
Top Skater (USA) [Gerald (COY)]
2008-08-20 00:04:00 +00:00
Brian Troha
37fc923ccf Wave Runner (Model 2C)
Currently not working and missing a rom

New clones added
----------------
Wave Runner (Model 2C) [Gérald (COY)]
2008-08-19 21:10:23 +00:00
Wilbert Pol
38a811b727 Some MESS specific fixes. 2008-08-19 19:18:43 +00:00
Roberto Zandona
cc9883d312 fixed cpx and cpy when a ptn or a agcpy command is executed 2008-08-19 15:09:54 +00:00
Nathan Woods
15969c0428 Readded generic calls to install memory handlers that were in long before
0.126u5 - these are useful on the MESS side for things like the PC driver
2008-08-19 11:13:43 +00:00
smf-
cbe9983e42 changed DIRECTINPUT & DIRECT3D handling, so they can be overridden by environment variables. 2008-08-19 08:03:38 +00:00
davidhay
c9f47d831f minor updates to megadriv.c / genesis code.
My mail is broken (or I'm not on the list anymore?) so I don't know how the suggestion went down, but given that within the space of a week simply updating the tree completely broke my compile again I *need* these files maintained to develop with if we're going to see accurate genesis emulation in MAME.  There's too much to split out of MAME.

I haven't included driver definitions, but the source files at least need to compile or I'm going to go completely bananas.
2008-08-19 07:39:53 +00:00
Aaron Giles
0523e9feb7 Cleanups and version bump. 2008-08-19 07:31:55 +00:00
Aaron Giles
e959018aa8 02105: qbert and clones: Misplaced graphics 2008-08-19 07:17:30 +00:00
Aaron Giles
76be0ad854 02119: cischeat, bigrun: no sound 2008-08-19 07:05:24 +00:00
Aaron Giles
c44c835ab3 02121: reactor: input controls and startup tone 2008-08-19 06:47:15 +00:00
Roberto Zandona
49db9ee772 new implementation of agcpy command in hd63484 2008-08-19 06:37:36 +00:00
Aaron Giles
8b8585328c From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr]
Subject: Profiler related
Hi,

here is a smalll patch that :
   - remove include "profiler.h" to files that do not use profiling function
        * emu/machine/laserdsc.c
        * osd/windows/video.c

    - use PROFILER_USER2 instead of PROFILER_USER1 in mame/video/tx1.c
      USER1 was used twice, USER3 once. I guess that USER1 should be used
only once and USER2 used in the 2nd place

   - remove unused MACRO in emu/memory.c

Best regards,
Christophe JAILLET
2008-08-19 06:13:26 +00:00
Aaron Giles
7b53d0a62e From: Lei Wu [mailto:lanewu@hotmail.com]
Subject: Shogun Warriors (Europe Rev.xx)

1. added Shogun Warriors (Europe Rev.xx)(Kaneko 1992), detailed description in source code [Pythagoras573]
2. fixed a cps1 typo
2008-08-19 06:12:05 +00:00
Aaron Giles
13a3d3fb89 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: Various cleanups

A couple of minor cleanups sitting on my disk for a while:
- removed obsolete ENABLE_DEBUGGER occurance
- removed more unprintable characters in SH-2 disassembler
- memset() usage cleanups
- removed duplicated TMS5110 entry in sound.mak
- use machine in uigfx.c where it's already available
2008-08-19 06:10:43 +00:00
Aaron Giles
de5cd6e5a8 Added cheat functions frombcd() and tobcd() to convert numbers to/from
BCD format. Changed "Activate" to "Set" in the menus.
2008-08-19 06:08:24 +00:00
Nicola Salmoria
74777c6420 more CPS1 PALs 2008-08-19 05:42:10 +00:00
Aaron Giles
1d26d347e1 From: Guy Hufkens [mailto:guy.hufkens@telenet.be]
Subject: dooyong.c dips

Added DIP locations
2008-08-19 05:13:56 +00:00
Aaron Giles
719eca9c82 Added validity check to ensure that ports referenced by a condition
actually exist. Fixed a case where this was violated.
2008-08-19 05:12:45 +00:00
Andrew Gardner
35ee8d5279 Added new Guru readme for namcos22 driver.
Please credit Guru.
2008-08-19 04:50:19 +00:00
Aaron Giles
6c21097922 Added validity check to ensure that AM_READ_PORT() macros reference
valid ports. Fixed several cases where the check failed.
2008-08-19 04:33:19 +00:00
Brian Troha
e58907ac1a Corrects BPROM type after verifying against the schematic vs a hi-res pic which is hard to tell. 2008-08-19 02:59:45 +00:00
Brian Troha
79c1a8fc2c Slight documentation update.
Removes bad_dump from WW3 as readme said "most" reads matched the Red Alert sound rom.  Also it the read me stated the BPROM also matched the Red Alert BPROM.
2008-08-19 02:28:44 +00:00
R. Belmont
7d762634aa Reduce YM2612 DAC level relative to FM. This better matches real hardware. 2008-08-19 02:21:37 +00:00
Aaron Giles
2e422e5b72 Final SHA1 for Cube Quest. 2008-08-19 02:13:32 +00:00
Aaron Giles
d62faabec6 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: small submission
Hi,  

enclosed please find a tiny diff which makes megadriv_vdp_r & megadriv_vdp_w 
handlers in megadriv.c non-static (and includes them in megadriv.h).

This small change, while making essentially no difference for MAME, would make 
life easier to maintain pico emulation in MESS.

--

From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: fix for MT bug 2115
Hi, enclosed please find a small fix for the typo causing berlwall inputs 
breakage. No matter how extensively I test my changes, some typos always 
succeed to slip through my cross checks :( 

Anyway, this regression is fixed. 

--

From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Subject: Fix for MT bug 2114

Hi, 

enclosed please find a patch which fixes the red/blue inversion for eolith.c 
games. It regressed in 0.124, when the driver it's been converted from bitmap_format_rgb15 
to bitmap_format_indexed16 with the wrong palette_init.
2008-08-19 02:13:13 +00:00
Aaron Giles
87066dc341 From: MASH [mailto:mameinfo@ewetel.net]
Hi there,

Astro Wars (Zaccaria 1980) can be added to the galaxia.c.
The attract mode works and it uses the same hardware and
the rom names/lacations are identical.
The picture shows three screenshots of Astro Wars, the left and middle uses
only one of the gfx roms and the right both.

M*A*S*H

New game NOT WORKING: Astro Wars
2008-08-19 02:01:55 +00:00
Couriersud
2dc5c0648b dkong3 - added prom
* added address decode prom 5e from roms/unemulated/Nintendo/dk3prom.zip to dkong3/dkong3j
2008-08-19 00:44:21 +00:00
Couriersud
7d16a28e7f New games/clones: WW III (Irem 1981), I P M Invader (Incomplete Dump)
* Added roms/unemulated/Irem/iremM10_incomplete.zip as ipminva1 to m10.c
* Marked as GAME_NOT_WORKING
* The roms are all different from ipminvad, one is missing. The game does 
  enough to see that it is some sort of invaders type game.

* Added roms/unemulated/Irem/ww3_roms.zip as ww3 to redalert.c
* Dumped by Stefan Lindberg
* Please credit Stefan Lindberg as well 
* Either redalert is the clone or ww3 is the clone. Redalert has a speech board in addition
  to the m37b audio board.

New games marked as GAME_NOT_WORKING
------------------------------------
I P M Invader (Incomplete Dump) [unknown dumper, Couriersud]
 
New games added or promoted from NOT_WORKING status
---------------------------------------------------
WW III [Stefan Lindberg, Couriersud]
2008-08-18 23:25:42 +00:00
Aaron Giles
c0fae223af Increased blank reporting threshold. Fixed error in blank tracking. 2008-08-18 16:38:40 +00:00
smf-
c860d00f1b reverted incorrect checkin, caused by lack of concentration when retrying the checkin due to an update being required. 2008-08-18 12:10:31 +00:00
smf-
e334a63782 reverted unit mask changes and removed the unused & unsafe memory_install functions. 2008-08-18 12:08:08 +00:00
Nicola Salmoria
b51601cc66 use proper gfx ROMs (+ PALs) for varthj
load correct A-Board PALs for QSound games
2008-08-18 12:05:11 +00:00
Roberto Zandona
94abf9470d implemeted service mode switch in skattv 2008-08-18 07:15:18 +00:00
Roberto Zandona
3d33c20559 modified 68681 to return 0xff if input port is NULL 2008-08-18 06:31:15 +00:00
Aaron Giles
284b5a0d95 Added new generic laserdisc VIDEO_UPDATE handler to the laserdisc code.
This handler works for both disc-only games and those with overlays. 
For disc-only games, the base macro is sufficient. For games with 
overlays, an additional set of configuration macros are provided:

   MDRV_LASERDISC_OVERLAY - specifies update function, width, height,
      and bitmap format of the overlay
   MDRV_LASERDISC_OVERLAY_CLIP - specifies the visible area of the
      overlay bitmap
   MDRV_LASERDISC_OVERLAY_POSITION - specifies default x,y position
   MDRV_LASERDISC_OVERLAY_SCALE - specifies default x,y scale factors

The update function provided to MDRV_LASERDISC_OVERLAY is identical to
a normal VIDEO_UPDATE callback, so a standard one can be used. All
existing laserdisc drivers have been updated to support this new
rendering mechanism, removing much duplicated code.

Added the ability to configure the overlay position and scale 
parameters at runtime. Added OSD menus to control them. Added logic
to save/restore the data in the game's configuration file.

Added new macros MDRV_LASERDISC_SCREEN_ADD_NTSC and _PAL, which
defines a standard screen with the correct video timing characteristics
and update function for laserdiscs. Updated all drivers to use these
macros instead of defining their own screens.

Added DISK_REGIONS to all laserdisc drivers.

Added DISK_IMAGE_READONLY_OPTIONAL to support games (like Cube Quest)
where the disk is non-essential to the game's operation.

Fixed bug in identifying the custom sound driver for the laserdisc.

Updated ldverify to identify blank regions of the disc for post-
processing.

Fixed rendering 16bpp with alpha using bilinear filters (fixes
screenshots of laserdisc games with overlays).

Included support for parsing .gdi files in chdman. [ElSemi]

Added new driver for Cube Quest. This includes CPU cores for the three
bitslice processors, as well as laserdisc support for the hacked
laserdisc that was used to drive the games. 
[Philip Bennett, Joe Magiera, Warren Ondras]

Note that the SHA1/MD5 for the laserdisc will likely undergo at least
one more change before being finalized.
2008-08-18 04:31:08 +00:00
Roberto Zandona
d0eb89399f removed speedup patch in timecris;
with this commit and commit 2565 the bug 01992: (timecrsa, timecris: SubCPU start wait fails test) is fixed
2008-08-17 18:43:28 +00:00
Roberto Zandona
0a0a3ef383 fixed INT_ACK initialization 2008-08-17 17:24:55 +00:00
Wilbert Pol
ab1030258c Some MESS specific changes 2008-08-17 15:02:15 +00:00
smf-
3297ac117d identified compatible timekeeper used by midway zeus ii.
removed all the timekeeper memory handlers, except for 8 bit & changed the drivers to use the conversion built into the memory system.
2008-08-17 11:47:26 +00:00
smf-
5c5337424a Added unit mask to all memory installs that override the bus width. You couldn't install a handler with a different width before, as it complained about the lack of the unit mask. So I've assumed it's safe for all current calls to be changed to the one that picks up the cpu bus width. 2008-08-17 10:15:22 +00:00
R. Belmont
f118954dc5 Split out SH-4 non-interpreter-specific stuff to sh4comn.c. 2008-08-17 04:44:02 +00:00
R. Belmont
a6210713da SH-2 DRC updates:
- Moved IRQ handling front-end into recompiled code
- Added TSTM/ANDM/XORM instructions
- Added SH-1 CPU support, including lower precision on MAC.W and locking out SH-2 only instructions
2008-08-16 16:50:41 +00:00
R. Belmont
9c671d6ecf 64-bit GCC fix. 2008-08-16 16:47:03 +00:00
R. Belmont
d8a88c5084 Added save states to 65816 CPU. 2008-08-16 16:46:24 +00:00
Roberto Zandona
4a79e7af34 partially implemented ptn and wptn command in hd63484
now skattv boot in service mode and you can see correct gfx
2008-08-16 15:47:42 +00:00
davidhay
84f88adc6a makes redhawki work, I suspect it's a bootleg.. 2008-08-16 13:56:37 +00:00
Roberto Fresca
d85c50929c Minor corrections. 2008-08-16 10:39:51 +00:00
Roberto Fresca
5831f1f74e - Added Hot Slot and Magic Colors (not playable due to protection issues).
- Simulated the co-processor to pass the initial test.
- All Inputs worked from the scratch.
- Fixed position of tilemap layers.
- Added scroll register preliminary support.
- Fixed Super Pool graphics.

New games marked as GAME_NOT_WORKING
------------------------------------
Hot Slot (ver 05.01) [Roberto Fresca]
Magic Colors (ver 1.7a) [Roberto Fresca]
2008-08-16 08:46:58 +00:00
Jonathan Gevaryahu
50438fc4f5 update t5182.c comments once more, to fit in 80 columns.
also rewrote the description of the theoretical trojan attack in a far more concise manner.
2008-08-15 22:46:18 +00:00
Jonathan Gevaryahu
fbfaa93fa2 fixed comment formatting and one minor sentence chunk which didn't belong 2008-08-15 22:20:15 +00:00
Jonathan Gevaryahu
c272be4f4a Update the t5182.c documentation/pinout 2008-08-15 22:12:39 +00:00
smf-
bd3ba85c50 changed at28c16 memory handlers to 8 bits and perform the conversion in the memory mapping. 2008-08-15 20:11:15 +00:00
Roberto Zandona
6bb2a0e698 fix ram dimension and window width 2008-08-15 17:47:32 +00:00
Brian Troha
d8e8dffe4b Updated documentation:
Added PCB layout for Torus & Mad Ball
Corrected rom names and / or added U locations
2008-08-15 16:29:27 +00:00
Roberto Zandona
edfc74b1d1 fix gfx in cps2 games 2008-08-15 14:36:20 +00:00
Roberto Zandona
efc80cc200 fix ram size in hd63484 and removed driver init for adp games 2008-08-15 14:17:31 +00:00
Roberto Zandona
888337ddb9 add new commands in hd63484 core 2008-08-15 10:48:38 +00:00
Roberto Zandona
fdfeed931d some progress in adp games: now you can see a blue rectangle in skattv 2008-08-15 09:10:52 +00:00
davidhay
f71dd506c0 new clone, Red Hawk (Italy) (NOT WORKING)
it's another horizontal set like the 'redhawkb', but video registers seem to be different.

If it's wrong it's because I had to remerge everything.
2008-08-15 07:56:50 +00:00
Brian Troha
aa0aa81c7d New clones added
----------------
Red Hawk (Haedong Corp.) [Tirino73 / Mame Italia] (Not Working)
Snow Bros. - Nick & Tom (Dooyong license) [Tirino73 / Mame Italia]
2008-08-15 03:26:04 +00:00
Brian Troha
71ebf50919 corrects a spelling mistake 2008-08-15 02:16:23 +00:00
davidhay
4e99cb9af4 adds correct CRCs for DOA2 [Guru] 2008-08-15 00:12:08 +00:00
Roberto Zandona
9c68b61e38 implemented read operation of MRA and MRB in 68681 device (this command is necessary for adp games) 2008-08-14 19:12:47 +00:00
Nicola Salmoria
56e734716a oops, QSound CPS1 games have a different A-board so the PLDs of the normal gmaes aren't valid. 2008-08-14 18:53:21 +00:00
Roberto Zandona
d7c9b3cf8f wip - a try to implement 68681 device in skattv 2008-08-14 15:00:52 +00:00
Roberto Zandona
7a8e9bb4b8 convert adp to 4 bpp rendering 2008-08-14 13:33:06 +00:00
R. Belmont
4303262b04 Another 64-bit GCC fix. 2008-08-14 13:14:46 +00:00
R. Belmont
06c0d541ed Another one... 2008-08-14 13:13:40 +00:00
R. Belmont
841c0ce03a Another 64-bit GCC fix. 2008-08-14 13:10:34 +00:00
R. Belmont
5b8cc47145 Fixes for 64-bit GCC. FPTR isn't just a good idea, it's the law. 2008-08-14 13:08:53 +00:00
Nicola Salmoria
8c07fef2d7 added more Universal game IDs from schematics 2008-08-14 08:21:35 +00:00
Aaron Giles
224eb1f58b Cleanups and version bump. 2008-08-14 08:05:35 +00:00
Aaron Giles
2e7d262931 02113: xymg: xymg title mispelled
02110: All sets in cps3.c: video from a DV cam proves the refresh rate of CPS3 in MAME is wrong 
02095: chqflag, chqflagj, -listxml: memory leaks
2008-08-14 07:36:27 +00:00
Aaron Giles
aeb7e74d74 Oops, missed deleted file. 2008-08-14 07:14:26 +00:00
Aaron Giles
4380531fc8 From: JoshuaChang [mailto:joshuachang2005@gmail.com]
Subject: cps3 sfiii3 title+linear zoom effect fix

fix the sfiii3's title animation (cps3.c line 1055)
also fix the linear zoom effect that OopsWare didn't improve properly
since 0.122u7(cps3.c line 1168,1189,1190)

i've attached 2 images to show the difference between the priginal and
fixed one~
hope this helps~
2008-08-14 06:33:31 +00:00
Aaron Giles
aa4b4b3e7d From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: mame.mak - sound chip cleanup

Cleaned up and grouped the sound chip entries based on sound.mak.
2008-08-14 06:32:03 +00:00
Aaron Giles
ec66ef6ab0 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: two more patches

Hi,

enclosed please find the following patches

* portM.diff which completes the basic port cleanup in 
drivers starting with M. It's mostly conversion of 8bit 
-> 16/32bit inputs and usage of AM_READ_PORT in memory maps 
(plus a couple of eeprom_bit_r replaced with PORT_CUSTOM 
and daitorid_soundstatus_r in metro.c converted to a 
CUSTOM_INPUT as well)

* avgdvg.diff converts most of the games checking avgdvg_done() 
in inputs to use a CUSTOM_INPUT (which I added to video/avgdvg.c). 
avgdvg_done() is still in use in mhavoc.c (which requires some 
more changes, so I'll take a look later) and in omegrace.c (which 
reads it directly and not through inputs). While at it, I've 
also done a small cleanup of inputs in starwars.c and tempest.c.

Regards,
     Fabio
2008-08-14 06:31:06 +00:00
Aaron Giles
2ec0fea9c2 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Collapse timer callbacks

Hi mamedev,

The following patch collapses timer callbacks in some cases to avoid
duplicating code.  In the case of crystal.c, it also refactors two DMA
handlers and shuffles the init/reset code around a bit.  I noticed
while doing this that h8_itu_read8 is missing cases 0x96,0x97 which is
almost certainly a bug, but I left it alone.

~aa
2008-08-14 06:27:52 +00:00
Aaron Giles
d6b6e913fa From: RansAckeR [mailto:RansAckeR@telenet.be]
Subject: clshroad.c dips

Added DIP locations
2008-08-14 06:22:07 +00:00
Aaron Giles
0921968934 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix i386 bsr implementation

Hi mamedev,

The i386 cpu emulator will return the wrong result for bsr when the
highest bit is set (0 instead of 15 or 31).  The attached patch fixes
this.

~aa
2008-08-14 06:21:31 +00:00
Aaron Giles
5ad309b60f From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: few more patches

Hi,

enclosed please find a few patches to continue the input port 
clean up (and to fix a mistake in the previous submission). In 
detail:

* hal21.diff: with my last submission I made a mistake in hal21.c 
(I converted it only partially to custom inputs, still returning 
1<<5 instead of 1 from the handler). please revert that change 
(it was in u4_custom04.diff) and apply this one, to fix the 
communication with sound cpu

* clean_new.diff: introduce AM_READ_PORT & c. in drivers starting 
with M (only few of them updated, more to come)

* custom_new.diff: improves input handling in mainsnk.c and marvins.c 
by using CUSTOM_INPUTs and AM_READ_PORTs

* gaelco3d.diff: converts radilkalb inputs to 32bit inputs (as 
they are), removing the need of AM_READ16 for those

* itech32.diff: converts inputs of later games to 32bit inputs and 
updates all the occurrences as needed. It also simplifies input 
handling by removing special_port_r from most of the maps (replaced 
by a CUSTOM_INPUT). Now only drivedge still uses 16bit inputs and 
special_port_r, but I'll investigate it later.

* arkanoid.diff: changes mcu reads to CUSTOM_INPUTS (and muxed 
inputs as well). Bootleg inputs has been slightly changed as well 
to cope with the new implementation of the protection

* irem.diff: this patch changes a lot of input related things in 
m10->m107 irem boards. First of all, it moves input definitions from 
drivers/m92.h to include/iremipt.h (which was already there, just 
a bit unused ;) ) and it removes completely drivers/m92.h (which 
only contained those definitions). Moreover, it adds more common 
inputs to iremipt.h and starts to use that file in m62->m107 instead 
of local #defines. Finally, it adds diplocations to all the games in 
m62->m107 which were missing and it implements coinage mode 2 through 
dipconditions in the drivers which didn't support it.

I tested as much as I could these changes and I can see no regressions.

Regards,
     Fabio
2008-08-14 06:20:42 +00:00
Aaron Giles
51c1079953 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix 1802 cybrcomm, raveracw, raveracj, raveraja,
ridgerac, ridgerab, ridgeraj, acedrvrw, victlapw: No sound in games
after reloading via the MAME UI

Hi mamedev,

The problem with namcos22 games losing sound when running multisession
is actually an m37710 cpu initialization bug.  The attached patch
fixes it, and also collapses all the timer callbacks together as an
unrelated code cleanup.

Note: namcos22 has a lot of uninitialized state, so I wouldn't be
surprised if there are other multisession issues.
2008-08-14 06:13:56 +00:00
Aaron Giles
3b76b8e25e From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: some more input clean-ups
Hi, 

attached please find a few patches against u4. These diffs improve 
input ports for drivers starting with F->L. In particular: they add 
AM_READ_PORT whenever suitable, they make inputs fully 32bit where 
needed, they remove indexed input read handlers from INITs, they 
replace many read handlers with appropriate CUSTOM_INPUTs. 

Additional improvements:

* added dip switches and locations to go2000 (even if they were 
partially documented in the source)
* fixed artmagic protection (it used a wrong tag, which probably 
I added somewhere in 0.125uX); even if I haven't experienced any 
problems due to the bug since the regression now it's fixed

More details on the patches:

* u4_clean01 -> u4_clean07: these are standard changes like the 
one I submitted previously (no custom inputs involved)
* u4_custom01 -> u4_custom04: here there are also changes involving 
custom inputs (they mainly deal with eeprom reads, but a few were a 
bit more interesting); I separated these from the other ones in 
case you want to check them more in detail
* itech8.diff: this patch improves ports & their handling in itech8.c. 
In particular, it replaces the 'special' handlers with a single 
custom input and I would like a confirmation that it was the right 
choice in this case.

Patches are independent one from the other and should apply with 
no problems. Let me know if this is not the case.

Regards,
    Fabio
2008-08-14 05:17:39 +00:00
Aaron Giles
15893eeed0 Fixed includes of rescap.h. 2008-08-14 04:51:04 +00:00
Brian Troha
6d0de192fa Updated the header of the ladybug.c driver with a little bit of info 2008-08-14 04:46:18 +00:00
Brian Troha
55a1654534 Correct rom names with PCB locations for Lady Bug and verified the dump against an original Universal Lady Bug PCB. Added information about the Universal PCB number and prom type.
Verified that Lady Bug, Cosmic Avenger & Snap Jack all use the same PCB set and adjusted the rom names as needed.
2008-08-14 04:34:28 +00:00
Derrick Renaud
a615a52ccb minor correction to Guru Read Me 2008-08-14 02:31:03 +00:00
Derrick Renaud
ad617cfb1e Added Guru ReadMe for madalina.
credit (Guru)
2008-08-13 23:57:00 +00:00
Roberto Fresca
37414e4353 Minor corrections to the notes and some acknowledgements. 2008-08-13 23:36:39 +00:00
Nicola Salmoria
ac821a6f88 implemented proper shadow handling. Some intial cleanup.
00233: ikari: The current implementation of the shadow in Ikari Warriors and Victory Road is wrong.
2008-08-13 17:53:31 +00:00
Aaron Giles
a0574bb473 Moved several include files from mame/ to emu/, as they were
included by generic components in emu/ and thus should have no
dependencies on the MAME code.

Added new target ldplayer, which is based on MAME but serves as
a standalone laserdisc player for CHDs. Right now only the
Pioneer LD-V1000 is connected, and limited commands are available.
Each player type is a driver, so you specify the player type on
the command-line. The driver then opens the first CHD it finds
in your ROM path and uses that as the laserdisc. The intention is
that you specify the -rompath each time on the command-line, so
a typical approach might be:

   ldplayer ldv1000 -rompath j:\mach3

where it will pick up the mach3.chd lurking in your j:\mach3
folder. Several basic commands are supported:

   Space = play/pause
   Alt   = toggle frame display
   Left  = scan forward (when playing) or step forward (when paused)
   Right = scan backward (when playing) or step backward (when paused)
   0-9   = enter numbers for search
   Enter = execute search to frame
2008-08-13 15:09:08 +00:00
Aaron Giles
16903498a4 Improved video signal warning reporting. 2008-08-13 05:18:02 +00:00
Aaron Giles
480df37d02 Added new flag to menu items: MENU_FLAG_DISABLE, which means the
item will be visible but not selectable.

Fixed bug that prevented the cheat engine from working when the
debugger was disabled.

Modified xmlfile.c to accept integer values in decimal or hex. The
default is decimal. Numbers may be prefixed by '#' for decimal
values, or by '$' or '0x' to indicate hexadecimal values. Also
added function xml_get_attribute_int_format() to return the format
of the attribute, so that it can be later replicated.

Updated cheat parser to preserve the format of attribute values
used for cheat parameters and items.

Added support for information-only cheat items, which will be
displayed in the menu but which are not selectable and have no
action associated with them. Empty information-only items are
automatically converted to menu separators.
2008-08-13 04:55:42 +00:00
R. Belmont
04239409b0 SH2DRC: Allow delay slot of a BSR to trash the PR if it wants. (Manis 2059) 2008-08-13 03:58:02 +00:00
Derrick Renaud
1daf41e218 Final CPU header updates. Mostly just re-naming the re-inclusions.
The structures/names were getting too complex for my macros to handle.  They would require hand editing and my computer is too slow to keep re-compiling.

Passes a clean compile.
2008-08-13 02:48:52 +00:00
R. Belmont
0f0b9208f6 Fix crash with DRC, now hangs waiting for impossible conditions again. 2008-08-13 02:33:22 +00:00
Tomasz Slanina
936c9c5275 Fixed ROM mapping and added preliminary video emulation. 2008-08-12 22:55:30 +00:00
davidhay
6debb2fb24 fix compile error pt2.
rule #1 of SVN, test before commit ...... not being able to compile the latest code is very annoying.
2008-08-12 22:47:00 +00:00
davidhay
216a0b5c3b fix broken compile. 2008-08-12 22:28:40 +00:00
Aaron Giles
111a34fea5 Added video level detection and reporting to ldverify.
Removed channels parameter from avcomp decode configuration.

Fixed incorrect test in winwork that led to spinning instead
of using the nicely allocated events we had on hand.

Forced a sound synchronization on each vsync in the laserdisc
playback. This prevents overwriting the tail end of the
buffer which was fouling up the MACH 3 audio decoding.

Removed obsolete size check for uncompressable audio data.
2008-08-12 17:37:53 +00:00
Brian Troha
c2b9cb3b7e corrects rom names for Road Riot 4WD 2008-08-12 17:36:22 +00:00
Roberto Zandona
906b6a5c39 now shanghai and adp use hd63484.c e hd63484.h in video folder 2008-08-12 15:29:20 +00:00
Nicola Salmoria
82494e9da3 updated Alpha 8302 MCU simulation to match newly dumped internal ROM.
Added the ROM to Champion Baseball 2.
2008-08-12 14:50:34 +00:00
Roberto Zandona
d6269d15fa use last version of HD63484 (like shanghai driver) 2008-08-12 12:23:24 +00:00
Roberto Zandona
526be2629c some improvements to shanghai video drivers:
1) convert framebuffer's ram from 8 bit to 16 bit
2) convert dma command from 8 bit to 16 bit
3) convert gfx command from 8 bit to 16 bit
4) implemented all gfx mode: 1,2,4,8,16 bpp
for now the rendering is only 8 bpp
now we can use this gfx chip for adp driver that use 4bpp
2008-08-12 12:04:21 +00:00
Aaron Giles
a85c4c754d Rejiggered huffman.c to support multiple interleaving
streams and a delta-RLE pre-encoding. Added optimized
case for the Y/Cb/Y/Cr video encoding case. Cleaned up
the code.

Updated avcomp.c to use the new huffman.c functions.
Reworked configuration options to allow for both input
and output of naturally aligned data streams. Updated
chdman and laserdsc to use the new interfaces. New
compression gives an additional 3-7% over previous
attempt and compresses the dummy CHDs down significantly.
2008-08-12 09:24:22 +00:00
Nicola Salmoria
d89508d201 Added reverse engineered PLD images to CPS1 games (A-board to all and B-board and C-board to many).
Credit Corrado Tomaselli and Charles McDonald.
2008-08-12 06:04:03 +00:00
Derrick Renaud
0ec9cda36e Fixed NMI on Mad Alien sound CPU. This fixes shot sound and various other sound glitches.
Marked madalien and madalina as Imperfect Graphics.  They are missing an effect.  When you shoot an enemy in the dark, the whole screen lights up.  Basically the headlights fill the whole screen.

credit Guru, Derrick Renaud
2008-08-12 03:51:29 +00:00
Derrick Renaud
d5d5d9449b structure, lower-casing functions and re-inclusion updates of the src\emu\cpu headers J - M. 2008-08-12 03:40:09 +00:00
Brian Troha
7e7e4ef30f removed bad dump from China Dragon (Hong Kong)... I dumped this PCB way back and mentioned that the copy protection checks needed fixing. The other 2 roms matched the parent set, that's why it was only the program rom.
BrianT
2008-08-12 01:40:56 +00:00
Nicola Salmoria
241e19186c KO Punch boxer graphics had to be doubled. Evidence:
http://www.retro-gaming.it/videogiochi_img/magazine_videogiochi/videogiochi2/videogiochi_2_54.jpg
http://www.retro-gaming.it/videogiochi_img/magazine_videogiochi/videogiochi2/videogiochi_2_55.jpg
(these are two halves of the same shot).
The shot is clearly from some other version of the game since the graphics are different, however it's clear that the boxer is supposed to fill the screen.
2008-08-11 16:50:55 +00:00
Nicola Salmoria
d099ba2be0 02101: wboy, wboysys2: Access Violation 2008-08-11 15:10:08 +00:00
Andrew Gardner
6be1af1ea3 Adds readmes for Great 1000 Miles Rally 2 and Super Monaco GP.
Credit Guru.

(This completes *all* the readmes)
2008-08-11 15:03:02 +00:00
Derrick Renaud
3c2b00d332 structure, lower-casing functions and re-inclusion updates of the src\emu\cpu headers up to I.
It's mostly just re-inclusion renaming, but there are few other re-nameings.
2008-08-11 03:06:59 +00:00
Brian Troha
9ab4f76a04 adds the Plotting PAL to the Japanese set. Also corrects the PAL ROM name. Adds a note that PAL is stamped B86-04... curently we don't know what Taito game B86 is for :-( But if one is dumped we'll know it should go in the taito_l.c driver 2008-08-11 00:46:39 +00:00
Derrick Renaud
3710253aa7 This (mostly - see below) completes the structure, lower-casing functions and re-inclusion updates of the src\sound\emu headers.
I did not do much to the following files because I did not know the best way to name them.
aicadsp.h
sid.h
sidenvel.h
sidvoice.h
ymdeltat.h

I did not update structures only used in the src\emu\sound\*.c files.  They are only used locally in the file so they were not worth the effort.
2008-08-11 00:32:08 +00:00
Andrew Gardner
fdf667cf9c Adds readmes for Vivid Dolls, Tower and Shaft, Star Soldier Vanishing Earth, Stone Ball, Sky Lancer, Squash, Winning Spike, Versus Net Soccer, Undercover Cops, War Gods, Space Fever, Strikers 1945, Rohga, Super Eagle Shot, Treasure Hunt (stv), and Tickee Tickats.
Credit Guru.

(This completes adding all of Guru's readmes to the MAME source.  There remain ~20 readmes that I still need to compare to what's in MAME to see if they have any additional information, but beyond that, this little project is done!)
2008-08-11 00:23:04 +00:00
Brian Troha
b8ac62f60c relocates readme info down to the proper rom set. 2008-08-11 00:01:25 +00:00
Tomasz Slanina
b6e297e8a4 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Killer Instinct (SNES bootleg) [Tomasz Slanina]
Final Fight 2 (SNES bootleg) [David Haywood, Tomasz Slanina, Kowal]

New games marked as GAME_NOT_WORKING
------------------------------------
Sonic Blast Man TURBO 2 (SNES bootleg) [Corrado Tomaselli]
2008-08-10 22:43:48 +00:00
Andrew Gardner
326ad99c3a Adds readmes for Koro Koro Quest, Gigas (bootleg), Race Drivin', Hexa, IQ Block, Open Golf Championship, Macross Plus, Malzak, Puzzle Club, Naomi, Puzzle Star, Puckman Pockimon, Raiden 2, Raiden Fighters 2 (single board), Light Bringer, Landmaker, Knuckle Bash 2, and Mahjong Fight Club.
(Please, as with the previous submission, credit Guru)
2008-08-10 21:41:36 +00:00
Luca Elia
c4a5a1359c igs_blit.c update
- General clean up (merged memory maps, inputs, readme's)

- Marked vbowl program rom as bad, patched to not crash (fixes bug 00492)

- Protection emulation / patches, promoting to working:

  dbc, xymg, lhba (fixes bug 02027), drgwrld3 (fixes bug 00491), chindrac, chindrah


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Da Ban Cheng [Pierpaolo Prazzoli, Luca Elia]
Xing Yen Man Guan [Luca Elia, Wei Mingzhi]

New clones added
----------------
Zhong Guo Long (China, V010C) [Luca Elia]
Zhong Guo Long? (Hong Kong, V011H) [Luca Elia]
2008-08-10 16:02:14 +00:00
Roberto Zandona
24a0058754 implemented MWR (memory width register) to avoid hardcoded 384 value for screen width 2008-08-10 15:54:48 +00:00
Andrew Gardner
842d5e37a1 Adds readmes for Cosmo, Don Den Lover, Beatmania (CHD dumping), Dragon Master, Gals Panic, Fantasia II, Grand Tour, New Dyna Blaster Global Quest, Daytona "To The MAXX" upgrade, Namco System FL, Great Sluggers, Gun Nail, Gun & Frontier, Elevator Action Returns, and Battle Bakraid.
(It's easy to do this while watching the olympics.  110 down today, 245 more to go.)
2008-08-10 06:46:41 +00:00
R. Belmont
3fd8c0941b More FM OPN fixes [Eke, R. Belmont]
- Pass chip type around and restore Jarek's original behavior for YM2203/YM2610
- Always recalculate attack rate in set_ar_ksr, fixes Megadrive/Genesis "Batman & Robin"
2008-08-10 04:00:31 +00:00
R. Belmont
654ec18554 Fixed array size to avoid memory trashing. 2008-08-10 03:34:23 +00:00
Derrick Renaud
4f0cddd1a5 Updated src\emu\sound headers from K-S, so they use latest naming/structure and re-inclusion support. Also lowercased the handler names.
What a PITA.  :)  I'll have to go back and do A-J to lower case the handlers to match the new structure names I already did.

Sorry Mess and other port developers, but the code should match what is stated on the official WIKI.  But don't worry, I don't plan on updating anything but the sound cores.
2008-08-10 02:23:43 +00:00
Andrew Gardner
317af7eba8 Merged memory maps for drivers tbowl, thedeep, and thief.
(also changes gfx memory region tags in obvious cases)
(only ~1350 memory maps remaining :P )
2008-08-09 19:59:46 +00:00
Tomasz Slanina
12e0d61473 Added sprite wrapping to Irem m63 driver [Tomasz Slanina, Stefan Lindberg] 2008-08-09 17:33:55 +00:00
Andrew Gardner
dfd2e0d7df Merged memory maps for drivers tigeroad, timelimt, toobin, and tumbleb.c
(also changes gfx memory region tags in obvious cases)
2008-08-09 17:19:04 +00:00
Roberto Fresca
5a587d796e Improvements to Lucky74.c driver:
- Reverse engineering of custom IC's 06B49P, 06B53P & 09R81P.
 - Mapped the missing 3x SN76489.
 - Measured and traced all clocks on the board.
 - Measured and fixed the interrupt system.
 - Implemented timings/clocks from custom 06B49P.
 - Added sound support. All regular game sounds/musics are working.
 - Implemented the ADPCM samples system through 09R81P + M5205 emulation.
 - Added pinouts and technical notes about custom IC's 06B49P, 06B53P & 09R81P.
 - Added flip screen mode.
 - Inverted the order of double-up difficult DIP switches.
   (Seems to be the opposite of the indicated in the instruction sheet).
 - Changed 'Key In' to be active LOW instead of HIGH (checked in the PCB).
 - Complete memory map and ports scheme.
 - Created handlers for USART port and co-processor communication.
 - Renamed the sets accordingly.
 - Updated all notes.
 - Cleaned-up the driver.

Please co-credit Grull Osgo.
2008-08-09 15:57:31 +00:00
davidhay
1ee5dc58da new clone : Free Kick (bootleg set 2) 2008-08-09 13:11:53 +00:00
Derrick Renaud
629498ef38 more sound core structure/renaming updates.
You may have to do a clean compile, or delete the affected driver object files.

struct C140interface       to c140_interface
struct cem3394_interface   to cem3394_interface
struct ES5503interface     to es5503_interface
struct ES5505interface     to es5505_interface
struct ES5506interface     to es5506_interface
struct ssg_callbacks       to ssg_callbacks
struct gaelcosnd_interface to gaelcosnd_interface
struct ics2115_interface   to ics2115_interface

I'll stop until my posted question about chip names and upper case is answered.
2008-08-09 05:28:19 +00:00
R. Belmont
b14904ef68 cottonbm: actually, both cheats are harmful. 2008-08-09 03:40:56 +00:00
R. Belmont
98a3efeb51 cottonbm: disable main CPU speed cheat, it causes master/slave comms problems with the DRC for some reason.
Fixes mantis bugs 2020 and 2021.
2008-08-09 03:32:57 +00:00
Derrick Renaud
e6cf588405 Some more structure/naming updates of sound cores.
FWIW, I first check for variables named name_interface and rename them as name_cofig, so they don't conflict with the new interface names.

struct YMF262interface  to ymf262_interface
struct YM2151interface  to ym2151_interface
struct YM2203interface  to ym2203_interface
struct YM2608interface  to ym2608_interface
struct YM2610interface  to ym2610_interface
struct YM2612interface  to ym2612_interface
struct YM3812interface  to ym3812_interface
struct Y8950interface   to y8950_interface
struct YM3526interface  to ym3526_interface
struct TMS5110interface to tms5110_interface
struct TMS5220interface to tms5220_interface
struct AICAinterface    to aica_interface
2008-08-09 00:55:07 +00:00
Derrick Renaud
4bc7e64b46 Hooked up discrete filtering to SN76477 in Space Chaser 2008-08-08 23:16:09 +00:00
Derrick Renaud
1c8e102f7b Discrete sound for Mad Alien 2008-08-08 21:56:44 +00:00
davidhay
6a48444e71 decided not to flag rom 10 of defendw as bad dump. IMO, given the evidence, the mismatched checksum is probably a typo C066 / C866 look very similar ;-) 2008-08-08 20:53:30 +00:00
davidhay
f63347c5ce new clone: Defender (White label) [Andy Welburn] 2008-08-08 20:40:57 +00:00
Derrick Renaud
7ea948666a lower cased sn76477_interface and ay8910_interface 2008-08-08 16:32:55 +00:00
Nicola Salmoria
7b2d48149a Credit Corrado Tomaselli
Added a new Japanese version of Ghouls'n Ghosts.
This could be a hack since, running on a 91634B board, it must have been made at least three years after the initial release of the game. However, if if it's a hack, it's exceptionally well made since all ROM stickers look original and the B-board DAM63B PAL label is printed on the chip.

Also, hack or not, the code alignment of none of the already supported versions matches this one so it appears to at least be based on a new version.

The dip switches need to be checked. The Lives dips, and the two unused dips after those, also change the starting level. This could be further evidence that the game is a hack.

New clones added
----------------
Dai Makai-Mura (Japan new version)
2008-08-08 12:17:01 +00:00
Nicola Salmoria
faa193428c fix bogus comment 2008-08-08 05:34:49 +00:00
Nicola Salmoria
62a323841b fix typo 2008-08-08 05:22:15 +00:00
Derrick Renaud
cc94c8207d Updated structure and naming conventions of the following sound interfaces.
struct CustomSound_interface to custom_sound_interface
struct Samplesinterface to samples_interface
struct SN76477interface to SN76477_interface
struct AY8910interface to AY8910_interface
2008-08-08 01:50:00 +00:00
Couriersud
3f73ea77f0 Changed region "user1" to "tms5110_ctrl" 2008-08-07 23:32:44 +00:00
Couriersud
daff376f35 Change ad2083 following Aaron's suggestions.
* Use amended prom
* Mark prom as BAD_DUMP
* Use prom in TMS5110 logic instead of hardcoded values
2008-08-07 23:09:02 +00:00
Couriersud
37e0bacdf4 Corrected some typos 2008-08-07 22:13:00 +00:00
Nicola Salmoria
3686aa936a Updated the FD1089 decryption algorythm to use the real keys generated by the LCG as found by Andreas Naive.
The algorithm is more complex than it should be, but I haven't been able to simplify it more.
The keys are still embedded in the source. It would now be reasonable to move them to external files; however, for several games we only have partial keys so the files would need to be BAD_DUMP.
2008-08-07 19:10:50 +00:00
R. Belmont
eec9dab98d Fix GCC warning. 2008-08-07 16:51:31 +00:00
Aaron Giles
b40a4f5531 Cleanups and version bump. 2008-08-07 16:02:05 +00:00
Aaron Giles
9df01a2896 Added expression validation callback to verify names for CPUs and
memory regions. Extended error codes to report incorrect memory 
spaces, memory names, or memory sizes. Added verification callback
to the debugger to validate CPU and memory region names, as well
as verifying that a requested address space exists for a given
CPU.

Added support for oneshot cheats (those with only an "on" script).
They are activated via UI_SELECT in the cheat menu, and pop up a
message when activated. Also added a "Reset All" item in the cheat
menu to reset all cheats back to their default state, and added
support for UI_SELECT on a non-oneshot cheat so that it resets that
cheat to its default value.

Restored previous behavior that allowed popmessage() messages to
overlay menus and other UI.
2008-08-07 15:53:58 +00:00
Aaron Giles
3107dc2dff ldverify now prints transient progress to stderr, allows for frame #0,
and reports if no white flags were seen.

Fixed bug in aviio.c which could cause an infinite loop if attempting
to read sound beyond the end of the file.

Rewrote the white flag detection to use a histogram for outlier detection
and peak identification.
2008-08-07 15:07:12 +00:00
Pierpaolo Prazzoli
1c6a1e7df7 Removed bad dumps from ad2083. 2008-08-07 14:55:44 +00:00
Pierpaolo Prazzoli
1a98d9f0cd Decrypted Da Ban Cheng (dbc set in igs_blit.c) 2008-08-07 14:46:03 +00:00
Aaron Giles
ce00409cce Added word alternates for operators in expressions:
+   plus
  -   minus
  *   times or mul
  /   div
  %   mod
  !   not
  ~   bnot
  &&  and
  &   band
  ||  or
  |   bor
  ^   bxor
  lt  <
  le  <=
  gt  >
  ge  >=
  eq  ==
  ne  !=

Changed cheat escaping to automatically escape && & < and <=
to and band lt and le.
2008-08-07 06:48:04 +00:00
Aaron Giles
3153693306 From: jeaw100@york.ac.uk [mailto:jeaw100@york.ac.uk]
Subject: MPU4 sound weightings
Corrected MPU4 AY8910 output weightings
2008-08-07 06:27:21 +00:00
Aaron Giles
5fdd33c68f From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: spinal breakers clocks

Changed sound cpu clock of Spinal Breakers to 5Mhz as verified on the
pcb.
2008-08-07 06:26:39 +00:00
Aaron Giles
d4968a5667 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: cps1 refresh rate diff

I verified the vertical refresh on one of the input gates of the 
74ls08@4J on GNG romboard 88620-b-2
2008-08-07 06:25:03 +00:00
Aaron Giles
c747744376 New clone: Crystal Castles (joystick version) [Guru] 2008-08-07 06:20:54 +00:00
Aaron Giles
d276a30840 Changed defender (white) to defender (blue). 2008-08-07 04:54:47 +00:00
Brian Troha
3c8e968bc0 Makes the "Standard" version of Mega Touch III the parent and California version the clone like it should be. 2008-08-07 03:35:40 +00:00
Pierpaolo Prazzoli
33b7088c2a Fixed bug 01958: skns: Segfaults on load 2008-08-06 20:59:33 +00:00
Pierpaolo Prazzoli
aa90d1cf72 Fixed bug 01817: intrepi2: Game stops at PCB test 2008-08-06 20:42:19 +00:00
Couriersud
2f7339ee3e Added commetn in video/mario.c that sprite buffering uses the same circuit like the one in dkong 2008-08-06 20:33:31 +00:00
Pierpaolo Prazzoli
35c4dc159f Fixed bug #02090
thedeep: Game didn't start (black screen).
2008-08-06 19:54:03 +00:00
Couriersud
c81b2cb24d Added module profiling to discrete sound core
* added DISCRETE_PROFILING macro to discrete.h
* Upon discrete_stop, the worst performing modules will be listed
2008-08-06 19:31:39 +00:00
Roberto Zandona
fa04fe6355 modify memory maps - only a wip 2008-08-06 15:03:46 +00:00
Aaron Giles
5033d06b7b From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: athena clocks

Changed cpu clocks as verified on the pcb
2008-08-06 14:41:00 +00:00
Aaron Giles
5a396b5b85 From: f205v [mailto:f205v@mail.mdsnet.it]
Subject: New russian game

Dear Aaron,
thanks to the very kind and good guys at the "Soviet Arcade Games Museum"
(www.15kop.ru), namely Alex and Max; and thanks to Antro (a good friend of
mine), we have a new dump for a previously unknown Russian game: S.O.S. by Terminal.
It works on the same hardware as Konek (already in MAME), it's a simple rom
swap. I still have to chek about PROMs.
A diff file is included, together with roms.

All the best
Antonio (f205v)
2008-08-06 14:39:56 +00:00
Aaron Giles
4c0d1c6567 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: some diplocations

Hi, enclosed please find a patch to add diplocations to the some 
drivers which still missed them. The patch assumes my changes to 
drivers starting with C,D,E have been applied (port01.diff -
>port09.diff I sent on Aug 1st... there is at least crshrace.c w
hich could fail to correctly patch, due to possibly different tags, 
and probably 1 or 2 more... not many, but maybe annoying anyway). 

It adds diplocations to the following drivers: combatsc.c, copsnrob.c, 
cosmic.c, crgolf.c, crimfght.c, crospang.c (here I also added service 
dips to heuksun and bestri, which allowed me to verify locations), 
crshrace.c, dambustr.c, darkseal.c, dassault.c, dblewing.c, ddrible.c, 
deadang.c

It also adds locations to the following games: ddragon & ddragon2 on 
ddragon.c and docastle, dorunrun & dowild in docastle.c

Regards,
    Fabio Priuli
2008-08-06 14:37:26 +00:00
Aaron Giles
d3c7e67622 This also includes a fix for the bug reported at the bottom.
From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Subject: to simplify cischeat inputs

Hi,

the enclosed diff has a twofold effect on cischeat.c:

on one side: it adds diplocations to bigrun, scudhamm, 
cischeat & f1gpstar

on the other side: it removes the current hacky handling of 
f1gpstar coinage dips (check video/cischeat.c to see what I 
mean with hacky!) to use conditional ports instead. BUT in 
order to do this, I had to add more possible values for the 
PORTCOND in iptport.c. The problem is that f1gpstar has a set 
of coinage settings when you set the region to JPN or USA and 
another one when you set the region to EUR or FRA. To implement 
this I added the following self-explanatory new PORTCOND: 
ISLARGER (>), ISNOTLARGER (<=), ISSMALLER (<), ISNOTSMALLER (<=). 
Only two were really needed to implement f1gpstar dips, but 
the other two seemed costless to me while offering even more 
flexibility to the PORT_CONDITION macro.


Also notice that the handling of conditional ports in 'TAB>Dip 
Switches' menu doesn't work well (in the current source, not 
affected by my patch) with contracted expressions like 
PORT_DIPUNKNOWN_DIPLOC: the wrong items remain listed in the 
UI menu even when you change the condition! If you leave the 
DEF_STR( Unknown ) with ON/OFF cases, everything is displayed 
correctly in the menu. However, I was not able to track down 
what part of code is responsible for this bug.

Regards,
    Fabio Priuli
2008-08-06 14:35:45 +00:00
Aaron Giles
c9063a7416 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: another small fix

Hi,

with this last patch I hope to have fixed all regressions I could 
had introduced with my past submissions. This time it was a small 
problem due to my fix to bug 1565 (alleymas duplicated inputs): 
the game was unplayable in u3 (even if not reported to MT).

Regards,

    Fabio Priuli
2008-08-06 14:14:08 +00:00
Aaron Giles
769ad97695 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: fix for MT bug 2056

I failed to see this wrong tag for almost 2 days!! One would guess that 
looking for the cause of coins problems, an handler with the comment "coin 
inputs" should have been noticed immediately. I saw it only this morning :(

However, fix in attachment.

Regards,
    Fabio Priuli
2008-08-06 14:13:03 +00:00
Aaron Giles
a9e375ec8c Fixed Rim Rockin' Basketball to use the HD6309 core. [Tim Lindner] 2008-08-06 14:11:49 +00:00
Aaron Giles
6cad3b3231 Added support for DEL as well as BS for backspacing in the
game select menu. Also limited input to ASCII characters.
2008-08-06 14:04:16 +00:00
Aaron Giles
5dcdb1d1c3 NOTE: with this change, I have also removed PORT_START and renamed
PORT_START_TAG to PORT_START.


From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Subject: let's say goodbye to untagged input ports ;)

Hi,

enclosed please find a few patches against 126u3 source

* port01.diff -> port09.diff : these patches continues the 
cleanup of inputs in drivers starting with C (the remaining ones), 
D and E. No ambiguous situations this time, so I guess there should 
be no problem with the changes. Improvements include conditional dips 
added to dynduke and diplocations for chinagat, chqflag, circus, 
citycon, cloak, contra and dynduke

* tag01.diff -> tag09.diff : these patches add tag to EVERY input port 
in drivers starting with F->Z. Notice that only tags are added, no 
AM_READ_PORT, nor PORT_INCLUDE (and I saw a lot of drivers would need 
it ;) ), nor other cleanups contained in the patches above. I'll keep 
cleaning input next week, probably, but at least we can definitely 
remove the untagged version of PORT_START :) Notice I was able to 
compile the source commenting out the definition of PORT_START, so 
I guess every occurrence is covered...
2008-08-06 13:56:38 +00:00
Aaron Giles
4a36b515ed Changes to the cheat.xml format:
- new tag <comment> (within <cheat>) is read and preserved 
    when saved
 - removed variable attribute from <parameter>; it is now 
    assumed to be 'param'
 - added default attribute for <parameter>

Added new variable 'frame' accessible from cheat scripts. This
can be used in the conditional to prevent execution on every
frame, or for other effects (like displaying temporary messages).

Added new variable 'argindex' which is the index when processing
an <argument> with a count attribute greater than 1. Can be used
in expressions like:

  <argument count="3">main.pb@(1000+argindex)</argument>

Reinstated the cheat menu. It now displays all loaded cheats and
allows for them to be activated. All known cheat behaviors should
be working now.
2008-08-06 05:24:31 +00:00
Aaron Giles
2d165fe1c3 Fixed I/O watchpoints. 2008-08-06 05:04:05 +00:00
Derrick Renaud
b3bfdc060a Added Discrete Sound to Fantasy, Nibbler and Pioneer Balloon. (mantis# 00227) 2008-08-06 04:02:46 +00:00
R. Belmont
661aae28dc Changes to avoid collisions with system globals on OpenSolaris. (qmc2) 2008-08-06 03:25:58 +00:00
R. Belmont
43021ec0e2 Fixed GCC compile error. 2008-08-06 03:22:21 +00:00
R. Belmont
ebbd232ba3 Fix GCC 4.3 "array bounds overflow" error. This is obviously a bug, Couriersud please take a look :) 2008-08-06 03:19:52 +00:00
smf-
47b3fc7984 fixed cdrom0 region name so the games boot. 2008-08-05 23:25:21 +00:00
Jarek Burczynski
1bb6adec56 Forced synchronization (stream_update()) before the status is actually read. 2008-08-05 21:30:33 +00:00
Couriersud
8146898f14 Discrete sound core optimizations
* moved a couple of exp(x) from _step into _reset where appropriate
* use tabulated function values for the transfer function in DSS_INVERTER_OSC

==> 40% speed increase in dkong - from 520% to
$ ./mame64 -noautosave -nothrottle -str 30 -video none dkong -nomt -nosleep 
Average speed: 722.48% (29 seconds)
2008-08-05 20:25:44 +00:00
Aaron Giles
1c6d658c57 02066: All sets in mhavoc.c: all graphics is missing
02067: mustangb, tdragonb: Access Violation 
02068: All sets in mhavoc.c: Access Violation 
02069: astrofl: Access Violation 
02070: atlantol: Access Violation
2008-08-05 16:53:46 +00:00
Aaron Giles
5e3764d0a0 Removed obsolete makemeta tool. Replaced it with new ldverify
tool which walks through either an AVI or CHD capture from a
laserdisc and ensures that there are no anomalies lurking in
the VBI data.

Added new option to chdman, where if you use -createav with
a special filename (either 2:2 or 3:2) it will create a fake
laserdisc files with the equivalent cadence. This can be used
for testing until full captures are available. Most games used
2:2 apart from Dragon's Lair and Space Ace, which were 3:2.
Note that even though these files are essentially blank, they 
are Huffman-compressed, meaning that the maximum compression
ratio you will get is 8:1, so they still end up ~5GB.

Moved error strings from chdman.c to chd.c, where they can be
fetched from any caller via the new chd_error_string()
function.

Updated vbiparse to improve Manchester code decoding. It now
assigns a confidence level per bit based on how solid the
data is. Also added a new function vbi_parse_all which parses
the white flag and all three lines of metadata from a 
laserdisc frame. It then compares line 17 and 18 against each
other and selects the most likely candidate based on per-bit
confidence and other factors.

Added frame number display to laserdsc.c. It is off by
default, though most players can be configured to turn it on
(not sure if any actually do). It can be manually toggled via
the backslash key during playback.
2008-08-05 16:30:35 +00:00
Brian Troha
1f1fd39a44 more accurate statement about the NVC285 on Rally-X 2008-08-05 16:15:44 +00:00
Andrew Gardner
7b5da2e934 Adds readmes for Area 51, Animalandia Jr, Avengers In Galactic Storm, Alien 3: The Gun, Aquajack, and Missile Command.
Please credit Guru.
2008-08-05 15:25:38 +00:00
Roberto Zandona
1cb5cc78a8 soccerss (konamigx): fix for test rom (mantis #02033) 2008-08-05 12:55:22 +00:00
Brian Troha
28644f8523 adds information about custom program versions on rom name labels conventions 2008-08-05 03:49:05 +00:00
Brian Troha
11d0967aad New clone:Megatouch III (9255-20-01 RON)
New clones added
----------------
Megatouch III (9255-20-01 RON) [Brian Troha]
2008-08-05 01:46:16 +00:00
Brian Troha
83f5a6f54a fix cut-n-paste error on CPU type & correct the double "like" 2008-08-05 01:10:27 +00:00
Brian Troha
ab1e02e821 Verifies former region hacked US set as correct with correct Taito ID number. Adds information about the CPU, OSC and TC0030CMD chip. Corrects the CPU clock down to 8MHz from 12MHz. 2008-08-05 01:06:37 +00:00
Brian Troha
5f7ab71b4b adds note about the "video" chip for Rally X which appears to be DIP28 Fujitsu MB884x stamped 8050 2008-08-05 00:55:32 +00:00
Brian Troha
6339e98279 correct prom names for RallyX ... retained prom type info 2008-08-05 00:49:42 +00:00
Wilbert Pol
0f20ccdc1e Set the initial timer output to 2 to indicate that it is undetermined. 2008-08-04 17:44:56 +00:00
Wilbert Pol
1c0a7fce3a Fix compile errors. 2008-08-04 15:41:01 +00:00
Aaron Giles
95e3753dd2 Added proper laserdisc support for MACH 3, Us vs. Them, and Cobra
Commander (MACH 3 hardware). Old laserdisc hacks are now removed.
The code now talks to the standard Pioneer PR-8210 interface. Also
removed hacky "target list" from the MACH 3 ROMs; this information
is now decoded on the fly from the right channel laserdisc audio.
 
Other Gottlieb cleanups:
 - moved sound inputs to audio/gottlieb and included them in
    all relevant drivers
 - ordered input ports and ROM definitions consistently
 
Other laserdisc changes:
 - changed PR-8210 interface to work consistently for both Gottlieb
    and Stern games
 - added audio callback mechanism to allow drivers to peek at the
    raw audio streams
 - extended the VBI parser to be even more lenient
2008-08-04 15:26:41 +00:00
Andrew Gardner
d20e6b6151 Improved Dsp56k CPU interrupt handling. Polygonet Commanders now advances past its first dsp handshake. 2008-08-04 04:07:29 +00:00
Couriersud
77e548383a Scanline exact rendering for dkong & clones
* Sprite limit of 16 sprites per scanline implemented from schematics.
* Proper wrap around from bottom to top
2008-08-03 23:20:46 +00:00
Roberto Zandona
074ec8ff9b fix layout for invaders (mantis 2049) 2008-08-03 21:23:29 +00:00
Roberto Zandona
2c3973b9a3 radr: fix label of a dsw (mantis 02079) 2008-08-03 21:07:40 +00:00
Roberto Zandona
300d758618 fix DSW coinage; please credit to Fabio Priuli 2008-08-03 20:54:53 +00:00
Couriersud
82eff3f75c Revert accidentially commited changes. Sorry! 2008-08-03 19:02:28 +00:00
Couriersud
54da9f29bd 8257dma and z80dma devices now require device callback handlers instead of machine handlers.
Updated affected drivers accordingly.
2008-08-03 18:54:39 +00:00
Roberto Zandona
25379f0b5a fix window in shanghai and shangha2 2008-08-03 16:50:12 +00:00
Andrew Gardner
ae72afc18f Adds readmes for Victorious Nine, Youma Ninpou Chou, Pairs, Woodpecker, Slap Fight, Alcon, Tiger Heli, Superman, and WWF Superstars.
Please credit Guru.
2008-08-03 16:24:14 +00:00
Roberto Zandona
ef5ea22b9b add memory maps 2008-08-03 15:36:35 +00:00
Roberto Zandona
dff7bfdcb5 add some routines to skeleton "adp" driver 2008-08-03 14:43:01 +00:00
Roberto Zandona
6c3fe42bae fix CLR and CPY operations when the copy direction is from right to left -> this fix some gfx bugs in kothello 2008-08-03 10:09:06 +00:00
Brian Troha
ef65c9cce7 minor correction to memmap 2008-08-03 06:17:37 +00:00
Brian Troha
3b0857b675 adds edge connector pinout info to flower.c 2008-08-03 06:17:11 +00:00
Andrew Gardner
1ff2a15e0d Adds readmes for Kyros No Yakata, Bombs Away, Meikyuu Hunter G, Crazy Kong, Moero Pro Yakyuu Homerun Kyousou, Lucky & Wild, Match It, Country Club, Enforce, Elevator Action, Chuka Taisen, The New Zealand Story, Buck Rogers Zoom 909, and Head On 2008-08-03 06:13:02 +00:00
Couriersud
b95f4ada03 Added some notes about sprite limits and hardware. Thanks to R. Belmont for sharing the information! 2008-08-02 23:31:08 +00:00
Brian Troha
2f32d1d62a Removes "?" from Karate Blazers (World?) we have a verified US & Japanese version. 2008-08-02 22:17:17 +00:00
davidhay
00072016e5 fix psikyo4 region without breaking eeprom even ;-) 2008-08-02 22:06:20 +00:00
R. Belmont
86c919a2d7 Backported a bunch of FM OPN (YM2608/2612) fixes from Genesis Plus GX. All of
this was verified on real hardware.  [Eke-Eke, Nemesis, Alone Coder, AamirM]

- implemented PG overflow, aka "detune bug" (Ariel, Comix Zone, Shaq Fu, Spiderman...)
- fixed SSG-EG support
- modified EG rates and frequency
- fixed EG attenuation level on KEY ON (Ecco 2 splash sound)
- fixed LFO phase update for CH3 special mode (Warlock, Alladin)
2008-08-02 22:05:24 +00:00
davidhay
a433ae612f fix region jumper on psikyo4 (loderndf) no idea when this got broken.. looks to have been broken for a while tho. 2008-08-02 22:03:56 +00:00
Brian Troha
12b53262fc updated info from "bonus" material for the PCB I bought to decap/dump the MB8841 CPU 2008-08-02 17:18:47 +00:00
Andrew Gardner
14f225e1d3 Adds readmes for Galaga, The Outfoxies, Splatter House, and Top Racer. 2008-08-02 15:53:23 +00:00
Andrew Gardner
3ea67aa8c9 Memory map merge for drivers: blmbycar, blockade, blockhl, blockout, bombjack, boogwing, and bottom9. 2008-08-02 05:31:21 +00:00
Aaron Giles
6d5941e085 Disks opened by the romload module are no longer identified by index.
Instead, they are identified by the region they were loaded in. This
generally means one disk per region. get_disk_handle() now takes a
region name in place of an index. Updated all callers to do this.
The SCSI modules in particular posed a challenge to make this work,
so watch out for potential bugs there.

Changed the IDE interfaces to default to choosing the region with the
same tag as the device for its master disk (assuming no slave). Added
support for specifying explicit master/slave disk regions as part of
the configuration, though slave disks are still not supported yet.

Change the laserdisc interface to no longer require a disk number or
a custom sound device. Both are now assumed to be tagged the same as
the laserdisc device. Updated all drivers accordingly.
2008-08-01 23:11:08 +00:00
Roberto Zandona
9a456202dd fix height of the hw window (1 pixel) 2008-08-01 18:19:43 +00:00
Aaron Giles
a0c9cf2939 More gottlieb cleanup. Fixed rev 2 sound again, fleshed out memory
maps and behaviors according to the schematics. Hooked up coin
counters.

Added new functions cputag_set_input_line() to assert input lines
via CPU tag instead of index.
2008-08-01 16:39:12 +00:00
Roberto Zandona
6a2eccda3a some improvements to kothello:
- hooked up inputs
- promoted to working
dipswitcha are not implemented; for this reason are necessary 5 coins for 1 credit
2008-08-01 12:19:40 +00:00
Nathan Woods
6ddfa127af Minor MESS compilation fix 2008-08-01 10:59:32 +00:00
Luca Elia
ee4b5bca15 Older "Champion Poker" set with Tuning copyright
Formerly known as pokerigs in iqblock.c (wrong driver).
I've renamed it to cpokert and moved it to csk.c.
It works now.

New clones added
----------------
Champion Poker (v200G) [Luca Elia]
2008-08-01 09:50:27 +00:00
Roberto Zandona
6f12257687 better implementation of CPY command 2008-08-01 06:40:34 +00:00
Brian Troha
69e1dc9d8d Adds a note in the romdef about the default settings for both INDY 500 sets. Changed game names to INDY 500 Twin & INDY 500 Deluxe. 2008-08-01 05:56:06 +00:00
Brian Troha
dab2689f02 New clone: Indy 500 Deluxe
Note: it works as well as the parent ;-)
You can watch it run in MAME

New clones added
----------------
Indianapolis 500 Deluxe [Kris Anks]
2008-08-01 03:14:06 +00:00
Aaron Giles
444cde4388 Added cropping of the VBI data. 2008-08-01 02:36:23 +00:00
Aaron Giles
776b251aa2 Removed per-frame metadata support from chdman. Creating an A/V
now simply requires an AVI file input.

Relaxed VBI Manchester code clocking to allow for a little bit
of wiggle when finding the clock.

Changed laserdisc support to parse white flags and other data
from the VBI data directly, rather than relying on the textual
metadata. Expanded video frame cache to 3. Changed the way
frames are assembled to decrease the likelihood of getting an
interlaced weave. Fixed sound creation so that it is done at
reset time instead of device start, when the sound devices aren't
yet live.

Fixed bug in winwork that caused the creation of single work 
items to return NULL, and thus lead to massive memory leaks when
using A/V CHDs.
2008-08-01 02:23:26 +00:00
Derrick Renaud
c43a103858 Minor optimization to the DISCRETE_INPUT modules. The node output is now calculated when a discrete_sound_w() is called instead of each step in the simulation.
Removed the Enable line from the DISCRETE_ADJUSTMENT modules.  They should never be disabled.

Some before/after speed tests:
dkong - from 203% to 204%
firetrk - from 418% to 429%
phoenix - from 253% to 257%
polaris - from 448% to 476%
2008-08-01 00:08:42 +00:00
Roberto Zandona
bab5dcbbbb fix sprite-sprite priorities in spinlbrk (mantis #02060) 2008-07-31 21:49:16 +00:00
Roberto Zandona
9fe219e5c5 fixed gfx in kothello 2008-07-31 18:13:58 +00:00
Luca Elia
9f8e261997 Driver for "Jingle Bell" by IGS
(roms in current/j/jingbell.zip)

The background (slot reels) is not emulated properly,
hence it's not playable and marked as not working.

New games marked as GAME_NOT_WORKING
------------------------------------
Jingle Bell [Luca Elia]
2008-07-31 16:52:17 +00:00
Roberto Zandona
89e879e806 add infos to the 1943 driver (video) about priorities encoded in PROM 2008-07-31 10:39:05 +00:00
Luca Elia
eb89942ce4 Preliminary driver for "Quiz Punch 2"
Like some other Space games (mosaic.c), it is protected by an MCU
that supplies the addresses to jump to.

I've done some basic simulation that at least shows the service mode.

This is a candidate for decapping / trojaning, or for Nicola to examine
like he did with Mosaic ;-)

Note to Guru: u118 is probably bad, it fails the rom test.

New games marked as GAME_NOT_WORKING
------------------------------------
Quiz Punch 2 [Luca Elia]
2008-07-31 09:41:24 +00:00
Aaron Giles
57bd1856b5 Cleanups/version bump. 2008-07-31 09:00:13 +00:00
Aaron Giles
e8f2759a0c (From Atari Ace. Note that I only took the first patch, which applied
to whole functions. The other one I'm not so sure about. Commented
code is usually hilighted differently, making it very easy to spot.)

Hi mamedev,

This set of patches has one aim only, to identify chunks of code that
have been disabled by the use of C/C++ comments, and to disable them
instead by using the preprocessor.  The C comment approach to
disabling code isn't safe (embedded comments will trip it up), and the
C++ comment approach isn't elegant (you shouldn't need to touch every
line to disable a chunk of code).  Using #if...#endif is preferable
always, excepting perhaps if (0) { ... }.

The patch has three parts.  The first only handles cases where full
functions were disabled.  The second handles cases where parts of
functions were disabled.  The third then tries to restore the
whitespace that the use of comments converted from tabs to spaces via
srcclean.exe.  It also cleans up the whitespace in a handful of the
files in areas outside of the original two patches.

~aa
2008-07-31 08:30:22 +00:00
Aaron Giles
e0409bc7b1 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: a few cleanups

This patch contains:
- removal of unprintable chars (newlines) in SH-2 disassembler (I 
submitted this in the past nd it wasn't included)
- a few unnecessary checks after malloc_ort_die() calls
- changes two romload.c warnings to use GAMENOUN instead
- adds "deprecat.h" in a  few src/mame/drivers files (would be 
necessary, if the debugger.h one would be removed)
- cleans up the mame.mak by adding all missing defines and grouping 
them based on cpu.mak
- renamed video_exit() to winvideo_exit() for consistency in function 
names
2008-07-31 08:26:39 +00:00
Aaron Giles
a69088c498 Added new options 'cheatpath' to specify one or more paths for cheat
files. Removed old option 'cheat_file'.

Updated xmlfile.c to specify the line number for each node, for more
accurate error reporting.

Removed old cheat.c/.h and replaced them with code that will read and
write the new XML-based cheat format using the new cheatpath option
(cheats still need to be enabled in order to load at all). Note that
the cheats are not implemented yet, but they are fully parsed. To test
saving, whenever a cheat file is successfully loaded, it is immediately
written back out as 'output.xml' to the cheat directory for validation.
2008-07-31 08:19:53 +00:00
R. Belmont
252f254ab3 New game marked as NOT WORKING: Bust a Move 2 (JAPANESE ROM ver. 1999/07/17 10:00:00)
Game is NOT WORKING because it uses an H8/3644 MCU plus an IDE HDD to emulate the home PS1 version's redbook audio tracks.  Cross your fingers for decapping.
2008-07-31 04:53:53 +00:00
R. Belmont
818cfdc705 Fixed 64-bit GCC compile. 2008-07-31 04:49:54 +00:00
R. Belmont
252395e70a Enable strict PC relative loads for ST-V games; at least Cotton Boomerang needs them. 2008-07-31 04:42:51 +00:00
Brian Troha
7011feedf2 New Clone: Killer Instinct 2 (v1.3k, upgrade kit)
actual driver mod

Not working like v1.4k, upgrade kit

New clones added
----------------
Killer Instinct 2 (v1.3k, upgrade kit) [Brian Troha]
2008-07-31 01:16:02 +00:00
Brian Troha
ee24c4259f New Clone: Killer Instinct 2 (v1.3k, upgrade kit)
Not working like v1.4k, upgrade kit

New clones added
----------------
Killer Instinct 2 (v1.3k, upgrade kit) [Brian Troha]
2008-07-31 01:15:12 +00:00
Aaron Giles
5a17b8a274 Changed symbol table reference parameters to void * from UINT32. 2008-07-31 00:19:30 +00:00
Aaron Giles
2583b3cb6a Fixed menu handling so it doesn't swallow the tab key. 2008-07-30 22:36:30 +00:00
Luca Elia
fb63d91e65 Driver for "Galaxi", an italian gambling game.
Roms are in current/g/galaxi.zip.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Galaxi [Luca Elia]
2008-07-30 17:17:29 +00:00
R. Belmont
a6991f7085 Fix audio in F3 games after recent region changes. 2008-07-30 17:06:47 +00:00
Roberto Fresca
db1052137d New clones added
----------------
Pool 10 (italian, set 3) [Roberto Fresca]
2008-07-30 17:03:25 +00:00
Aaron Giles
975eccb12c Simplified shift/rotate instruction implementations.
The ROL/ROR/SHL/SHR opcodes provide the carry flags typically generated by
almost all CPUs. The RORC/ROLC opcdes map directly to the rotate through 
carry of most CPUs as well.
2008-07-30 14:49:40 +00:00
stephh
9e81e14705 Replaced "cpu1" and "cpu2" instances by "main" and "slave". 2008-07-30 14:32:25 +00:00
Aaron Giles
2a503b0899 Fixed overaggressive search & replace. That will teach me to try out
a new editor. :)
2008-07-30 14:13:11 +00:00
Aaron Giles
7d732d1f06 Remaining obvious regressions from region change. 2008-07-30 13:30:02 +00:00
Aaron Giles
03c86e0aa7 Fixed several regressions due to the region changes. 2008-07-30 05:21:01 +00:00
Aaron Giles
53491603bb Added region and regionbytes fields to the deviceconfig, which are
auto-filled by the device manager before starting the device. This
simplifies the auto-binding process for devices.

Added new selector for device-specific ROM regions. Not yet wired
up in the ROM loader.
2008-07-30 02:57:19 +00:00
Aaron Giles
3b3cd0ffb2 Removed ancient /* audio CPU */ comments that were remnants
from when we removed the CPU_AUDIO_CPU flag. Now that all the
CPU are tagged, it is quite clear which CPU is audio-related.
2008-07-30 02:35:56 +00:00
davidhay
fa5592836c preliminary work on key file format 2008-07-29 23:14:34 +00:00
davidhay
35ac4bed2d Naomi updates [Samuele Zannoli]
1) refactors many global and static variables in video\dc.c into a
structure to hold the tile accelerator state
2) textures should be better decoded with more pixel formats
3) adds placeholders for some register probably used by the dimm board
4) corrects a little error in a rom board register (very important, now at
least the gdrom games try to start)
2008-07-29 22:14:41 +00:00
Wilbert Pol
c67737a40c i8051 cpu core timer updates:
- Added support for timer mode 0 (13 bit timer)
- Cleaned up timer code a bit, fixing some off-by-one errors when timers overflow.
2008-07-29 18:29:01 +00:00
Aaron Giles
3052db3fa9 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Sunday, July 27, 2008 2:46 PM 
To: submit@mamedev.org 
Subject: misc patches 

Hi, 

enclosed please find a few more patches based on 126u2. It's just a few 
minor bugfixes because I'm quite busy and I still have to test the other 
changes to tagged inputs (I will send them in the next few days) 

In misc2.zip you'll find a few corrections to my previous patches and a 
few new bugfixes: 

* cachat.diff: It fixes bug 2046. This is a bug I introduced misreading 
the default value of the flip dip when updating taito_l.c to use 
taitoipt.h definitions. My bad, sorry. 

* witch.diff: It fixes another small 'mistake' I introduced when tagging 
the ports in witch.c. I searched and replaced a few too many 'port' 
occurrences, making some comments unreadable. Again, sorry for the 
inconvenience. 

* btime.diff: It's an updated version of my previous patch, following 
your suggestions. 'Off' comes always first now and manual settings which 
do not work on the emulated game are commented out 

* skyfox.diff: It fixes bug 2050. Being at it, I also added dip 
locations to the driver and updated memory maps to use AM_READ_PORT 

* combatsc.diff: It fixes bug 456, solving both the regression which 
made disappear all sprites (they were covered by the non-transparent 
text layer since 118u1) and the corruption of the graphics in title 
screen (due to the wrong drawing order). Mind that bug 400 (scrolling 
problems present since 0.79) is not fixed yet, unfortunately. 

Regards, 

Fabio
2008-07-29 17:13:56 +00:00
Aaron Giles
e70d4b0a85 (Modified to allow for overwrites of RAM ranges only.)
From: Atari Ace [mailto:atari_ace@verizon.net] 
Subject: [patch] Stricter ADDRESS_MAP checks

Hi mamedev,

The current implementation of address maps is lacking some useful
checks of the initial tokens.  In particular, it doesn't validate that
a particular entry doesn't try to define the same handler multiple
times.

The attached patch adds this and some other validations as fatalerrors
in address_map_detokenize, and fixes the affected maps.  The errors
generally fall into the following categories.

1.  AM_RAM AM_WRITE(...).  Should have been AM_RAM_WRITE(...)
2.  AM_RAM AM_READWRITE(...).  The AM_RAM is a NOP.
3.  AM_RAM AM_RAMBANK(...).  The AM_RAM is a NOP.
4.  AM_ROM AM_ROMBANK(...).  The AM_ROM is a NOP.
5.  AM_ROM AM_READ(...).  The AM_ROM is a NOP.

One peculiar error was in equites.c, where there were two AM_BASE
entries.

~aa
2008-07-29 17:08:43 +00:00
Aaron Giles
212c069fd9 Fixed CPS1 audio CPU names to prevent crash. 2008-07-29 15:21:58 +00:00
Aaron Giles
27061ca599 Moved region post-processing back to the end. Fixes endian issue on
second SH2 for ST-V games.

Fixed buffer overrun in latest SCSP code. Not sure how that ever
worked.

colmns97 still asserts in SCSPDSP, but this happened before the
region change.
2008-07-29 15:12:09 +00:00
Aaron Giles
25e1504511 Oops, should have been using SETc versus GETFLGS in this case. 2008-07-29 05:52:05 +00:00
Aaron Giles
5333fe1fb3 Fixed taito_l crashes. 2008-07-29 05:18:20 +00:00
Aaron Giles
962daf6607 Implemented ADDV/SUBV with flags. Kept C versions behind a compile-time define
for comparison.
2008-07-29 05:16:02 +00:00
Aaron Giles
d9c66068e8 Changed space character for memory regions from re'g'ion to 'm'emory_region. 2008-07-29 04:53:20 +00:00
Aaron Giles
a7ae6a548f Fixed comment. 2008-07-29 01:45:34 +00:00
Aaron Giles
a22ab0d669 Fix for 02043: All games in cps2.c: All Parent Sets for CPS2 Games Abort
(Thanks to Firewave)
2008-07-29 01:39:22 +00:00
R. Belmont
76d5ed12a3 SH2DRC: add SUBV, replace ADDV with C version as a precaution. (Fixes most of Mantis #2026, except the part which is a separate bug). 2008-07-28 23:12:47 +00:00
davidhay
6d998d26ed change unmapped read for mspacman to see if it changes tunnel behavior (as suggested by dwidel) 2008-07-28 22:05:50 +00:00
davidhay
bd04b28cfd adds recent guru dumps to aleck64.c, not working. 2008-07-28 21:56:28 +00:00
Roberto Fresca
d67a7c8c74 Changes to lucky74.c driver:
- Pre-defined CPU and SND clocks.
 - Switched the color system to RESNET calculations.
 - Completed the remaining DIP switches.
 - Added lamps support. Created a layout to show them.
 - Changes on the interrupt system (need to be verified on the PCB).
 - Renamed the graphics regions to more descriptive names.
 - Corrected the manufacturer's name.
 - Splitted the driver to driver + video.
 - Updated technical notes.
2008-07-28 18:34:06 +00:00
Aaron Giles
4a6fc8d5e5 Region classes go bye-bye. 2008-07-28 16:22:20 +00:00
Aaron Giles
86022ddde4 Removed all instances of regions with different class but equal names. 2008-07-28 15:09:12 +00:00
R. Belmont
6211400d23 Slowness is portable. 2008-07-28 14:36:06 +00:00
smf-
765d90880d fixed inline of DecodeADPCM under visual studio. 2008-07-28 14:10:11 +00:00
smf-
7cecc0bb3c added cast so direct input 8 code will build on mingw. 2008-07-28 13:20:04 +00:00
Aaron Giles
27fed1ec97 Changed the way memory regions are referenced. Instead of a single
integer value, regions are now referred to by a region class and
a region tag. The class specifies the type of region (one of CPU,
gfx, sound, user, disk, prom, pld) while the tag uniquely specifies
the region. This change required updating all the ROM region
definitions in the project to specify the class/tag instead of
region number.

Updated the core memory_region_* functions to accept a class/tag
pair. Added new memory_region_next() function to allow for iteration
over all memory regions of a given class. Added new function
memory_region_class_name() to return the name for a given CPU
memory region class.

Changed the auto-binding behavior of CPU regions. Previously, the
first CPU would auto-bind to REGION_CPU1 (that is, any ROM references
would automatically assume that they lived in the corresponding
region). Now, each CPU automatically binds to the RGNCLASS_CPU region
with the same tag as the CPU itself. This behavior required ensuring
that all previous REGION_CPU* regions were changed to RGNCLASS_CPU
with the same tag as the CPU.

Introduced a new auto-binding mechanism for sound cores. This works
similarly to the CPU binding. Each sound core that requires a memory
region now auto-binds to the RGNCLASS_SOUND with the same tag as the
sound core. In almost all cases, this allowed for the removal of the
explicit region item in the sound configuration, which in turn 
allowed for many sound configurations to removed altogether.

Updated the expression engine's memory reference behavior. A recent
update expanded the scope of memory references to allow for referencing
data in non-active CPU spaces, in memory regions, and in EEPROMs.
However, this previous update required an index, which is no longer
appropriate for regions and will become increasingly less appropriate
for CPUs over time. Instead, a new syntax is supported, of the form:
"[tag.][space]size@addr", where 'tag' is an optional tag for the CPU
or memory region you wish to access, followed by a period as a 
separator; 'space' is the memory address space or region class you
wish to access (p/d/i for program/data/I/O spaces; o for opcode space;
r for direct RAM; c/u/g/s for CPU/user/gfx/sound regions; e for 
EEPROMs); and 'size' is the usual b/w/d/q for byte/word/dword/qword.

Cleaned up ROM definition flags and removed some ugly hacks that had
existed previously. Expanded to support up to 256 BIOSes. Updated
ROM_COPY to support specifying class/tag for the source region.

Updated the address map AM_REGION macro to support specifying a
class/tag for the region.

Updated debugger windows to display the CPU and region tags where
appropriate.

Updated -listxml to output region class and tag for each ROM entry.
2008-07-28 09:35:36 +00:00
R. Belmont
1b81188229 SH2DRC: Add PC-relative load optimization and ability to disable if necessary [R. Belmont, based on an idea by Mariusz Wojcieszek] 2008-07-28 05:57:29 +00:00
R. Belmont
67faaeb473 AICA updates [Deunan Knute, ajax16384, R. Belmont]
- Fixed ADPCM decoder to remove bad optimization and match YMZ280B.  DC offset is fixed and output quality is higher
- Improved handling of slot monitor and timers B and C
- Simplified interpolation code
2008-07-28 05:46:29 +00:00
Andrew Gardner
867d51a2bc Memory map merge for beezer.c, bishi.c, and bladestl.c 2008-07-28 04:48:41 +00:00
Andrew Gardner
6e13a53ff7 DSP56156 CPU Core updates.
- Rewrote core logic, communications, and interfaces.
- Added three parallel memory moves to the disassembler.
- Initial interrupt logic in place.

Plygonet.c updates.
- All communication hacks have been removed.
- Memory maps have been temporarily reverted while new DSP56k cpu core catches up.
2008-07-28 01:19:21 +00:00
Tomasz Slanina
92bcd925f0 Irem m63 - adjusted AY frequencies to proper 1.5 MHz [Stefan Lindberg] 2008-07-27 22:50:18 +00:00
Nathan Woods
251b59b069 Cleaned up MESS-specific hooks 2008-07-27 12:08:09 +00:00
smf-
0124a7cc68 Builds with latest DirectX SDK, which doesn't support Direct 3D 8 & Direct Input 7. If you want to compile in support for earlier versions then you can set DIRECT3D=8 & DIRECTINPUT=7. Based on a diff posted on the mameworld compiling board by RansAckeR, who was helped by uRebelScum. 2008-07-26 21:13:35 +00:00
Nathan Woods
a08d7977c3 Added some assertions 2008-07-26 20:49:28 +00:00
Nathan Woods
b3ee2ffd1f Added the ability to optionally pass a destructor to ui_menu_alloc_state() 2008-07-26 18:34:17 +00:00
Aaron Giles
37f422ebec Removed missing include. 2008-07-26 14:26:10 +00:00
Aaron Giles
1cc0010977 Attempted fix for 01092: debugger crashes when exiting during "run to cursor" 2008-07-26 14:24:11 +00:00
Brian Troha
d6108e5347 verified the Free Kick proms
better documented prom info/type
minor white space clean up
2008-07-25 16:00:43 +00:00
Aaron Giles
fcf08639ee A bit more cleanup, still half-WIP now that I'm distracted with votrax. 2008-07-25 15:46:39 +00:00
stephh
bf20cd444a Handles player 3 inputs for 'wofhfh'. 2008-07-25 10:11:46 +00:00
Brian Troha
70b0a76a05 adds info from the Guru about the Kiki KaiKai MCU. 2008-07-25 05:36:52 +00:00
Aaron Giles
7a14f21c15 Cleanups and version bump. 2008-07-24 09:07:49 +00:00
Aaron Giles
4900606a62 Minor gameplan changes in attempts to get leprechn music playing again.
No success yet.
2008-07-24 08:38:06 +00:00
Aaron Giles
56d6052e1f 01892: calspeed: Refreshspeed causes horrible screetching in some games [Calspeed used for example]. 2008-07-24 06:55:03 +00:00
Aaron Giles
0b77a69691 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Conditional code cleanup resubmit

Hi mamedev,

This is a resubmit of a previous patch.  The earlier version would not
compile with 32-bit MSVC, due to the fact that its linker required
external dependencies in dead code to be met before dead code
elimination was done, causing linker errors.  The proper fix for this
would be to add the necessary dependencies, so I instead simply left
the conditional code in place in winalloc.c and chd.c.

~aa

Original submission email below:
----
Conditionally compiled code tends to bitrot, so MAME should try to
avoid it as much as possible.  I sent a patch six months ago to
eliminate conditional code associated with logging, here's another
patch that does more of this.  Some notes:

1.  drc_ops.c: I couldn't find a LOG_CODE anywhere, so I used if (0).
2.  romload.c: I converted all the users of debugload to use
LOG((...)) instead, following the traditional conditional logging
pattern.
3.  windows/sound.c: I eliminated the separate sound log and directed
the few outputs to the error log.

~aa
2008-07-24 06:26:47 +00:00
Aaron Giles
9b63c42203 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] .data removals to fix reset/multisession bugs

Hi mamedev,

One nice artifact of properly constifying data structures in MAME is
that it makes it relatively easy to spot a class of reset/multisession
bugs, namely that almost any object in .data is probably in error.
Unless the value is properly initialized in a reset routine the
initial non-zero value can't be relied upon, so there's no need to
have a non-zero value to begin with.

With that in mind, here's a patch to move more items out of .data by
either applying const, removing the non-zero initializer (if its
overwritten by init/reset) or by adding appropriate initialization
code.  In most cases I tried to add initialization code to a reset
routine, but in some cases I chose an init routine, possibly leaving a
reset bug intact.

Some interesting bits:
1.  tms9900 core.  The use of .data to initialize the irq_level wasn't
correct in some cases as the layout of the structure was core
dependent.
2.  bfcobra.c.  By introducing a VIDEO_START routine a hack in
VIDEO_UPDATE could be removed.

~aa
2008-07-24 06:18:01 +00:00
Aaron Giles
0865f72a9a Made DIP switch renderings consistent regardless of UI aspect 2008-07-24 06:16:18 +00:00
Aaron Giles
81b9e03d60 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Wed 7/23/2008 8:15 AM
To: submit@mamedev.org
Subject: more input patches
Hi, 

with the attached diff I started drivers with C. Added all the missing 
tags, made more extensive use of PORT_INCLUDE where possible and added 
AM_READ_PORT where suitable. I also added dip locations for: cabal, 
canyon, cbuster, cclimber, swimmer and guzzler.

Patch for cave.c is separated in case fix for bug 1681 has been submitted 
and accepted (changing maybe the driver)

Regards
    Fabio
2008-07-24 06:08:15 +00:00
Aaron Giles
0a83b5f8e0 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Sent: Tue 7/22/2008 11:30 AM
To: submit@mamedev.org
Subject: Demon's world set 5
Enclosed another revision of Demon's World (my pcb has the jumpers set
to japan).
I renamed the other sets because in my opinion the code needs to be
studied before saying what's older and newer revisions.

Demon's World / Horror Story (set 5)
2008-07-24 06:02:58 +00:00
Aaron Giles
37c15af0df From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Tue 7/22/2008 11:30 AM
To: submit@mamedev.org
Subject: more tags and AM_READ_PORT
Hi,

with the following patches I added tags to all ports (and used AM_READ_PORT 
in the memory maps of all the drivers which didn't) in drivers starting with 
B. I also added diplocations and factory settings for the games which had 
either a manual or a dips listing at crazykong (and to squaitsa, thanks to 
a scan from f205v) [1]. A couple of patches are separated from the main ones 
because they contain changes which could need additional review  

In details:

* diffB01->diffB07 contains standard addition of tags and AM_READ_PORTS  to 
driver starting with B (a diff each 4/5 drivers). 

* bsktball.diff adds diplocations to the driver, but also removes the fake 
handling of P1 Start/P1 Button1. Since other games have no separate P1 Start 
in MAME (e.g bagman, or joust2 as noticed in the invalid bug 1734), I 
personally see no reason to duplicate inputs in this game.

[1] In details, I added locations to: bwidow.c & bzone.c games, bestleag, 
blackt96, bogeyman, bombjack, boogwing, bottom9, brkthru, darwin, buggychl, 
squaitsa, btime, bnj, lnc, zoar and disco
2008-07-24 05:54:42 +00:00
Aaron Giles
6701abab27 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Monday, July 21, 2008 2:16 PM
To: submit@mamedev.org
Subject: fix for MT 2029

I noticed only today the silly mistake which produced the bug passing from 126 to 126u1. Stupid typo.

Attached you find the fix.

Regards,
   Fabio
2008-07-24 05:47:17 +00:00
Aaron Giles
2010c2e4ab From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Sent: Monday, July 21, 2008 9:16 AM
To: submit@mamedev.org
Subject: Plotting/Flipull pal dump

The pal was dumped by Charles Mcdonald, I enclose the raw dump, pld and 
jed files.
It works perfectly as a replacement on the pcb
2008-07-24 05:43:46 +00:00
Aaron Giles
10cf99b665 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Sunday, July 20, 2008 5:46 AM
To: submit@mamedev.org
Subject: last batch of misc. diffs

Hi,

attached please find a few patches to fix some (trivial) mametesters' bug 
and a patch to use whenever possible AM_PORT_READ in drivers starting with 
# or A. More in detail

* hypreact.diff 'fixes' bug 1572 on MT (not really a bug, in fact), adding 
a better description to inputs only used in Joystick Mode

* alleymas.diff 'fixes' bug 1565 on MT. In this case I'd like some dev to 
review the patch: the two duplicate inputs in alleymas are properly detected 
also in service mode, so MAME is not wrong as is. Nevertheless, inspired to 
the common habit of commenting out duplicate coinage inputs, I decided to 
comment them out but leaving them in the source for documentation purpose

* bishi.diff fixes bug 1718 on MT. Duplicate inputs did nothing and the new 
inputs are now correct both during the game and in Service Mode 

* Finally, portA.diff is a bit more interesting and converts a few driver to 
use AM_READ_PORTs and tags. Here and there, I also changed a few tags to e.g. s
tress similarities in the handling which were hidden by anonymous "INn" tags 
(see atarifb & atarifb4 for instance)

Regards,
     Fabio Priuli
2008-07-24 05:37:05 +00:00
Aaron Giles
61971ae92e Made input_port_read_indexed() private to machine/generic.c.
Eventually it will probably disappear altogether. Fixed the
two remaining instances.
2008-07-24 05:34:45 +00:00
Aaron Giles
6888293791 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Saturday, July 19, 2008 7:46 AM
To: submit@mamedev.org
Subject: a few bugfixes (or at least proposals of fix)

Hi, 

enclosed please find the following patches for bugs currently 
in MAME (sorry for the verbose explanations, but I hope it makes 
faster the verification and not to steal too much time to the 
reviewer)

correct fixes (IMHO)

* harddriv.diff : Fixes a bug introduced in u7 which broke racedrvc, 
hdrivair and their clones (due to some tags not being renamed). 
Strange no one has noticed this (not even Firevawe when he ran its 
regtest before 0.126!), anyway now it's fixed...

* gstrik2.diff : This patch fixes bug 1568. One of the two service 
mode keys doesn't give access to the service mode (and in fact it's 
not read at all in the input test in service mode). I changed it to 
an unknown dipswitch

* atarijsa.diff : This changes the ports #defined in 
src/mame/audio/atarijsa.h to be EXTERNAL_INPUTS (and modifies 
accordingly the drivers using them). It allows to remove the SWAPPED 
version (modified locally in xybots.c) and it allowed me to fix half 
of bug 818 (duplicated coins in stunrun). Indeed, stunrun and steeltal 
use their own coin input and the jsa ones are not recognized in 
Service Mode. Therefore, I removed them through PORT_MODIFY. @Aaron: I 
left in COIN3, even if those games do not use it, maybe it can be made 
UNUSED as well

proposals:

* leland.diff : I noticed that the SERVICE MODE key in leland.c games 
doesn't do anything service related, but it simply adds a coin. This 
patch changes them to IPT_COIN3 (because this is the mapping of the same 
inputs for offroad and pigout). Actually, it could be an IPT_SERVICE1 
(but I don't have currently access to any manual to verify it) or there 
could be a different bug in the driver causing the input to be read as a 
coin... If one of the latter options sounds more correct to you, please 
change the IPT or ignore this patch.

[Note: this was changed to IPT_SERVICE1]

* pc10.diff: This one fixes bug 595, i.e. Start button in playch10.c is 
currently mapped to key "2". This could be by design, but it's a bit 
confusing since it works the other way around in vsnes.c. If it was by 
design and you don't plan to change it, please post at MameTesters so 
that we can close the report as Not-a-bug.

* twotiger.diff : This addresses bug 1448. The wheel is completely 
centered for any value in the (closed) interval [0x64, 0x69] (goes to 
left for 0x63 and to right for 0x70). I've chosen 0x67 because it's in 
between, but I'm not sure 100% about the way analog inputs are managed 
in the core, so feel free to use another value in that range if it m
akes more sense than 0x67.

That's all. Thanks for the atention

Regards,
    Fabio
2008-07-24 05:24:28 +00:00
Aaron Giles
e6da336897 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix zr107 multisession issues

Hi mamedev,

The attached patch makes the initialization of various Konami PPC
drivers consistent from run to run, hopefully fixing most multisession
issues.  I confirmed that this resolves running midnrun multisession,
but it is possible other issues remain.

The patch also moves some allocations from static to dynamic storage.

~aa
2008-07-24 05:06:35 +00:00
Aaron Giles
b00f50959d Get rid of ShuffleDataROMs in namco nb2
Rom loading and address mapping are flexible enough not to need a
shuffling/mapping function anymore.

  OG.
2008-07-24 05:04:08 +00:00
Aaron Giles
81abccd04b Make the tinklpit keycus implementation cuter
There is not enough data to be sure it's a LFSR, but it doesn't look
bad as one.

  OG.
2008-07-24 05:03:19 +00:00
Aaron Giles
ce7838d0b5 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: a last bunch of patches
Hi, 

attached please find a last block of diffs which completely removes 
every explicit use of input_port_read_indexed from src/mame/ (it 
remains in the various input_port_N_r, but I'll move to those later 
:) ) and fixes a small input bug

Namely:

nbmj_fix.diff: fixes bug MT 479. livegal turns out to use in a 
slightly different way the nichibutsu mahjong panel and inputs in 
test mode confirms that my change is correct ;)

patch01.diff -> patch03.diff: convert to use tagged inputs and 
handlers the remaining drivers (U to Z and a few others)

taito.diff: converts taitoic.c handlers to use tags (this required 
some more re-tagging in a few taito drivers, which I overlooked previously)

namcos22.diff: converts namcos22 read handlers to use tags. I have 
been very carefully about where each read handler is used (and adopted 
read_safe where necessary), so there shall be no problem with this 
(despite the complexity of the driver)

mediagx.diff: finally, I re-submit this patch about mediagx.c. Much more 
work would be needed to correctly map inputs for this driver, but I fear 
is still a bit beyond my current skills. However, from inspection through 
the debugger and from error.log, you can notice that the variable 
parallel_latched (used to read inputs) takes values 0,...,23 so this diff 
does no harm to the driver and allows to remove also the last occurrence 
of input_port_read_indexed!

As usual, I tested as much as I could the changes and I expect no 
regressions is introduced

Regards,

    Fabio Priuli
2008-07-24 04:51:24 +00:00
Aaron Giles
96a01c9d29 From: Micko [mailto:mmicko@gmail.com]
Subject: 8257dma
Hi Aaron,
 
Small changes for 8257.
 
Fixed terminal count stop for autoload mode and added callback function existance check [Miodrag Milanovic]
 
Regards,
Miodrag
2008-07-24 03:58:40 +00:00
Aaron Giles
7c527fd0a7 Missed file from last checkin. 2008-07-24 03:49:38 +00:00
Aaron Giles
8e7a1a2553 Added new functions attotime_to_ticks() and ticks_to_attotime() to
convert between attotimes and a clock tick at an integral frequency.

Changed the 6532 RIOT device into a proper device. Rewrote the
logic to be simpler and leverage the new attotime functions. Changed
the I/O port setters to specify a mask, and changed the I/O port
callbacks to pass in the previous value. Updated tourtabl and
gameplan drivers to use the new device interface.

Converted audio/starwars.c, audio/exidy.c, and audio/gottlieb.c to 
use the new RIOT implementation instead of rolling their own.

Began gottlieb.c cleanup. Converted palette calculations to resistor
weights. Corrected video timing. Reduced the number of separate
machine drivers. Fixed incorrect spriteram sizes. Populated full
memory maps for the main CPU and the rev 1 sound board. More to
come.
2008-07-24 03:49:19 +00:00
Brian Troha
09d55104e2 Removes "wanted" so called Don Bear Near
This title has been shown to be a mistranslation of Dunk Mania
2008-07-23 02:31:58 +00:00
Jim Stolis
91380d9b72 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Player's Edge Plus (X002069P) Double Double Bonus Poker [Hammer300]
2008-07-22 13:25:05 +00:00
davidhay
376e786947 replaced vcop2 model rom CRC with that of a correct dump [Guru] 2008-07-21 20:45:03 +00:00
Aaron Giles
5e3116fd87 Merged some memory maps. 2008-07-21 17:09:40 +00:00
Aaron Giles
2f823ff24f Laserdiscs are now devices. Updated all drivers accordingly. 2008-07-21 17:02:59 +00:00
davidhay
de171027cc undo unwanted stv change. 2008-07-19 17:21:15 +00:00
Tomasz Slanina
810045c567 New megaplay cartridge dump.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Shinobi III (Mega Play) [Tomasz Slanina, Kowal]
2008-07-19 16:27:19 +00:00
Andrew Gardner
6a3af45257 Dsp56156 Disassembler rewrite.
- Rearranged decoding behavior.
 - Updated code style to MAME standards.
 - Tested each single-word opcode with custom ROMs.


(This is a precursor to other major dsp56k changes I have made.  I just gotta' get plygonet commanders up and running to do some tests)
2008-07-19 16:09:10 +00:00
davidhay
d7715eee0d merged CPU0 and 1 memory maps in flower, improved interrupt generation, fix for 01472 2008-07-19 12:03:31 +00:00
davidhay
b7ddbe7da4 some (model1) bits that were missing from the previous tgp/model2 changes from ElSemi 2008-07-19 10:07:45 +00:00
davidhay
cce1d8b88e TGP / Model 2 fixes [ElSemi]
- TGP now correctly uses table roms (model1/2 updated accordingly)
 - removed FIFO hack on srallyc (game now runs)
 - added analog ports reading for model 2A/B/C
 - fixed some loading instructions in the TGP. that fixes srallyc automatic transmission bug
2008-07-19 09:58:31 +00:00
davidhay
75cf90e3f3 rename the correct rom in rchase2 2008-07-19 08:38:25 +00:00
Aaron Giles
5bb72fa08e Changed MDRV_CPU_ADD to require a tag. Removed MDRV_CPU_ADD_TAG.
Tagged all CPUs. Now I will take a break until my fingers stop
cramping. :)
2008-07-19 05:26:09 +00:00
Aaron Giles
73aaf0db7e Tagged all the first CPUs for drivers (mostly as "main").
Added validity checks to ensure no duplicate sound or CPU tags.
Fixed several duplicate sound tags from the last checkin.

-listxml now outputs the tag names for CPUs and sound chips.
2008-07-19 03:13:34 +00:00
Brian Troha
f7cd7a6c4c Rom name correction as per Philip Bennett's email:
Whoops. epr-18047a.13 should be named epr-18074a.13

Phil
2008-07-19 01:53:25 +00:00
davidhay
6d1f940833 adds this set to model2 before this driver also changes while I'm looking at it.........
New Game Not Working
--------------------

Rail Chase 2 [AndyGeezer]
2008-07-18 21:14:38 +00:00
Brian Troha
44e297a371 whitespace clean up 2008-07-18 21:02:25 +00:00