Commit Graph

3583 Commits

Author SHA1 Message Date
Aaron Giles
12415fcdcb Pointer-ified the cubeqst CPUs. 2008-12-09 14:49:16 +00:00
Wilbert Pol
5bbd1b8e1c Added MDRV_DMA8237_ADD macro. 2008-12-09 10:13:33 +00:00
Wilbert Pol
a32c38ad02 Added MDRV_PIT8353_ADD and MDRV_PIT8254_ADD macros. 2008-12-09 09:41:24 +00:00
Wilbert Pol
e7a63caaec Added MDRV_PIC8259_ADD macro. 2008-12-09 09:21:07 +00:00
Aaron Giles
e62a46a8ee generic_pulse_line() now takes into account clock scaling and minimum cycles. 2008-12-09 07:31:46 +00:00
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