Commit Graph

1975 Commits

Author SHA1 Message Date
Brian Troha
fe9968afd0 removes code clash from SVN revision merge 2008-05-03 21:36:57 +00:00
Brian Troha
177cee8202 Minor rom name update
Changed the Megatouch III roms 36 & 37 to be the same as the new redump based on my own redump of Megatouch IV and the rom names.  IE: megat3.u36 == 9255-01_u36-ro the 01 in the rom name is the "revision" number.  Normally the U36 & U37 doesn't change just U32 & U38 for program revisions.
2008-05-03 21:31:50 +00:00
mariuszw1
5b63650194 From: Hugh McLenaghan [mailto:hughmcl@hotmail.com]
Subject: Merit Megatouch 3 Tournament Edition

This diff includes the Merit Megatouch 3 Tournament Edition patch.

Hugh McLenaghan

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Megatouch III Tournament Edition [Hugh McLenaghan]
Megatouch III [Mariusz Wojcieszek]
2008-05-03 20:53:00 +00:00
Nathan Woods
dfe585bf85 Added a MESS-specific "paste" command; used to paste clipboard data into MESS's
natural keyboard
2008-05-03 17:56:41 +00:00
Brian Troha
53b0096294 New working clone: Touchmaster 7000 V8.04
Added PCB layout and chip list
2008-05-03 16:06:26 +00:00
Roberto Zandona
b6b497bf2a cosmetic fix 2008-05-03 13:28:54 +00:00
davidhay
f526625d77 added layer enable to denjinmk 2008-05-02 21:04:43 +00:00
davidhay
d65d5e502a extra tile banking for denjinmk 2008-05-02 19:28:31 +00:00
Pierpaolo Prazzoli
e6b2a18ba7 Fixed ROZ centering in namcona1 driver [Phil Stroffolino] 2008-05-02 17:25:39 +00:00
Roberto Zandona
6afeb5015a fix typo 2008-05-02 17:22:27 +00:00
Roberto Zandona
4fda816ee1 add video enable/disable feature in m90 driver 2008-05-02 17:16:08 +00:00
Couriersud
b7880b33fa ay8910.c:
* Fixes mantis bugs 01767, 01769
* Corrected some comments
2008-05-02 10:58:11 +00:00
Brian Troha
128bfcc4e0 adds a todo:
- Find cause and fix hang in Solitaire Erotic (all Touchmaster version hang in this game)
2008-05-01 22:57:19 +00:00
Brian Troha
5e64c80528 Minor doc correction... show that MT4 no longer needs a redump 2008-05-01 22:54:09 +00:00
Aaron Giles
67e76e92f5 Cleanups/version bump. 2008-05-01 14:32:31 +00:00
Aaron Giles
37c56cf592 01752: Warnings making standard .124u4 in GCC 4.3.0 (mingw)
Well, two of them were valid.
2008-05-01 14:12:20 +00:00
Roberto Zandona
e6d23ec6c4 verified a "not sure" opcode in bombrman 2008-05-01 14:03:35 +00:00
Aaron Giles
23890e5da7 This is a better fix for MAMETesters 00149: No error report for invalid BIOS setting 2008-05-01 14:02:12 +00:00
Aaron Giles
89c9e00953 From: Micko [mailto:mmicko@gmail.com]
Subject: PIC 8259 changes

Hello Aaron,
 
As I have announced before, here are some changes on pic8259.
 
for changelog:
 
[PIC8259] Adding support for 8080/85 mode interrupts
 
Please just check it against x86 platform, not sure if is_x86 in ICW4 is obligatory in case of using it on x86 platform.
 
Regards,
Miodrag
2008-05-01 13:54:19 +00:00
Aaron Giles
a910dafd37 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Small deprecat.h related cleanup

Hi mamedev,

While doing some work on eliminating some uses of deprecat.h, I came
across a few files that didn't have it that used deprecated features.
A little investigation revealed they were getting it through
debugger.h, typically by referencing m68000.h.  Since deprecat.h is
intended to document the files that need updating (otherwise it would
just be included in a common header), I reworked debugger.h to not
import it when the debugger is not enabled, and fixed the files that
broke as a result.

~aa
2008-05-01 13:52:28 +00:00
Aaron Giles
78f2c75751 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Sent: Saturday, April 26, 2008 7:31 AM
To: submit@mamedev.org
Subject: Raimais (japan / First revision)

Diff + romset of Raimais (japan / first revision).

New game added: Raimais (Japan / First Revision)
2008-05-01 13:51:13 +00:00
Aaron Giles
c967dcb102 From: Duke [mailto:startaq@gmail.com]
Subject: MSM6242 device

Hello,

the attached patch changes the MSM6242 RTC into a proper device.

--Dirk
2008-05-01 13:48:49 +00:00
Aaron Giles
355fa5294d This diff is largely to correct an oversight when new sets were added to system16.c back in
0.119u3 (shinoblb, shinibld) as well as update some others.  I cleaned up these flags many
releases ago for system16.c and system18.c.  These two slipped in and I didn't notice until a
bug report was made on them:
http://www.mametesters.org/mantis/view.php?id=1727

Thanks,
Tafoid
2008-05-01 13:46:35 +00:00
Aaron Giles
04f54299af Couple of minor tweaks to sync with offline WIP work. 2008-05-01 08:53:23 +00:00
Roberto Zandona
75ae56079e fix one opcode in match it 2 2008-05-01 07:40:49 +00:00
Nicola Salmoria
df9da7ffb4 ROM name changes on Razoola's suggestion 2008-04-30 17:33:05 +00:00
Roberto Zandona
306b13eae2 fix for mantis 01628: bgaregga, bgareghk, bgaregnv, bgaregcn, bgaregt2: bgaregga (and clones) sound broken 2008-04-30 17:30:38 +00:00
Nicola Salmoria
d8a625a624 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Street Fighter Alpha 2 (Euro 960229) [Razoola]
2008-04-30 07:51:52 +00:00
Nicola Salmoria
5ccdd067d9 Massive update to ROM naming in the CPS1 driver, also loading smaller eproms for Japanese sets instead of the larger mask ROMs where possible. Added information about B-Board revisions where possible. There is still work to do on this regard but this is a first step in untangling the mess.
Verified more gfx ROM mappings against PALs (thanks to Corrado Tomaselli)

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Dynasty Wars (US set 2) [Corrado Tomaselli]
Final Fight (Japan 900112) [Chack'n]

New games marked as GAME_NOT_WORKING
------------------------------------
Forgotten Worlds (World?) [The Guru]
2008-04-30 07:15:28 +00:00
Roberto Fresca
2267b60912 Removed a inaccurate comment about the payout button.
(I forgot to add the following lines in my previous commit)

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Snooker 10 [Roberto Fresca]
Apple 10 [Roberto Fresca]
Ten Balls [Roberto Fresca]
2008-04-30 04:25:02 +00:00
Roberto Fresca
121fbcd8da Removed a unused variable that I left there by mistake. 2008-04-30 03:52:53 +00:00
Brian Troha
9505c95ef4 minor typo correction 2008-04-30 01:32:28 +00:00
Brian Troha
3b2ca73bc4 New Clone: Megatouch IV (9255-40-01-ROE)
Driver updates;

Consolidated, corrected and updated info
Verified Megatouch IV program rom
Corrected many rom names
Add game revision to game name (IE: 9255-40-01 ROE)
Added pals from Megatouch 6 to other sets as they all run on the same PCB
Add the sound clock update as forwarded from Aaron
2008-04-30 01:27:33 +00:00
mariuszw1
9bb4bba7c6 Fixed typo in fcrash.c sound 2008-04-29 16:35:33 +00:00
Andrew Gardner
cf3050ad91 Memory map merges for drivers, tunhunt, tumblep, tugboat, trucocl, and truco. 2008-04-29 15:06:55 +00:00
Roberto Zandona
0bcb72270d change the implementation of the cocktail mode 2008-04-29 06:03:44 +00:00
Roberto Fresca
7190f9b511 Sandii' games:
Added proper notes regarding the SUPER GAME feature (payout system).
2008-04-29 02:07:16 +00:00
Roberto Fresca
9d4f1bb7d0 All CMC italian games:
- Added TICKET and HOPPER buttons to allow payout through the SUPER GAME.
 - Documented the featured SUPER GAME with complete instructions.
 - Improved DIP switches to properly set the payout system.

With these fixes, the payout system through SUPER GAME is now working properly.
2008-04-29 01:47:05 +00:00
mariuszw1
22fe89186a NES/PlayChoice 10 update
General Changes:
- added support for mapping rom and ram in PPU video memory space
- added PinBot mapper (H board)

New games added or promoted from NOT_WORKING status
---------------------------------------------------
PinBot (PlayChoice-10)
2008-04-28 21:42:56 +00:00
Roberto Zandona
26a76489a1 fix cocktail mode for marvins and vangrd2
00249: vangrd2: [possible] In cocktail mode, or when the flip screen dip is set, the score display is not flipped.
2008-04-28 21:20:12 +00:00
Roberto Zandona
b2cbb55165 fix for 01757: fieldday, undoukai: Graphics Corruption.
not sure if this is an hack
2008-04-28 17:12:47 +00:00
Roberto Fresca
e7457b2e7b Sandii' Games:
- Created a new machine driver for tenballs due to different memory map.
 - Worked all the input ports from the scratch.
 - Fixed the sound ROM_REGION.
 - Added the oki6295 emulation to all games.
 - Hooked output ports.
 - Documented and calculated all bits related to lamps.
 - Adjusted palette lenght to 256 colors.
 - Totally decrypted the apple10 color matrix. Now colors are perfect.
 - Created a new machine driver for apple10 due to encryption.
 - Reverse engineering the code to complete the DIP switches.
 - Added diplocations to DIP switches.
 - Promoted snookr10, apple10 and tenballs to 'WORKING' state.
 - Added game instructions & notes.
 - Updated encryption & technical notes.

To initialize NVRAM (for all games), keep pressed ESTATISTICA (key '9') + MANAGEMENT (key '0'),
then press RESET (key F3), and finally release both (ESTATISTICA + MANAGEMENT) keys.

You must delete the old NVRAM and .cfg files first.
2008-04-28 09:17:17 +00:00
davidhay
f398a24db2 de-hack metro tilemaps... (lightly tested..) 2008-04-28 07:52:21 +00:00
Roberto Fresca
3f8504da71 Funworld games:
- Fixed AY8910 volume to all games to avoid clips.
 - Merge bigdeal and funworld machine drivers thanks to the AY8910 rewrite.
 - Removed old unaccurate commentary about magiccrd tiles.
2008-04-27 05:39:32 +00:00
Couriersud
fc1cb8d473 ay8910: Cosmetic
* bring more in line with coding standards
* add more comments
2008-04-27 00:26:41 +00:00
davidhay
f06dafd4b9 just some dipswitch fixes 2008-04-26 20:28:20 +00:00
Couriersud
899c47f7b8 Fix AY-3-8910/YM2149 and derivatives envelope handling. 2008-04-26 18:57:15 +00:00
Nathan Woods
8d1c77366c MESS specific fix 2008-04-26 18:35:40 +00:00
Aaron Giles
3b71ebf277 Better fix for gradius3. 2008-04-26 17:53:17 +00:00
Roberto Zandona
f6376e7f52 fix gradius3 bug (mantis 01744) 2008-04-26 17:38:37 +00:00
Roberto Zandona
fa42fb096b removed wrong info 2008-04-26 17:24:36 +00:00
Roberto Zandona
ba9b6513b1 add some info and promoted quizf1 to working 2008-04-26 14:20:59 +00:00
Roberto Zandona
72a2938358 fix typo 2008-04-26 13:58:33 +00:00
Roberto Zandona
462690807e proper implementation of the tile/sprite priorities in m90 driver
this fix priorities in quizf1, riskchal amd maybe more m90 games
thanks to Corrado Tomaselli for testing my trojan in a bombrman PCB
more info at http://www.emulab.it/robiza/
2008-04-26 13:44:13 +00:00
Couriersud
5ac45d5a80 Added discrete mixing and filtering to irem games using m52-sound-c boards: mpatrol, travrusa 2008-04-25 23:51:15 +00:00
Roberto Zandona
7590822c23 fix for tropical angel (mantis 01750) 2008-04-25 16:56:55 +00:00
Couriersud
0e77434bec Added DISCRETE_KEY_SALLEN_FILTER to discrete sound system 2008-04-25 08:42:13 +00:00
Brian Troha
85da621116 corrects cut-n-paste error in rom names as pointed out by OG ;-) 2008-04-24 23:31:38 +00:00
Brian Troha
aa8b89a7fe New working clone: Touch Master 3000 V5.02
Adds correct dump of U41 graphics rom.

Roms renamed and additional information added
2008-04-24 21:40:42 +00:00
Roberto Fresca
8e2f066695 - Decrypted the apple10 tile matrix.
- Partially decrypted the apple10 color codes.
 - Added encryption notes.
 - Updated technical notes.
2008-04-24 18:13:56 +00:00
Tomasz Slanina
8c901f80b2 New clones added
----------------
Raiden 2 (set 7) [Tomasz Slanina]
2008-04-24 17:50:27 +00:00
Tomasz Slanina
25578baf54 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Paparazzi [Tomasz Slanina]
2008-04-24 15:44:48 +00:00
Tomasz Slanina
31264158e0 New clones added
----------------
Heated Barrel (World version 3) [Tomasz Slanina]
2008-04-24 13:27:32 +00:00
Nicola Salmoria
c3f020c8df fixed gyruss volume 2008-04-24 06:52:20 +00:00
Aaron Giles
e04adea68b Version bump. 2008-04-24 06:45:25 +00:00
Aaron Giles
08c75151c7 Cleanups for 0.124u4. 2008-04-24 06:43:16 +00:00
Aaron Giles
6a955fc076 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Remove more Machine globals, #include "deprecat.h"

Hi mamedev,

The attached patch goes through and converts a number of Machine
globals to machine locals, and then removes #include "deprecat.h" if
appropriate.  The script that generated it is included, since the
patch itself is rather large and would have been time consuming to
produce otherwise.

The script doesn't convert cases of Machine that aren't in common
macros.  I'll try to tackle those later if someone doesn't beat me to
it.

~aa
2008-04-24 06:15:00 +00:00
Aaron Giles
737ff53930 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Eliminate assignments in conditionals

Hi mamedev,

Assignments in conditionals are never really needed in C and are
occasionally just plain bugs (== gets typed as =).  As such, it would
be good to remove these from MAME so that compilers that warn on this
construct can flag the likely bugs (MSVC does this for example).  The
attached patch does just that.  In addition, it refactors some
repeated code which had this in taito_f3.c into a couple macros. Using
inline functions would unfortunately have required more significant
changes, perhaps I'll tackle that another day.

~aa
2008-04-24 05:59:39 +00:00
Aaron Giles
38ee64ae77 From: Lei Wu [mailto:lanewu@hotmail.com]
Subject: fixed official mame bug #426 [Emuman]
2008-04-24 05:56:52 +00:00
Aaron Giles
14c852c8e9 Updated to use ACCESSING macros like memconv.h. 2008-04-24 05:53:47 +00:00
Aaron Giles
f7da2517e9 Fix:
01733: diehard: Game fails to start
2008-04-24 05:50:36 +00:00
Aaron Giles
25487d5e54 Fix:
01740: carnival, headon, heiankyo, pulsar, samurai, tranqgun : Is not possible to insert any coin
01721: sspaceat, sspacat2, sspacat3, sspacatc : Problems with inserting coins
01710: spacetrk, sptrekct: Cannot insert coins in both sets
2008-04-24 05:46:31 +00:00
Aaron Giles
9a7173f503 Fix:
01732: kof99, kof99a, kof99e: Game doesn't start 
01724: garou, garouo: Can't start the game
2008-04-24 05:36:55 +00:00
Aaron Giles
c205e10516 Fix 01742: punchout, armwrest + many vsnes.c and playch10.c games: Refreshspeed causes fatal exception in punchout. 2008-04-24 05:32:57 +00:00
Couriersud
b4fd76f158 ay8910.c:
* change DC offset for AY-3-8910 to 0.2V
* tones are now distinguishable again
galaxian.c:
* adjust "konami" sound volume
gyruss.c:
* adjust sound volume
2008-04-23 23:31:14 +00:00
Aaron Giles
45c24298af Regression fixes fro memory mask flipping. 2008-04-23 13:53:30 +00:00
Nicola Salmoria
e14a331553 increased Gyruss volume, changed UI to allow volumes higher than 2.0. 2008-04-23 07:47:23 +00:00
Jim Stolis
6e6129c232 Corrects regression issues from sweeping mem_mask changes. 2008-04-23 00:57:42 +00:00
Couriersud
85a5a3d827 AY-3-8910 rewrite:
* adds a model to calculate mixing of channels with different resistance loads.
* based on above, each channel may be assigned a different load in individual case
  i.e. channels not tied together
* rewrote ay8910.c to make emulation simpler
* changed the config structure to include a flag field and output resistor loads.
* Updated all drivers affected.
* Added some "Todos" related to stuff I discovered when reading datasheets.
* Fixed a bug in disc_flt.c (konami filters)

galaxian.c:
* Fixed discrete sound and konami filter addressing
* Changed addressing of AY-3-8910 to be in line with schematics

gyruss.c:
* Added discrete sound for filtering ("konami"-style) and mixing.
2008-04-22 21:58:36 +00:00
Nicola Salmoria
c000fcf52f 01670: kungfum, kungfud, spartanx, kungfub, kungfub2: Main character sprite not hidden at end of level.
01686: ldrun3, ldrun3jp: visible area problem
2008-04-22 08:50:38 +00:00
davidhay
830c238cf0 my 700mhz piece of junk box can run these at full speed, somehow I don't think we need the idle-skips. 2008-04-22 06:21:40 +00:00
Brian Troha
e66d9670b8 A little bit more info and Euro or Standard included in the game description 2008-04-21 21:26:31 +00:00
Brian Troha
09ca55a0e0 enable the Williams 1942 clone already added 2008-04-21 20:41:06 +00:00
Roberto Zandona
368754b5e1 fix y coordinate for sprites in final crash 2008-04-21 18:13:00 +00:00
Andrew Gardner
c9211856f1 Memory map merge for twin16 driver.
(Rockin' the AM_RAM_WRITE handler.  Awwwwh yeah.)
2008-04-21 15:08:36 +00:00
Aaron Giles
cb8514a175 From: Miodrag Milanovic
Hello Aaron,
 
I have found few more things not ok in T11, this time I have fixed it myself.
 
1. HALT - should call interrupt vector
2. ILLEGAL - had PC=0 at the end which makes code not run fine
3. MARK - now it is implemented

Can you please check if your drivers are working fine with these cahanges.
 
After adjustments I have some things working finaly.
 
Please inform me,
 
Miodrag Milanovic
2008-04-21 03:41:51 +00:00
Aaron Giles
af71decdb7 D'oh, another accidental checkin. :) 2008-04-21 00:13:37 +00:00
Aaron Giles
ae4002a56d From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: ghost and goblins (italian bootleg, harder)

this is an italian bootleg with a really hard gameplay. it's quite 
impossible to say the truth ;)
pics of the board:
http://www.citylan.it/gngitaly/main%20PCB%20component%20side.jpg
http://www.citylan.it/gngitaly/roms%20PCB%20component%20side.jpg

New clones added:
Ghosts'n Goblins (Italian bootleg, harder)
2008-04-21 00:11:19 +00:00
Aaron Giles
5edbda88da From: Atari Ace
Subject: [patch] Fix 01711: connect4, mpu4met0, mpu4tst2, mpu4utst, bctvidbs: Using -CHEAT trigger causes a crash
Hi mamedev,

This patch fixes bug 01711.  Given the location of the original assert
it is clear the original code wasn't quite right.

~aa
2008-04-21 00:09:58 +00:00
Aaron Giles
9fb86da645 From: Atari Ace
Subject: [patch] Fix 00149: No error report for invalid BIOS setting.
Hi mamedev,

This small patch makes specifying an invalid bios a fatalerror and
removes the need to expose system_bios to the drivers by reworking the
code in playch10.c to determine its bios more directly (in other
words, it removes an ugly hack).  This should resolve bug 00149,
although I did not implement the popmessage as suggested.

~aa
2008-04-21 00:05:54 +00:00
Aaron Giles
7d9b9885a5 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix 01588 timecrsa, timecris: MAME simply quits after
pressing F3 in both sets, game cannot be runned

Hi mamedev,

This small patch fixes the crash in bug 01588 and seems to allow the
game to start in most cases.  In some cases in my testing the board
failed startup tests, but that appears to be unrelated.

~aa
2008-04-21 00:03:51 +00:00
Aaron Giles
e26f80fde0 (from Mariusz Wojcieszek)
Attached is diff which makes Touchmaster games playable.

General changes:
- Added preliminary 68681 DUART (machine\68681.c)
- Moved Microtouch touch screen controller emulation to separate module (machine\microtch.c)

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Touchmaster [Mariusz Wojcieszek]
Touchmaster 3000 [Mariusz Wojcieszek]
Touchmaster 4000 [Mariusz Wojcieszek]
Touchmaster 5000 [Mariusz Wojcieszek]
Touchmaster 7000 [Mariusz Wojcieszek]
2008-04-21 00:00:55 +00:00
Aaron Giles
fc2eb1d343 From: Corrado Tomaselli
Subject: kyugo.c clocks

Changed and verified cpu frequencies on kyugo.c games.
Gyrodine and 99 the last war and clones run on the same board.
2008-04-20 23:58:34 +00:00
Aaron Giles
bda5a61e0d From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: Rygar third set dump

I named this dump as set 2 since it's the bugfix version like set 1. Set

3 was renamed old version because it has some bad bugs.
I haven't seen any visible differences, it would be interesting to see 
what has changed in the program and if it's a newer revision than the 
set 1 in mame...

New clones added:
Rygar (US set 3 Old Version)
2008-04-20 23:57:36 +00:00
Couriersud
144675e3e7 popper.c:
* palette_init uses resistor values from schematics
* Please credit Joe Magiera for providing schematics
2008-04-20 23:15:24 +00:00
Aaron Giles
e0533ec7c3 Added new Windows option -watchdog, which creates a watchdog thread
that forcibly kills the application after a certain number of seconds.
Primarily intended to be used in regression test runs to handle the
occasional hung game.
2008-04-20 22:29:29 +00:00
Brian Troha
682265e480 The Williams Copyright is dated 1985... a year later then the Capcom Copyright. 2008-04-20 17:42:10 +00:00
Brian Troha
6e016ff10d Credit - Quarterarcade
New Clone (working) 1942 (Williams Electronics)

Parent / clone reorder
Rom name corrections
2008-04-20 17:37:14 +00:00
Luca Elia
467f229ab8 Improved the IGS017 based games:
- iqblocka: bypassed the protection, emulated the video hardware, inputs and sound.
- tjsb: it now boots and has partially decrypted graphics.
[Luca Elia]
2008-04-20 10:45:05 +00:00
Wilbert Pol
ad7287f3e1 Small documentation change: fixed GoodGen name. 2008-04-20 10:18:22 +00:00
Nicola Salmoria
92f67160cd Lowered SF2 clock speed to 10MHz. This is on the assumption that, since the 12MHz A-Board is called "89626A-4 DASH", it should have started to be used with SF2 DASH--that is, sf2ce. 2008-04-20 08:50:32 +00:00
Roberto Fresca
baad7a6f45 New driver for Sandii' hardware. Support for snookr10, apple10 and tenballs. Added technical/general notes.
Funworld updates:
- Removed the temporary hack to jolyc980.
- Updated technical notes regarding Magic Card II & Jolly Card Professional 2.0.
- Moved snookr10 to its own driver.
- Minor clean-up.


New games marked as GAME_NOT_WORKING
------------------------------------
Apple 10 (Ver 1.21) [Roberto Fresca]
Ten Balls (Ver 1.05) [Roberto Fresca]
2008-04-20 04:16:47 +00:00
Aaron Giles
e91eb4007c Flipped the damn mem_mask. It is no longer inverted when passed to
read/write handlers. Updated all drivers accordingly. Hope I didn't
miss anything important!

Blame OG and smf for goading me into it. :)
2008-04-20 02:38:35 +00:00
davidhay
9017dbad99 Adds 'Jumping Pop' please co-credit Robin Cooper
there are some issues, the unused palette bits are significant as the colours are wrong at the moment, also maybe it should be joystick, not spinner etc..  It's an ugly Korean hack game ;-)

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Jumping Pop (NICs, Korean bootleg of Plump Pop) [Robin Cooper, David Haywood]
2008-04-19 23:47:34 +00:00
Nicola Salmoria
5782fedb11 fixed layer enable at the end of stage 4 in Varth.
increased Varth CPU clock to 12MHz to reduce slowdowns (the game was released after sf2ce so the faster A-board was available).
verified more gfx rom mappings against PAL dumps (thanks to Corrado Tomaselli).
verified memory maps using A-board PAL dumps (thanks to Charles McDonald).
separated the address ranges for CPS-A and CPS-B customs. This finally clarifies why some registers are fixed and some change with every game.
identified three new unknown registers in the CPS-B-21 custom. Their purpose is unknown.
all unhandled accesses to CPS-A/CPS-B registers will now be reported. There shouldn't be any left. Look out for "contact MAMDEV" popups.
cleaned memory maps. Moved forgotten worlds special input mmeory handlers to DRIVER_INIT.
moved extra input handlers to video/cps1.c since the extra connectors are on the C-board.
added sound to Final Crash.
2008-04-19 22:14:00 +00:00
Aaron Giles
9dd3f691ba Expanded the set of memory accessor functions. In addition to
direct byte, word, dword, and qword accessors for all bus sizes,
there are now masked word, dword, and qword accessors for all
bus sizes.

IMPORTANT: masks that are passed to the _masked_* functions are
NOT inverted. Although inverted masks are still passed to callback
functions, when you request a masked read or write the masks should
represent the bits you want.

Updated the various MIPS cores that use these functions to invert
their masks.
2008-04-19 19:09:24 +00:00
Wilbert Pol
446e65fb98 Changed the inline validity checks to work around GCC bug #35885. 2008-04-19 18:17:02 +00:00
Wilbert Pol
0d4aca282f Converted the ppi8255 implementation to a device. 2008-04-19 18:11:47 +00:00
Roberto Zandona
4719edb396 fix 2 opcodes for quizf1: now the little machines move correctly 2008-04-19 08:48:29 +00:00
Yasuhiro Ogawa
20842ca6e3 Fixed notes about nndmseal mask ROMs 2008-04-18 19:05:00 +00:00
Roberto Fresca
4b86e644f9 65C02/65CE02 CPUs and variants:
Fixed the 6502 family of disassemblers to show the correct bit to operate for BBR, BBS, RMB and SMB instructions.
2008-04-18 06:06:04 +00:00
Yasuhiro Ogawa
e4d34cd2e7 Redumped Side by Side maskROMs and got it working
(credit maruwa)
2008-04-17 21:59:19 +00:00
davidhay
1fd94a3f81 adds a note about rom banking based on actual hardware test done by dox 2008-04-17 21:55:08 +00:00
Roberto Zandona
8d3f5c0b0b - fix for 99lstwar bug (Mantis 00498): sonofphx, 99lstwar, 99lstwra, 99lstwrk, repulse: When the end-level mothership appears in the stage 4, it shows through the trees and scrolls showing through.
- fix offset sprite/background
2008-04-17 18:53:18 +00:00
Curt Coder
e8abef328c [CDP1869] Added a macro for the interface, and made write handlers optional. 2008-04-17 14:29:25 +00:00
Nathan Woods
63acd17b6a MESS-specific changes 2008-04-17 11:46:54 +00:00
Nathan Woods
c7c9bc1341 Fixed compilation error when using memory_install_read_handler() and
memory_install_write_handler()
2008-04-17 11:36:33 +00:00
Roberto Zandona
968dae7b1b some changes for aerfboo2:
- fix bg1 and bg2 offset
- fix sprites
- promoted to "working" (NO SOUND)
2008-04-17 08:06:10 +00:00
Aaron Giles
b35c15fef5 Cleanups and version bump to 0.124u3. 2008-04-17 05:26:05 +00:00
Aaron Giles
2028ecc2f7 Removed ancient 720 kludge.
Added support in the T-11 core for an external vector via irq_callback.
Apparently the hardware actually did support this and it is necessary
for emulating the BK 0010/11 computer in MESS.
2008-04-17 02:58:24 +00:00
Brian Troha
3c35a00e87 New changes ment we had 2 set 5's so I changed set 5 to set 6 ;-) (in segas16a.c) 2008-04-16 23:44:30 +00:00
davidhay
8e2bf052c9 cleaned up robiza's submission a bit, changed it to use irq2 not irq1 so that it doesn't keep resetting. 2008-04-16 23:22:52 +00:00
Brian Troha
77e7ee6a81 "new" old romset (clone)... adds back in the Shinobi unprotected set as Shinobi5... corrects sound rom name. 2008-04-16 22:40:24 +00:00
Brian Troha
33db47eb5d Credit: Arzeno Fabrice - Adds correct rom dump for Shinobi4 set 2008-04-16 21:32:35 +00:00
Roberto Zandona
2e10804275 add "Not Working" bootleg of aerofgt (bootleg set 2) (the romset is unknown_incog.zip)
add some info to machine/irem_cpu.c
2008-04-16 21:12:02 +00:00
Aaron Giles
12836eea2c Created new macro: AM_RAM_WRITE(handler) which specifies a memory
range to be RAM-like for reads but calls the given handler for writes.

Replaced AM_READWRITE(SMH_RAM, handler) with AM_RAM_WRITE(handler).
Also replaced AM_RAM AM_WRITE(handler) with AM_RAM_WRITE(handler).
2008-04-16 14:38:12 +00:00
Nicola Salmoria
6ceadb303e 01697: sfa3, sfa3b, sfa3u, sfa3ur1: About the blue background in startup screen. 2008-04-16 08:42:19 +00:00
Aaron Giles
a7c928efaa Memory map merges. 2008-04-16 04:54:57 +00:00
Nathan Woods
212d7e36d4 Changed MESS's hooks used by natural keyboard support, eliminating MESS's need
for input_port_set_digital_value()
2008-04-16 01:43:37 +00:00
davidhay
66445ebdf4 properly marked puzznici as a bootleg, disabled our MCU simulation on it, it has it's own internally. 2008-04-15 21:33:12 +00:00
Roberto Zandona
90bbd71aea better implementation of lookup table 2008-04-15 20:00:42 +00:00
Nicola Salmoria
3fa675958b 1) fixed sprite overdraw mode to match Mutant Night movie
2) fix palette glitch (00206: ninjakd2: PCB info for Nicolas state.)
2008-04-15 17:08:32 +00:00
Aaron Giles
ffc326f8be Converted the IDE controller to a device. Updated all drivers
accordingly.

Added new functions for dynamically installing device memory 
read/write handlers.

Updated install_memory_XXX_handler() functions to take a machine
parameter. Updated all drivers accordingly.

Merged installation of read and write handlers where appropriate.

Simplified memory.c code for dynamic installation so that a single
function handles all the work; a NULL read or write handler 
indicates not to install anything for reads or writes.
2008-04-15 16:49:50 +00:00
davidhay
72805780a7 probably not too interesting.. just some changes to the 'v25' code in toaplan2.c ..
Batsugun does upload what looks to be the entire program, unencrypted.  If enabled it runs to the point of waiting for interrupts, however, for those it looks like it needs a real V25 core with register banks etc.

The other games using the V25 (Dogyuun, Fix Eight, VFive/GrindStormer) only upload a 'stub' program and are encrypted, maybe they upload the rest later?  Knuckle Bash is ROM based V25 (and encrypted).  Charles is working on decrypting them anyway, but core updates would be handy.
2008-04-15 15:06:19 +00:00
Aaron Giles
71ca9ecec2 Switched subhandlers to using masks instead of shifts. Reduced the number
of stub handlers required as a result. Updated all drivers accordingly.
2008-04-15 06:39:34 +00:00
Luca Elia
35dc5e1da6 Added "Nandemo Seal Iinkai"
New games marked as GAME_NOT_WORKING
------------------------------------
Nandemo Seal Iinkai [Luca Elia]

P.S.

missing from the 0.124u1 whatsnew:

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Show Hand [Luca Elia]
2008-04-14 21:51:39 +00:00
Brian Troha
49aeb5acaa minor doc correction 2008-04-14 21:29:52 +00:00
Brian Troha
9f5e9dfcd1 minor doc update 2008-04-14 21:29:14 +00:00
Roberto Zandona
8fd458820b fix lookup table for sprites in spikes91 2008-04-14 21:10:27 +00:00
davidhay
a8209dd70d adds good denjinmk graphic rom (thanks to Guru) 2008-04-14 18:26:27 +00:00
Curt Coder
e7cfe56749 [CDP1802] Added machine parameter and macros for the callback functions. This seems to have fixed the player sprite flashing in Destroyer/Altair/Draco. 2008-04-14 18:06:56 +00:00
Aaron Giles
7b97535eae Added support for using smaller-sized memory handlers directly in
memory maps. To do so, you either need to specify a shift amount 
(mapping to a particular subset of the bus) or SHIFT_PACKED, which
maps a single larger sized read/write down to multiple reads or
writes at the smaller size.

Removed word-sized handlers from 6821pia.c. Updated drivers that
needed them to use these new interfaces instead.

Updated gaelco3d.c and itech8.c to remove the need for memconv.h
by using this new feature.

Re-removed input_port_set_digital_value().
2008-04-14 16:47:02 +00:00
Nicola Salmoria
39aeffdbcc more tables verified from PALs 2008-04-14 16:36:58 +00:00
Nathan Woods
f9766f2052 Changes from MESS:
src/emu/cpu/m68000/m68kmame.c:
src/emu/cpu/minx/minx.c:
	- Fixed compilation errors on CPU cores not enabled in MAME
	
src/emu/inptport.c:
src/emu/inptport.h:
	- Readded input_port_set_digital_value() (which is needed for natural
          keyboard inpout in MESS)
	- Added a running_machine parameter to inputx_update()
2008-04-14 11:12:42 +00:00
Nicola Salmoria
4df26527bc a couple of documentation changes 2008-04-14 08:01:31 +00:00
davidhay
3b32ca4548 in theory this should help.. 2008-04-14 00:14:36 +00:00
davidhay
6b84ce85a6 well this adds the sound cpu to raiden2, although it doesn't make any sounds. 2008-04-14 00:07:07 +00:00
davidhay
9c92a08fa1 correct sound address on godzilla 2008-04-13 20:39:08 +00:00
davidhay
74bda05e41 fixed typo, other bits and pieces. 2008-04-13 19:11:54 +00:00
Andrew Gardner
76e7b85e1f Finished memory map merge for W drivers.
Some whitespace touch-ups.
2008-04-13 18:02:50 +00:00
Nicola Salmoria
6d37b87e5d adjusted refresh rate to match pbc measurement 2008-04-13 17:21:41 +00:00
Nicola Salmoria
72911dcb10 marked sets using the decrypted sound ROM as bootlegs 2008-04-13 16:21:46 +00:00
Nicola Salmoria
eaf7906010 merged memory maps and some tweaks from schematics, though to get perfect memory maps dumps of the A-board PALs would be needed. 2008-04-13 16:20:49 +00:00
davidhay
7eaca49e39 added some logging of the sequences it should (probably) execute.. 2008-04-13 16:04:52 +00:00
smf-
59b480f561 fixed calculation of bit 31 of GTE FLAG register, when writing to it directly.
added lm mode to OP and fixed the calculation.
added lm mode to SQR.
2008-04-13 16:02:16 +00:00
Nicola Salmoria
9d8d924418 this should be the correct palette formula according to schematics 2008-04-13 15:43:06 +00:00
smf-
02b2ba8a6d fixed cross-hair update when the game is not polling the coordinates 2008-04-13 15:42:20 +00:00
Wilbert Pol
4725e2fa8e Fixed DA A instruction when A is > 0xF9. 2008-04-13 15:09:06 +00:00
Aaron Giles
842ed3efb0 Changed device read/write functions to take a const device_config *.
Reverted recent hacks to get around this and removed unnecessary casts.
2008-04-13 15:01:23 +00:00
davidhay
19784846a1 removed pointless palette function.. 2008-04-13 15:00:50 +00:00
davidhay
f17debc913 trying to make things a bit more generic, breaks a few things for now, but better than duplicated code all over the place.. the basic functionality of the chip *should* be the same, we just don't understand it yet because it's programmable. 2008-04-13 14:55:52 +00:00
Nicola Salmoria
deab56c545 01694: punisher, punishrj, punishru: missing graphic 2008-04-13 12:55:38 +00:00
Nicola Salmoria
c14f62ea10 verified Ghouls gfxrom mapping against PAL 2008-04-13 11:37:56 +00:00
Bryan McPhail
b7712be3fe Marked tilemap roms as bad dump too. 2008-04-13 10:46:07 +00:00
Roberto Zandona
8c6c1e80f9 use cps1 code for the palette 2008-04-13 09:55:03 +00:00
Bryan McPhail
553d449ee6 LED Storm Rally 2011 clone added, seems to require different sprite roms from the other versions (not yet dumped). Rest of driver could probably do with a tidy-up but I didn't have time. 2008-04-13 09:47:46 +00:00
Roberto Zandona
dfe1952883 fix an opcode in quizf1
fix dasm for bp+ix+offset8 and bp+it+offset8
2008-04-13 09:22:07 +00:00
Wilbert Pol
26474ff5de Compile fix. 2008-04-13 09:14:17 +00:00
davidhay
c39f1606da not really making much sense yet.. 2008-04-12 23:18:27 +00:00
smf-
6d87810b1f added sf/lm support to INTPL, improved flag calculation & calculates correct rgb
tidied up DPCS a bit.
2008-04-12 21:51:38 +00:00
davidhay
a38b10c22c still working on this.. temp patch 2008-04-12 20:00:59 +00:00
davidhay
fea81794d7 continued work.. 2008-04-12 19:15:47 +00:00
Wilbert Pol
7fb79442c1 Changed the pic8259 implementation into a device. 2008-04-12 19:15:27 +00:00
smf-
d713e9cce6 tidied up DPCS, improved flag calculation and added support for lm/sf fields. 2008-04-12 18:08:27 +00:00
Nicola Salmoria
e6a6d2f1fb fixed CPS1 palette control register to match tests on msword psb. Thanks to Corrado Tomaselli for the tests. 2008-04-12 13:13:54 +00:00
davidhay
15ececf131 cop/heatbrl ram clear stuff 2008-04-12 12:46:45 +00:00
smf-
303caf3f8b removed casts and removed unnecessary decoding from NCLIP.
added signed values to PAIR & PAIR64.
renamed PAIR64.lw to PAIR64.q
2008-04-12 10:47:39 +00:00
R. Belmont
7544575aea Fix compile error on systems where time.h isn't automagically included. 2008-04-12 06:14:31 +00:00
R. Belmont
340d6f4458 [TaitoIC] Fixed 64-bit GCC breakage. 2008-04-12 05:59:57 +00:00
Aaron Giles
439dbe872a Cleanups and version bump to 0.124u2. 2008-04-12 05:16:26 +00:00
Aaron Giles
f57b3da9a3 From: Justin Kerk
Subject: xml_normalize_string() bogusly escapes UTF-8

Various parts of MAME have recently been changed to support UTF-8
strings, so I thought I'd test out using a UTF-8 driver name for the
Sam Coupe driver in MESS, just to see if anything breaks. Most things
do seem to work well - the name is correctly drawn in the UI etc. One
thing that doesn't work properly is the output from -listxml: "Sam
Coupe" becomes "Sam Coupé" - each UTF-8 byte is
individually escaped, resulting in two gibberish characters instead of
the correct character.

The culprit here is xml_normalize_string() in src/lib/util/xmlfile.c -
the code converts any high-bit byte to an XML escape, which is totally
bogus for any encoding but ISO-8859-1 because XML escapes are defined
as Unicode codepoints regardless of the document encoding.

Fortunately, this is very simple to fix - in fact, it is sufficient
just to remove the escaping code and pass through the UTF-8 bytes
directly, because UTF-8 is mandated as the default encoding in the XML
standard.[1] The attached patch does this.

This should be a pretty safe change since as far as I can tell nothing
in MAME or MESS currently triggers this code (that is, the string "&#"
does not occur in the -listxml output of either). One potentially
negative effect is that the ASCII controls which are illegal in XML
(0x00-0x19 excepting line breaks and tabs) would no longer be escaped.
However, I can't imagine why you would want any in a string destined
for -listxml, so IMO that would be a problem elsewhere in the code and
having XML parsers barf on it would be desirable.

-Justin Kerk
2008-04-12 05:12:47 +00:00
Nathan Woods
9402f05a08 MESS specific fix 2008-04-12 03:41:30 +00:00
smf-
5f75c62fb9 fixed avsz3 & avsz4 flag & otz calculation. 2008-04-11 23:10:07 +00:00
Brian Troha
2aac02a8d7 New non-working game: Touch Master 7000
Protection bypassed as per TM4K & TM5k... goes no farther.
2008-04-11 22:17:13 +00:00
smf-
5ed8b1252b fixed flag calculation in F macro. 2008-04-11 21:42:05 +00:00
Nicola Salmoria
0a4dfefd92 Verified some gfx ROM mapping tables against PAL dumps
Improved understanding and emulation of palette related registers
Huge thanks to Corrado Tomaselli for the continued help with tests on the pcb
2008-04-11 19:22:33 +00:00
Roberto Zandona
c5b78d5687 fix a opcode for quizf1 2008-04-11 18:05:37 +00:00
smf-
22df06f724 fixed sign extension when inverting mem_mask. 2008-04-11 18:01:14 +00:00
stephh
c1658675f3 Fixed bug ID 01571.
Fixed Dip Switches.

Used port tags instead of port numbers.
2008-04-11 17:18:07 +00:00
Aaron Giles
58842fd57b Various tweaks/fixes from MAMEPlus:
* save state support for FD1094 chips
 * improved graphics in athena
 * improved sound balance in armedf
 * derived refresh rate for toaplan1 games
 * improved sound balance in tmnt games
 * derived clocks for suprridr
 * tweaked xmen visible area
 * derived clocks and refresh rate in twin16 driver
2008-04-11 14:25:38 +00:00
Yasuhiro Ogawa
a8190b80e0 Added Side by Side 2 (Japan) 2008-04-11 14:09:54 +00:00
Aaron Giles
7b927dff67 From: Oliver Stoenberg
I cleaned up the Machine usage in the osd/windows files and added the 
running_machine parameter where possible.
I didn't add it to osd_wait_for_debugger() yet, but I would make 
sense to have it.
2008-04-11 14:05:25 +00:00
Aaron Giles
250e9056d5 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: change for cpunum_set_irq_callback() callback function

This patch adds the running_machine* parameter to the function passed 
into cpunum_set_irq_callback() and adds the IRQ_CALLBACK macro for 
the callback function.
2008-04-11 14:00:47 +00:00
Aaron Giles
ab2154804c From: Tomas Garcia-Meras Capote
Subject: Update for "Euro League (bootleg)"
Hello,
 some tiny updates for the driver wc90b.c :
 
-Added dumps for all GALs on the PCB
-Removed the second YM2203, it isn't present on the bootleg boards
-Changed the clocks according to the oscilators found on the board,
 the previous speeds were measured on a goal92 PCB, not using a real "Euro League" PCB.
-Added a new osc to xtal.h
 
If you need any info about this update, please mail me.
 
Regards: ClawGrip (Tomas Garcia-Meras)

--

Also merged memory maps [Aaron Giles]
2008-04-11 13:58:17 +00:00
Aaron Giles
dbb98c5473 Reduced the number of save state callback types from 3 to 1. The
only remaining form is the one that takes a pointer parameter.

Added macros for STATE_PRESAVE and STATE_POSTLOAD to define common
functions. Added machine parameter to these functions.

Updated all drivers and CPU/sound cores  to use the new macros 
and consolidate on the single function type. As a result pushed
the machine parameter through a few initialization stacks.

Removed unnecessary postload callbacks which only marked all tiles
dirty, since this is done automatically by the tilemap engine.
2008-04-11 05:41:46 +00:00
stephh
6331c8d699 Fixed 'lghost*' Dip Switches. 2008-04-10 22:52:10 +00:00
stephh
17d3443680 Fixed bug ID 01567.
Fixed Dip Switches for all sets.
2008-04-10 22:20:01 +00:00
Roberto Zandona
e1a8ab0d1b fix dasm for rep instruction 2008-04-10 21:50:31 +00:00
Pierpaolo Prazzoli
7368ec7815 Enabled roz tilemap in emeraldia, but it's not centered in the right position when it's not in its original dimension 2008-04-10 15:39:59 +00:00
Aaron Giles
8edb9ce1b6 From: Fabio Priuli [mailto:priuli@math.ntnu.no]
Subject: bugfix to 1673 on MT

Enclosed please find a patch which fixes bug 1673 in MT. in 123u4 a few 
machine parameter where added to the routines drawing bg and fg, but all
of them where moved to use the _fg function. putting _bg where they were
in 123u3 fixes the bug
2008-04-10 13:52:22 +00:00
Aaron Giles
66c48036a3 From: Fabio Priuli [mailto:priuli@math.ntnu.no]
Subject: some dips

dips.diff adds tags and locations to dips for marvins.c and matmania.c 
(also adding a couple of corrections in names and default settings, 
explained in short notes added to the drivers)
2008-04-10 13:50:47 +00:00
Roberto Zandona
b389e946d6 fix for another opcode
now all the opcodes are decrypted
2008-04-10 05:29:16 +00:00
Roberto Zandona
75053e1d2b confirmed two more opcodes 2008-04-09 22:39:17 +00:00
Roberto Zandona
04ef716385 gussun oyoyo and risky challenge:
another opcode to fix explanations in the practice level
2008-04-09 20:29:46 +00:00
Aaron Giles
4867aa38b9 Take two of the previous changes. I think this is a little simpler,
using masks instead of the generic byte/word/dword read functions.
2008-04-09 14:48:22 +00:00
Aaron Giles
b4e4b1d3f0 Oops, remove accidentally checked-in makefile changes. 2008-04-09 13:23:25 +00:00
Aaron Giles
eeee1cb437 Rewrote core memory handlers as inline functions. These should be easier to
trace through in a debug build, yet should operate the same as before.

Created a complete set of functions for all databus sizes (8,16,32,64) and
all endiannesses. A few functions are redundant, but it is now very clear
which functions to use in which scenarios. It is also now possible to rely
on being able to access values of 8, 16, 32 or 64 bits via the built-in
accessors without fear of crashing.

Updated all cores using 8-bit handlers to explicitly call the 8-bit handlers
with the appropriate endianness.

Fixed a few games which were calling n-bit handlers directly to use the
generic forms. In the future, this is all the access drivers will have.
2008-04-09 07:31:47 +00:00
stephh
0a3bdaa3ef Fixed bug ID 01668 based on etabeta submission.
Checked inputs for all games but 'survival' (Dip Switches still need to be done), so now cocktail mode is correctly supported by 'pleiads' and its clones.

Renamed sets :
  - falcona  -> falconz
  - vautour2 -> vautourz
2008-04-09 05:47:48 +00:00
Roberto Zandona
7800d2bb70 fix dasm for two code and prefix opcode in real time encryption 2008-04-08 22:39:28 +00:00
Wilbert Pol
8dcedabb57 Removed the hardcoded dependency on a 8254 device from the 8042kbdc code. Changed the drivers using the 8042kdbc to define their own 8042kdbc - 8254 dependency. 2008-04-08 18:35:48 +00:00
Nicola Salmoria
ea8471679b New clones added
----------------
Super Monaco GP (set 1, Japan, Rev A, FD1094 317-0124a) [Corrado Tomaselli]
2008-04-08 17:13:58 +00:00
Nathan Woods
3364fdb2d8 Initializing device_config.machine to NULL 2008-04-08 00:30:56 +00:00
smf-
ee9ce122a9 removed useless casts in BLEZ/BGTZ 2008-04-07 23:49:48 +00:00
smf-
af97c741b3 fixed OTZ sign extension
fixed reading from SXYP
fixed reading from IRGB
fixed writing to LZCR
fixed sign extension of GTE control registers
fixed writing to FLAG

New games added or promoted from NOT_WORKING status
---------------------------------------------------
1 on 1 Government (JAPAN)
2008-04-07 23:20:31 +00:00
Roberto Zandona
486cdcb6b5 1) fix nec v30 dasm when a "real-time encrypted cpu" is used
2) fix Execution Clocks for add,addc,and,or,xor,cmp,sub,subc instruction
2008-04-07 22:30:52 +00:00
Roberto Zandona
634b30cbb3 fix for wrong tile-sprite priority 2008-04-07 19:31:20 +00:00
Wilbert Pol
35462b15c5 Changed the 8237dma implementation into a device. 2008-04-07 17:53:56 +00:00
Nicola Salmoria
9940fd24a7 Added mising TC0060DCA sound mixer to the Taito Z driver
marked one dblaxle ROM as BAD_DUMP
00029: contcirc: Audio emits from one speaker on start up.
2008-04-07 11:52:29 +00:00
Nicola Salmoria
3e3c448017 merged memory maps 2008-04-07 09:23:49 +00:00
Nicola Salmoria
af9f5d75c1 01253: topsecrt: There are gray tiles around the title in the original pcb and the bootleg too. 2008-04-07 08:51:40 +00:00
Nicola Salmoria
e0c1c7a07e fixed 3wonders missing sprites in last update 2008-04-07 07:35:56 +00:00
Roberto Zandona
99103d0736 for aerfboot:
1) sprite offset are now correct
2) split spriteram in two parts
3) identified last sprite for the two parts
4) promoted to "working" (no sound)
 
for pallavol:
1) fix for sprite's y-coordinate
2) implement lookup table for convert sprite code in the real code
3) change the name to "1991 Spikes (Italian bootleg) (see the snapshot)
4) fix scroll
5) fix offset
2008-04-07 07:02:23 +00:00
Nicola Salmoria
5b36289ee7 updated comments to match comments from Charles, and fix error in 3wonders mapper table. 2008-04-07 06:50:10 +00:00
Ryan Holtz
947697a18d Whoops. Left some debugging code in there. 2008-04-07 01:51:35 +00:00
Ryan Holtz
4254afc8b5 Mostly fixes sound in N64-based games (Adam Gashlin)
Correct DMA functionality in N64-based games (Ville Linde)
2008-04-07 01:34:15 +00:00
Andrew Gardner
0cb1234dd4 Memory map merges for drivers starting with U, V, W, and Z. 2008-04-07 00:26:08 +00:00
Aaron Giles
bcb340612b Fixed bug that prevented the initial input port update from working properly. 2008-04-07 00:21:00 +00:00
davidhay
bb3ddbf98e added back some logging 2008-04-06 23:16:39 +00:00
smf-
4d21cff799 added IR1/IR2/IR3 saturation when calculating ORGB
fixed spelling mistake.
2008-04-06 22:48:25 +00:00
Aaron Giles
436adc3c48 Oops, missed one. 2008-04-06 22:12:06 +00:00
Aaron Giles
99a92aa80a Bulk converted drivers explicitly calling input_port_n_r() with a bogus
offset to calling input_port_read_indexed() instead.
2008-04-06 22:10:54 +00:00
Aaron Giles
8a914b3d22 Renamed input port functions:
readinputport           -> input_port_read_indexed
  readinputportbytag      -> input_port_read
  readinputportbytag_safe -> input_port_read_safe

Added machine parameter to input port functions. Updated
many drivers to accomplish this.
2008-04-06 22:02:39 +00:00
Aaron Giles
edb6e3de5a Fixed unicode crashing bug with input names. 2008-04-06 21:56:20 +00:00
smf-
be21ac9e08 fixed IRGB truncation and conversion to IR1/IR2/IR3 2008-04-06 21:38:25 +00:00
davidhay
ea0fec5bb4 still looking at this.. 2008-04-06 21:14:35 +00:00
smf-
3d05dc8d91 fixed SZ0 truncation. 2008-04-06 21:12:02 +00:00
davidhay
f9e06bbc50 memory map cleanup 2008-04-06 20:07:27 +00:00
davidhay
a04b9e5afc added another Seibu Cup Soccer Selection set, credit Arzeno Fabrice
renamed some sets, as some of the Seibu Cup Soccer sets are actually 'Seibu Cup Soccer Selection'
2008-04-06 17:31:25 +00:00
Brian Troha
d553b0011d adds a tiny bit more info about the Touch Master games 2008-04-06 17:22:22 +00:00
smf-
d485e8ed3c Fixed the SR masks for MTC0.
Added ability to test the instruction/data cache ram. The scratchpad and BIU register are now handled internally to the CPU.

All writes are performed with masks. SWL/SWR used to be implemented with two writes ( one byte and one word ) when writing three bytes, now it only ever performs one. Byte and Word writes use masks as they leave the rest of the register on the bus, which can be picked up by larger registers.

The read/write functions to use are cached when the SR bits are updated, as are the bad address masks.

Added coprocessor 1 & 3 support, though they don't do anything useful.

All loads now go through the delay pipeline, a lwl/lwr will grab the value out of the pipeline if it's updating the same register.

Added undocumented behaviour of BLEZ/BGTZ. The comparison for zero can be changed by specifying an alternate register in the RT field ( the documentation says you should always use register 0 ).

Restricted to 16 COP0 registers & generate an exception if any of the 5 for the MMU are used.

Added BCF/BCT instructions, although I have found no conditions that affect them yet.

Generates an exception if any MMU instructions are executed.

Sets the CE instruction for all exceptions, not just those involving a coprocessor. The bits of the opcode that specify the coprocessor are grabbed no matter what the instruction.

Added TAR register and BT bit in SR. When an exception occurs during a branch, BT determines whether it was taken or not. The TAR register gets set to the destination of the branch.

Fixed the BD bit when you are in a branch delay slot and you didn't take the branch, this shows up in the pipeline as !pc.

Fixed branches within a branch delay slot.

Multiply & divide instructions can be aborted if you write to HI/LO before reading the result.
Added data breakpoints, you don't appear to be able to set breakpoints on any of the addresses internal to the CPU.

Multiply/divide/GTE instructions can execute when an exception is taken, although the EPC indicates that it hasn't. The BIOS avoids rerunning GTE instructions as they are destructive, so you have to make sure they run.

Added bus error handling, PSXCPU is limited to 8mb of ram & any access outside this range will trigger an exception. I believe this is to be an internal limit.

Added CXD8611R as a specific CPU type, System 12 appears to allow more than 8mb of ram & it's possible that this is different.

Mapped out all instructions to either generate an exception or ignore bits.

Updated the disassembler to match the decoding.

Fixed disassembling of branch instructions in a branch delay slot.

Lui checks for a ori/addiu following and will show you the result.

Added step over/out support.

Fixed standalone disassembler.
2008-04-06 16:42:10 +00:00
Nicola Salmoria
d8bbbf35b0 Removed CPS1 tile kludges and replaced with per-game ROM mapping tables. Ideally, the ROM mapping should be derived from mapping of the PALs found on the B board. However, this is unlikely to happen, so we'll have to live with hardcoded tables.
Note that this is a significan change and some new bugs might be caused by it. Unlikely previous bugs, where extra garbage tiles would appear in the games, the new bugs would be tiles or sprites MISSING--so they will be harder to notice. This would happen because in some cases the 16x16 regions of the gfx ROMs can be used by both scroll2 and sprites, while in other cases they must be separated.
2008-04-06 12:17:22 +00:00
davidhay
4f89b193d5 improved graphic decoding for Legionnaire, the BK3 tiles are now correctly extracted from the TXT region, map screen has correct tiles now. no progress with the protection tho. 2008-04-06 12:13:34 +00:00
Aaron Giles
830b8836fc 01609: Various - tested srmp4 (ssv.c), ttmahjng (route16.c), vsmahjng (vsnes,c), tokkae (konamigx.c), sf2 (cps1.c): INP playback loses sync quickly
Rewrote INP recording from scratch, since all old INPs are broken anyways.
Header now includes timestamp, which overrides the default time base for MAME's system time.
Each frame recorded now gets a timestamp.
Analog ports are recorded once per frame and interpolated.
Analog port calculations are all done in fixed point for consistent results.
A bunch of other minor tweaks in the input port code.

There may still be a few changes to the final INP format (considering adding 
NVRAM data directly in the INP file, for example....) but this at least seems
to work for the games I've tried.
2008-04-06 06:03:00 +00:00
Brian Troha
c889f3124f Adds new non-working game: Touch Master 5000
Not working, only goes as far as tm4k.  Initial protection bypassed as per tm4k.

Adds some doc / info as well
2008-04-06 04:58:44 +00:00
Nathan Woods
8fcdf39e8e Added a temporary MESS specific hook 2008-04-06 01:19:15 +00:00
davidhay
09f5e868b0 dox talked with the owner of the PCB for this, apparently swapping these two roms gives correct colours, they were incorrect before. 2008-04-05 21:28:59 +00:00
davidhay
e97cb11af3 couple of minor changes, still no actual improvements. 2008-04-05 21:23:25 +00:00
davidhay
d0a0358317 documentation fix 2008-04-05 14:30:25 +00:00
davidhay
bd7c159b15 Seibu COP stuff - just moving things around renaming them, comparing Legionnaire with Raiden 2 etc. No functional improvements just yet. 2008-04-05 13:08:11 +00:00
Couriersud
0d10d0df2c 00761: finalapr: Heavy performance hit.
Actually remove tilemap invalidating from tilemap_set_palette_offset (tilemap.c)
Following recommendation from Aaron added a comment to tilemap.h
2008-04-04 19:43:20 +00:00
Nicola Salmoria
5c7d45515e 00352: spaceskr: The cabinet DIP setting is inverted, when you set it upright mode, control is separated for P1 and P2, the scre 2008-04-04 17:41:32 +00:00
R. Belmont
0dbbecd2b3 [SCSICD] Reverted previous change. 2008-04-04 17:05:53 +00:00
Pierpaolo Prazzoli
aa098ca047 An erroneous debug-change leaked in the last commit 2008-04-04 14:46:38 +00:00
Aaron Giles
356d5dd812 Fixes 01659: stereo balancing is wrong
Apparently if you cast a negative number to a UINT32 at compile-time,
gcc does the "right thing" and saturates it to 0.
2008-04-04 14:17:56 +00:00
Aaron Giles
2c63abdad0 Actually fixed -refreshspeed. 2008-04-04 13:31:25 +00:00
Couriersud
ceab42a52b 01081 (partial): megaplay.c (all games): 1 Player Start and 2 Players Start are duplicated.
There is more to do to in the bug report.
2008-04-04 08:14:05 +00:00
Couriersud
0c79f46193 01663: Hat switches not working
All custom itemids were mapped to class SWITCH. With the recent modification, this implicitly changed to ABSOLUTE.
This fix will use the passed itemid to determine the class.
2008-04-04 07:38:35 +00:00
Nathan Woods
6498f1b8f2 Updated devconv.h to work with 0.124u1 2008-04-04 01:51:39 +00:00
Nicola Salmoria
f023814464 00405: cawing: Text in the attract mode is garbled. 2008-04-03 17:32:29 +00:00
Nicola Salmoria
a69f4fd45c 00250: 3wonders: Various graphic glitches. 2008-04-03 16:32:56 +00:00
Nicola Salmoria
959e66e484 Tweak Do Run Run CPU clock to match the behaviour observed on the real board.
01021: dorunru2: Side-by-side test.
2008-04-03 15:52:37 +00:00
Couriersud
2cfb327cbe Show a message if coin-lockout is active and coin x is pressed. 2008-04-03 15:37:45 +00:00
Nicola Salmoria
bb9c7b593d 00404: 3wonders: a glitch when u insert your record name when game is over. 2008-04-03 14:28:26 +00:00
Nicola Salmoria
26f1537f66 01552: 3wonders, 3wonderu: Another little graphic glitch on attract mode 2008-04-03 13:25:05 +00:00
Aaron Giles
31336e491e Cleanups and version bump to 0.124u1. 2008-04-03 07:57:25 +00:00
Aaron Giles
efbe64428a Switched from ACCESSING_BYTE_*, ACCESSING_WORD_*, ACCESSING_DWORD_*
macros to ACCESSING_BITS_*_* macros.
2008-04-03 07:36:23 +00:00
Aaron Giles
0d89ceb44b From: Hugh Allen [mailto:hugh2@bigpond.net.au]
Subject: patch for state save in buggybjr

Here's a little patch for initial support of state saving in buggybjr. 
(It'll help with tx1 and buggyboy too, but they are non-working)

All I did was get rid of the "anonymous" (temporary) timer that was 
preventing saving, and replace it with a "permanent" timer. I didn't go 
looking for data which might need to be saved.
2008-04-03 05:30:15 +00:00
Aaron Giles
ca3d7d01e6 From: Wilbert Pol
Subject: pit8253 device

I have converted the pit8253 implementation into a device. To make it  
easier to use I've also created a src/emu/devconv.h in the same style  
as src/emu/memconv.h.

I do not have all roms/disk images to test all drivers.  I have only  
been able to test pf2012, filetto, and topgunnr.
2008-04-03 05:26:47 +00:00
Aaron Giles
39d36956d2 From: roberto zandona
Subject: some fix for aerfboot (bootleg of aerofgt)

this fix:
1) spriteram3 (previous value was too high and in the "city" level some build disappear
2) sprite gfx bank (previously some sprite appear right and some sprite was wrong)
3) the zoom is a litlle bit better
4) i have removed multisprite support; in the bootleg aren't present
 
the remaining problem is "not draw some sprite"; maybe there's a mark in some place
 
in the code i add, in a comment //, a way to avoid the draw of the sprite (searching a 0000 0000 0000 0000 sprite); this way works quite good but not perfectly (some time too many sprite are in the screen); maybe there's a value indicating the #number of sprite to draw (from the end to spriteram3 to start)
 
--

From: roberto zandona
Subject: addendum (aerfboot)

this fix perfectly the sprite zoom
2008-04-03 05:23:11 +00:00
Aaron Giles
e621d87cfe From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: MESS machine stuff

Another machine parameter added to a MESS function call.
2008-04-03 05:21:51 +00:00
Aaron Giles
aea595a54a From: neoforma
Subject: TinyMAME fix

Nothing to talk about. Just a fix to make it again possible to compile 
out-of-the-box.
2008-04-03 05:20:29 +00:00
Aaron Giles
92cc517479 From: roberto zandona
Subject: a little fix

a little update: this fix priorities in mermaid and rougien and a sprite bug:
 
when a sprite have x coordinate >= 0xf0 the value is negative
this fix the sprite bug
 
+  if (sx >= 0xf0) sx -= 256;
2008-04-03 05:19:34 +00:00
Couriersud
622bbf8e6a ironhors: add discrete filtering and mixing
* one driver less using FILTER_RC
2008-04-02 22:00:10 +00:00
Brian Troha
5bc94c30dd Documentation (rom name) correction. 2008-04-02 20:52:12 +00:00
Nicola Salmoria
944070ee86 00403: 3wonders: Points are displayed between lives of first player and the word INSERT COIN 2008-04-02 16:22:33 +00:00
Curt Coder
1859e012d2 - converted CDP1869 to the new device system
- refactored to represent how the hardware actually works
- added PMA latching on OUT5
- separated Cidelsa video to its own file
2008-04-02 14:43:06 +00:00
Curt Coder
12589d9abd More COP400 fixes:
- fixed serial timer
- fixed clocks
- fixed COP410 RMB3, XAD instructions
- general cleanup
2008-04-02 14:36:50 +00:00
Nicola Salmoria
9c0447a597 Fix CPS1 background color. This fixes 3 wonder (game start) and mtwins (explosion during attract).
If seems to break Varth, hower, and has dubious effects on the boot sscreens of avsp, sfa3 and possibly other CPS2 games.

01542: 3wonders, 3wonderu, wonder3: Wrong colour of background in game selection and start screens
00410: xmcota: After a couple passes through the demo mode, the background on the qsound screen will go to a shade of green.
2008-04-02 13:31:03 +00:00
Nathan Woods
36af5b18bc Tweaked the hooks that MESS has in the MAME initialization process 2008-04-02 10:59:32 +00:00
Aaron Giles
dc5af38f5b From: roberto zandona [mailto:robiza71@tin.it]
Subject: patch for mermaid

proper implentation of hardware collision (first implentation was incomplete)
this fix mermaid (when the player is in the water with the sharks) and rougien (Mantis 01652)
2008-04-02 08:40:34 +00:00
Aaron Giles
cce0f9f8e7 From: Wilbert Pol [mailto:wilbert@jdg.info]
Subject: pcshare patch for mess

Another patch to machine/pcshare; this patch allows the MESS machines  
to choose whether the RDY pin of the nec765 floppy controller is  
connected or not.

Last weekend's pcshare keyboard was almost correct, it caused some  
stuck shift key situations in MESS. This patch fixes that.

Removed a lot of MESS specific code from the machine/pcshare code.
2008-04-02 08:39:44 +00:00
Aaron Giles
fa67773ba7 From: JEA Wallace [mailto:jeaw100@york.ac.uk]
Subject: Further ACIA changes

Added dynamic control of RX and TX pins to 6850 ACIA emulation - this is
needed for correct operation of the MPU4 Video communications system, 
and may be handy for some MESS systems. To use, set the rx and tx clocks
to 0 in the acia interface, then use acia_tx_clock_in() and 
acia_rx_clock_in() respectively.
2008-04-02 08:37:28 +00:00
Aaron Giles
d26f7f12da From: Mr. Do [mailto:mrdo_emu@hotmail.com]
Subject: Internal LAY File - Armor Attack

This is becoming kind of fun.  Here's an internal LAY file for Armor Attack.
 
Re-created the overlay using just rectangles.
 
And finally got to use flipx and flipy for the first time (main reason I did it).
2008-04-02 08:36:30 +00:00
Aaron Giles
35b88f45fe From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: small change for MESS cleanup

This adds the "Machine" parameter to a MESS function call in MAME 
code to go along with Machine -> machine ckeanups in MESS
2008-04-02 08:34:24 +00:00
Aaron Giles
f8c51f9a23 From: Wilbert Pol [mailto:wilbert@jdg.info]
Subject: pcshare.c


The attached patch fixes the self-test responses generated by IBM 5150  
and XT keyboards for MESS.
2008-04-02 08:33:39 +00:00
Aaron Giles
bddaca5de2 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: Machine -> machine cleanups

This patch changes "Machine" to "machine", when the runnin-machine 
parameter is already available. In some cases I could even remove the 
dprecat.h.

I will look for some occurances where it can be easily changed and 
afterward take a step at adding the running_machine parameter in a 
few places.
2008-04-02 08:33:06 +00:00
Aaron Giles
86e9f195a9 From: Mariusz Wojcieszek
Attached diff adds Multi Game III (yet another NES-based hack) to multigam.c. Game is playable.
Multi Game III
2008-04-02 08:31:21 +00:00
Aaron Giles
9518901281 From: Corrado Tomaselli
Subject: rygar clocks

Corrected clocks on Rygar.
Concerning the 400khz resonator, it's genuine, not resoldered even if 
schematics shows a 384khz resonator.
Another Rygar from a friend of mine has a 400khz resonator so it's 
possible Tecmo had a stock of those resonators to use in change of the 
384khz ones.
2008-04-02 08:30:14 +00:00
Aaron Giles
125e286bda From Dirk Best:
Astrocade update:
 - Update src/mame/includes/astrocde.h to use an XTAL value
 - Clear interrupts if they are no longer valid
 - Add the knob inputs
2008-04-02 08:27:45 +00:00
Aaron Giles
a4a7ea967c From: Mike Haaland
src/osd/windows/ledutil.c

 Include osdcomm.h so INT32 is defined under VC.
2008-04-02 08:25:25 +00:00
Aaron Giles
3fd1755ae2 From: RansAckeR
Subject: fix for 01623

Also changed apb COIN3 to SERVICE1.

--

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

Added dip locations

--

Also fixed compile error in namcona1.c.
2008-04-02 08:24:20 +00:00
Aaron Giles
2a9d6c09bf Added missing #include. 2008-04-02 08:17:56 +00:00
Nicola Salmoria
72b84c545f Use new TILEMAP_DRAW_ALL_CATEGORIES flag where applicable 2008-04-02 04:54:02 +00:00
Nathan Woods
ff3b615c69 Removing false assertion; NULL is also DEVICE_TYPE_WILDCARD 2008-04-02 01:39:31 +00:00
Pierpaolo Prazzoli
704514c351 Forgot to decomment a check 2008-04-01 21:31:54 +00:00
Pierpaolo Prazzoli
f95ec93c7c - Added tilemaps and sprites 4bpp mode
- Added preliminary ROZ implementation (disabled until the enable / disable register is found)
- Changed background pen to fix emeralda demo
2008-04-01 21:29:29 +00:00
Couriersud
f4b7ad20e2 discrete sound system:
* Fix timing of stream_update in discrete_sound_w
  All sound cores update before processing changed data
* Add streeam_update to discrete_sound_r
* Now supports multiple output nodes per module. 
  There is the possibility to support multiple outputs per module.
  In this case, NODE_XXX is the default output. Alternative outputs may
  be accessed by using NODE_XXX_YY where 00<Y<08.
  
  You may also access nodes with macros:
  
      NODE_XXX = NODE_SUB(XXX, 0)
      NODE_XXX = NODE(XXX)
      NODE_XXX_YY = NODE_SUB(XXX, YY) with YY != 00 
      
  This should e.g. make discrete sound emulation easier
  when dealing with e.g. flip flops (Q & QQ) and binary counters

* added sanity checks to check consistency issues introduced by this change
* modules specify number of outputs ==> Certain special modules (WAVELOG) 
  may no longer be used as input nodes
* removed explicit (NODE_XX + expr) from a couple of drivers
2008-04-01 21:17:17 +00:00
Brian Troha
4a83ea709f Credit: The Guru
Adds Super Bishi Bashi Champ (Korea) to bishi.c

CPU speed correct & readme text added.
2008-04-01 20:43:58 +00:00
Nicola Salmoria
a284b2fd9e fix tilemap viewer to draw the whole tilemap when categories are used 2008-04-01 16:01:34 +00:00
Nicola Salmoria
d91c34cf31 01468: ldrun2: Priority problem at titlescreen 2008-04-01 13:30:49 +00:00
Nicola Salmoria
e81294dfa0 Fix 01469: ldrun2: Compared to the PCB does MAME show less graphic at the bottom of the screen. 2008-04-01 12:52:04 +00:00
Nathan Woods
68db1ed583 Typo fix 2008-04-01 01:24:10 +00:00
Andrew Gardner
859f894aa2 A few more memory map merges. 2008-03-31 04:52:41 +00:00
R. Belmont
2a869f8673 Various SCSI devices register state items by their disk ID, which are not unique across device types. This introduces a device-type offset for CD-ROMs so their registrations don't clash with harddisks. 2008-03-31 03:04:34 +00:00
Phil Bennett
cb87356d5c Courtesy of Anonymous:
* Added plane priority to blitter - if anyone knows how this really works let us know!
 - Fixes Treble Top signature writing
* Video output now supports all modes - lores, hires, mixedres, 8/7/4/3 bits/pixel
  - Fixes Every Second Counts colour problems
* Added line draw
  - Fixes missing stuff from Question Of Sport
* Change blitter loop type control - there are 4 types of loop.
* Corrected video frame rate to 50Hz.
* Corrected Z80 speed - 5.91mhz, this still might be wrong but I don't have a board to check.
* Accounted for Z80 cycles stolen during a blit operation. Improves gfx/sound sync and seems to fix the final round lockup in Every Second Counts.
2008-03-30 23:59:31 +00:00
Nathan Woods
6bc1249cb8 More MESS-specific changes (this code should be factored out of MAME) 2008-03-30 23:30:43 +00:00
smf-
6c238b4395 Fixed state loading now that the digital i/o board's serial number has been changed to a const by not saving it. As the serial number cannot be changed at run time it was rather pointless. I can only imagine I did it so you could hack the state file instead of having to recompile, though it should probably load it from an external file so you can supply your own. 2008-03-30 22:37:06 +00:00
davidhay
988ab9a7b0 a bootleg of badlands - heavily modified, not working. 2008-03-30 19:54:22 +00:00
Brian Troha
83ecc9bd8f changes Deer Hunting USA v2.0 to "v2" as the actual subversion is unknown. 2008-03-30 19:37:49 +00:00
R. Belmont
778117985e [AW] A little magic from ElSemi to make the Atomiswave BIOS try to be more verbose, but our video emulation isn't good enough to cooperate. 2008-03-30 19:03:22 +00:00
R. Belmont
e05a67c0f2 [MEGADRIVE] Turned off default SRAM handling for #ifdef MESS. 2008-03-30 18:49:19 +00:00
Andrew Gardner
4f6044c309 Memory map merges for half of the W drivers.
A couple of random touchups for X, Y, and Z drivers as well.
Each driver is tested by watching the attract mode through and diff'ing logs.

My ISP was blocking mamedev e-mails for a couple of weeks, so I apologize if I did anything odd because of a discussion that I missed.
2008-03-30 18:26:42 +00:00
davidhay
d332b5c542 (from Bryan McPhail) adds Chase Bombers to undrfire.c, not working properly. 2008-03-30 17:57:17 +00:00
Nathan Woods
52f6db9e2b MESS specific change; part of MESS' device changeover 2008-03-30 17:14:03 +00:00
Couriersud
cac4d00e7d Add ITEM_IDs for additional axes and switches
Add ITEM_IDs for up to 4 hats/POVs
2008-03-30 14:28:08 +00:00
stephh
652ffd72f9 Changed Seibu sound CPU to use AM_READ_PORT("COIN") instead of input_port_0_r.
Added in bloodbro.c driver partial work from RansAckeR :
  - dips locations
  - coin modes

Added notes for 'bloodbra'.
2008-03-30 10:19:43 +00:00
smf-
ad4ef5d256 New macros added for checking mem_mask. ACCESSING_BYTE_n, ACCESSING_WORD_n & ACCESSING_DWORD_n. These check for any access within the bounds, currently the pattern for checking whether both bytes of a word is written is to make two byte checks ( this pattern existed before because there was no macro for testing a 16 bit word, though you could have used ACCESSING_LSW32 ).
All occurrences of ACCESSING_LSB, ACCESSING_MSB, ACCESSING_LSB16, ACCESSING_MSB16, ACCESSING_LSB32, ACCESSING_MSB32, ACCESSING_LSW32, ACCESSING_MSW32 & simple mem_mask checks have been replace with the new macros.
The old macros are gone.
2008-03-30 09:19:23 +00:00
stephh
c646da31ad Fixed clones relationship. 2008-03-30 06:51:25 +00:00
R. Belmont
40f3c081f4 [AICA, SCSP] Fixed encoding/decoding of negative denormal floats in the DSP. Shouldn't actually affect any games. (kingshriek, Deunan Knute) 2008-03-30 00:12:07 +00:00
Couriersud
ad1d29db6e Removed unnecessary #include 2008-03-29 23:14:54 +00:00
Couriersud
91d938313b Added discrete filtering and mixing games using konami_sound. 2008-03-29 23:14:08 +00:00
Couriersud
4e4c63ba21 Added NODE(x) macro to avoid avoid (NODE_00 + 3) in code. 2008-03-29 23:06:29 +00:00
Couriersud
edf72c9bf9 implements discrete mixing
* uses DISCRETE_RCFILTER_SW
* uses sound routing to route 76416 output to discrete logic
2008-03-29 21:12:54 +00:00
Couriersud
6a8fa36bcc adds DISCRETE_RCFILTER_SW to discrete sound
* this implements multiple RC networks with CD4066 switches to connect/disconnect capacitor
2008-03-29 21:10:06 +00:00
Pierpaolo Prazzoli
a934d5cf95 Fixed sprites shadow in namcona1 driver and removed Emeraldia hack 2008-03-29 15:20:33 +00:00
Nathan Woods
1e57031838 MESS-specific changes; mame.h no longer include's MESS's device.h 2008-03-29 14:46:37 +00:00
Curt Coder
e241656170 Reverted to old execute, new broke more than it fixed. 2008-03-29 14:13:09 +00:00
Yasuhiro Ogawa
b4dc7567b4 added multiplier (same as wecleman) to Flak Attack
Info provided by VU801qCf
2008-03-29 13:32:28 +00:00
Curt Coder
6bdcdb0769 Removed debugging code. 2008-03-29 12:18:41 +00:00
Curt Coder
d23a72d1cd Rewrote the COP400 execute function. 2008-03-29 12:17:59 +00:00
Phil Bennett
1a931524f6 Added 'Beeline' by BFM. Non-working as we're missing the 3.5" floppy image... 2008-03-29 02:32:55 +00:00
Phil Bennett
ed397c466a 1. Added driver for JPM 'Give us a Break' hardware, supporting:
* Give us a Break [2 sets]
* Ten Up [2 sets]
Neither are playable; they don't register coins for some reason.

2. Fixed interrupt handling and 16-bit memory accessors in 6840ptm.c
Also cleaned up code for the sake of readability.

3. JPM games now have their own object archive file.
2008-03-29 01:35:02 +00:00
Couriersud
d71dc84ed6 Fix compile on 64bit environments 2008-03-28 22:58:17 +00:00
Aaron Giles
6350ab3302 Minor cleanup and simplification. Removed palette_config(). 2008-03-28 18:59:31 +00:00
Aaron Giles
c5335ee5d4 Fixed compile error in MSVC. 2008-03-28 18:32:09 +00:00
Curt Coder
cb38b8b0d5 - implemented interrupt
- implemented serial input/output
- fixed XAD/LDD, XIS1, RMB3 opcodes
- fixed clock divider
- fixed internal memory map size
- added some cpu variants

As a result, Draco at least initializes the AY-8910 now.
2008-03-28 16:10:23 +00:00
Aaron Giles
4821d456dd Fixed:
- 01622: [Core] -refreshspeed has no effect (aaron) - Resolved.
2008-03-28 10:10:21 +00:00
Aaron Giles
ce1da5c445 Fixed:
- 01629: [Graphics] raiga, stratof: broken colors on sprites (aaron) - Resolved.
- 01630: [Graphics] fstarfrc, ginkun, riot: broken colors on sprites (aaron) - Resolved.
- 01627: [Misc.] spbactn, spbactnj: Crashes with Access Violation (aaron) - Resolved.
2008-03-28 09:57:56 +00:00
Aaron Giles
ed961330b6 Added override to allow individual games to change sprite clipping behavior.
Fixed sprite clipping offset to be 0-15 as I originally derived....
2008-03-28 09:28:36 +00:00
Aaron Giles
6979179c11 Galaxian rewrite. Ultimately will combine the existing drivers
for galaxian, scramble, frogger, scobra, amidar, and dambustr.
For the moment, only a subset of games are implemented in the
new system; the remainder are running on the old code.

Main features are accurate video timing, correct stars 
implementation, better organization, simplified input ports,
and many other smaller fixes. In addition, the following
MAMETesters bugs are addressed:

- 01598: [Graphics] 4in1, gmgalax, pacmanbl: Sprites are cut off on the top row
- 01563: [DIP/Input] gmgalax: Duplicated Inputs
- 00300: [Graphics] zigzag: in cocktail mode player 2 screen is shift over to the right
- 01454: [Graphics] mshuttle, mshuttlj, mshutlj2: The display of the screen is shifted
- 01473: [Graphics] orbitron: Orbitron graphics not correctly displayed
- 01600: [Graphics] pacmanbl, batman2: The background is shifted to the right and cut off on the right side
- 01602: [Misc.] luctoday: Messed up graphics. (Screen Offset)
- 01599: [Graphics] omega: Screen is vertically offset
- 01605: [Graphics] gteikokb, gteikob2: Wrong screen offset (aaron)
2008-03-28 08:34:31 +00:00
Aaron Giles
ec36f9c06f Converted special-case DIP switches (service, unknown, unused) into their
own token type rather than expanding into other tokens. The reduces the
number of redundant strings and data.
2008-03-28 00:04:22 +00:00
Aaron Giles
984380354e Added fatal error if AM_READ_PORT() references a non-existent port. 2008-03-28 00:03:25 +00:00
Brian Troha
8f9a52fa11 Deer Hunting USA V2 added to seta2.c 2008-03-27 22:22:56 +00:00
Brian Troha
ebe96672ce Adds redumped U13 eprom to Off Road Challenge v1.40. All roms self test green :-) 2008-03-27 22:00:04 +00:00
smf-
5ed703d6d5 fixed another bug in new debug hook code, data wasn't shifted properly in all cases. 2008-03-27 21:04:02 +00:00
smf-
07459e6491 Passes mem_mask to the read and write debug hooks. This allows the address & size of the memory access to be correctly calculated when using a memory call that takes a mem_mask. Unexpected results will occur if you pass in a mem_mask that has a gap in. For example 0x00ff00ff is treated as a 3 byte operation, a watchpoint for the gap will still trigger. To simplify the mem_mask decoding it is inverted before passing to the debugger. 2008-03-27 20:23:36 +00:00
smf-
7d38bf085f reverted, I misunderstood something and it's broken. I'm on it. 2008-03-27 19:56:24 +00:00
smf-
8b7582a477 Passes mem_mask to the read and write debug hooks. This allows the address & size of the memory access to be correctly calculated when using a memory call that takes a mem_mask. While testing I found that the address had already had it's lower bits masked out, so watch points were broken already. Unexpected results will occur if you pass in a mem_mask that has a gap in. For example 0x00ff00ff is treated as a 3 byte operation, a watchpoint for the gap will still trigger. To simplify the mem_mask decoding it is inverted before passing to the debugger. 2008-03-27 19:22:20 +00:00
Couriersud
1355872b9a Fix cfg file corruption if joystick is not connected
* itemclass now part of token if item is not found

Settings for joysticks which use a custom item id will still be lost. A fallback has to be provided here since those will use a token generated from the input item name.
2008-03-26 19:06:24 +00:00
Nathan Woods
ec82be4ab3 Removed a MESS-ism 2008-03-26 02:57:08 +00:00
Curt Coder
a72d813bb3 - de-deprecated the timer callbacks
- moved PCB RAM to the heap and fixed index overflow
2008-03-25 19:49:57 +00:00
Pierpaolo Prazzoli
aba3623620 Fixed 01613: swcourt, swcourtj: Strange sprites cutting on the edge of screen 2008-03-25 18:22:53 +00:00
Aaron Giles
e670f5c51a Renamed galaxian.c -> galaxold.c. Updated all drivers accordingly. 2008-03-25 12:20:09 +00:00
Aaron Giles
a070ad63d8 Fix for incorrect sound bug in 0.124. 2008-03-25 03:24:21 +00:00
Brian Troha
911beb11af Credit: The Guru
adds clones (and new parent with bad program rom) of Offroad Challenge
Adds version and build info to rom sets
2008-03-24 23:14:48 +00:00
davidhay
b70b27a86f adds jrking, it's a common graphic hack bootleg of dkongjr so it's worth supporting. 2008-03-24 19:56:22 +00:00
davidhay
b7c4b2cb58 added bjtwina clone of bjtwin 2008-03-24 18:59:52 +00:00
davidhay
22664bb7b5 reverted previous gnga graphics change, added the bootleg set which exhibits this behaviour instead. 2008-03-24 18:41:43 +00:00
Luca Elia
757d289163 Driver for Astro Corp. hardware.
New game:

- Show Hand (roms/current/s/showhand.zip)
2008-03-24 18:29:07 +00:00
davidhay
ed76ab8ab4 (from JohnBoy)
Changes:

- Updated HW.c

- Tagged kotmh AES VERSION
- Tagged alpham2 MVS AND AES VERSION
- Tagged bjourney MVS AND AES VERSION
- Tagged nam1975 MVS AND AES VERSION
- Tagged tpgolf MVS AND AES VERSION
- Tagged fatfury2 MVS AND AES VERSION
- Tagged samsho2 MVS AND AES VERSION
- Tagged 3countb MVS AND AES VERSION
- Tagged tophuntr MVS VERSION
- Tagged kof96 MVS VERSION
- Tagged fatfury3 MVS AND AES VERSION
- Tagged sengokh AES VERSION
- Tagged burningf MVS VERSION
- Tagged aof MVS AND AES VERSION
- Tagged kof2003 MVS VERSION

- tophuntr/tophunta: Renamed p2
- 3countb: Changed p1, added correct m1
- fightfva: Added correct v2
- quizkof: Added correct c2
- rbff2/rbff2h/rbff2k: V4 is 16mbit only
- fatfury1: Added correct m1
- spinmast: Added correct p2
- sengokh: Renamed p1 to correct chip label
- svcpcb/svcpcba: Renamed bios to correct chip label
- ms5plus: Synced m1 with parent set
- tpgolf: Added correct m1, c3, c4; renamed v11 and v22 to correct chip label
- aof: Added correct m1
- roboarmy: Added correct m1
- roboarma: Disabled for now, this looks like an emulation hack. Can someone confirm this set is real?
- gpilotsh: Added new set
- samsho: Changed set to MVS version, removed old version, left some notes
- samshoh: Added AES version
- kof2003: Removed MVS / World /US from description

Again some m1 changes, going STRICTLY by the book now:
- nam1975: Added correct m1
- bstars2: Added correct m1
- maglord/maglordh: Added correct m1
- ridhero/ridheroh: Added correct m1
- gpilots: Removed BAD_DUMP from m1, is correct

- Some cleanups
2008-03-24 14:30:16 +00:00
davidhay
503df78746 this is an italian bootleg of double dragon. not currently working.
the graphic roms are scrambled, the banking code has been patched out (and the program roms might have some protection on them too, there is a weird jump to the 0x2000 range)

also it runs on 3x M6809s instead of the usual CPUs.

Not convinced the sound roms are good dumps, they seem to small.

This bootleg needs a fairly significant chunk of time put into getting it working due to the heavy modifications.  I've had several people asking me to add it, but I simply don't have time.
2008-03-24 14:06:31 +00:00
smf-
fecf13b28d added drum mania 2nd mix power up kit & fixed drum mania 2nd mix description. the selection of security carts and cd's has been split as the installation of the power up kit requires it. 2008-03-24 12:36:44 +00:00
Aaron Giles
0b4cf08add Removed most uses of BITMAP_FORMAT_RGB15. Just a few sega systems
remaining. My eyes bleed from looking at the wecleman driver.
There is no way on earth the hardware works anything like that.
2008-03-24 07:32:55 +00:00
Aaron Giles
147707bbe0 Bumped version to 0.124. 2008-03-24 04:08:41 +00:00
Aaron Giles
9476c50ee6 Cleanups for 0.124. Marked Mermaid as working per checkin comment. 2008-03-24 04:07:46 +00:00
Aaron Giles
4442fccc23 Fix 01601: orbit: Game doesn't start. Watchdog/reset problem?
Fragile timing broke with new video timing. Redid video timing with
raw parameters and added full memory map and a few other cleanups.
2008-03-24 03:33:25 +00:00
Aaron Giles
126d821654 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Minor static/const/include fixups

Hi mamedev,

Another batch of minor static/const/include fixes.  Very boring, very
pedantic.  ;)

~aa
2008-03-24 01:51:12 +00:00
Aaron Giles
4e689364f7 From: Luigi30 [mailto:luigi30@gmail.com]
Subject: lghost fix

This fixes bug 1570.
2008-03-24 01:49:55 +00:00
Aaron Giles
b16332a024 From: Luigi30 [mailto:luigi30@gmail.com]
Subject: 1564 fix

I changed Service 3 to Service 2. The only other button that could be Service 2 (labeled unused) gives a NOT USED in service mode.
2008-03-24 01:49:05 +00:00
Aaron Giles
07ed6b77b8 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] gcc 4.3.0 fixes

Hi mamedev,

GCC 4.3.0 was recently released, and some adjustments need to be made
to MAME to compile successfully with it.  The idectrl.c change is only
needed to silence gcc's overwrite warnings, the code is correct as
written.  The tx1.c change on the other hand is a bug spotted by the
stricter checks in the new compiler.

[Note only the tx1 changes were accepted]
2008-03-24 01:48:21 +00:00
Aaron Giles
3a79e95d54 From: JEA Wallace
Subject: Removal of Periodic int hack

Removed improper use of PERIODIC_INT in mpu4, to use new timer devices. 
Also corrected 50Hz timer in MPU4 Video games.
2008-03-24 01:45:21 +00:00
Aaron Giles
e9e9a1c023 From: roberto zandona
Subject: mermaid
an implementation of "hardware sprite collision"
 
with collision the game works
2008-03-24 01:44:18 +00:00
Aaron Giles
1840d25ee7 From: RansAckeR
Subject: fix for 01560

--

From: RansAckeR
Subject: fix for 01525
As is noted in the source: "The NMI handler just handles the "Stop Mode" dip
switch."

0xf801 is written to when the game is continued in stop mode, this should
not have been changed to watchdog_reset_w in 0.73

Off course this is all just a guess.
2008-03-24 01:42:53 +00:00
Aaron Giles
e26af0c0b2 From: RansAckeR [mailto:RansAckeR@pandora.be]
Subject: blockhl.c & blockout.c inputs/dips

blockhl.c, blockout.c:
-Added dip locations
-fixed unknown dip switches
2008-03-24 01:38:01 +00:00
Aaron Giles
e04bb4f699 From: Lei Wu [mailto:lanewu@hotmail.com]
Subject: MSVC9 fix [Emuman]

the original macro is too long, which caused a MSVC9 internal compiler error
2008-03-24 01:36:47 +00:00
Aaron Giles
e22e29dc9b From: Andrea Turci [mailto:any@hippy.it]
Subject: Ridge Racer RR3 revision

Hello,
    Diff (aganist 123U6) and rom for the newer revision of Ridge Racer

Ridge Racer (Rev. RR3, World)
2008-03-24 01:35:51 +00:00
Aaron Giles
5d52880b7b From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: cabal bootleg fixed clocks

Corrected clocks on Cabal bootleg
2008-03-24 01:34:19 +00:00
Aaron Giles
d77d9fdb64 Added validity check to ensure input port tags don't have duplicates.
Fixed several drivers where there were duplicates.
2008-03-24 01:33:12 +00:00
Aaron Giles
873daa0090 From: Cesare Falco [mailto:cesare.falco@gmail.com]
Subject: [bugfix] gnga: load correct graphics roms

I used to play the alternate version of Ghost'n'goblins in my arcade,
and I can remember the cross as the last weapon instead of the shield,
which on the other side, is shown in the square below the playing
ground.

In MAME that version was once known as a clone named "gngcross", which
was then renamed to "gnga" starting with 0.35rc2, and merged with
original set.

Unfortunately, rom list for the clone is wrong: it's been pasted from
original set "gng", whilst a couple of graphics roms must be loaded from
"makaimur" instead. You can see this by yourself comparing sources from
0.35rc1 and 0.35rc2.

The attached patch was obtained from SDLMAME on a Linux box, on release
0.123u6. I can't test it compiling MAME code, however this obviously
affects mainline too.

Thanks and keep up your good work!

Cheers,
Cesare Falco
(SDLMAME Ubuntu maintainer).
2008-03-24 01:32:45 +00:00
Aaron Giles
abda9cf18b Undid recent change to remove pen lookups in 16bpp modes. This code
is shared between INDEXED16 and RGB15 rendering and we're not ready 
to remove the lookups yet.
2008-03-24 01:20:39 +00:00
Pierpaolo Prazzoli
637bd36853 Fixed bug 01433: marvins: If you play player 2, the maze remains unchanged.
Inverted cabinet bit in madcrash (also if there's an original bug for cocktail mode)
2008-03-23 19:30:36 +00:00
Zsolt Vasvari
c27dfa66fa Added mc6845_set_hpixels_per_column() for the Hercules gfx adapter 2008-03-23 15:24:56 +00:00
Zsolt Vasvari
2cf47b7531 Fixes malzak2 from crashing 2008-03-23 14:02:50 +00:00
Aaron Giles
90a7af6166 From Derrick Renaud:
In drivers\seta.c, the zombraid gun input ports should be changed as 
per the attached text file. The current crosshair settings work only 
with the default power-on settings.  The updated code works with 
calibrated settings.
2008-03-23 13:50:41 +00:00
Aaron Giles
9f4e71d8b3 From: Duke [mailto:startaq@gmail.com]
Subject: Unnecessary assert in video.c

The assert

assert(machine->config->devicelist != NULL);

in video.c causes the MESS mk1 driver to fail because it doesn't have
any devices - no screens and no sound devices. It works fine when the
assert is removed.

--Dirk
2008-03-23 13:48:43 +00:00
Nathan Woods
0fd62f5d4f Added a machine_config* parameter to certain MESS specific hooks 2008-03-23 11:32:46 +00:00
Pierpaolo Prazzoli
d6272eb90b Fixed bug 01586: multisession graphics corruption 2008-03-23 10:50:48 +00:00
Aaron Giles
223d9b5d03 Fixed video timing in xtheball. Still don't know why it changed
recently, but the new parameters reproduce the old values.
2008-03-23 05:26:56 +00:00
Zsolt Vasvari
ffaddce8f4 Adds the 'static' as per AtariAce, but he screwed up the alignment of an important table :(, which is why I am sending it myself 2008-03-23 05:26:19 +00:00
Aaron Giles
cd508ea42d Minor MSVC compilation fix. 2008-03-23 05:15:45 +00:00
Zsolt Vasvari
ed6af175ef RGB15 to INDEXED16 conversion 2008-03-23 04:46:35 +00:00
Zsolt Vasvari
dc01a6b148 - Converted crystal.c from RGB32 to INDEXED16
- Added PALETTE_INIT( RRRRR_GGGGGG_BBBBB )
2008-03-23 02:41:49 +00:00
Zsolt Vasvari
a1e4799fa7 RGB15 to INDEXED16 conversion 2008-03-23 02:28:48 +00:00
Zsolt Vasvari
102519de1f RGB15 to INDEXED16 conversion 2008-03-23 02:24:05 +00:00
Nathan Woods
bbecd3b886 MESS-specific: Interim change in the process of changing over to MAME's device
system
2008-03-22 22:26:25 +00:00
Zsolt Vasvari
55c9a000bf RGB15 to INDEXED16 conversion 2008-03-22 14:28:55 +00:00
Zsolt Vasvari
fd2f7cfe03 RGB15 to INDEXED16 conversion 2008-03-22 14:25:53 +00:00
Zsolt Vasvari
8fcc91c77f Added option to programatically set the clock pin. This is needed by at least one MESS driver 2008-03-22 09:49:45 +00:00
Zsolt Vasvari
a5c8f40a68 INDEXED16 conversion 2008-03-22 06:48:12 +00:00
Zsolt Vasvari
4f0b3c83db eolith.c: Same modifications as dgpix -- almost identical hardware
dgpix.c: fixed video RAM masking I screwed up with the last update
2008-03-22 06:43:29 +00:00
Zsolt Vasvari
d2b44c842f DGPIX: Converted to INDEXED16
Removed temp bitmaps
       Changed ugly recursive video RAM code

DDZ:   Removed RGB15 -- it's a "skeleton" driver, so why have it?

video\generic.c: Added PALETTE_INIT(RRRRR_GGGGG_BBBBB) and PALETTE_INIT(BBBBB_GGGGG_RRRRR)
2008-03-22 06:05:05 +00:00
Zsolt Vasvari
f8a993ed80 Uses timer device 2008-03-22 05:24:14 +00:00
Zsolt Vasvari
4135f9b296 Changed from RGB15 to RGB32. RGB15 is not enough bits to hold the 5-6-5 colorspace.
By the way, this was the first time I checked out the games in this driver.  Especially, The Crystal of Kings is very nice.
2008-03-22 04:19:02 +00:00
R. Belmont
f169da9d4c Fixed crash running "kviper" BIOS. 2008-03-22 04:13:39 +00:00
R. Belmont
1d366a0789 Got most of the Konami PPC games running again. 2008-03-22 04:10:07 +00:00
R. Belmont
20e3fa7eb1 [SCSI] Fixed case when no device exists (e.g. running the sys573 BIOS directly). 2008-03-22 03:55:23 +00:00
R. Belmont
3e246847b5 [GTICLUB] Fixed crash. 2008-03-22 03:51:06 +00:00
Zsolt Vasvari
e923c02f3b Fixes crospang.c regression. Not sure why this needed to be RGB15, works fine with INDEXED16 2008-03-22 02:46:18 +00:00
Zsolt Vasvari
14053cd582 Fixes wbbc97 regression 2008-03-21 15:20:44 +00:00
Aaron Giles
509dc4c064 De-deprecat-ed ui.c.
Changed xmlfile.c to pass in memory handlers to expat so that
our memory overrides are properly managed.
2008-03-21 14:51:26 +00:00
Aaron Giles
79b88dcb90 Another assertion fix. 2008-03-21 14:01:38 +00:00
Aaron Giles
354efb2515 Fixes assertion. 2008-03-21 13:45:23 +00:00
Aaron Giles
04c0eba7b9 Centralized definitions of _WIN32_WINNT.
Removed malloc/calloc/realloc/free link-time overrides; we now
rely exclusively on compile-time overrides.

Made a few tweaks toward getting mingw-w64 working, but there
are still linker issues.
2008-03-21 05:02:18 +00:00
Zsolt Vasvari
29a352ed4a Fix 01524: btoads: Assertion 2008-03-21 00:30:09 +00:00
Zsolt Vasvari
5cd63ef3de Fix 01557: dealem: Assertion 2008-03-21 00:25:13 +00:00
Nicola Salmoria
68f4aedb2d Fixed: 00059: commsega, locomotn, tactcian: They exhibit a problem with screen area. 2008-03-20 18:03:32 +00:00
Nicola Salmoria
a41f42d88b added note about tactician display being correct 2008-03-20 17:03:22 +00:00
Aaron Giles
b28f2c2504 Explicitly fixed unmapped handler masks so that we don't report
all unmapped addresses as 0.
2008-03-20 14:16:00 +00:00
Nicola Salmoria
6e397b034c Added NVRAM to Gekisou. Fixed inputs and promoted to working. 2008-03-20 12:53:28 +00:00
Nicola Salmoria
6183e18a21 fix 00406: qadj: When playing as the ninja, there is one broekn frame in his animation loop when walking.
using the fix that had been posted to mametesters one year ago
2008-03-20 11:44:47 +00:00
Curt Coder
bc8eb54a5e Cleaned driver up to the latest spec. 2008-03-19 21:55:16 +00:00
Nicola Salmoria
72889926e1 Added Noise Output to the MSM5232 emulation
Added placeholder effects for cymbal and hihat to equites.c. These will need further work to properly emulate the discrete circuitry.
2008-03-19 09:35:57 +00:00
Zsolt Vasvari
aca4fd01ce Fixes sprite wrapping -- this is used on the gun calibration screen, at least.
For me, the game hangs on a black screen after service mode is turned off.  Even exsiting MAME and restarting doesn't fix it, so it's probably a EEPROM issue
2008-03-19 09:22:44 +00:00
Aaron Giles
4a5001927c Cleanups and version bump. 2008-03-19 08:52:53 +00:00
Aaron Giles
78c12f1b82 From: Corrado Tomaselli
Subject: nmk16 diff

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

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

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

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

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

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

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

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

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

40love.c:
Made use of PORT_INCLUDE

--

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

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

--

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

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

--

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

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

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

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

--

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

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

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

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

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

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

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

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

- Gekisou promoted to working

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

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

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

- changed MSM5232 emulator to output channels separately

- added output of SOLO channels to MSM5232 emulator.

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

- fixed champbas inputs

- merged talbot with champbas, some driver clenaup

- fixed shougi inputs

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

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

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

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

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

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

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

The primary motivation for this is to allow the device_start
function to make internal calls and pass the device_config *
around as if the object were fully constructed. Since the token
is used to indicate whether or not a device is live, this makes
the device "live" at the time device_start is called rather
than after it completes.
2008-03-17 15:23:07 +00:00
Zsolt Vasvari
c7b072564c Restores the previous verifyroms() code. Left verifysamples() untocuhed for now. 2008-03-17 15:21:07 +00:00
Aaron Giles
ce011916b4 Made it a fatalerror to registr save state callbacks at the wrong time
if the current driver claims to support save states.
2008-03-17 14:45:27 +00:00
Nathan Woods
6a7c3d1589 Added a crosshair_set_screen() to allow drivers to control which screen(s) on
which crosshairs are displayed.
2008-03-17 12:47:22 +00:00
Nathan Woods
e7508371ed Fix for screenless (and deviceless) systems - this fix assumes that it is
illegal to pass a NULL listhead to device_list_first() and that the assert there
should stand.  Please review and correct if appropriate.
2008-03-17 10:52:16 +00:00
Zsolt Vasvari
c031746599 Fix: 01538: -verifysamples: Inconsistent handling of missing sample sets
I applied the same fix to verifyroms.  Now a status message is printed for every sample/ROM set regardless if an individual or all the sets are audited.
2008-03-17 09:19:11 +00:00
Zsolt Vasvari
9eb278b911 Fixed memory leak 2008-03-17 08:56:10 +00:00
Zsolt Vasvari
650f7af6be Corrects some game titles:
Sea Wolf II -> Seawolf II  (original is still Sea Wolf, as per the flyer)
Professor PacMan -> Professor Pac-Man
Demons and Dragons -> Demons & Dragons
2008-03-17 05:27:07 +00:00
Zsolt Vasvari
12546a8559 From Mr.Do: Adds Gorf internal artwork 2008-03-17 05:15:37 +00:00
Zsolt Vasvari
255698f927 Fixes the top screen 2008-03-17 05:03:31 +00:00
Zsolt Vasvari
b78ff83cd0 Fix: 01529: AICA memory leak 2008-03-17 00:58:24 +00:00
Couriersud
8bb4a10f0b Fix: 01511: batman: Fails to load autosave state
* fixes late creation of timer which caused 0-length save states
2008-03-17 00:50:48 +00:00
Zsolt Vasvari
c230321cdc The on-screen "Reset by watchdog" message only appears in debug builds 2008-03-17 00:44:00 +00:00
Zsolt Vasvari
36d69f3b61 Fix: 01535: usclssic: Access Violation with -debug
Fix: 01536: uballoon: Access Violation with -debug
2008-03-17 00:40:09 +00:00
Zsolt Vasvari
14761df1e4 Fixes Air Buster bootleg from reseting because of the watchdog 2008-03-17 00:15:30 +00:00
Zsolt Vasvari
7fb7afb780 - Changes exidy440_sound_command back to "UINT8." Since it's used by both 8-bit and 16-bit system,
the automatic allocation is not worth it if you need an ugly UINT16 ** cast.
- Removed deprecat.h from some of the files here
2008-03-17 00:09:16 +00:00
Nathan Woods
00f4374501 Added running_machine* parameter to MESS-specific calls 2008-03-16 22:46:56 +00:00
Couriersud
6dd3c4ae7c Fix: 01465: topgunnr: Crashes
* exidy440_sound_command had been changed from UINT8 to UINT8 * 
  and was consequently pointing to NULL / Nirwana land.
2008-03-16 17:31:14 +00:00
Zsolt Vasvari
b17efbc93b Removes no longer needed code 2008-03-16 15:36:06 +00:00
Zsolt Vasvari
0b4e370a73 Fix: 01534: ajax, ajaxj, typhoon: Access Violation with -debug 2008-03-16 15:34:30 +00:00
Zsolt Vasvari
5cd9ca723a Fix: 01019: Various Drivers: List of drivers with sound clipping 2008-03-16 11:05:31 +00:00
Pierpaolo Prazzoli
0895d395a9 Added missing prototype for get_info function. It didn't compile. 2008-03-16 10:43:36 +00:00
Curt Coder
23624eb5b0 Added Guru-readme. 2008-03-16 09:38:48 +00:00
Zsolt Vasvari
cb3fffef61 Missing semicolon -- how did it even compile? 2008-03-16 04:34:19 +00:00
Zsolt Vasvari
c64886cc69 Fix: 01499: Various Drivers: Launching games from in-game [TAB] menu 2-3 times in a row throws access violation.
My fix is a bit heavy handed.  The real access violation happens in update_digital_joysticks() after the comment "read all the associated ports" and before the next comment
2008-03-16 04:31:40 +00:00
Zsolt Vasvari
c39f072404 Fix: 01453: troangel, newtangl: Crashes 2008-03-16 03:55:23 +00:00
Roberto Fresca
caf9dbdef3 - Added proper inputs to jolyc980.
- Added temporary patch to allow bypass the "code" screen in jolyc980.
 - Updated technical notes.
2008-03-15 15:30:03 +00:00
Zsolt Vasvari
c66bb0adc5 Fix: 01530: Various Drivers: bitmap memory leaks 2008-03-15 14:14:03 +00:00
Zsolt Vasvari
16e18f24af Fixed: 01508: most vector-based drivers: Assertions 2008-03-15 09:32:24 +00:00
Zsolt Vasvari
f61e037749 Fix 01526: futflash, laserbas, laserbsa: Assertion
Fix 01524: btoads: Assertion 
Fix 01523: nkdodge, nkdodgeb, spdodgeb: Assertion 
Fix 01522: all ddragon.c drivers: Assertion 
Fix 01528: pzlestar, sexyboom: Assertion 
Fix 01527: all meritm.c drivers: Assertion
2008-03-15 03:54:44 +00:00
Zsolt Vasvari
3512bc695d Changes MDRV_TIMER_DURATION to MDRV_TIMER_START_DELAY
Renames duration to start_delay in timer_adjust_periodic() as well
Moves MDRV_ macros into proper header files
2008-03-15 03:13:57 +00:00
Nathan Woods
81fcbd9a2c MESS-specific changes 2008-03-15 00:14:32 +00:00
smf-
5d52f08b7e fixed collision of TIMER define 2008-03-14 21:53:19 +00:00
smf-
a0afb4c516 fixed collision of TIMER define 2008-03-14 21:50:22 +00:00
smf-
b4418ff847 fixed unused variable warnings when assert is not enabled. 2008-03-14 21:35:36 +00:00
Zsolt Vasvari
d4893e2535 Makes suggested changes to MDRV_TIMER macros. Hasn't moved them yet. 2008-03-14 15:13:46 +00:00
Zsolt Vasvari
0d06d94153 Fix 01500: all astrocde.c drivers: assertion
Fix 01506: all ataxx.c drivers: Assertion 
Fix 01504: all leland.c drivers: Assertion 
Fix 01501: all m107.c drivers: assertion 
Fix 01509: backfire, backfira: Assertion 
Fix 01503: sidearjp, sidearmr, sidearms: Assertion 
Fix 01507: all naomi.c drivers: Assertion
2008-03-14 14:39:32 +00:00
Aaron Giles
716d0a4f2a Fixes:
01517: all atarigt.c drivers: Assertion 
01516: all atarigx2.c drivers: Assertion 
01515: all atarig42.c drivers: Assertion 
01514: all cyberbal.c drivers: Assertion
2008-03-14 13:41:44 +00:00
Zsolt Vasvari
725d2646fd Fix: 01512: beathead: Assertion
Fix: 01505: all vicdual.c drivers: Assertion
2008-03-14 12:46:13 +00:00
Zsolt Vasvari
e4a07ea688 Implements scanline based timer devices.
Converted Centipede, as an example.

To define a scanline timer, use something like this:

MDRV_TIMER_ADD("32V", SCANLINE, generate_interrupt)
MDRV_TIMER_SCANLINE("main", 0, 16)

The first number is the first scanline the timer will fire on, the 2nd number is the increment.
So in this case, the timer will fire on 0, 16, 32, ..., 224, 240, then wrap around
because the screen is defined as 256 lines high.
The current scanline is passed to the callback in its 'param' argument
2008-03-14 11:15:31 +00:00
Zsolt Vasvari
e42b02f565 Implements the periodic timer device functionality 2008-03-14 09:52:28 +00:00
Roberto Fresca
a7cf2c0493 - Completed the component list & PCB layout.
- Added technical references to register $63 (magicfly).
 - Switched crystal to new predefined format.
2008-03-14 06:44:51 +00:00
Aaron Giles
8fcd45cab1 Renamed *_vbl_cb to *_vblank_callback.
Fixed 01475: Screenless systems are broken because of a vblank callback.
We now create an artificial update mechanism when there are no screens.
2008-03-14 05:19:53 +00:00
Zsolt Vasvari
13f82f7331 Fix: 01496: all segae.c drivers: Crashing with Access Violation
This driver is creating bitmaps in DRIVER_INIT, which is not the best practice, and in fact, it broke as machine->primary_bitmap is not initalized yet.
2008-03-14 03:11:25 +00:00
Zsolt Vasvari
2f37f76c57 Fix: 01498: otwalls: Hangs before the game starts.
Caused by RansAckeR input port "simplifications."  I put it in quotes, because I think it makes the input port definitions completely unreadable.
2008-03-14 02:48:25 +00:00
Zsolt Vasvari
c0ca716e62 Added skeletion device interface for timers. Just wanted to get feedback.
- Where applicable, added a parallel set of timer functions that take a device_config instead of emu_timer:
	void timer_device_adjust_oneshot(const device_config *timer, attotime duration, INT32 param);
	void timer_device_adjust_periodic(const device_config *timer, attotime duration, INT32 param, attotime period);
	void timer_device_reset(const device_config *timer, attotime duration);
	int timer_device_enable(const device_config *timer, int enable);
	int timer_device_enabled(const device_config *timer);
	int timer_device_get_param(const device_config *timer);
	void *timer_device_get_param_ptr(const device_config *timer);
	attotime timer_device_timeelapsed(const device_config *timer);
	attotime timer_device_timeleft(const device_config *timer);
	attotime timer_device_starttime(const device_config *timer);
	attotime timer_device_firetime(const device_config *timer);

- Added MACHINE_CONFIG macros:
	MDRV_TIMER_ADD(_tag, _type, _callback)	/* type can only be PERIODIC right now (can scanline based later, or even NE555) */
	MDRV_TIMER_REMOVE(_tag)
	MDRV_TIMER_MODIFY(_tag)
	MDRV_TIMER_TYPE(_type)
	MDRV_TIMER_CALLBACK(_callback) 
	MDRV_TIMER_DURATION(_duration)
	MDRV_TIMER_PERIOD(_period)
	MDRV_TIMER_PARAM(_param)
	MDRV_TIMER_PTR(_ptr)

- Modified Space Encounters to create two timers and use those:

	MDRV_TIMER_ADD("STROBE_ON", PERIODIC, spcenctr_strobe_timer_callback)
	MDRV_TIMER_PARAM(TRUE)	/* indicates strobe ON */
	MDRV_TIMER_PERIOD(UINT64_ATTOTIME_IN_HZ(SPCENCTR_STROBE_FREQ))

	MDRV_TIMER_ADD("STROBE_OFF", PERIODIC, spcenctr_strobe_timer_callback)
	MDRV_TIMER_PARAM(FALSE)	/* indicates strobe OFF */
	MDRV_TIMER_DURATION(UINT64_ATTOTIME_IN_HZ(SPCENCTR_STROBE_FREQ * 100 / SPCENCTR_DUTY_CYCLE))
	MDRV_TIMER_PERIOD(UINT64_ATTOTIME_IN_HZ(SPCENCTR_STROBE_FREQ))
2008-03-14 00:27:07 +00:00
Aaron Giles
a6b4a6ad50 Cleanups and version bump to 0.123u5. 2008-03-13 16:21:46 +00:00
Aaron Giles
4d5014585a From: Fabio Priuli
Subject: small fix to cpu.mak

Attached please find a small patch to include M68000 CPU only when you're 
compiling a build with the M68K. this is needed to e.g. compile tiny 
builds .
2008-03-13 15:45:39 +00:00
Aaron Giles
de3cfee6c6 src/mame/drivers/asuka.c:
Created MACHINE_START( asuka ) to configure cpu2 banks with memory_configure_bank(),

All drivers support save states, with the exception of cadash and clones, the background does not load properly.  I'm not familiar enough with taitoic.c to make that happen.
2008-03-13 15:44:43 +00:00
Aaron Giles
28ee84b180 From: RansAckeR
Subject: punchout.c inputs/dips

punchout.c:
-Simplified input definitions
-Improved dip switches
-Added dip locations

Note:
punchout and spnchout had an extra 5th PORT_START, was it correct to remove 
those?
If not just drop me a note and I'll resubmit the patch. 

--

From: RansAckeR
Subject: fix for 00593

'fix' for 00593 (patimono0120u3gra)

--

From: RansAckeR
Subject: 'fix' for 01478

01478: bullet: DIP switch info

--

From: RansAckeR
Subject: bankp.c & baraduke.c inputs/dips

bankp.c:
-Simplified input definitions
-Fixed bankp dip locations

baraduke.c:
-Simplified input definitions
-Added dip locations
2008-03-13 15:41:19 +00:00
Aaron Giles
1c684fe9f7 From: JEA Wallace [mailto:jeaw100@york.ac.uk]
Subject: Another weekend, another submission

This time, it's phase 2 of the Deal 'Em input changes (these work well 
with the default cabinet type, I need to do some conditional input work 
to fix them fully), and also a conversion to the resnet code. 
Unfortunately, this still doesn't fix the apparently needed transparency

(the apostrophe and Zenitone logo on the title screen should have a 
green background, and the black rectangle at the bottom should read 
(C)1987). I also tidied up the memory maps, but have been unable to 
reproduce the assert bug relating to VBLANKs, so I'm unsure as to 
whether I've fixed it or not.
2008-03-13 15:37:28 +00:00
Aaron Giles
3a082a644f From: notaz [mailto:notasas@gmail.com]
Subject: patch for SVP (Sega Virtua Processor) emulation

hello,

this patch adds support for Sega Virtua Processor, to run
Genesis/MegaDrive version of Virtua Racing, intended to be used by
MESS. It consists of a CPU core SSP1601, and updates in megadriv.c:
* SSP1601 replaces SSP1610, as it has been confirmed by Stiletto and
other sources that SVP actually contains SSP1601. The current SSP1610
is placeholder only (nearly completely unimplemented) anyway.
* Changes in megadriv.c add a new driver for Genesis/MegaDrive+SVP
combination, also add SVP memory controller logic and memory map.

The diff has already been reviewed by Reip and SSP1610 removal was one
of his suggestions (SSP1610 is not used by any drivers).
2008-03-13 15:35:17 +00:00
Aaron Giles
49c8a68835 From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Subject: Raiden Fighters (Austria)

diff + romset enclosed
2008-03-13 15:30:53 +00:00
Aaron Giles
311669e24d From Mr. Do!
mame/drivers/qix.c:
+mame/layout/elecyoyo.lay:

Add Mr. Do's layout to crop corners in Electric Yo-Yo.
2008-03-13 15:29:29 +00:00
Aaron Giles
0277103558 Added some pieces that got missed when applying this patch.
From: Corrado Tomaselli
Subject: Frequencies diff

Changed/verified clocks on the following pcbs: 1943, Arkanoid, Action 
Holliwood GalsPanic, Ben Bero Beh, 1000 Miglia, Pit and Run, Prehistoric 
Isle, Rastan, Hotmind, Hardtimes, Stagger1 and Tiger Road

Changed/verified Oki pin 7 on the following pcbs: 1000 miglia, 
Galspanic, Action Holliwood, Hotmind, HardTimes, World Rally, Stagger1
2008-03-13 15:20:41 +00:00
Aaron Giles
e426f9e0b6 From: Mike Haaland
mame/drivers/superqix.c
mame/video/superqix.c

Changed vblank interrupts to 3 to fix screen drawing issues.
Use memory_configure_bank() to configure memory.
Added save states.
2008-03-13 15:10:56 +00:00
Aaron Giles
7edbaada44 Fix for 01429 (ddragon3 hang). [RansAckeR] 2008-03-13 15:09:20 +00:00
Aaron Giles
9d3f7f8680 From: Mariusz Wojcieszek
Attached is update for Merit hardware based on V9938 (CRT-250 and CRT-260 - meritm.c).

New playable games:

Pit Boss II
Super Pit Boss
Pit Boss Megastar
Megatouch IV
Megatouch IV Tournament Edition
Megatouch 6
2008-03-13 15:04:33 +00:00
Zsolt Vasvari
834d773f26 Fixes Bug ID: 01482: exprraid, exprrada, wexpress, wexpresb, wexpresc: Game doesn't start 2008-03-13 09:42:07 +00:00
Zsolt Vasvari
01b2003859 roberto zandona: fix sprite problem for gyruss: mantis 01480
By the way, the accent in roberto's last name gave CVS a fit

svn: Safe data 'From roberto zandon' was followed by non-ASCII byte 224: unable
to convert to/from UTF-8

This a bogus message -- you can certainly convert that character to UTF-8
2008-03-13 08:31:19 +00:00
Zsolt Vasvari
70eeb9ff23 - Removes the public screen_state object -- all access is via functions
- Removes screen[] object from running_machine
- Removed MAX_SCREENS constant -- there is no longer a hardcoded upper bound
2008-03-13 08:25:21 +00:00
Aaron Giles
dbd6e5e93e Fixed 68000 prefetching operation.
Changed slapstic management to always install an opbase handler to more
aggressively catch code executing in the slapstic region. Updated all
drivers to separate the slapstic region of ROM into a different ROM
section from the fixed ROM.
2008-03-13 08:09:58 +00:00
Aaron Giles
6454c32b9f Fixed 01436 (esb: Insert a coin, start a game and it will reset by itself after few seconds). 2008-03-12 15:01:53 +00:00
Zsolt Vasvari
9626c879db video_screen_get_vblank() was also incorrect for games with MDRV_SCREEN_VBLANK_TIME, this could easily explain a bunch of changed screenshots. 2008-03-12 12:19:43 +00:00
Zsolt Vasvari
4bd4eceb06 Forgot to state save a variable 2008-03-12 11:47:57 +00:00
Zsolt Vasvari
839e3f073c Fixed VBLANK end time computation -- it wasn't taking into account games that use MDRV_SCREEN_VBLANK_TIME
Aaron, could you please double check what I did?
2008-03-12 11:43:31 +00:00
Zsolt Vasvari
4eecf5199d Removes "global" VBLANK callback hack 2008-03-12 11:06:29 +00:00
Zsolt Vasvari
19b68f421f Next batch of machine->screen[] removal 2008-03-12 10:47:20 +00:00
Zsolt Vasvari
7ec1537d22 - Fixed case when there is no interface given
- Changed C6545-1 description from "Commodore' to "MOS Technology"
2008-03-12 08:29:33 +00:00
Aaron Giles
d5561a8e75 Removed cpu_scalebyfcount().
Changed input ports to register a frame callback, which is
called immediately after throttling and updating. This is the
proper "sync point" between emulated time and real time. Moved
all analog and digital port processing into a central place
here. Added tracking of time since the previous frame update
and use that as an estimate for the time of the current frame.
This is used to scale analog ports without the use of
cpu_scalebyfcount(). This is not perfect in the case where
frame rates are dynamic (vector games), but works well for
other cases.

Further cleanup of memory header and code.
2008-03-12 05:13:03 +00:00
Nathan Woods
61b009597e Fixing MESS-specific category tokenization 2008-03-12 01:58:49 +00:00
Zsolt Vasvari
86b798b37a - More machine->screen removal
- Hooked up swapped videoram in Karnov properly -- same idea as Burger Time
2008-03-11 16:16:30 +00:00
Zsolt Vasvari
706d9f408f Restores the previous toggling behavior 2008-03-11 10:05:45 +00:00
Zsolt Vasvari
77a58d253c - First batch of machine->screen[] access has been removed
- Added video_screen_auto_bitmap_alloc(screen) -- it is just a shorthand for 
  auto_bitmap_alloc(video_screen_get_width(screen), video_screen_get_height(screen), video_screen_get_format(screen))
  which is a common operation
- The Dynax/Don Den Lover games now do their updating in VIDEO_UPDATE instead of VIDEO_EOF.  This semmed to
  have fixed the palette problems
- Went through some of these drivers and changed Machine to machine
2008-03-11 08:37:05 +00:00
Nicola Salmoria
bf88dd74e3 fix loading mixer settings when the driver default value is calculated. Cannot use == to compare float with the loaded value in this case. 2008-03-11 08:28:47 +00:00
R. Belmont
542b489706 [MultiPCM] Saturate on clip and fix envelope discontinuity. (ElSemi) 2008-03-11 02:54:27 +00:00
Zsolt Vasvari
5397db0615 Moves crosshair code from video.c into its own module
Simplifies crosshair logic and makes it screen device based
2008-03-11 02:41:24 +00:00
Zsolt Vasvari
2a8f0936fd Adds some new varieties: MC6845-1, H46505, HD6845 and SY6545-1 2008-03-11 01:34:44 +00:00
Aaron Giles
c4cfa7bde4 Compilation fixes for my last checkin (sorry). 2008-03-10 16:22:01 +00:00
Aaron Giles
8006568b87 More WIP cleanup of memory.*
Made address versus byte offsets explicit throughout.
Removed some unused parameters.
Consolidated initialization process.
Removed maximum memory block count.
Centralized bank management.
Added masked handlers and change_pc to the accessors.
Added memory_get_accessors() to return a pointer to the accessors
   for a given address space/databus width/endian configuration.

More to come.
2008-03-10 16:00:26 +00:00
Zsolt Vasvari
d146f7dabc Removes the scrnum parameter from VIDEO_UPDATE, updates all drivers to use the screen device instead.
render.c now uses screen devices
2008-03-10 14:30:21 +00:00
Nathan Woods
470e72b351 MESS-specific fix 2008-03-10 13:16:23 +00:00
Nathan Woods
43c2c2a002 Changed how the PowerPC MMU is enabled at compile time, to cut down on the
amount of unused functions in MAME.
2008-03-10 13:10:44 +00:00
Zsolt Vasvari
2a8c73cc45 All video_screen_*_scrnum functions have been removed. Next step is to remove the scrnum from VIDEO_UPDATE 2008-03-10 06:39:20 +00:00
Zsolt Vasvari
6e3be05912 Makes atarigen and tms34061 handle based 2008-03-10 05:12:49 +00:00
Aaron Giles
0862cce453 Replaced the following macros (SMH == static memory handler)
MRA*_BANK*/MRA*_BANK* -> SMH_BANK*
   MRA*_RAM/MRA*_ROM     -> SMH_RAM
   MRA*_ROM/MWA*_ROM     -> SMH_ROM
   MRA*_NOP/MWA*_NOP     -> SMH_NOP
   MRA*_UNMAP/MWA*_UNMAP -> SMH_UNMAP

This removes the silly need for a bunch of redundant constants
with faux type definitions that didn't buy anything.

Moved some memory system constants into memory.c.
2008-03-10 02:29:15 +00:00
Zsolt Vasvari
198f401cf5 Changes TMS34010 to take a screen tag instead of the screen number
Everything appears to work, except X The Ball, which sets horz the resolution twice as wide as it should -- no clue why
2008-03-10 02:16:06 +00:00
Zsolt Vasvari
9b3ac2606e Voodoo now takes a device_config for the screen
Added video_screen_get_visible_area()
2008-03-10 00:39:20 +00:00
Zsolt Vasvari
84a1d99c67 Added a bunch more asserts 2008-03-09 23:49:59 +00:00
Zsolt Vasvari
343bcb4cda Changes MC6845 to take a screen tag instead of a screen number 2008-03-09 23:01:34 +00:00
Aaron Giles
ddfc0c3259 WIP check-in. Things work now, but I'm still working on the code.
Converted address maps to tokens. Changed the address_map structure
to house global map-wide information and hung a list of entries off
of it corresponding to each address range. Introduced new functions
address_map_alloc() and address_map_free() to build/destroy these
structures. Updated all code as necessary.

Fixed several instances of porttagtohandler*() in the address maps.
Drivers should use AM_READ_PORT() macros instead.

ADDRESS_MAP_EXTERN() now is required to specify the number of 
databits, just like ADDRESS_MAP_START.

Removed ADDRESS_MAP_FLAGS() grossness. There are now three new macros
which replace its former usage. ADDRESS_MAP_GLOBAL_MASK(mask)
specifies a global address-space-wide mask on all addresses. Useful
for cases where one or more address lines simply are not used at
all. And ADDRESS_MAP_UNMAP_LOW/HIGH specifies the behavior of
unmapped reads (do they come back as 0 or ~0).

Changed internal memory mapping behavior to keep only a single
address map and store the byte-adjusted values next in the address
map entries rather than maintaining two separate maps. Many other
small internal changes/cleanups.
2008-03-09 21:59:57 +00:00
Zsolt Vasvari
ac9778cdb0 Changes first argument of video_screen_* functions to take a device_config
All callers that used 0 for the screen number now use machine->primary_screen
As a gap meassure, Where necessary, create a parallel set of video_screen_*_scrnum functions that take scrnum
All callers that specified a specific screen number now call the *_scrnum versions
Changed game info screen and overlay UI to display the screen tag instead of screen number
2008-03-09 15:41:17 +00:00
Brian Troha
681b413bce arranges Greyhound Trivia sets based one known question series. 2008-03-08 22:12:06 +00:00
Zsolt Vasvari
48f7d189e6 Changes VIDEO_UPDATE signature to
typedef UINT32 (*video_update_func)(const device_config *screen, int scrnum, bitmap_t *bitmap, const rectangle *cliprect);

Adds const device_config *primary_screen to running_machine (not yet used)
2008-03-08 15:57:43 +00:00
Zsolt Vasvari
8f318637d9 This fixes the crash in Galaga caused by the slightly altered video timing 2008-03-08 02:39:39 +00:00
Couriersud
459baa66d2 Fix mantis bug ID 00898 (gseeker0101yel) 2008-03-07 20:48:37 +00:00
Pierpaolo Prazzoli
0d4d375938 Joker Poker, Super Bowl and Amuse are working.
Be aware that some set names are changed and for Amuse I don't know where the 2nd half of the banks is mapped.
2008-03-07 15:35:05 +00:00
Zsolt Vasvari
d0870c6936 Moves 'refresh' from public to internal video state and renames it to 'frame_period'
Changes all drivers that previously accessed 'refresh' to use video_screen_get_frame_period()
2008-03-07 14:34:04 +00:00
Zsolt Vasvari
d0f5196025 - the public screen_state is made to only contain items that are currently accessed by drivers
- populating screen_state is moved from mame.c to video.c
- defstate is gone -- the default screen parameters live in screen_config directly
2008-03-07 12:53:00 +00:00
Zsolt Vasvari
9ad9532722 Seperates out the notion of screen specific vs. "global" VBLANK callbacks
"Global" VBLANK callbacks, of course, make no conceptual sense -- it should probably fire every once in a while even if there is no screen
2008-03-07 08:18:28 +00:00
Zsolt Vasvari
5f53680e03 - Removes video_data from running_machine
- Private state screen information now hangs off the public one, instead of the other way around
- Combines video_global and video_private into a single structure
2008-03-07 07:19:38 +00:00
Aaron Giles
e803f5c1d4 Fixed a number of compile errors caused by previous MC6845
changes.
2008-03-07 06:31:05 +00:00
Zsolt Vasvari
6302df116d This changes the MC6845 to take and pass device_config's only
The following shook out from this that are applicable to other devices as well:

- running_machine is no longer taken, passed or stored
- mc6845_t is now private
- since passing device_config's is not device type safe, I added a
  get_safe_token() to mc6845.c to check the device passed in for the valid type.
  I think something like this should be added to the core.

- As a side note, I really don't think that device_config is a good name,
  naming it simply device_t or something like that might be better.
2008-03-07 02:45:35 +00:00
Tomasz Slanina
8b444900ca In-game music in Knuckle Joe/Bone Crusher - kncljoe0101u5gre (a couple of changes to sound hw emulation) 2008-03-07 01:56:51 +00:00
Zsolt Vasvari
8f43de6a46 Removed runnning_machine as the first parameter of a VBLANK callback
video.c: some Machine->machine changes
2008-03-07 00:08:19 +00:00
Tomasz Slanina
183f506a2f debug build - fixed compilation error and warning. 2008-03-06 23:23:57 +00:00
Aaron Giles
befcee37ad Changed device interfaces to pass the device_config * rather
than tokens and individual bits to the device callbacks. Updated
all existing devices accordingly.

Removed machine from the parameters of some of the device_get_info
and device_set_info calls because that information is stored
with the device now.
2008-03-06 15:28:00 +00:00
Zsolt Vasvari
9c172be162 vblank_state_changed_func now has a device_config argument 2008-03-06 14:22:08 +00:00
Zsolt Vasvari
553d92bcb5 Machine -> machine 2008-03-06 10:27:33 +00:00
Zsolt Vasvari
8bb64eb911 - Fixes flickering in Electric Yo-Yo. Case of missing video_screen_update_now() calls
- Uses the MC6845's VSYNC notifcation system to generate the main CPU's interrupts
2008-03-06 10:21:51 +00:00
Zsolt Vasvari
d9b90238c6 Removes no longer applicable comment 2008-03-06 08:25:22 +00:00
Aaron Giles
fb26ec7c01 Cleanups and version bump. 2008-03-06 07:31:20 +00:00
Aaron Giles
0046339284 Removed AM_SPACE and matchmask support. Updated relevant drivers
to use AM_MIRROR() and AM_MASK() to achieve the same thing.
2008-03-06 07:02:10 +00:00
Nicola Salmoria
3a22b93b59 Fix 8085 RST75 not working with PULSE_LINE
According to datasheet, RST7.5 is latched on rising edge, while the other maskable interrupts are sampled.
2008-03-06 06:51:05 +00:00
Zsolt Vasvari
c537f056f5 Mysterious Stones gets the "full treatment" 2008-03-06 03:45:15 +00:00
Couriersud
19331ed134 Remove (UINT32) type casts which break build with mingw - again 2008-03-05 22:49:38 +00:00
Couriersud
bcad1267f2 mario.c is "deprecat.h"-free now 2008-03-05 22:10:46 +00:00
Couriersud
3292183f4f * remove deprecat.h and Machine where it was possible 2008-03-05 22:02:25 +00:00
Couriersud
dbd1965d0e * pass running_machine parameter to construct_map_##_name, i.e. ADDRESS_MAP_START
* Change "Machine->" to "machine->" in AM_BASE_MEMBER, AM_SIZE_MEMBER
* Pass Machine in construct_address_map

This is not perfect yet, but there is no need any longer to include deprecat.h in drivers using AM_*_MEMBER.
2008-03-05 22:01:37 +00:00
Couriersud
4bdccc433f Fix crash in gaelco3d.c (radikalb) 2008-03-05 21:24:06 +00:00
Aaron Giles
5b6183f898 From: Oliver Stoneberg
Subject: missing display types in DTD

This patch adds the new display types to the listxml DTD.
2008-03-05 15:32:33 +00:00
Aaron Giles
84ece5c78e From: Corrado Tomaselli
Subject: Frequencies diff

Changed/verified clocks on the following pcbs: 1943, Arkanoid, Action 
Holliwood GalsPanic, Ben Bero Beh, 1000 Miglia, Pit and Run, Prehistoric 
Isle, Rastan, Hotmind, Hardtimes, Stagger1 and Tiger Road

Changed/verified Oki pin 7 on the following pcbs: 1000 miglia, 
Galspanic, Action Holliwood, Hotmind, HardTimes, World Rally, Stagger1
2008-03-05 15:31:22 +00:00
Aaron Giles
f0ad4d73fc From: James E.A. Wallace [mailto:jeaw100@york.ac.uk]
Subject: Deal'Em fixes

Just correcting a few input glitches I spotted, and allowed for the bank

to be read (needed for games >64K in 6809 ROM size)
2008-03-05 15:26:58 +00:00
Aaron Giles
c5a313d314 From: abcd efgh [mailto:cix_999@yahoo.it]
Subject: onetwo Dip fix

As I thought this game is a Shisen rip-off so  the dips are quite same, also added dips location.
Bye Sonikos
2008-03-05 15:26:24 +00:00
Aaron Giles
9ec4fbc1ce From: RansAckeR [mailto:RansAckeR@pandora.be]
Subject: atetris.c dips

atetris.c:
-Added proper dip switch implementation
-Added dip locations
-Simplified input port definitions

--

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

atarisy2.c:
-Simplified input definitions
-Added service switch
-Corrected some default dip values
-Added dip locations

--

From: RansAckeR
Subject: avalnche.c dips

avalnche.c:
-Improved dip switch definitions
-Simplified input definitions
-Added dip locations

--

From: RansAckeR
Subject: bagman.c dips

bagman.c:
-Added dip locations
-Simplified input definitions

--

From: RansAckeR
Subject: balsente.c dips/inputs

balsente.c:
-Simplified input definitions
-Added dip locations

--

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

lasso.c:
-Added dip locations
-Simplified input definitions
-Fixed bug 00817 (pinbo0122u7gra)
2008-03-05 15:25:03 +00:00
Aaron Giles
a083bd20a9 From: Mark Fugmann [mailto:sailorsat@t-online.de]
Subject: "fix" for the "game information" resolutions.

Hi.
In 0.123u3 the bug "multiscreeninfo0123u2gre" was fixed, however it changed
its behaviour as it now shows the "default" resolution the driver uses
rather than the resolution the screen(s) actually use at the moment.

As I don't know if this change was intentional I've attached a simple diff
that changes from defstate.visarea to the real visible visarea.

Greets,
Ariane "SailorSat" Fugmann
2008-03-05 15:14:58 +00:00
Aaron Giles
31bb5d3f3c Added new macros AM_DEVREAD, AM_DEVWRITE, and AM_DEVREADWRITE,
which specify device read/write handlers in address maps, along
with the type/tag of the device they reference.

Converted MC6845 read/write handlers to READ/WRITE8_DEVICE_HANDLERs.
Updated all MC6845-using drivers to use the new macros and call
the updated functions. Removed the many little helper functions
that used to do this work.

Added validity checks to ensure that the devices referenced
actually exist.
2008-03-05 15:12:58 +00:00
Zsolt Vasvari
856c0a06cf Fixes sprite colors in Exerion. Thanks, LN 2008-03-05 14:37:31 +00:00
Zsolt Vasvari
6d54ed169c - Merged memory maps
- Uses PORT_CHANGED for coins
- Renamed 'Inferno (S2650) to 'Inferno (Meadows)'
- Renamed 'Bowling 3D' to '3-D Bowling'
- Added NO_DUMP entries for Gypsy Juggler's ball graphics and added GAME_IMPERFECT_GRAPHICS flag
2008-03-05 08:00:31 +00:00
Aaron Giles
a724936cb3 Added running_machine * to the device_config, live while the device
is live, and NULL otherwise, just like the token.
2008-03-05 07:54:12 +00:00
Aaron Giles
ee0a5642ab Added running_machine * parameter to the front of all read/write handlers.
Updated all call-through handlers appropriately. Renamed read8_handler to
read8_machine_func, replicating this pattern throughout. 

Defined new set of memory handler functions which are similar but which
pass a const device_config * in place of the running_machine *. These are
called read8_device_func, etc. Added macros READ8_DEVICE_HANDLER() for
specifying functions of this type. Note that some plumbing still needs to
happen in memory.c before this will work.

This check-in should remove the need for the global Machine and in turn
"deprecat.h" for a lot of drivers, but that work has not been done. On
the flip side, some new accesses to the global Machine were added in the
emu/ files. These should be addressed over time, but are smaller in
number than the references in the driver.
2008-03-05 07:45:34 +00:00
Zsolt Vasvari
9f03451a61 Uses PORT_CHANGED for coins 2008-03-05 07:19:58 +00:00
Zsolt Vasvari
d41cb7ebce Untangles the Fire Truck driver -- what a nightmare...
Many uses of PORT_CUSTOM and PORT_CHANGED, including another good use case for the gear shift logic
2008-03-05 04:25:29 +00:00
Zsolt Vasvari
793cf2e715 VBLANK based watchdogs can be disabled once again
Removed debugging fprintf
2008-03-05 04:20:01 +00:00
Brian Troha
0eca6ca59c fixes capitol letter in rom name issue in last commit 2008-03-05 00:04:11 +00:00
Brian Troha
98a838fe06 adds info from recent Peekaboo submission
retains / adds a little info and better rom name for the MCU
2008-03-04 23:59:58 +00:00
Andrew Gardner
28c035cca5 Fixes memory map conversion typo for zodiack. 2008-03-04 16:20:41 +00:00
Zsolt Vasvari
f1e2ccd4f1 Better separation of driver and video code.
Gave Top Secret its own (1 line long) video update function.
2008-03-04 11:36:09 +00:00
Zsolt Vasvari
6ae0a85462 Exidy440 - modernized input port handling with CUSTOM_INPUT and INPUT_CHANGED
Cleaned-up (IMO) special case handling
2008-03-04 07:59:35 +00:00
Zsolt Vasvari
5b108ad039 Uses PORT_CHANGED
Removes PORT_IMPULSE from Star Hawk
2008-03-04 04:53:58 +00:00
Andrew Gardner
7a52f023ac Merges memory maps X->Z.
Regression tests consist of running through demo mode with -log, diff'ing the results, and playing a bit.
2008-03-04 04:37:01 +00:00
Zsolt Vasvari
77ed3a81ef Uses PORT_CHANGED
Cheeky Mouse: tilemap conversion
2008-03-04 03:51:03 +00:00
Zsolt Vasvari
4ce1310abb Converted to use PORT_CHANGED
Combined memory maps where applicable
2008-03-03 09:27:06 +00:00
Zsolt Vasvari
65204e090e Readds accidentally deleted line 2008-03-03 05:21:35 +00:00
Zsolt Vasvari
34b3ab9841 Added running_machine* to the CUSTOM_INPUT callback - updated drivers to use it 2008-03-03 05:17:57 +00:00
Zsolt Vasvari
62466dd08f - Added PORT_CHANGED macro which calls a callback if the given port changes.
Usage is very similar to PORT_CUSTOM.  See the Astro Invader driver for an example
- Removed input_port_set_changed_callback and converted all users to PORT_CHANGED
  The only difference between the old callback and the ones supplied by PORT_CHANGED is
  that values passed by PORT_CHANGED are normalized to start at bit 0, just like
  PORT_CUSTOM.
2008-03-03 04:10:51 +00:00
Aaron Giles
e31f9a6313 Normalized function pointer typedefs: they are now all
suffixed with _func. Did this throughout the core and
drivers I was familiar with.

Fixed gcc compiler error with recent render.c changes.
gcc does not like explicit (int) casts on float or
double functions. This is fracking annoying and stupid,
but there you have it.
2008-03-03 01:51:31 +00:00