Commit Graph

1475 Commits

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