Commit Graph

4007 Commits

Author SHA1 Message Date
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
davidhay
edceb1c7f3 fix copy/paste error on viostorm rom names 2008-11-24 19:15:22 +00:00
Aaron Giles
9fd286c6da Fixes subtle timing calculation problems that affected SH-2 timers. 2008-11-24 14:24:08 +00:00
Aaron Giles
1d05ea6089 Cleanups and version bump for 0.128u4. 2008-11-24 04:10:18 +00:00
Aaron Giles
c1374de9c3 Added dates to Tron revisions. Swapped tron/tron2 now that we know tron2
is the later version. [Tim Lindquist]
2008-11-24 03:25:33 +00:00
Aaron Giles
cb10461ed1 From: Barry Rodewald [mailto:bsr@xnet.co.nz]
Sent: Sunday, November 23, 2008 12:17 AM
To: submit@mamedev.org
Subject: Oki MSM6258 ADPCM core

Hi,

I have attached the Oki MSM6258 ADPCM sound core, which is intended for 
use with the MESS Sharp X68000 driver.  This code was written by Phil 
Bennett, so he ought to be the one getting the credit for it.  I have 
mostly worked on the MESS X68000 driver and HD63450 (DMA controller) 
code to get the ADPCM working for most X68000 software.  I am unaware as 
to if Phil has already submitted this or not yet.

I've tested compiling and running MAME itself (including a debug build) 
with the MSM6258 core in it, and experienced no issues.  Although there 
is nothing in MAME to test it specifically with, it doesn't cause any 
problems with MAME use in general.

The current MESS X68000 driver code with the MSM6258 enabled is 
available for those that want to test that out - 
http://mahlemiut.marpirc.net/msm6258-211108.zip

Thanks,
Barry Rodewald
mailto:bsr@xnet.co.nz
2008-11-24 03:22:29 +00:00
Aaron Giles
67ae0bbd58 From: Luigi30 [luigi30@gmail.com]
Sent: Friday, November 14, 2008 7:22 PM
To: submit@mamedev.org
Subject: flyball.c diff
Changed flyball CPU clock to a #defined crystal
Added dip locations
2008-11-24 03:15:20 +00:00
Aaron Giles
fa2204019f From Luigi30:
Clocks derived from crystals in in ace.c, asteroid.c, avalnche.c, blockade.c, boxer.c, bzone.c, cosmic.c, firetrk.c, galaga.c, lazercmd.c, meadows.c, missile.c, orbit.c, skydiver.c, sprint2.c, warpwarp.c, williams.c

Added diplocations to meadows.c, mugsmash.c, orbit.c

Unified sprint2.c memory map

Unified galaga.c CPU4 memory maps
2008-11-24 03:12:56 +00:00
Aaron Giles
186f8f5ca5 From Luigi30:
Sent: Sunday, November 16, 2008 10:05 PM
To: submit@mamedev.org
Subject: scross 2196 fix

fix
2008-11-24 03:05:46 +00:00
Aaron Giles
13333c1469 From: Steve Golson
This more accurately describes the aux board behavior for Ms. Pac-Man. There
is a thorough description of how the board works. mspacman is a more faithful
emulation. In particular you can now enter service mode (F2) at anytime during
game play.
2008-11-24 03:05:08 +00:00
R. Belmont
b46fae1d1d Adding the latest "what we know" to the plygonet driver. Credit Phil Bennett. 2008-11-24 02:55:19 +00:00
Aaron Giles
cda0dc075f From: Atari Ace
Hi mamedev,

This patch removes some useless deprecat.h includes, and converts a
handful of Machine variables to machine.

~aa
2008-11-24 02:43:23 +00:00
Aaron Giles
513011179d change_pc? What change_pc? 2008-11-24 02:40:16 +00:00
Roberto Zandona
64164a3e97 better fix for vendetta eeprom (credit to mamesick / Fabio Priuli) 2008-11-24 02:06:29 +00:00
Aaron Giles
f86d66dc97 Removed NO_LEGACY_MEMORY_HANDLERS defines. 2008-11-24 01:42:27 +00:00
Aaron Giles
e117cf26a2 Removed cpu_num info from SH2 in favor of just keeping the device object. 2008-11-24 01:32:29 +00:00
Aaron Giles
4abd6ebe9c Enhanced runtest to use all available processors. 2008-11-24 01:15:52 +00:00
Aaron Giles
5e980fa67b Removed memory context switch. Let the fun begin. 2008-11-24 00:00:18 +00:00
Angelo Salese
c631cfbab0 Double Wings: added "perfect bonus" and silenced printf debug voice. 2008-11-23 23:01:43 +00:00
davidhay
b3f7686686 tnzsjo and tnzso (at least) now require significantly higher interleave to work. 2008-11-23 22:32:28 +00:00
Aaron Giles
484da94b18 Most of the rest of the drivers converted. 2008-11-23 22:32:24 +00:00
Angelo Salese
73fb264753 Various improvements to the Double Wings protection handler. 2008-11-23 20:31:50 +00:00
Brian Troha
4d19ba579c Unified rom names in the Soldom sets. Most Jaleco Mega Sys 1 rom labels were just 1 - 10 or whatever with the version number printed on the label. So the new parent labels are used when the roms are identical.
Also properly labeled the priority prom in both sets.
2008-11-23 20:09:00 +00:00
davidhay
e46345e293 replace soldam roms with verified dump. 2008-11-23 19:41:42 +00:00
davidhay
c550a4136b some more memcpy bank cases. 2008-11-23 19:39:01 +00:00
davidhay
09bfa2a586 adds soldam clone
new clones
----------

Soldam (World?) [Gerald]

-------

please check sizes of roms 8 and 10, they're half the size of the japan set, but the content of the 1st half matches.
2008-11-23 17:56:59 +00:00
davidhay
d3fa796f72 we can probably do away with these hacks in tnzs.c as well (membank stuff) -- not tested
there's still the sync kludge for tnzs tho...
2008-11-23 17:32:47 +00:00
davidhay
ac999e7f71 doesn't look like robokid needs these rom loading hacks anymore with aaron's latest fixes. 2008-11-23 17:24:50 +00:00
Couriersud
80991da900 Pointer-"ified" the s2650 core
* Used s2650c to identify the state variable. This is unique within the 2650 core and may be renamed using simple replace.
2008-11-23 16:58:41 +00:00
Nicola Salmoria
12e44c67c4 removed ROM banking kludge 2008-11-23 16:05:14 +00:00
R. Belmont
f778678e3d Removed unused global tokens. 2008-11-23 16:04:49 +00:00
Aaron Giles
feaae49a0d Some more driver conversions to new functions. 2008-11-23 15:46:31 +00:00
davidhay
c5089beeeb removed some old notes from jchan driver, swapped interrupt order with view to fixing a (non-protection related) crash which happened in rare cases in jchan2 2008-11-23 11:31:50 +00:00
Roberto Zandona
33a5b7e9aa fix for mantis 02668 (please credit the fix to mamesick) 2008-11-23 10:47:15 +00:00
Roberto Zandona
a68e251fe8 add interleave in namcos22s machine driver start (mantis 02654) 2008-11-23 10:17:14 +00:00
Roberto Zandona
47d2909d62 fix for sound in bbmanwj (mantis 02667) 2008-11-23 10:03:56 +00:00
Aaron Giles
2f200eac6c More driver conversions, including snes and seicop, which were two big ones. 2008-11-23 07:12:37 +00:00
Aaron Giles
61347380f2 Began removal of program_* calls from drivers. 2008-11-23 03:16:04 +00:00
R. Belmont
987696750a Pointer-ified the M377xx. 2008-11-23 02:55:26 +00:00
Aaron Giles
2b5f8f5f0e Removed cpu_read_byte/cpu_write_byte. Fixed a few lingering compiler
issues. Fixed Z8000 crash.
2008-11-23 02:06:51 +00:00
Aaron Giles
3601d8880c Remaining CPU cores updated to new functions. 2008-11-23 01:24:32 +00:00
Aaron Giles
6885dcc750 TMS* CPUs conversion ... almost there. 2008-11-23 00:40:10 +00:00
Aaron Giles
cf2bb4f315 More memory conversions. 2008-11-23 00:05:00 +00:00
Aaron Giles
2d5bd758de More conversions, plus tested CPU cores that were previously disabled. 2008-11-22 23:01:08 +00:00
Aaron Giles
cd5d467fc8 NEC core converted. 2008-11-22 22:50:58 +00:00
Aaron Giles
7fbd73c60c A few more conversions. 2008-11-22 22:45:11 +00:00
R. Belmont
e1c619230f Un-deprecat'ed the H8. 2008-11-22 20:16:52 +00:00
Angelo Salese
6572c66934 Sound is *almost* there in Double Wings...need to know what is exactly the $d000 for... 2008-11-22 20:14:56 +00:00
Aaron Giles
0dcc155498 And the 6805 core. 2008-11-22 20:08:41 +00:00
Aaron Giles
5ca71f2d98 Missed a couple in the 68000 core. 2008-11-22 20:06:27 +00:00
Angelo Salese
03ca5fb70c Improved Z80 emulation with Double Wings,something weird is going on with this (rom mapped on a I/O area?) 2008-11-22 19:38:08 +00:00
Aaron Giles
8b675335b5 More conversion to the new memory functions.
And I will resist the urge to personally throttle those responsible
for copying and pasting the m6502 core 4 times. What a disaster.
2008-11-22 19:29:29 +00:00
Aaron Giles
9ee2f770aa Converted a bunch of CPU cores over to the new memory functions. 2008-11-22 18:38:41 +00:00
Angelo Salese
7173ebcdba Fixed restart points,fixed a stupid left-over bug with the first boss and attempt to add sound in Double Wings.
(and re-added GAME_NOT_WORKING flag,just to make Dave happy)
2008-11-22 18:26:40 +00:00
Aaron Giles
5d89160f3b Further debugger cleanup. Symbol tables now have a global ref
as well as a per-symbol ref. Debugcpu is now clear of active
CPU references and global Machine references.
2008-11-22 16:50:00 +00:00
Brian Troha
df6b68241f Added rom redump by Smitdogg Jones
uploaded to /roms/current/double-axle-redump.zip
2008-11-22 16:02:34 +00:00
Curt Coder
c08dc3127e [MC6845] Hsync needs to toggle on every scanline. 2008-11-22 13:13:23 +00:00
davidhay
09a2ffb043 adjusted bbusters volume balance slightly 2008-11-22 13:06:02 +00:00
davidhay
7f2d2d85cc pointer work on se3208 (although I haven't touched the disassembler..) 2008-11-22 12:51:57 +00:00
Couriersud
42c87ed6c8 Reverted case shifts 2008-11-22 11:55:51 +00:00
davidhay
8ad71d3e2a converted ssp1601 to pointers (still works, tested virtua racing genesis) 2008-11-22 11:53:14 +00:00
Couriersud
8ea1ea748c Optimized two more switch/case 2008-11-22 00:52:29 +00:00
Angelo Salese
08628f4fbb Fixed several protection issues with Double Wings (game promoted to have only the GAME_UNEMULATED_PROTECTION flag) 2008-11-22 00:49:10 +00:00
Couriersud
7e59b0b348 Switched adsp21xx to new memory functions
* simplified a few case statements
2008-11-22 00:26:31 +00:00
Couriersud
a0e6e5a2b0 Pointer-ified cpu/nec (V30) 2008-11-21 23:49:08 +00:00
davidhay
dac32ec750 copied LD crcs to parent firefox set. 2008-11-21 23:06:30 +00:00
Couriersud
783035dd88 Fix some missing "("s - Aaron, please check 2008-11-21 21:38:29 +00:00
Couriersud
1192928c0c Fix 64bit compile 2008-11-21 21:35:08 +00:00
Aaron Giles
5816061f8e Debugger interfaces cleanup. Still more to do but this compiles and
works. Added callback parameters to the expression engine. Improved
CPU parsing so you can use a CPU tag or index in most commands that
take one. Switched to passing CPU and address space objects around
where appropriate. Lots of other minor tweaks.
2008-11-21 16:53:48 +00:00
davidhay
3ae5e58ec1 increase interleave in firefox, seems to help with 'bad frames' 2008-11-21 08:52:05 +00:00
Roberto Zandona
d9301d2c2d spinlbrk: fix for bug 02092 2008-11-21 06:18:15 +00:00
R. Belmont
c522d198ac Converted H8 CPUs to the new memory functions. 2008-11-21 04:58:27 +00:00
davidhay
4c4252a048 replaced parent crkdown image with one containing valid settings data (prevents game booting with 0 seconds and invalid highscore data which it can't restore correctly) 2008-11-20 22:12:11 +00:00
Aaron Giles
9a0493f14a Pointer-ified the TMS32031 core. 2008-11-20 18:20:59 +00:00
smf-
fae2eb291a changed bios call logging to read registers directly & all other accesses to Machine have been removed. 2008-11-20 17:29:11 +00:00
Aaron Giles
bc79dad8bd Removed global Machine references as well. 2008-11-20 17:09:17 +00:00
Aaron Giles
0bf352e5e8 Pointer-ified the jaguar CPU core. 2008-11-20 17:07:08 +00:00
Aaron Giles
e23c6d6676 Fixed drc-based games. 2008-11-20 11:33:25 +00:00
Aaron Giles
ba6a03d734 Memory banking now requires a machine object. This makes the memory
system fully global-free, apart from the "active_address_space"
which will eventually go away.

Also fixed compiler errors from last checkin.
2008-11-20 11:14:38 +00:00
smf-
3dcbbe190e pedantic, probably should number from 1 instead of 0... 2008-11-20 10:18:05 +00:00
smf-
6d15316659 removed excessive casts and fixed mvmva bug introduced in last commit. 2008-11-20 10:13:45 +00:00
Aaron Giles
371cd0a56d Another big one.
Moved memory global state into a struct hanging off of the machine.
Updated almost all memory APIs to take an address_space * where
appropriate, and updated all callers. Changed memory internals to
use address spaces where appropriate. Changed accessors to point
to the memory_* functions instead of the address space-specific
functions. Improved internal handling of watchpoints.

Added cputag_* functions: cputag_reset(), cputag_get_index(),
cputag_get_address_space(). These just expand via macros to an
initial fetch of the CPU via cputag_get_cpu() followed by the
standard CPU call.

Added debugger_interrupt_hook() and debugger_exception_hook() calls
which intelligently look at the debugger flags before calling.

Did minimal cleanup of debugger, mainly moving CPU-specific data
to hang off of the CPU classdata for more direct access.
2008-11-20 09:50:31 +00:00
davidhay
e9b33a8462 fix 02656: elevator: Elevator Action freezes after coin insert with "8"
seems to need slightly better interleave.
2008-11-20 07:54:32 +00:00
davidhay
923e58812a fix broken crazywar eeprom 2008-11-19 23:23:36 +00:00
smf-
24022b72ca pointerified the psx cpu core & switched it to the new memory functions. Changed some MIPS_* to PSXCPU_* 2008-11-19 19:32:44 +00:00
Couriersud
2cd2454c39 Switched m6809 and hd6309 to new memory functions
* cleaned up some macros
* aligned code a bit more
* interrupts now checked in cpu_execute instead of set_context
2008-11-19 19:27:04 +00:00
smf-
47c75a8ef4 fixed unassigned variable warning. 2008-11-19 18:48:33 +00:00
R. Belmont
b95877564a Fixed "H8/3344" to "H8/3334" as per Guru. 2008-11-19 18:00:00 +00:00
Curt Coder
49a90686e8 Refactored the COP400 CPU cores to use the new memory functions. 2008-11-19 17:47:38 +00:00
Curt Coder
e0d6d1323d Refactored the CDP1802 CPU core to use the new memory functions. 2008-11-19 17:46:39 +00:00
Aaron Giles
fff915b5e5 Sums for firefox. 2008-11-19 14:41:36 +00:00
R. Belmont
3ac959ef71 Fixed GCC compile errors in h6280 and m6509.
Also fixed the read/write handlers in m6509 to use space->cpu->token instead of the global token.
2008-11-19 14:35:26 +00:00
Nicola Salmoria
2e97ff9c21 02641: strider and clones: Problem with graphics layer 2008-11-19 09:14:29 +00:00
Aaron Giles
0801d1254c Converted change_pc() into a no-op. Changed memory_set_direct_region() to
return a boolean indicating whether the given address was successfully
located in a bank. Change raw/decrypted access to look at this result, and
if the given address is not in a bank, calls through to the standard read
handlers.

In theory, this should prevent crashes when accessing opcodes. It does in
fact prevent mp_col3 from crashing.

Fixed address space mapping handlers to invalidate direct access regions
if a change is made to the mapping. This is needed to prevent the Sega
dynamic memory mapping chips from falling over.
2008-11-19 06:36:01 +00:00
R. Belmont
6c1655976f Big H8 update
H8:
- Added support for 8-bit H8 family MCUs, starting with the H8/3344
- Pointer-ified all H8 cores
- Some cleanup and renames toward additional future work

System 23:
- Added extremely preliminary support for I/O boards with the H8/3344
- Added new game: Motocross Go! (MG3 Ver. A) [credit Guru]
2008-11-19 03:29:10 +00:00
Couriersud
13bd16a090 Switched m68000 core to new memory functions 2008-11-19 00:32:54 +00:00
Angelo Salese
a46691cd90 Fixed basic controls in 2 Minutes Drill & added preliminary shutter/defender sensors.
Still need proper ball hit/run sensors to get this working however.
2008-11-18 22:47:57 +00:00
Couriersud
3a068d3dfb Switched mcs48 core to new memory functions 2008-11-18 22:45:35 +00:00
davidhay
c67957ebb2 Documented alt Ajax rom board [Phil Morris] 2008-11-18 21:25:50 +00:00
Couriersud
56a34c2e5b Switched mcs51 to new memory functions 2008-11-18 21:19:44 +00:00
Couriersud
4c415d118b Added check "#ifndef NO_LEGACY_MEMORY_HANDLERS" to memory.h
Defining NO_LEGACY_MEMORY_HANDLERS before the first include will identify all references to [program|data|io]_[read|write]_* in a source file.
2008-11-18 21:02:53 +00:00
Curt Coder
a8475e4c1e Pointerized the COP400 CPU cores. 2008-11-18 17:15:40 +00:00
Aaron Giles
09da237dcd Pointer-ified the ASAP core. 2008-11-18 16:33:33 +00:00
Aaron Giles
1c386d0958 Oops. 2008-11-18 14:22:56 +00:00
Nicola Salmoria
e6e7a3804d added forgott1 B-board PALs 2008-11-18 09:04:14 +00:00
Aaron Giles
7df8f23199 Spacegun regression. 2008-11-18 07:10:51 +00:00
Aaron Giles
84897712e6 Model 2/3 regressions. 2008-11-18 07:07:31 +00:00
Aaron Giles
3f0a9a822f midvunit regressions. 2008-11-18 07:02:01 +00:00
Aaron Giles
77b0991214 midzeus regressions. 2008-11-18 07:00:40 +00:00
Aaron Giles
0e44db781f evilngt regressions. 2008-11-18 06:50:30 +00:00
Aaron Giles
714f517a67 Fix checkmaj regression. 2008-11-18 06:34:35 +00:00
Aaron Giles
588cacb0e3 Fix orbit regression. 2008-11-18 06:30:31 +00:00
Aaron Giles
1311447092 Fix batrider regressions. 2008-11-18 06:27:48 +00:00
Aaron Giles
64afe93c65 Fix regressions in taito_f3 sound. 2008-11-18 06:23:14 +00:00
Aaron Giles
d83c8320da Cleaned up macro mess in the Z80 core. Switched to using
generic memory calls instead of program_* and io_*.
2008-11-18 06:16:30 +00:00
davidhay
fbb31ee3ae hack to prevent title screen corruption in galpani3 2008-11-17 23:40:40 +00:00
davidhay
23430c3df6 playing with blending effects in galpani3 2008-11-17 23:25:14 +00:00
davidhay
4af951fcb9 Tweaked gun handling in beast busters a bit.. by halving the precision of the guns to 7-bit they can be calibrated more easily, maybe the originals were like this. I've also added a default eeprom with them calibrated in a 'reasonable' way for MAME. Sound is pretty awful on this, maybe the sound ROMs should be checked? 2008-11-17 22:51:04 +00:00
Couriersud
ea25feb719 Fix taitowlf.c (pf2012) crash 2008-11-17 22:09:50 +00:00
davidhay
a088d32b1b fix compile 2008-11-17 22:05:39 +00:00
Couriersud
959698c099 Fix seattle.c crash (hyprdriv) 2008-11-17 22:03:25 +00:00
Curt Coder
ce73844036 Pointerized the CDP1802 CPU core. 2008-11-17 21:42:56 +00:00
Couriersud
29d45a2410 Add proper cpu_push_context to callbacks in m6800.c
* fixes crash in namcos1.c drivers
2008-11-17 21:20:13 +00:00
Couriersud
63644323b2 Fix gladiatr.c regressions. 2008-11-17 19:53:48 +00:00
Couriersud
454fee8885 Add cpu_reset to MACHINE_RESET
* no crash on linux. Somebody on windows please check lethalen.
2008-11-17 19:43:03 +00:00
Aaron Giles
e7c418ef0f Generalized the concept of opbase access into "direct" access.
Removed opbase globals to the address_space structure.
Cleaned up names of pointers (decrypted and raw versus rom and ram).
Added inline functions to read/write data via any address space.
Added macros for existing functions to point them to the new functions.
Other related cleanups.
2008-11-17 18:33:10 +00:00
Angelo Salese
cd6f509841 ST-V IRQ rewrite and that removes several global hacks/game specific hacks
(SMPC irq bit/introdon irq register hack/pblbeach framebuffer hack plus some more)

(Note: some games have issues with it,but they'll be hopefully fixed on the next couple of updates)
2008-11-17 16:56:53 +00:00
Aaron Giles
230eae0426 Added template support to regrep. Changed output to not color the
entire background of each cell. Switched to astrings and core_files
internally.
2008-11-17 10:40:43 +00:00
Nicola Salmoria
f8fcbc764c changed 6809 disassembler to work with kram3 2008-11-17 10:34:44 +00:00
Aaron Giles
5a9c7e2d2d Significantly pared down the 68k core. Merged outer MAME shell
into the core proper and removed unused macros. Changed all
external interfaces to pass the CPU device. Enabled 64-bit
operations by default. Re-derived the interface functions to
cascade and share code more aggressively.

These changes also seem to have cured the taito_f3 issues as
far as I can tell (at least pbobble3 seems right now).
2008-11-17 09:39:11 +00:00
davidhay
8b4ee77ef0 tried to document some more gp3 video registers 2008-11-17 08:40:55 +00:00
Aaron Giles
a5bf427929 Added "tag" parameter to state_save_register_item_* calls. Removed
state_save_combine_module_and_tag() function in favor of passing
the tag when registering. Revisited all save state item registrations
and changed them to use the tag where appropriate.
2008-11-17 06:21:26 +00:00
Couriersud
8aa46743d1 Some -literally- code alignment 2008-11-16 23:40:12 +00:00
Couriersud
8fd2054a6f move ea into state struct 2008-11-16 23:12:23 +00:00
Couriersud
13f4eec454 Fix icount
* m68_icount ==> m68_state->icount
* move ea into state struct
2008-11-16 23:07:17 +00:00
Couriersud
ad3179a0e2 Fix icount: m68_icount ==> m68_state->icount 2008-11-16 22:53:45 +00:00
smf-
ea20c30175 added device_config to the disassembler. 2008-11-16 21:59:16 +00:00
davidhay
e41849f68c new clone: Daitoride (YMF278B version) [Stefan Lindberg] 2008-11-16 21:41:15 +00:00
Angelo Salese
0aca405799 ST-V pre-irq rewrite part 3:
*Removed all the read/write handler speed-up hacks,they aren't needed anymore and they were doing more damage than being useful.
2008-11-16 21:10:44 +00:00
davidhay
2708cbd655 converted a comment into code in machine/kaneko16.c 2008-11-16 18:22:41 +00:00
davidhay
78f8527fa2 missing files from last checkin 2008-11-16 18:07:00 +00:00
davidhay
c7fac3d9db Naomi improvements [Samuele Zannoli]
This patch implements a "plug-in board" device for the Naomi.
It represents the rom boards for the various games and the dimm board for the gdrom.

Now the dimm board part contains only a routine to load the "rom file" from the gdrom chd, but in the future it will be fully implemented with its own sh4 processor, security chip and so on.

Extracted .rom files are no longer needed, rom file is extracted in code from the CHD.


(needs a little cleanup as it was based on pre-aaron 'change everything' code, but it's functional)
2008-11-16 17:20:03 +00:00
Aaron Giles
893b21cb33 Disassemblers now get the CPU object. 2008-11-16 15:40:41 +00:00
stephh
7dd6db7738 Fixed Dip Switches for 'scotrsht'. 2008-11-16 13:14:43 +00:00
Nicola Salmoria
b501279724 changed kram3 to use a partially understood decryption algorithm and removed external tables. 2008-11-16 12:23:23 +00:00
Nicola Salmoria
6aabfb37cb added m6809 config option to control where opcodes 10 and 11 fetch the second byte.
The disassembler needs to respect the setting too but I don't know how to inform it.
2008-11-16 12:21:58 +00:00
Nicola Salmoria
c675126853 documentation updates 2008-11-16 12:13:31 +00:00
Aaron Giles
f326c2c29e More disentangling of the 68000 core. Removed old unused CPS2
encryption junk. Changed encryption interfaces to pass the
CPU core object. Unwound several levels of macros for accessing
memory. Still more to do.
2008-11-16 07:02:39 +00:00
Aaron Giles
1794cfa5a1 Terminology cleanup. "Machine" handlers are now "space" handlers. 2008-11-15 21:36:21 +00:00
Aaron Giles
41b8e37e3d Added generic read/write callbacks. 2008-11-15 21:04:15 +00:00
Aaron Giles
d10a7cccd5 God forbid, neogeo doesn't work.... 2008-11-15 20:02:40 +00:00
Angelo Salese
215684165e (Fixed a stupid bug with MDRV_SCREEN_SIZE in ST-V that was causing crashes in elandore (and probably something else)) 2008-11-15 19:18:58 +00:00
Angelo Salese
98f8897cba Converted cultures driver to have separated color tables for each plane.
(yes I did a quick test,current implementation makes (for example) human skin colors memory address to be equal to the palaces colors memory address in the intro)
2008-11-15 18:01:40 +00:00
Angelo Salese
44583b05fd Pre-irq rewrite submission part 2:
* Fixed Final Arch broken Test Mode;
* Demoted Super Major League / Final Arch as GAME_NOT_WORKING,they hangs randomly due of SH-2 master/slave communication RAM issues;
* Removed GAME_NOT_WORKING flag to Fighting Dragoon Legend Elan Doree,because protection affects only in-game graphics and not gameplay;
2008-11-15 17:39:17 +00:00
davidhay
b499b7d922 new clone - Violent Storm (ver UAC) [Bill DeLeo]
new clones added
-----------------

Violent Storm (ver UAC) [Bill DeLeo]

(this is newer than the existing USA set, the night slashers he dumped turned out to be the same as an existing set)
2008-11-15 17:11:42 +00:00
davidhay
f5deb8a160 new clone Street Fighter II' - Champion Edition (Rainbow set 3, bootleg) [Bill DeLeo]
new clones added
----------------

Street Fighter II' - Champion Edition (Rainbow set 3, bootleg) [Bill DeLeo]
2008-11-15 17:03:11 +00:00
Nicola Salmoria
a85f5f7da0 fix compile error in debug build 2008-11-15 16:06:00 +00:00
davidhay
ccaabffa9a galpani3 - trying to understand the priority buffers 2008-11-15 14:29:32 +00:00
davidhay
adcf037801 fixed minor typo 2008-11-15 13:38:18 +00:00
davidhay
f00860abfc improvements to galpani3 rle blitter 2008-11-15 13:30:12 +00:00
davidhay
bf8d2c9b0e more galpani3 progress 2008-11-15 12:52:44 +00:00
smf-
1911f822bf fixed passing of address space to ojankoc_flipscreen 2008-11-15 12:25:43 +00:00
smf-
3d5f21ae45 address space compilation errors. 2008-11-15 11:53:04 +00:00
smf-
f063e62973 address space compilation errors. 2008-11-15 11:50:54 +00:00
smf-
c0ea087a5d address space compilation errors. 2008-11-15 11:42:08 +00:00
smf-
da9ccc6f75 address space compilation errors. 2008-11-15 11:41:15 +00:00
Couriersud
0182454e02 Fix a couple of compile warnings 2008-11-15 11:21:20 +00:00
smf-
b2446584f6 address space compilation errors. 2008-11-15 11:18:48 +00:00
smf-
272b3f6725 address space compilation errors. 2008-11-15 11:17:05 +00:00
smf-
1ae79e5da7 address space compilation errors. 2008-11-15 11:02:26 +00:00
smf-
6e7a48d3d2 address space compilation errors. 2008-11-15 10:53:56 +00:00
smf-
03461c69b0 address space compilation errors. 2008-11-15 10:46:37 +00:00
smf-
1271bd2000 address space compilation errors. 2008-11-15 10:41:30 +00:00
smf-
a6b0582343 address space compilation errors. 2008-11-15 10:37:59 +00:00
smf-
763ddc92e6 address space compilation errors. 2008-11-15 10:31:01 +00:00
smf-
e926e13aa3 address space compilation fixes. 2008-11-15 10:20:18 +00:00
smf-
4d78362d45 address space compilation fixes. 2008-11-15 10:17:02 +00:00
Aaron Giles
6ace92f89a Sega/Williams compile and crash fixes. 2008-11-15 07:43:42 +00:00
R. Belmont
70d25997ad And again. 2008-11-15 04:25:36 +00:00
R. Belmont
3d9c20387c Backout a change that mainline's not ready for yet. 2008-11-15 04:24:44 +00:00
R. Belmont
c43dcc6ad3 Namco compile cleanups. 2008-11-15 04:20:13 +00:00
R. Belmont
54ac5adba7 Compile fix for 80808bw. 2008-11-15 03:39:57 +00:00
R. Belmont
89a2502400 Konami compile fixups. 2008-11-15 03:35:43 +00:00
Aaron Giles
fd5b836964 Const-ified the return from cpu_get_address_space.
Fixed a few errors.
2008-11-15 03:29:32 +00:00
R. Belmont
84f62ff4bf Another batch of compile fixes. 2008-11-15 03:23:21 +00:00
R. Belmont
3ada625d3b Missed one. 2008-11-15 03:09:34 +00:00
R. Belmont
9e5ad97df1 Fix compile errors in Capcom drivers 2008-11-15 03:08:59 +00:00
R. Belmont
fb3b4622d9 A few more compile fixups. 2008-11-15 02:58:27 +00:00
Couriersud
20ffe03685 More warning fixes for mame/audio 2008-11-15 01:58:22 +00:00
Couriersud
cdd245a3a6 More warning fixes for mame/machine 2008-11-15 01:39:42 +00:00
R. Belmont
c40879b61f More compile fixes. 2008-11-15 01:21:19 +00:00
Couriersud
a62a727e52 Fix more warnings drivers[s-z]* 2008-11-15 00:29:23 +00:00
Couriersud
1527ec9b1e Fix more warnings drivers[l-r]* 2008-11-14 23:22:04 +00:00
davidhay
bb7d965b89 new clone from Ross Myers
---------
Puzzle Bobble 2 (Ver 2.3O 1995/07/31) [Ross Myers]

---- note
At the moment the Taito F3 driver is pretty broken, it has been since the 68000 core changes in the last u update.

For this clone to boot I've had to add a patch, it's checking something, can somebody find out what? Seems odd.

I've also removed all speedups in the driver, the 68020 games are fast enough on modern hardware that the speedups aren't really worthwhile.
2008-11-14 22:30:05 +00:00
Couriersud
1b81e58b3c Fix more compile warnings drivers/[e-k]* 2008-11-14 22:12:41 +00:00
Couriersud
db679cd882 Some drivers/d* warning fixes 2008-11-14 21:15:09 +00:00
Couriersud
96bec61eba Some drivers/c* warning fixes 2008-11-14 21:08:42 +00:00
Couriersud
830b793ad5 Fix warnings for some c* drivers 2008-11-14 21:02:47 +00:00
Couriersud
39c1409ac6 Fix some drivers/a* warnings 2008-11-14 20:44:31 +00:00
davidhay
89258aca9d continued progress with Gals Panic 3, starting to understand the video side of things. 3 bitmap layers + RLE blitter + priority layer. 2008-11-14 20:40:28 +00:00
Couriersud
050b0d8cf2 Fix 8042kbdc.c and pci.c warnings 2008-11-14 20:31:42 +00:00
Couriersud
838a729328 Fix mc146818 warnings 2008-11-14 20:28:36 +00:00
Couriersud
1f14213be2 Fix mario.c compile errors 2008-11-14 20:24:04 +00:00
Couriersud
606b1c958d Fix dkong compile warning 2008-11-14 20:01:52 +00:00
Couriersud
4f71d0aa98 Fix compile error #2 2008-11-14 19:59:04 +00:00
Couriersud
7749448b1f Fix compile error 2008-11-14 19:54:03 +00:00
Aaron Giles
537c9becf6 WARNING: this compiles, but not fully cleanly, and a number of drivers
are broken.

Changed READ/WRITE handlers to accept an address_space * instead of a
machine *. The address_space object was enhanced to contain a machine
and a pointer to the relevant CPU object.

Fixed a number of errors found by the compiler, mostly in the core and
CPU/sound handlers, but there is a lot remaining to fix.

Added new function cpu_get_address_space() to fetch the address space
for calling in manually to these functions. In some instances, code
which should eventually be converted to a device is hard-coding fetching
the program space of CPU #0 in order to have something valid to pass.
2008-11-14 16:43:46 +00:00
Angelo Salese
9c085ae0fa Pre-irq rewrite submission in ST-V driver:
* Better management of hblank/vblank bits;
* Makes dynamic resolutions to be called with a timer instead of run-time;
* Makes dynamic resolutions to not be changed at every frame but only when there's an actual change;
This fixes Golden Axe: the Duel gameplay speed at the cost of breaking up Groove on Fight coin counter at start-up.
2008-11-14 15:53:19 +00:00
Couriersud
e759767ce0 Renamed M6802_IRQ_LINE to M6800_IRQ_LINE
* this fixes compile error
2008-11-14 08:02:44 +00:00
Couriersud
9ad6fe0049 Pointer-ified the 6800, 6809 and hd6309 cpu cores
* temporarily named the state var m68_state in the 68xx cores
* reorganized some code for simpler comparison of 68xx cores
2008-11-14 07:49:20 +00:00
Angelo Salese
1463838fdc Removed a vblank/hblank hack in Filetto and emulated it properly. 2008-11-14 00:46:34 +00:00
davidhay
a65d0450f6 more gals panic 3 work 2008-11-13 23:29:56 +00:00
davidhay
f56e314295 rearrange memory map in galpani3 a bit, to make things clearer 2008-11-13 22:59:07 +00:00
davidhay
737c060089 let gals panic 3 run more of it's attract mode 2008-11-13 22:43:00 +00:00
davidhay
52e6f0c7d0 new clone
----------
Beast Busters (US, Version 2) [Brian Hargrove]
(he hasn't confirmed if he's OK being credited with his real name yet, so if the situation changes I'll mail the list)

I've also DEMOTED Beast Busters to non-working.  As soon as you calibrate the guns the game fails, and without calibrated guns you can't really play.  The gun reading is hacked, as are the gun interrupts.  This needs fixing *properly*, at which poin I imagine it will actually work, and no just hang after calibration.  From what I can tell it's never worked after calibration hence the demotion.
2008-11-13 22:21:50 +00:00
stephh
d3046b899f "Fix" Mantis bug ID 02648 (BTNAB explanations). 2008-11-13 22:20:46 +00:00
Couriersud
a036befa08 Remove a #if 1 2008-11-13 21:52:38 +00:00
davidhay
a3686b9816 demo sound dip was inverted in jchan/jchan2 2008-11-13 21:20:05 +00:00
davidhay
17eea2a952 Fixed sound loading in jchan / jchan2 [Angelo Salese]
original dump was fine, there just needed to be a gap in the rom loading.. there are still some 'nasty' sounds, but this seems typical of our ymz280b emulation, I'm still pretty sure the ADPCM decode is broken, it must be 'special'.

I've also promoted them to playable.. so

New Playable Games
------------------

Jackie Chan - The Kung-Fu Master [David Haywood, Andreas Naive, stephh, Angelo Salese]
Jackie Chan in Fists of Fire [David Haywood, Andreas Naive, stephh, Angelo Salese]
2008-11-13 21:17:42 +00:00
davidhay
c13cd25c67 from MAMEPlus
this documents the CPS2 Phoenix sets, and what happens to a dead CPS2 board.

I think it's important we start keeping track of these now as they're finding their way onto bootleg boards, with further hacks and modifications made along the way.

Far from an ideal situation, but, our job is to document the facts, not discriminate by ignoring them.
2008-11-13 20:51:38 +00:00
stephh
3dccbb1adc Fixed Dip Switches and Inputs for 'jchan' and clone. 2008-11-13 20:12:09 +00:00
davidhay
392f4365c9 made sample area bigger in jchan (prevent out of bounds crashes) 2008-11-13 08:25:17 +00:00
Aaron Giles
62a2f2fba0 This patch:
- removed unnecessary deprecat.h includes
- replaces Machine with existing running_machine* instances
- re-adds a peroid I accidentally removed when changed a message to
use defines
- adds a running_machine* to win_window_info and debugwin_info to get
rid of most Machine occurances and clean up the running_machine*
parameters I added in the past

[Oliver Stoeneberg]
2008-11-13 07:33:00 +00:00
Aaron Giles
cbd240d0de This patch replaces the Machine parameter where an running_machine *
is available and removes the deprecat.h where unnecessary.

[Oliver Stoeneberg]
2008-11-13 07:23:50 +00:00
Aaron Giles
4af530d9e8 Hooked up disconnected reset functions. 2008-11-13 07:11:52 +00:00
Aaron Giles
eb08400613 From AtariAce:
With Aaron's change to macroize the cpu apis, the cpu/sound interfaces
are now using different idioms.  This patch fixes that.  It uses the
prefix SND_ instead of SOUND_, to avoid changing SOUND_START,
SOUND_RESET in driver.h.  While working on it, I noticed that the
reset routines for k053260, msm5205, upd7759 and vlm5030 aren't hooked
up, but I decided this was an oversight and macroized the functions
anyways (but left them unhooked).
2008-11-13 07:07:54 +00:00
Aaron Giles
63d10ee9bf Massive API cleanup/change. The primary goal is that all CPU-
related APIs now take a device pointer instead of an index.
All functions that take a CPU device are prefixed with cpu_*
All functions that are globally related to cpu execution
are prefixed with cpuexec_*. Below is a list of some of the 
mappings:

  cpu_boost_interleave     -> cpuexec_boost_interleave
  cpunum_suspend           -> cpu_suspend
  cpunum_resume            -> cpu_resume
  cpunum_is_suspended      -> cpu_is_suspended
  cpunum_get_clock         -> cpu_get_clock
  cpunum_set_clock         -> cpu_set_clock
  cpunum_get_clockscale    -> cpu_get_clockscale
  cpunum_set_clockscale    -> cpu_set_clockscale
  cpunum_get_localtime     -> cpu_get_local_time
  cpunum_gettotalcycles    -> cpu_get_total_cycles
  activecpu_eat_cycles     -> cpu_eat_cycles
  activecpu_adjust_icount  -> cpu_adjust_icount
  cpu_trigger              -> cpuexec_trigger
  cpu_triggertime          -> cpuexec_triggertime
  cpunum_set_input_line    -> cpu_set_input_line
  cpunum_set_irq_callback  -> cpu_set_irq_callback

In addition, a number of functions retain the same name but
now require a specific CPU parameter to be passed in:

  cpu_yield
  cpu_spin
  cpu_spinuntil_time
  cpu_spinuntil_int
  cpu_spinuntil_trigger
  cpu_triggerint

Merged cpuint.c into cpuexec.c. One side-effect of this
change is that driver reset callbacks are called AFTER the
CPUs and devices are reset. This means that if you make
changes to the CPU state and expect the reset vectors to
recognize the changes in your reset routine, you will need
to manually reset the CPU after making the change (since it
has already been reset).

Added a number of inline helper functions to cpuintrf.h for
managing addresses

Removed cpu_gettotalcpu(). This information is rarely needed
outside of the core and can be obtained by looking at the
machine->cpu[] array.

Changed CPU interrupt acknowledge callbacks to pass a CPU 
device instead of machine/cpunum pair.

Changed VBLANK and periodic timer callbacks to pass a CPU
device instead of machine/cpunum pair.

Renamed all information getters from cpu_* to cpu_get_* and
from cputype_* to cputype_get_*.
2008-11-13 06:59:57 +00:00
davidhay
451a03ff70 Kaneko update part 4:
gals panic 3 video improvements
2008-11-13 02:17:16 +00:00
davidhay
d567059cc7 Kaneko update part 3:
more Jackie Chan video improvements (view2 tilemaps)
2008-11-13 02:11:49 +00:00
davidhay
61a50d7642 Kaneko changes part 2
- some improvements to Jackie Chan video
2008-11-13 02:04:06 +00:00
davidhay
9d48421e71 Kaneko changes part 1
Added Simulation of Toybox external data rom decryption from Andreas
Converted Blood Warrior, Bonk's Adventure, Great 1000 Miles Rally 1+2 to use the new code.

Updated suprnova rendering to allow 2 sprite chips.

Started work on Jackie Chan & Gals Panic 3
2008-11-13 01:50:27 +00:00
Couriersud
00ac825a67 Fix state save in discrete sound
* sndindex now considered as well in state save
* expose discrete_sound_n_r(void *chip, ...) to enable accessing multiple discrete sound cores

Curt Coder, is this sufficient?
2008-11-12 22:12:44 +00:00
stephh
7745124dc6 Fixed Dip Switches for 'joyfulr' and clone. 2008-11-12 22:11:57 +00:00
stephh
0e4d375955 Fixed Dip Switches for 'momoko'. 2008-11-12 18:09:55 +00:00
Couriersud
6fae8bbbfa abc_step and abc_reset now declared as DISCRETE_STEP( abc ) and DISCRETE_RESET( abc ) 2008-11-12 00:27:42 +00:00
Couriersud
7368532498 peplus.c updates
* changed the 6845 type to R6545_1 (Rockwell as mentioned in the driver).
* use transparent addressing
* lightpen code now generates a "lightpen_assert" at the right screen position. 
* Completely hooked up 6545 without wrappers.
2008-11-11 22:26:39 +00:00
Couriersud
08f0fa3f6c Transparent mc6545 phi1/pi2 addressing
* implemented support for phi1/phi2 transparent addressing
* added callback to communicate address back to driver

Implementation is not and can not be "clock" accurate since the timing is totally up to the hardware implementation. It is the main cpu and hardware which determines phi clocking and when data is written to video ram. The only support in the 6545 is that the update address is latched out to the ma lines during phi2.
2008-11-11 22:23:08 +00:00
Angelo Salese
5612216269 Added the Vs. Skate Kids set.
(program roms are identical to Vs. Super Mario Bros. (alt),just the graphical roms are completely reworked,I don't know if it is worth supporting...)

(PS: do not credit me on this)
2008-11-11 16:42:26 +00:00
stephh
954efd1fba Fixed Dip Switches for all games in mermaid.c driver. 2008-11-11 04:07:48 +00:00
Nathan Woods
2f64840531 Sync with MESS 2008-11-11 03:58:52 +00:00
stephh
5590dc71fe Oops ... I checked the old version instead of the new one :( Sorry again ... 2008-11-10 22:26:51 +00:00
stephh
9f7d6fddec Fixed Dip Switches for 'magmax'. 2008-11-10 22:16:08 +00:00
stephh
37a9c85f4d Fixed Dip Switches for 'lkage' and clones.
Fixed bootlegs visible area to match original sets.
2008-11-10 18:41:18 +00:00
Aaron Giles
c3d385fddd Converted TMS340x0 cores to be pointer-based. 2008-11-10 16:49:10 +00:00
Aaron Giles
5b96808e6d Fix compile error. 2008-11-10 16:01:18 +00:00
Aaron Giles
b5f1e96c98 Removed save_device pattern if favor of just accepting the
device from the reset.
2008-11-10 08:56:38 +00:00
Aaron Giles
6f4ee44948 Added CPU device parameters to all CPU callbacks except for the
context ones (which are going away), the disassembler (which should
have no dependencies on the live CPU), and the validity check.

Removed global token from all pointer-ified CPU cores that don't
have internal read/write callbacks (which still need to reference it).
2008-11-10 08:51:06 +00:00
Aaron Giles
92f3053105 Major cpuintrf changes:
* added a set of cpu_* calls which accept a CPU device object;
  these are now the preferred means of manipulating a CPU

* removed the cpunum_* calls; added an array of cpu[] to the
  running_machine object; converted all existing cpunum_* calls
  to cpu_* calls, pulling the CPU device object from the new
  array in the running_machine

* removed the activecpu_* calls; added an activecpu member to
  the running_machine object; converted all existing activecpu_*
  calls to cpu_* calls, pulling the active CPU device object
  from the running_machine

* changed cpuintrf_push_context() to cpu_push_context(), taking
  a CPU object pointer; changed cpuintrf_pop_context() to
  cpu_pop_context(); eventually these will go away

* many other similar changes moving toward a model where all CPU
  references are done by the CPU object and not by index
2008-11-10 07:42:09 +00:00
Angelo Salese
7c2bd582be small bugfix for the Tetris sub-game in Filetto 2008-11-10 00:31:12 +00:00
Angelo Salese
59097d6646 Hooked up properly several PC-based devices in Filetto,game now works without sound.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Filetto [Angelo Salese]
2008-11-09 23:38:09 +00:00
Angelo Salese
d15169631e Fixed a crash bug with elandore protection handling. 2008-11-09 22:56:51 +00:00
Couriersud
ce58dbba34 * Renamed mcs51_regs to mcs51_state_t
* Renamed mcs51 to mcs51_state

Shouldn't the state struct just be called cpu_state?
2008-11-09 22:39:33 +00:00
Couriersud
819a970684 Fix deleted CHECK_IRQ_LINES() 2008-11-09 22:38:41 +00:00
Couriersud
e7d938fa2b Formatting, identation
* the hd6309 is very similar to the m6809, cleaned up a bit for windiff & friends.
2008-11-09 22:18:17 +00:00
Couriersud
b8ae0cadbe i960 core switched to pointer state access 2008-11-09 21:51:12 +00:00
Couriersud
d6dedbdedf Converted i8x41 to use pointers for state access
Separated opcodes into i8x41ops.c
2008-11-09 20:38:33 +00:00
Angelo Salese
16b4f15e2d Video emulation fixes to the Ghost Eolith HW (not yet working) 2008-11-09 19:13:15 +00:00
Angelo Salese
ecffdc96cb Clean-ups in the ST-V driver and corrected protection number seeds for elandore. 2008-11-09 14:25:38 +00:00
Jonathan Gevaryahu
bc72141598 s14001a.c: added chip pinout and operation notes. 2008-11-09 08:51:47 +00:00
Aaron Giles
9407fecd2d Populated tag and static_config parts of fake CPU device. Removed 'config'
parameter from CPU_INIT. Modified CPU cores to pull config from the device
static_config.
2008-11-09 07:12:24 +00:00
Roberto Zandona
70365a3886 i8x41: fixed missing space at the end of file 2008-11-09 06:23:36 +00:00
Couriersud
a65a044779 UPI-41/42 (still I8x41.c) changes:
* cpu/i8x41 should be renamed to UPI-4x, since UPI-41/42 was an intel chip family
  postponed for now until core moved to pointers.
* removed I8041 definition from mcs48
* removed I8x41 cpu definition and config struct
* added I8041, I8741, I8042, I8242 and I8742 cpus to i8x41.c
* added internal memory maps
* internal ram now uses DATA memory space
* updated drivers
* increased interleave to 70 in decocass. This fixes decocass hanging in countdown around 13
  No idea when this bug was introduced.
2008-11-09 02:09:40 +00:00
Aaron Giles
1e16c45212 Cleanups/version bump. 2008-11-09 01:04:37 +00:00
Aaron Giles
ac7689264e Star Castle drone sound improvement from Jim Hernandez. 2008-11-08 21:12:38 +00:00
Aaron Giles
5fc6083545 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Friday, November 07, 2008 9:47 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] More header files for mame

Hi mamedev,

Here's another set of about 20 new include files for MAME.  As before,
the only issues discovered by the migration were some dead prototypes.

~aa
2008-11-08 21:09:42 +00:00
Aaron Giles
6a979c82ff From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Wednesday, November 05, 2008 7:21 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] New include files for drivers

Hi mamedev,

Here's a patch that adjusts a few existing include files, but
principally adds new include files for about twenty existing drivers.
This found a few dead prototypes, but otherwise didn't reveal any
errors.

~aa
2008-11-08 21:08:00 +00:00
Aaron Giles
096529d2d8 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Wednesday, November 05, 2008 8:22 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Add ADDRESS_MAP_NAME macro

Hi mamedev,

In theory, MAME's interface macros should completely hide the naming
conventions from the drivers and sound/cpu cores.  So as an
experiment, I renamed all the core apis and looked to see what broke.
The most common api coupling was with address maps in the CPU cores,
which this patch addresses by introducing a new macro,
ADDRESS_MAP_NAME (mimicing what is done in devintrf.h).  There were a
handful of related problems in some drivers which this patch also
fixes.  Some remaining issues I left alone (laserdisk apis reference
rom, video_update, machine_config, ksys573 use of nvram_handler,
megadriv use of ipt), in principle all the apis need _NAME variants to
encode the conventions.

~aa
2008-11-08 21:06:35 +00:00
smf-
0a22e550b3 fixed unassigned variable error. 2008-11-08 20:01:52 +00:00
Aaron Giles
226c3b5b26 From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Wednesday, November 05, 2008 1:53 AM
To: submit@mamedev.org
Subject: fix for MT 2626

Hi, 

enclosed please find a patch to fix missing buttons for crime fighter 2p (Button 3 and Start)

Regards,
   Fabio
2008-11-08 19:31:46 +00:00
Aaron Giles
edb3cec01e From: <razoola@cps2shock.com>
To: "Nicola Salmoria" <nicola.salmoria@virgilio.it>
Sent: Tuesday, November 04, 2008 5:48 PM
Subject: CPS2 driver.


> Hi,
>
> I have updated the CPS2 driver to bring all ROM names back in line with
> Capcom's naming system (which they print on the stickers). The changes are
> quite minor and include bringing the SIMM dump names into one format. Also
> included is a fix to Gigawing ROM names and Street Fighter Zero 2 Alpha,
> which ROM names broke after the split from Street Fighter Zero 2 in the
> last
> MAME update.
>
> I though it would be good to do this as the same seems to be going on in
> the
> NeoGeo driver. Around ten sets are affected in total.
>
> Regards, Raz
>
2008-11-08 19:31:08 +00:00
Aaron Giles
7054e5c3f3 From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Sunday, November 02, 2008 9:56 AM
To: submit@mamedev.org
Subject: expro02 missing?

Hi!

I don't know what is happened with my last diff, but this one fixed the missing part.
Bye Sonikos
2008-11-08 19:29:53 +00:00
Aaron Giles
274be4757c From: Corrado Tomaselli [mailto:corrado.to@tiscali.it]
Sent: Saturday, November 01, 2008 7:14 PM
To: submit@mamedev.org
Subject: psycho nics oscar revision change

I changed Psicho Nics Oscar (japan revision 0) to (world revision 0)
since there is no japan disclaimer
2008-11-08 19:27:50 +00:00
Aaron Giles
b67d1cd7cb Dear Aaron,
please find herewith attached a new game dumped from Russia.
The PCB has been lent by "Soviet Arcade Games Museum" www.15kop.ru
Dump and diff by "Antro" (my Italian friend living in Moskow)

Snezhnaja Koroleva [Antro]
2008-11-08 19:26:42 +00:00
Angelo Salese
2d1fbafcdf Done some work on the Forte Card driver,not yet working. 2008-11-08 16:38:51 +00:00
davidhay
8d4cad0b8c minor 32x cleanup + comment 2008-11-08 15:11:50 +00:00
davidhay
7d5f7355a4 reorganized 32x code a bit. 2008-11-08 13:49:52 +00:00
Aaron Giles
2ba1a99283 Added macros for all CPU callbacks to ease future changes.
Updated all CPU cores to use them.
2008-11-08 09:20:43 +00:00
Andrew Gardner
e8ec5637ac Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner, PhilB, RBelmont)
* Added proper clock speed to plygonet.c and internal divider to dsp56k.c
* Fixed up disassembler add/sub, 05xx, and bsr ops.
* Handle mysterious uuuuF instruction found in plygonet add op.
* Partially implemented add, sub, mac, mpy, inc, cmpm, macr, asr16, jscc, lea, and movec ops.
* Added dual X memory read and data move with short displacement parallel moves.
2008-11-08 07:18:03 +00:00
Couriersud
eed3bdac15 Merged DS5002FP into MCS51
* Merged DS5002FP
* Disassembler now uses type specific memory names
* Merged DS5002FP disasm
* added 83C751 memory names to disassembler
* delete DS5002FP specific files
* removed unnecessary cpu callback in wrally
* DATA_MAP ==> IO_MAP in wrally
2008-11-07 22:44:14 +00:00
Angelo Salese
109198d018 Various improvements in the ST-V driver:
* Fixed bitmap zooming in Virtual Mahjong 2 - My Fair Lady;
* Worked around a major graphic bug in ElanDoree;
* Added some missing alpha blending effects,Pro Mahjong Kiwame S title screen needs it but it doesn't work yet due to other problems (still investigating)
* Fixed a crash bug with Astra Super Stars when the debugger is active.

(this is to sync with svn tree,ST-V will be further improved on a later stage)
2008-11-07 17:20:54 +00:00
Aaron Giles
e1aca15f22 More 68000 cleanup. 2008-11-07 14:46:20 +00:00
Aaron Giles
127f85b517 Fixed 68020+ 2008-11-07 14:30:45 +00:00
Yasuhiro Ogawa
7ec608af23 fixed background color of srmp1/srmp2 (by EdxGROfS0) 2008-11-07 07:31:54 +00:00
Aaron Giles
c9d4c8dad4 Minor fixes. 2008-11-07 06:17:58 +00:00
Couriersud
e6b9dd6ef7 Fix a reg-ex replace issue - Thx Andrew Gardner! 2008-11-07 00:37:41 +00:00
Couriersud
e4550f0b66 "Pointer"-ified the 6502
* a perfect candidate for a code merge. Replication all over the place.
2008-11-07 00:07:57 +00:00
davidhay
42c486632b i386 seems to already be defined by the compiler? changed to _i386 2008-11-06 22:59:43 +00:00
Couriersud
bc35b2d9e9 Some more gcc 64bit tranquilizers 2008-11-06 22:53:42 +00:00
Couriersud
552fc58ce5 Fix 64 bit compile
* Aaron, please review my change.
2008-11-06 20:44:41 +00:00
Aaron Giles
b44da3b748 WARNING: This is a significant change. If you are risk-averse and
working on something, hold off syncing.

Defined macros for core CPU functions: CPU_INIT, CPU_RESET, CPU_EXIT,
CPU_EXECUTE, along with macros for the name and for calling, in the
spirit of the devintrf.h macros. More will come later.

Changed init, reset, exit, and execute interfaces to be passed a
const device_config * object. This is a fake object for the moment,
but encapsulates the machine pointer and token. Eventually this will
be a real device.

Changed the CPU IRQ callbacks to a proper type, and added a device
parameter to them.

Updated all CPU cores to the new macros and parameters.

Note that this changes the way we "pointer"-ify cores. I'll send an
update shortly.
2008-11-06 18:42:37 +00:00
Aaron Giles
1228d0ad9e Fixed a few issues caught by an MSVC compile (why doesn't gcc complain??) 2008-11-06 15:44:58 +00:00
davidhay
3d15bc42d0 32x changes which benefit tempo 2008-11-06 11:02:52 +00:00
Aaron Giles
bf2501e3b7 Removed a bunch of useless macros. Consolidated several others.
Standardized on MAME types. Defined uint/sint to be 32-bits
rather than all this target platform guessing about how many
bits are in an int.
2008-11-06 10:38:54 +00:00
Aaron Giles
67db279bb2 Fixed compilation issues with 68000 changes.
Began the process of pruning options from the 68000 core, hard-coding it
for MAME's needs. We've hacked on it sufficiently that it is no longer
generic, so this is a good opportunity to simplify the code so that it
can actually be followed.
2008-11-06 10:17:31 +00:00
Aaron Giles
31ae2af798 "Pointer"-ified the 68000. What a mess!
There are a few remaining globals; we'll get them later.
2008-11-06 09:32:27 +00:00
Aaron Giles
cfad1bef05 Re-added suspend/resume synchronization to fix a few games. 2008-11-06 07:08:18 +00:00
Aaron Giles
2e8af3ea7e "Pointer"-ified the ADSP-21xx core. 2008-11-06 07:01:14 +00:00
Aaron Giles
28d48b383c Fixed bug in new quantum code that could result in an invalid
interleave of 0 being used. Fixes problems with stv games.
2008-11-06 06:05:44 +00:00
Aaron Giles
c0770e14ce Changed core cycle computations to use div_64x32 instead of full 64-bit
divides. This involves tossing a few bits of resolution at divide time,
but should make no real difference in practice.
2008-11-05 16:52:52 +00:00
Aaron Giles
49452d9473 Oops, didn't mean to check in the digdug hack for perfect interleave. 2008-11-05 16:50:52 +00:00
Aaron Giles
94233e688d Fix bad bug in scheduler quantum code. 2008-11-05 16:37:40 +00:00
Aaron Giles
a33640f46d Added concept of scheduling quanta to the timer system. Also added
means of setting the minimum useful scheduling quantum, and clamping
all quanta to that value.

Changed interleave/boost handling to use scheduling quanta instead
of timers.

Added machine parameter to cpu_boost_interleave.

Updated cpuexec to compute the "perfect" interleave value taking into
account the minimum number of cycles per instruction specified by the
CPU core. Updated Z80 core to indicate that the minimum cpi is 2. Fixed
incorrect minimum cpi in the 68020+ cores.

Simplified a bit of logic in cpuexec_timeslice.
2008-11-05 16:04:56 +00:00
Couriersud
82c3ffc153 "Pointer-ified" the mcs51 core 2008-11-05 00:10:21 +00:00
Couriersud
94e16603c5 "Pointer-ified" the mcs48 core 2008-11-04 23:19:16 +00:00
Angelo Salese
62195dc9a0 Fixed coinage in Speed Attack! and cleaned-up the driver to current standards.
(And added a re-write note to Speed Attack and Yumefuda drivers)
2008-11-04 20:41:25 +00:00
Aaron Giles
62d7168295 Pointer-ified the R3000 core. 2008-11-04 15:24:49 +00:00
Aaron Giles
d060c4694b "Pointer-ified" the Z80 core as an example for testing. 2008-11-04 14:57:03 +00:00
Curt Coder
7d4023e2c4 [MC6845] Reverted all changes. 2008-11-04 11:52:42 +00:00
davidhay
6fb55dfbf7 added 32x rendering 'mode 2' (15bpp) 2008-11-04 08:40:41 +00:00
Aaron Giles
79f8cc1cf8 From: Micko [mailto:mmicko@gmail.com]
Sent: Sunday, November 02, 2008 1:04 AM
To: Aaron Giles
Subject: Z80 CPU change

Hello Aaron,
 
For a long time there was undiscovered internal register (MEMPTR) inside Z80 CPU which was visible by using BIT n,(HL) instruction in undocumented bits of flag, in
last few months lot of things have been discovered by team of Russian programmers. There was a test on real machine which showed status of flags after each instruction.
I am sending you now patch for Z80 with MEMPTR implemented, there is also one more bug fixed (BIT 6,(XY+o) was not implemented good it used BIT 4,(XY+o) code).
 
As a proof that things are now valid, I am sending screens before patch on Z80 cpu core, and after with compare of results on real machine.
I am also sending you a TZX file (for ZX Spectrum) since tests are done inside that driver.
 
Please inform me about status. Hope this could fix some issues in drivers using Z80, since some games used this flags.
 
Regards,
Miodrag Milanovic
2008-11-04 06:10:20 +00:00
Aaron Giles
7d291c792f Re-inlined core attotime functions. This makes a significant difference
when running with high interleaves (~2x speed running Dig Dug at perfect
interleave).
2008-11-04 05:45:54 +00:00
Couriersud
807a9b1014 Hooked up 6845
* Hooked up 6845 in a daisy chain way into existing "6845 emulation"
* Clocks from schematics
* Video size issues - 6845 code related, discussion started on list
2008-11-03 23:49:51 +00:00
Couriersud
bf4bfe8b86 Removed some printf debugging and added some more DS5002FP code 2008-11-03 23:08:38 +00:00
stephh
ac727bcca6 Added Dip locations for 'exprraid' and clones.
Added Dip locations for 'gyruss' and clones.
2008-11-03 18:27:28 +00:00
Pierpaolo Prazzoli
ac65d98ddb Fixed bug 02618: samuraia and clones: No SFX sound 2008-11-03 18:20:57 +00:00
Aaron Giles
c6a7299b4e 02544: Dip Condition / Port Include limitation 2008-11-03 10:01:43 +00:00
Curt Coder
086cc0d047 [MC6845] Fixed display enable. 2008-11-03 09:56:09 +00:00
Aaron Giles
7038a72e76 Converted toobin to RGB32 to allow for mid-screen palette updates.
Also added correct video timing and full memory map, and connected
watchdog.
2008-11-03 09:41:03 +00:00
Aaron Giles
abf8eafc47 02607: frogs: Taking a screenshot in Frogs (Gremlin) exits the game with an error. 2008-11-03 08:31:39 +00:00
Yasuhiro Ogawa
bf4f376e9b allows YM2203C to be heard by default.
Credit Jim H.
2008-11-03 03:08:08 +00:00
R. Belmont
8d3e0e1ba2 Small Naomi update
AICA: fix missing instruments in DTPK driver games [R. Belmont, Deunan Knute, kingshriek]

Naomi: unmapped words in the AICA address range must read as zero [R. Belmont]

With these changes Toy Fighter's music is much better.
2008-11-03 02:58:59 +00:00
Couriersud
f9029d88a5 Irem M10: first results from schematics
* Updated video timing and cpu/pixel clocks
* Rewrote irq for m10/m11 to use two 74LS123
2008-11-03 01:19:51 +00:00
Couriersud
17b6c56de9 74123 Fixes:
* Clear behaviour to follow datasheet.
* Avoid recursive calls when setting a/b/clear lines from callback
2008-11-03 01:16:39 +00:00
davidhay
b29e06704b added 32x DRAM clear, needed by 32x tempo, pitfall, primal rage 2008-11-03 00:50:46 +00:00
davidhay
45a29c2c22 added RLE mode to 32x renderer, needed by brutal intro 2008-11-02 23:06:53 +00:00
stephh
4f157ee1b4 Fixed Dip Switches for all games in halleys.c driver.
Added Dip locations for 'halleys' and clones.
2008-11-02 22:33:19 +00:00
Couriersud
ec60d29846 Changed 74123 into a device 2008-11-02 21:55:06 +00:00
davidhay
b11d133ccc current 32x code 2008-11-02 21:21:46 +00:00
Aaron Giles
a769919540 Missed file from AtariAce. 2008-11-02 03:15:38 +00:00
Aaron Giles
0c35694668 Oops, not ready for these yet. 2008-11-02 03:15:03 +00:00
Aaron Giles
ffc97bd35d Cleanups and version bump. 2008-11-02 03:11:19 +00:00
Aaron Giles
8dac65b955 I changed the coinage settings and swapped coin A mech with coin B to
match the behaviour of Chelnov (world) pcb
[Corrado Tomaselli]
2008-11-02 02:48:28 +00:00
Aaron Giles
a69e703854 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, November 01, 2008 4:14 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Toaplan2 save state fix

Hi mamedev,

I realized after sending my toaplan2 save state patch that I had
ignored the implications of memory_set_bankptr (grrr).  This followup
patch fixes the most significant case of that, I'll fix up the
remaining ones later.  Alternately, you can drop the patches for now
and I'll resubmit them later.

~aa
2008-11-02 02:45:04 +00:00
Aaron Giles
ae0c3e8811 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, November 01, 2008 11:29 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] State save support for toaplan2

Hi mamedev,

Attached is a small patch to add a toaplan2.h include file and save
state support for the driver.  A number of variables changed from int
to specific sizes to support this, and I also fixed a harmless typo in
the mem_mask size.

~aa
2008-11-02 02:44:33 +00:00
Aaron Giles
9e9ebc19a6 From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Sunday, October 26, 2008 3:01 PM
To: submit@mamedev.org
Subject: expro02

Hi folk!
Another work in expro02 drive:
-  Fixed dips in all galsnew sets and  fantasia.
- Added dips  location.
- A little drive clean up.
Bye Sonikos
2008-11-02 02:41:52 +00:00
Aaron Giles
4e80367366 Here's another MAME tidy patch. This one adds missing const/statics,
adds/removes entries in header files, and fixes a few potential
multisession issues by explicitly adding initializers.  asic65.c has
significant changes to accomodate using a struct instead of 16
variables, otherwise the changes in this patch are modest and obvious.

[Atari Ace]
2008-11-02 02:40:46 +00:00
Aaron Giles
d08215d8ee [Pugsy]
There's an issue with the debugger handling of the 6502 instructions as
there's a mismatch between the core and what the debugger shows.
The changes are detailed in the spreadsheets that I've attached that
compares the core to the dasm.


Attachments:

m6502fix.zip contains the diff file
6502 debugger disassembly changes.zip   contains an excel spreadsheet
(in both xls and xml formats) detailing the reasons/changes.
2008-11-02 02:38:50 +00:00
Aaron Giles
1763eae62b Fix NES APU to work with high sample rates (don't know the bug #) 2008-11-02 02:36:52 +00:00
davidhay
272416355e still working on 32x... these require such heavy sync it kills performance :/ 2008-11-02 01:48:46 +00:00
davidhay
7ed79633f9 current 32x backup - some stuff actually boots now...
(again, no impact on MAME)
2008-11-02 00:40:56 +00:00
Aaron Giles
67a5e53e17 From mamesick:
* bbusters.diff:
- Fixed service mode issues enabling extra RAM that was previously unmapped.
- Properly implemented all sound communications.
- Fixed ID 00387. (there are no sound issues, the bug in my opinion is no more valid)

* nmk16.diff
- Fixed ID 00224. (PCB behaviour verified by Corrado Tomaselli)

* renegade.diff
- Fixed ID 01679. (old code was an hack, cpu_getiloops is more acceptable)

* suprnova.diff
- Fixed ID 02042. (no other games are broken)

* twin16.diff
- Cleaned up a bit code to make it more readable.
- Reorganized CPUs order in all games. (main, sub, audio)
- Fixed ID 02268. (guesswork, a PCB is needed to understand how priorities work)
2008-11-02 00:14:17 +00:00
Angelo Salese
8c2c0d0043 Discovered that Virtual Mahjong 2 - My Fair Lady currently works,so changed flags GAME_NOT_WORKING to IMPERFECT_GRAPHICS / IMPERFECT_SOUND
and removed an unnecessary hack from the driver.Probably one of Arbee's SCSP changes fixed it.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Virtual Mahjong 2 - My Fair Lady

(i.e. Do not credit me on this)
2008-11-01 23:45:47 +00:00
davidhay
c9e94756cc fix mantis 02605 'Wrong colors in Funny Mouse and clone. ' 2008-11-01 11:16:58 +00:00
Roberto Fresca
e03868c87a Ruleta RE-900:
Use pre-defined crystals. Added with notes to xtal.h.
Added missing layout file.
2008-11-01 01:17:55 +00:00
Couriersud
66c3f28e30 Removed dkongx code
* Copy of driver file put on ftp
2008-10-31 23:28:35 +00:00
Couriersud
10b85f1efe More changes to timer 0 split mode 3 and how timer 1 operates than
* Quotes from the documentation added to the source as well
* Started DS5002FP integration
2008-10-31 22:49:33 +00:00
stephh
4791a80745 Fixed Dip Switches for 'gyruss' and clones. 2008-10-31 22:14:29 +00:00
davidhay
5646489864 continued 32x changes. 2008-10-31 08:33:03 +00:00
Roberto Fresca
6f714af5a7 Minor tech notes correction. 2008-10-31 06:12:51 +00:00
Roberto Fresca
aaa8405a51 Improvements to re900.c driver [Roberto Fresca, Grull Osgo]
- Reworked inputs to allow 6 players through a selector.
 - Hooked all lamps (even the ball simulator array).
 - Added a internal layout and support for external artwork.
 - Extended the hardware to support Buena Suerte '94.
 - Cleaned up the driver.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Buena Suerte '94 [Grull Osgo, Roberto Fresca]
2008-10-31 06:04:36 +00:00
stephh
ce7f16d0ef Cleaned up some notes. 2008-10-31 02:27:46 +00:00
stephh
ef14884b5f Fixed Dip Switches for 'exprraid' and clones.
Enjoy the various notes ! ;)
2008-10-31 02:18:02 +00:00
davidhay
b5c6bb78fa Naomi / DC improvements [Samuele Zannoli]
Hello, with this patch finally cvs2gd stops looping forever. However with
no 3d emulation nothing is shown on the screen.
Then i have implemented the naomi RTC and there are a few verbose messages
about transfers not implemented yet.
2008-10-30 21:56:33 +00:00
davidhay
84cf2596c5 include correct file in m72.c 2008-10-30 21:31:09 +00:00
davidhay
1a280c612f if we support this we may as well support both sets.. 2008-10-30 21:18:53 +00:00
davidhay
6b6c728694 changed magictg to use (hopefully correct) roms. 2008-10-30 20:43:33 +00:00
Aaron Giles
5f440c4a63 Changed from explicit styles to classes. 2008-10-30 15:30:24 +00:00
Aaron Giles
e5183b1d20 Modified src2html to use a template source file instead of hard-coding to
the MAME site.
2008-10-30 09:43:25 +00:00
davidhay
bb7010e30e Submission from Johnboy for Mame 0.128u1 mainline
Changed drivers:
	src\mame\drivers\neodrvr.c
	src\mame\machine\neoboot.c

. Updated NeoGeo game pcb infos
. Renamed p's in kof2000n to correct chip label
. Renamed v's in mahretsu to correct chip label, readded 128k m1 from Mame 0.34b6 / s1 from older dump
. breakrev: Renamed c's to correct chip label, added correct c5/c6
. Marked mslug3h MVS AND AES VERSION
. Marked mslug4 2nd revision, added mslug4 1st revision missing set comment
. Marked trally MVS AND AES VERSION
. Marked ncombath MVS AND AES VERSION
. Marked sengoku MVS VERSION
. Marked superspy MVS AND AES VERSION
. Marked mutnat MVS AND AES VERSION
2008-10-30 09:09:45 +00:00
davidhay
689975bba6 continuing to look at 32x - M_OK S_OK 2008-10-30 08:48:02 +00:00
Roberto Fresca
f0ed9a4e86 - Fixed Joker's Wild graphics to 2 bits per pixel. 2008-10-30 06:21:33 +00:00
Andrew Gardner
c33d3a4f52 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Partially implemented move, asr4, and mpy ops.
2008-10-30 05:21:45 +00:00
R. Belmont
9ebd7a57f3 plygonet: Fixed text layer emulation and visible area. FBI logo and color test now display properly. 2008-10-30 03:11:19 +00:00
R. Belmont
c6e16e1925 02456: wrong sector size at CD_TRACK_MODE2 conversion routine 2008-10-30 03:08:35 +00:00
Couriersud
7dd6c89221 Finally move cpu/i8051 to cpu/mcs51, rename files and some constants 2008-10-29 23:41:31 +00:00