Commit Graph

3671 Commits

Author SHA1 Message Date
Aaron Giles
b319755f9e Added wrappers for ADSP21xx callbacks. Added device parameters to them.
Updated IRQ setters to use generic_pulse_irq_line().
2008-12-09 07:13:21 +00:00
Aaron Giles
13bdc84fff Compile fix. 2008-12-09 06:50:18 +00:00
Aaron Giles
35b6d98757 Oops forgot a file. 2008-12-09 06:36:41 +00:00
Aaron Giles
ec8caea251 Completed pointer-izing the 6502 cores. Removed h6280 SET_CONTEXT calls. 2008-12-09 06:36:30 +00:00
Aaron Giles
98d7204262 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Monday, December 08, 2008 10:05 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] More Machine cleanups

Hi mamdev,

This patch picks up where my last patch left off, and tries to fix the
widely used konamiic/taitoic/deco16ic/segaic16 video cores to no
longer reference Machine.  Basically plumbing through screen or
machine as appropriate in lots of drivers.

Note: The taito_l change fixes a dumb typo in taito_chardef14_m in my
last patch that I would have caught with a proper header file, which
I've now added.

~aa
2008-12-09 06:29:18 +00:00
Aaron Giles
b164c8a260 From: Atari Ace [atari_ace@verizon.net]
Sent: Monday, December 08, 2008 6:21 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Pointerify f8/tlcs90 cores

Hi mamedev,

Two more cores converted to pointers.  f8 was very straightforward,
tlcs90 had some extra state that needed to be merged into the register
struct, and needed adjustments to its timers and read/write handlers
which might warrant some scrutiny by the experts.

~aa
2008-12-09 06:26:02 +00:00
Aaron Giles
901d4fc796 Updated z8000 tables [Juergen Buchmueller] 2008-12-09 06:24:15 +00:00
Aaron Giles
eb43d34725 Re-routed empty get/set context calls to the dummy CPU's, and removed them
from the CPU cores.

Disabled the use of PULSE_LINE for any input lines except NMI and RESET.
Added a helper function generic_pulse_irq_line() for doing a single-cycle
assert/deassert for those few drivers remaining that were trying to use
PULSE_LINE directly.
2008-12-09 06:21:15 +00:00
Andrew Gardner
183b7c9de7 Pointer-ified the h6280 cpu core. [Andrew Gardner]
(Next is the dsp56k)
2008-12-09 05:25:35 +00:00
Aaron Giles
4eb774a033 Minor cleanup for empty SET_CONTEXT handlers. 2008-12-09 04:13:29 +00:00
Wilbert Pol
abb8a04a10 Pointer-ified the PDP1/TX0 core. 2008-12-08 21:49:26 +00:00
Aaron Giles
9369daac34 Fix disassembler compile. 2008-12-08 16:02:40 +00:00
Roberto Zandona
3843cc89b7 use proper gfx2 roms redumped (same values of vulcan but byteswapped) 2008-12-08 13:08:44 +00:00
Aaron Giles
0ba81aad17 Pointer-ified the V30MZ core. Untested as nobody is using it. 2008-12-08 11:03:40 +00:00
Aaron Giles
c33c60485b Pointer-ified the V810 core.
Added OG's z8000 fix.
2008-12-08 10:44:00 +00:00
Aaron Giles
5b64c00674 Added logic to track OSD updates separately from internal view updates in the
debugger. In order to get the OSD to update, a new function 
debug_view_flush_updates() must be called. Currently this is automatically
called before osd_wait_for_debugger(), and during the periodic updates while
executing. The OSD code may occasionally need to call it under other
circumstances (for example, the Windows code calls it explicitly while
tracking scrollbar thumbs to get live scrolling).
2008-12-08 10:11:29 +00:00
Aaron Giles
fb25927452 Pointer-ified the Z180 core.
Fixed compile issue with the Z8000 disassembler.
2008-12-08 09:40:44 +00:00
Aaron Giles
2a975e4737 Fixed call to v60_stall() 2008-12-08 08:44:36 +00:00
Aaron Giles
d4e2eb2472 Pointer-ified the Z8000 core. 2008-12-08 08:41:51 +00:00
Curt Coder
b4470a0bd7 [M6800] Removed the extraneous cpu_pop_context(). 2008-12-08 08:19:37 +00:00
Aaron Giles
b24198a1cd Hi mamedev,
This is a reworked/expanded version of the patch I sent yesterday.
This one is split into three parts:

1.  This introduces function macros for SAMPLES_START,
CUSTOM_{START,STOP,RESET}, and ANTIC_RENDERER.
2.  This introduces running_machine *machine throughout MAME.
Principally it adds running_machine *machine = Machine to the top of
functions, but in some static functions the parameter is added
directly.  Some similar changes in 99xxcore.h, v9938.c, v9938mod.c,
galaxold.c, psx.c, taito_l.c are also made to eliminate Machine
params.  No global API is changed.
3.  This changes the APIs introduced in the first part to pass device
or space as appropriate.  A few similar changes in some other global
apis are made as well.

The net result of this sequence of patches is to remove 40% of the
Machine references and 27 deprecat.h includes.

~aa
2008-12-08 06:53:40 +00:00
Aaron Giles
60febeb3d9 Pointer-ified the v60 core. 2008-12-08 06:35:28 +00:00
Aaron Giles
f0849513d0 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Sunday, December 07, 2008 1:48 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Pointerify sharc core

Hi mamedev,

The attached patch pointerifies the sharc core.  If this has already
been done, no great loss, it only took about an hour and a half to do
this.

~aa
2008-12-08 05:07:54 +00:00
Aaron Giles
65f9ee3d3a From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Sunday, December 07, 2008 9:43 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Introduce KONAMI_SETLINES_CALLBACK

Hi mamedev,

Aaron indicated the KONAMI_SETLINES_CALLBACK change from my previous
patch overlapped with work already committed but was otherwise a
desired change, so this patch submits just that change relative to the
committed work.

~aa
2008-12-08 05:03:46 +00:00
Nathan Woods
bb2061763c Updates from MESS 2008-12-08 03:53:26 +00:00
R. Belmont
b0db08be4a Pass running_machine to I/O callbacks plus other MESS support. 2008-12-08 00:46:02 +00:00
Andrew Gardner
96d40d8969 PPointer-ified the arm. [Andrew Gardner]
(Next cpu I'll look at is the H6280.)
2008-12-07 17:57:18 +00:00
Nicola Salmoria
3d114f0b25 02677: eprom, eprom2: missing graphical brightness effect, verified on real machine w/video
Note that the RGB output circuitry uses many transistors and I don't really understand it.
2008-12-07 17:22:40 +00:00
Aaron Giles
872ec20658 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, December 06, 2008 4:52 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Deprecat.h cleanup

Hi mamedev,

This patch changes some global Machine references to use machine,
device->machine, ... instead, and removes any unneeded #include
"deprecat.h" lines as well (about 10% of them in fact).  It was
generated using the attached script, and then reverting some cases
where it was overzealous.

~aa
2008-12-07 14:51:36 +00:00
Couriersud
96321d328f Fixed 64bit compile 2008-12-07 13:43:57 +00:00
Roberto Zandona
6a9117ecf8 use correct proms (from citylan) for arkgcbl 2008-12-07 06:59:53 +00:00
Aaron Giles
730b131f58 A few more activecpu's. 2008-12-07 06:30:55 +00:00
Aaron Giles
c5f3e70c14 Made the PCI bus a device. The bus is declared in the machine
config, and the devices attached to it are enumerated there.
Eventually, the PCI config read/write functions should be moved 
to well-known functions within the device, but for now they are
kept separate.

activecpu -= 138
2008-12-07 06:14:33 +00:00
Roberto Zandona
f351a7d88f use CRC in wb90b2 and jjsquawb "bad dump" roms 2008-12-07 06:10:09 +00:00
Aaron Giles
63f26b610b Pointer-ified the konami CPU core. Changed setlines callback to
pass a device. Updated and de-deprecat-ed the drivers that used
it. Fixed interrupt handling to follow more recent behavior
expectations (no PULSE_LINE on non-NMI lines).
2008-12-06 21:24:38 +00:00
Aaron Giles
c023001a86 Pointer-ified the PPC DRC. 2008-12-06 20:18:05 +00:00
Aaron Giles
554f86eb65 Pointer-ified the mips3drc. 2008-12-06 19:55:22 +00:00
Andrew Gardner
490880419a Pointer-ified the m6805. [Andrew Gardner]
(Used cpustate naming convention.  Moved iCount into state struct.)
(Tested with arkanoid, bootleg bubble bobble, etc.)
(Next cpu I'll look at is the ARM.)
2008-12-06 19:47:14 +00:00
Aaron Giles
7f9c6cb81f Pointer-ified the DSP32 core. 2008-12-06 19:28:48 +00:00
Aaron Giles
d92a2e0c4e Cleanups/version bump/added missing drivers. 2008-12-06 17:54:42 +00:00
Aaron Giles
4c1762ee26 From: Luigi30 [mailto:luigi30@gmail.com]
Sent: Thursday, December 04, 2008 7:23 PM
To: submit@mamedev.org
Subject: nstockr2

nstockr2 made a clone of nstocker
2008-12-06 17:19:00 +00:00
Aaron Giles
0c36b8a743 adds the (not very interesting) locomotion bootleg to rallyx driver.
seems to be based on the cottong bootleg already supported, it was on 
citylan as a 'blister' dump, program roms only, works best with the 
other roms from cottong and the program is closest to that.

[David Haywood]
2008-12-06 17:17:10 +00:00
Aaron Giles
fbdff39c21 Fix compile errors. 2008-12-06 17:15:23 +00:00
Aaron Giles
7cf1bffaa5 Added not-working clones Cherry 10 / Cherry I Gold to the goldstar.c driver
[David Haywood]
2008-12-06 17:13:02 +00:00
Aaron Giles
389b25c281 02638: various cpu cores don't compile anymore
(mostly fixed before)
2008-12-06 17:09:02 +00:00
Aaron Giles
fa57e41c43 02713: demndrgn, profpac: demndrgn gives a black screen only. profpac doesn't accept coins 2008-12-06 17:06:26 +00:00
Aaron Giles
282c1db110 activecpu_count -= 133
Removed mostly silly uses of activecpu from the CPU cores.
2008-12-06 16:56:22 +00:00
Angelo Salese
8c09fe8b03 Merged The Couples driver with Merit,fixing most of the graphics/color bugs in it. 2008-12-06 16:45:12 +00:00
Roberto Zandona
db54cb03ba wc90b2: marked bad dump some roms 2008-12-06 16:37:19 +00:00
Roberto Zandona
b4a0951eea jjsquawb: marked bad dump gfx roms and added a note to explain 2008-12-06 16:29:11 +00:00
Angelo Salese
3c34f45bf7 Added NVRAM emulation to Sengoku Mahjong. 2008-12-06 15:47:27 +00:00
Angelo Salese
0b23053a74 Wrote drivers for Millenium Nuovo 4000 (working with sound) and Il Pagliaccio (not working) [David Haywood,Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Millenium Nuovo 4000 [David Haywood,Angelo Salese]

New games marked as GAME_NOT_WORKING
------------------------------------
Il Pagliaccio [David Haywood,Angelo Salese]
2008-12-06 15:12:39 +00:00
Roberto Zandona
61d510664b jjsquawb: fixed x offset 2008-12-06 12:08:12 +00:00
Roberto Zandona
06294af8ed removed not working flag from jjsquakb 2008-12-06 11:02:59 +00:00
Roberto Zandona
dd58499d4c jjsquawb: implement correct video registers and promoted to working 2008-12-06 11:01:47 +00:00
Roberto Zandona
0bc1cdfbe5 New clones added
----------------
Worldcup 90 (bootleg) [robiza]

New clones NOT WORKING added
----------------
J.J. Squawkers (bootleg) [robiza]
2008-12-06 09:46:17 +00:00
Aaron Giles
f57ab32404 Removed mame_find_cpu_index(). Use cputag_get_cpu() instead.
Updated all drivers calling this to the newer function, and
generally simplified their code as a result.
2008-12-06 07:25:48 +00:00
Aaron Giles
d8e17c4e86 Removed cpunum_get_active().
Main important change is that IDE controllers with bus mastering (DMA)
need to specify the target address space in the IDE device configuration.
2008-12-06 06:40:40 +00:00
Aaron Giles
e2c9b10241 Fixed some memory view-related issues:
* select correct memory region by default when created
   (should be first address space of visible CPU)
* when created, default bytes/chunk is correct
* when changing width, cursor no longer moves around
* memory regions display more than all 0xff now

Also fixed:

* qword big-endian memory reads no longer call little-endian handlers
* memory regions are tracked in creation order (show up in order
   in the menu now)
* ROMREGION_DISPOSE memory regions are not disposed if the debugger
   is enabled
2008-12-05 16:02:22 +00:00
Aaron Giles
12f71dac82 m68_state -> cpustate 2008-12-05 15:17:40 +00:00
Nathan Woods
d85a03d9ad Added differentiation between the r1 and r2 versions of the 6526; not acting
on it yet
2008-12-05 12:28:40 +00:00
Nathan Woods
b7da4d6684 Added device paramter to 6526 callbacks 2008-12-05 12:09:35 +00:00
Nathan Woods
3125b5e60e Removed unused variables 2008-12-05 12:08:49 +00:00
Aaron Giles
3c6eacc96f Changed save state system to accept machine parameters where
appropriate, and to keep all global variables hanging off the
machine structure. Once again, this means all state registration
call sites have been touched:

  - state_save_register_global* now takes a machine parameter
  - state_save_register_item* now takes a machine parameter
  - added new state_save_register_device_item* which now uses
     the device name and tag to generate the base name

Extended the fake sound devices to have more populated fields.
Modified sound cores to use tags from the devices and simplified
the start function.

Renumbered CPU and sound get/set info constants to align with
the device constants, and shared values where they were perfectly
aligned.

Set the type field in the fake device_configs for CPU and sound
chips to a get_info stub which calls through to the CPU and sound
specific get_info functions. This means the device_get_info()
functions work for CPU and sound cores, even in their fake state.

Changed device information getters from device_info() to
device_get_info() to match the CPU and sound macros.
2008-12-05 08:00:13 +00:00
Nathan Woods
9c88aa96d0 Made the 6526/8520 CIA implementations be devices 2008-12-05 03:59:56 +00:00
Jonathan Gevaryahu
89b03aba17 Update comments 2008-12-04 20:19:10 +00:00
Phil Bennett
3efc6f55dd 01442: wwfsstar: The OKI6295 playback frequency is too high. 2008-12-04 15:57:54 +00:00
Aaron Giles
71f9ca9602 From: Luigi30 [luigi30@gmail.com]
Sent: Wednesday, December 03, 2008 4:46 PM
To: submit@mamedev.org
Subject: bug 894 fix
Fixes bug 894, elecyoyo: inserted coins and pressing start sometimes leads back to the test menu 

--

From: Luigi30
Sent: Tuesday, December 02, 2008 10:19 PM
To: submit@mamedev.org
Subject: Bug 2693 fix

Fixes bug 2693
2008-12-04 10:50:44 +00:00
Aaron Giles
35dfc8bad2 From: Micko [mailto:mmicko@gmail.com]
Sent: Tuesday, December 02, 2008 10:14 AM
To: Aaron Giles
Subject: Another 8080/85 change from me

Hi Aaron,
 
I have noticed that there are some problems in interrupt handling in 8080 implementation. Thing is that there are some cases that made a problem while implementing one 
computer emulation. Thing is that there is same computer with Z80 and 8080 cpu and ROM's are same, but interrupts were not triggered. So I have searched and found 
two problems fixed with this patch.
1. previous implementation cleared interrupt enable bit on interrupt trigger which is wrong since interrupts should stay enabled 
2. serve interrupt number was not cleared after interrupt is executed, so if same one is triggered it will not be catched.
 
I have tested with 8080 MESS drivers, and picked some of MAME drivers using 8080 and 8085, and there were no bad things found.
 
Regards,
Micko
2008-12-04 10:48:35 +00:00
Aaron Giles
f7a80ad726 From: Edward Swiftwood [mailto:payphoneed@gmail.com]
Sent: Tuesday, December 02, 2008 8:18 AM
To: submit@mamedev.org
Subject: UI Yellow patch part 2

Enjoy?
2008-12-04 10:47:26 +00:00
Aaron Giles
78622af0eb This patch furthers the process of aligning the sound cores with the
recent cpu core changes.  Specifically, it adds a fake device
implementation similar to the one the cpu cores were using in 128u3
(i.e. it only provides the machine pointer and the token), and makes
some interface adjustments aligned to 128u4 (i.e. adding
snd_class_header, adding get_ to various getter functions).  The
primary benefit of this change is the removal of "deprecat.h" from 23
sound cores.  I also adjusted ui.c to stop calling sndnum_clock and
access the clock data similarly to how it does the cpu clock data.

[AtariAce]
2008-12-04 10:44:15 +00:00
Aaron Giles
5b45ad478f From: Mamesick [mailto:mamesick@libero.it]
Sent: Saturday, November 29, 2008 8:21 AM
To: submit@mamedev.org
Subject: Fixed ID 02690
2008-12-04 10:21:40 +00:00
Aaron Giles
3b25f68410 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Friday, November 28, 2008 10:10 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Fix 02689: jumpbug: Jumpbug won't start second time around

Hi mamedev,

Some global state needs to be zeroed to fix this mametesters bug.

~aa
2008-12-04 10:20:22 +00:00
Aaron Giles
8ff67ece73 Surf Planet (Version 4.0) [Smittdogg] 2008-12-04 10:19:06 +00:00
Aaron Giles
60bc02ae1b Removed fillbitmap() macro in favor of direct calls to bitmap_fill().
Note that the parameters to the latter are in a different order
(bitmap, clip, color). [Atari Ace]
2008-12-04 10:17:17 +00:00
Aaron Giles
2c3a713213 Minor comment fix. 2008-12-04 10:06:25 +00:00
Aaron Giles
9dd0f760aa 02673: All Sets with HuC6280 as Audio Device (PCE-Based titles): Fatal Error after OK 2008-12-04 10:04:22 +00:00
Aaron Giles
c742f29634 02676: All Laserdisc Games: Wrong colors using Direct3D on ATI cards 2008-12-04 10:01:53 +00:00
Aaron Giles
2bce10291f 02680: carnevil: -verifyrom fails to consider if a CHD is a BAD_DUMP 2008-12-04 09:58:01 +00:00
Aaron Giles
022d56f461 02705: connect4: connect4 crashes if nvram file is present 2008-12-04 09:54:43 +00:00
Aaron Giles
ec6dcfc192 02702: [Sound] tturf: no audio
Fixed debugger cursor positioning when scrolled.
2008-12-04 09:44:18 +00:00
Aaron Giles
8169eeefca 02687: emuopts.c: CORE INPUT AUTOMATIC ENABLE OPTIONS
02683: Pressing F5 while running debugger causes access violation 
02669: pandoras: music tempo is too fast 
02691: Some drivers with z80/ay8910 Audio: Audio tempo has changed 

Also fixed debugger memory leak.

Added a number of new cputag_* macros to cpuexec.h.
2008-12-04 09:34:38 +00:00
Aaron Giles
013e6eff00 02688: DIP switch settings are not being stored in INP files.
To fix this, I had to break old INP files. While I was in there,
I added corefile support for compressing/decompressing data on
the fly, and enabled it for INPs, meaning the newer format INPs
are output and processed compressed.
2008-12-04 08:34:30 +00:00
Aaron Giles
85b961f5af CPU_IS_LE -> ENDIANNESS_LITTLE
CPU_IS_BE -> ENDIANNESS_BIG

Also fixed help for step over/in to specify correct keys.
2008-12-04 06:08:32 +00:00
Aaron Giles
0309522e87 Re-enabled the OSD key for master volume control. All other
sliders are still only accessible via the menus.
2008-12-04 06:07:16 +00:00
Aaron Giles
30aa31f163 More debugger changes.
Added the concept of 'subviews' to the debugger views. The core
now creates a list of possible subviews, and the OSD can select
between them. This removes code from the OSD that was previously
required to find all possible memory and disassembly views.

Added machine parameters to debugger console output functions.

Fixed some oddities in the memory view.

Moved globals to hang off of the machine structure.

Fixed bug where the visiblecpu was not updated immediately upon
a break.
2008-12-03 17:31:20 +00:00
Nathan Woods
e1c8b38b66 Made the 6850 ACIA a device 2008-12-03 12:54:32 +00:00
Aaron Giles
d924407859 Big debugger cleanup.
Important note for OSD ports: the get/set property functions have 
been retired for debug_views. Instead, there are specific functions
to perform each get/set operation. In addition, the format of the
update callback has changed to pass the osd private data in, and
the update callback/osd private data must be passed in at view
allocation time. And osd_wait_for_debugger() now gets a CPU object
instead of the machine.

Removed extra debugger tracking for address spaces and added some
of the useful data to the address_space structure. Updated all
debugger commands and views to use CPU and address space objects
where appropriate.

Added new memory functions for converting between bytes and
addresses, and for performing translations for a given address
space. Removed debugger macros that did similar things in favor
of calling these functions.

Rewrote most of the memory view handling. Disasm and register views
still need some additional tweaking.
2008-12-03 06:35:34 +00:00
Angelo Salese
e16734f2f3 Bra$il driver: cleaned-up the video update functions and added some extra inputs (including a service mode) 2008-12-03 01:17:58 +00:00
Angelo Salese
27b1bab115 Added layer enable register,coin counter,coin lockout and cleaned-up the Sengoku Mahjong driver.
(And forgot to remove a halt line from Cool Riders driver)
2008-12-03 00:15:34 +00:00
Angelo Salese
509bb082fb Cool Riders: added an hack for the SH-2,fixed some irqs and some memory maps/ram sharing.
Got to the point that area 0x03e00000 on the SH-2 loads some DMA-style tables.

(and this is going to be REALLY nasty to do without docs...)
2008-12-02 22:43:21 +00:00
Angelo Salese
085f64656a Various improvements to the Bra$il driver [David Haywood,Angelo Salese]
- Fixed a crashing bug with Bra$il;
- Added "New Magic Card" to the Bra$il driver,working without sound;
- Added "Fashion",an earlier revision of Bra$il.Not yet working;

New games added or promoted from NOT_WORKING status
---------------------------------------------------
New Magic Card [David Haywood,Angelo Salese]

New games marked as GAME_NOT_WORKING
------------------------------------
Bra$il [David Haywood,Angelo Salese]
2008-12-02 20:03:19 +00:00
Nicola Salmoria
9e13b67faf Changed oki 6295 to use a reasonable volume table derived from the manual. Added popmessages to notify of invalid commands so we can investigate them if some game uses them.
It should also be noted that many games using this chip are clipping at the moment. This is something that might date back to when sound mixing was upgraded to 32-bit. It is sensible for the 6295 emulator to output at this level because it ensures that bits of precision are not lost, so the mixing levels in the drivers should be adjusted to avoid clipping.
2008-12-02 08:17:21 +00:00
Nicola Salmoria
d23ad16cab 02653: all games on artmagic.c: OKI clipping in artmagic games 2008-12-02 06:34:24 +00:00
Angelo Salese
e2b2404aeb Fixed some bits / made some clean-ups in the Bra$il driver. 2008-12-01 20:39:57 +00:00
Angelo Salese
e71bbf8594 Fixed RGB565 bugs in Bra$il and Ghost Eolith drivers.
Added extra scanline to the Bra$il driver.
2008-12-01 17:19:21 +00:00
Angelo Salese
ec9e3d4c93 Improved the Bra$il driver,adding proper IRQ and some blitter hook-up.
(it does something if you toggle the "unknown trigger" that is mapped in the DIP-SW).
2008-12-01 16:33:27 +00:00
Roberto Fresca
f2e1100810 Improvements to funworld.c driver [Roberto Fresca, Andreas Naive]
- Decripted saloon's program, graphics and color PROM.
 - Created a new memory map and machine driver for saloon.
 - Removed set jolycdae (it's not coming from a real board).
 - Renamed the sets magiccrd, magiccda and magiccdb, to magicrd2, magicd2a and magicd2b.
 - Updated technical notes.
2008-12-01 07:26:44 +00:00
Angelo Salese
4375cea253 Bra$il skeleton driver from David Haywood.
(Likely that I'll check this thing to see if I can do anything).
2008-12-01 00:05:51 +00:00
Angelo Salese
d3fb69a429 Gfx decode clean up on Sengoku Mahjong. 2008-11-30 23:41:08 +00:00
Andrew Gardner
d801cf44b3 Moves empty brackets to the same line as CPU_(GET|SET)_CONTEXT calls.
This makes it easy to grep the CPU code to figure out which cores still need pointer-ification.
2008-11-30 16:25:09 +00:00
Roberto Zandona
99a0c47488 update name in rom definition 2008-11-30 13:26:56 +00:00
Roberto Zandona
73db3f6de8 updated names of blktiger bootlegs 2008-11-30 13:24:32 +00:00
Roberto Zandona
4e52bc76e2 renamed bootleg name and description 2008-11-30 13:19:56 +00:00
Roberto Zandona
bdeba72177 New clones added
----------------
Black Tiger (bootleg alt) [mameitalia]
2008-11-30 12:47:39 +00:00
Roberto Fresca
b78d3282b2 Pmpoker.c major rewrite (part 2):
- Changed the driver name to goldnpkr.c (Golden Poker is the most representative hardware).
 - Splitted the PIA interfases to cover witchcrd/pottenpkr connections.
 - Fixed the witchcrd/pottnpkr/sloco93 double up mode.
 - Replaced the pottenpkr layout with goldnpkr one in all Jack Potten's Poker sets.
 - Updated game notes for Witch Card and Super Loco 93 sets.
 - Fixed al inputs & lamps to allow double up mode to the above games.
 - Added Witch Card (Video Klein) but still not working.
 - Added several Buena Suerte! sets.
 - Added new games: Maverik, Brasil 89 & Poker'91.
 - Reworked the sets parent-clone relationship (still in progress).


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Maverik [Roberto Fresca]
Brasil 89 [Roberto Fresca]
Poker'91 [Roberto Fresca]


New clones added
----------------
Buena Suerte (21 new sets) [Roberto Fresca]
Royalea [Roberto Fresca]


New games marked as GAME_NOT_WORKING
------------------------------------
Witch Card (Video Klein) [Roberto Fresca, Guru]
2008-11-29 22:51:47 +00:00
davidhay
d224024a92 The jchan gamse aren't really clones even if they share most of the same roms. They're very different. 2008-11-29 17:30:54 +00:00
davidhay
213d260133 correct obj3 2008-11-29 16:36:12 +00:00
davidhay
f9708dc504 renamed gfx3 -> bg_map in btime.c to better reflect what it is
also renamed gfx4 -> gfx3
2008-11-29 16:04:19 +00:00
davidhay
7d85a5ce5e adds the (withdrawn?) 2.3 too... 2008-11-29 15:39:45 +00:00
davidhay
876da0f2e2 this adds the universe bios sets. they're on enough PCBs to qualify now IMHO.
feel free to remove if not wanted.
2008-11-29 15:06:47 +00:00
smf-
2bede4d1ce Makes sure uint is defined. 2008-11-29 08:32:58 +00:00
Brian Troha
b24c7db0df corrected the rom name for the US set of Volfied 2008-11-29 06:57:30 +00:00
R. Belmont
cdd72b00bd ARM7 updates
- Pointer-ified ARM7 core
- Added disassembler and execution support for ARMv5 LDRD/STRD instructions.
  39in1 now makes it until it needs the MMU.
2008-11-29 02:59:53 +00:00
R. Belmont
86e9b479bd Fixed stepping in the debugger. 2008-11-29 00:51:04 +00:00
smf-
92d1c8f83d fixed memory corruption bug. 2008-11-29 00:18:10 +00:00
R. Belmont
fdc7c5b358 Pointer-ified the SPC700. 2008-11-28 23:29:21 +00:00
Angelo Salese
4c2953d8ef Many improvements on the irq handling of the ST-V driver [Angelo Salese,Charles MacDonald]
* Fixed a bug with irq timings;
* Added ODD bit emulation;
* Fixed vblank period timings;
* Optimized a bit the whole interrupt routines,getting a 4x speed gain;
* Fixed an irq mask handling bug;
(This fixes at least Astra SuperStars and Pebble Beach booting,but the latter still fails the timer 1 irq routines...I need to check why)
2008-11-28 22:58:24 +00:00
R. Belmont
1962ffeaf9 Pointer-ified the 65816. 2008-11-28 22:43:37 +00:00
Nathan Woods
d52f52c27d Added ATTR_NONNULL to various declarations 2008-11-28 18:41:36 +00:00
Angelo Salese
e385847553 Fixed reversed VBLANK-IN/OUT events in ST-V (needed for my next update) <- fixes hanagumi/groovef 2 credits at start-up. 2008-11-28 11:21:58 +00:00
Jonathan Gevaryahu
9c6ffc0ae7 Update t5182 memory mapping a bit to properly handle mirrored areas; add comment about how shared ram works. 2008-11-28 06:49:38 +00:00
Jonathan Gevaryahu
2de5e9e396 S14001a: Update notes a bit to clarify speech bus stuff, mostly completed the state map in the comments 2008-11-28 06:05:55 +00:00
Nathan Woods
00cf5ec718 F3853 changes from MESS 2008-11-28 00:14:22 +00:00
davidhay
d007051957 Removed missing sets.
We can't test these, I gave Robbie a final deadline on them a long time ago now.

If you're the one who dumps something and put the rest of the team in a situation where the submission can't be tested, then don't expect the driver to stay.  Numerous chances have been given.  

Unacceptable due to inability to test.
2008-11-27 23:05:17 +00:00
Andrew Gardner
11621a7ee8 Replaced printf("%d", cpunum_get_active()) with printf("%s", space->cpu->tag) where obvious. 2008-11-27 06:49:12 +00:00
Aaron Giles
0142411b98 Move cpunum_get_active() removal. 2008-11-27 05:22:51 +00:00
davidhay
8f50591c40 new not working - Galaxian 3 [Andy Welburn]
I won't be writing this driver, it fits somewhere between System21 and System22, with multiple PCBs etc.  I just created this to document what we know so far.  Chances are Phil or somebody with good Namco knowledge will have to emulate it.
2008-11-26 23:54:14 +00:00
Curt Coder
c35dcd695c Normalized CDP1802 state variables to 'cpustate'. 2008-11-26 20:54:18 +00:00
Curt Coder
4094a61f7a Added macros to access ROM and MACHINE_DRIVER by name. 2008-11-26 20:45:18 +00:00
Aaron Giles
0df0ba2bc4 Removed more cpunum_get_active(). 2008-11-26 20:07:20 +00:00
Aaron Giles
c2ca1ef0cb PowerPC DRC no longer references active CPU. 2008-11-26 19:49:42 +00:00
Aaron Giles
5cfad18a84 Normalized m37710 local CPU state pointers to to 'cpustate'.
Removed need for cpunum in the timers.
2008-11-26 19:42:33 +00:00
Aaron Giles
593e334f08 Normalized mcs48 state variables to 'cpustate'. 2008-11-26 19:39:12 +00:00
Aaron Giles
98b88c617b Removed cpunum_get_active() calls from a number of CPU cores.
Normalized 6502 state variable to the generic 'cpustate' which
makes the macros work more cleanly.
2008-11-26 19:35:58 +00:00
Aaron Giles
e1f5ed6caf Pointer-ified the hyperstone core, and removed all activecpu refs. 2008-11-26 16:23:41 +00:00
Aaron Giles
6924ad8120 Changed timer_alloc, timer_set, timer_pulse, timer_call_after_resynch,
and timer_get_time to pass the machine parameter. Moved timer globals
to hang off of the running_machine.
2008-11-26 06:38:08 +00:00
Aaron Giles
bbac5a66b2 Pool items are now tracked globally, and freed in reverse order
of allocation. This enables proper nesting.
2008-11-26 04:37:25 +00:00
Aaron Giles
185771534c 02672: Most Sets using MCS48/51.C (intel 80xx family): Fatal Error when using -cheat trigger 2008-11-25 23:06:29 +00:00
Curt Coder
3ef9cb7919 [Z80DMA] Added placeholders for interrupt callback and Z80 daisy chain functions. Mario was broken even before this update. 2008-11-25 20:06:40 +00:00
Angelo Salese
f3bacac990 (...and another one,sorry for these two extra updates. -.-") 2008-11-25 17:49:28 +00:00
Angelo Salese
a4d3481229 (Fixed a stupid bug caused by CTRL+Z madness) 2008-11-25 17:41:54 +00:00
Angelo Salese
f51cd063d4 Added preliminary Destiny Horoscope driver (not working due of missing Artworks & missing printer emulation)
New games marked as GAME_NOT_WORKING
------------------------------------
Destiny Horoscope [Angelo Salese]
2008-11-25 17:32:26 +00:00
Curt Coder
a60b88b141 Silenced Z80 SIO by default. 2008-11-25 15:23:51 +00:00
Aaron Giles
ca3478a1fc Removed globals from cpuexec.
Removed ATTOTIME_TO_CYCLES() and ATTOTIME_IN_CYCLES(). Replaced them
with functions in cpuexec: cpu_clocks_to_attotime() and
cpu_attotime_to_clocks(), both of which take CPU devices instead of
indexes. Updated all callers, many of which were using the functions
dubiously.
2008-11-25 06:23:14 +00:00
Aaron Giles
dd87df6926 CCPU and T-11 pointer-ification. 2008-11-25 05:13:20 +00:00
Angelo Salese
a20dadc633 Added Tennis (bootleg of Pro Tennis)
(a.k.a. the Gerald dump which was assuming to be an original deco HW...it's missing
the "Pro" and the deco logo at the title screen so I'm assuming it's a bootleg).

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Tennis (bootleg of Pro Tennis) [Angelo Salese]

New games marked as GAME_NOT_WORKING
------------------------------------
Treasure Island [Angelo Salese]
2008-11-25 00:50:20 +00:00
Angelo Salese
d121e3f998 Added Treasure Island to the Burger Time HW.
It doesn't work because I highly suspect that there's an unhandled encryption scheme in it (patch on driver of a bogus opcode + 
it crashes after that you play it once + (possibly) wrong video registers handlers).
2008-11-24 23:47:28 +00:00
davidhay
861eb8eab4 started porting Kale's work on Treasure Island over, cleaning up in the process. Not currently working, work in progress (will add to mamedriv.c when it is) 2008-11-24 22:54:05 +00:00
davidhay
57c9bd0a87 make non-critical UI warnings yellow instead so that they stand out [BarnacleEd]
(was posted on Mametesters, I quite like it myself, although obviously it's open for debate)
2008-11-24 20:13:01 +00:00