Commit Graph

1475 Commits

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