Commit Graph

4571 Commits

Author SHA1 Message Date
Aaron Giles
74d7495dbc 02104: metlhawk, metlhwkj: Crash while decoding with '-debug' trigger
Fixed auto_malloc() along the way to randomize its memory when allocated in
the debug build. This used to be the standard, but it seems to have been removed 
when the pool allocation was moved into the library.
2009-01-02 16:55:07 +00:00
Angelo Salese
fc7e4f0f46 Added NO_DUMPS for the VHS on hnxmasev,hnageman,av2mj1bb and av2mj2rg [Angelo Salese] 2009-01-02 14:22:38 +00:00
Aaron Giles
0b2c86bb02 Cleaned up the profiler. Reduced its runtime overhead significantly by
inlining the check to see if it is running. Removed obsolete entries
and updated the text to more accurately describe each one. Added CPU
tags to the CPU names. Switched to using an astring for building the
final string.

Unfortunately, still a bit too much overhead to leave it on in all builds.
2009-01-02 10:52:40 +00:00
Aaron Giles
ba92f06dd7 Minor tweaks to please valgrind. 2009-01-02 10:50:40 +00:00
Pierpaolo Prazzoli
3ccd54014d Fixed speed-up for Vamf x1/2 (Europe) 2009-01-02 09:46:20 +00:00
Aaron Giles
967eb6ef16 Fixed minor glitch in UI display of screen information. 2009-01-02 08:23:53 +00:00
Aaron Giles
403fca8a23 Fixed rendering of slider controls so it doesn't overlap when menus get large. 2009-01-02 08:20:04 +00:00
Aaron Giles
196b8abe93 Fix royalngt regression. 2009-01-02 07:46:47 +00:00
Aaron Giles
e49f88d17d 02575: taitogn: Not marked as bios in -listxml 2009-01-02 05:58:55 +00:00
Aaron Giles
fecf3709fc 02141: sunaq: At the Title, Game is Crash 2009-01-02 04:15:50 +00:00
Aaron Giles
150d84a552 Oops, undo an accidental change in 6850acia that broke the bfcobra games, among others. 2009-01-02 03:25:15 +00:00
Angelo Salese
fc90b8fd1d Added a work-around for 2 Minute Drill,to get it booting again. [Angelo Salese]
==============

irq 5 code is this one:

04425A: 007C 0500                  ori     #$500, SR
04425E: 0279 FFEF 0060 000C        andi.w  #$ffef, $60000c.l
044266: 0079 0010 0060 000C        ori.w   #$10, $60000c.l
04426E: 48E7 0080                  movem.l A0, -(A7)
044272: 206D 1C18                  movea.l ($1c18,A5), A0
044276: 30F9 0070 0002             move.w  $700002.l, (A0)+
04427C: 2B48 1C18                  move.l  A0, ($1c18,A5)
044280: 4CDF 0100                  movem.l (A7)+, A0
044284: 4E73                       rte

60000c is an unknown port,but 700002 is for arm power sensor. So I'm guessing that's not related at all with the ym sound chip.
I'll check this again at some point...
2009-01-02 01:42:23 +00:00
Aaron Giles
b931a734df zr107 crash fixes. 2009-01-02 01:03:23 +00:00
Aaron Giles
d52a995f15 Same assertion fixes for wwfsstar/wwfwfest drivers. 2009-01-02 00:48:18 +00:00
Aaron Giles
78f5d6e9ea Fix shadfrce assertions. 2009-01-02 00:46:23 +00:00
Aaron Giles
9ce87edb3f Fixed crash in aica games due to initialization code blowing away the device pointer. 2009-01-02 00:43:05 +00:00
Phil Bennett
2789bac1fe Remaining fixes for 02760: Games using MC6845: Crash with an error on startup before OK.
Fixed xsedae validation warning.
2009-01-02 00:33:59 +00:00
Aaron Giles
6e84bc886d Fix for assertion in ddragon3 driver. 2009-01-02 00:30:02 +00:00
Aaron Giles
c2b4b32688 Checksums for mach3 and usvsthem. Promoted both to working. 2009-01-02 00:29:41 +00:00
Angelo Salese
fccb297a95 Added Mahjong Gaiden to the nbmj8688.c driver [David Haywood]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Gaiden [David Haywood]
2009-01-01 23:43:03 +00:00
Brian Troha
27fc534abb slightly update the game description for DK Foundry 2009-01-01 23:39:17 +00:00
Brian Troha
1109fb653b adds clones with the graphic hack "Dux" by Two Bit Score to Centipede and Millipede
Was discussed on the list a while back and ok'ed but no one ever added it.

No credit please ;-)
2009-01-01 23:31:52 +00:00
Aaron Giles
2407e06237 ldplayer works again. Added MDRV_LASERDISC_GET_DISC callback hook
which allows for dynamically finding the CHD, rather than relying 
on the DRIVER_INIT hackery that was there before.
2009-01-01 23:05:52 +00:00
Angelo Salese
776596cc63 Added AV Hanafuda Hana no Christmas Eve and AV Hanafuda Hana no Ageman to the nbmj8891 driver.Playable but not working (missing VHS dump/emulation) [Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
AV Hanafuda Hana no Christmas Eve [Angelo Salese]
AV Hanafuda Hana no Ageman [Angelo Salese]
2009-01-01 23:04:34 +00:00
Brian Troha
d250eb04a0 New clone added
Adds Jeff's Romhack Donkey Kong Foundry set.  I spoke with him before the d2k thing and he gave his permission to use this set with MAME

No credit please ;-)
2009-01-01 22:55:58 +00:00
Brian Troha
0172af4493 corrected sound sample rom name with location. 2009-01-01 22:18:49 +00:00
Aaron Giles
e044b80e97 02676: All Laserdisc Games: Wrong colors using Direct3D on ATI cards
You can't add only 1 pixel to border YUY textures. Changed to add 2 instead
and generate proper borders.
2009-01-01 21:32:34 +00:00
Aaron Giles
c6da1059e1 Turn off giant dump files. 2009-01-01 21:22:42 +00:00
Roberto Zandona
542d0fa5c3 cb2001: added new opcodes 2009-01-01 20:29:31 +00:00
Phil Bennett
b7ef380a5d Fix 02793 funkyjet: Unable to locate input port 'P1'. 2009-01-01 18:16:56 +00:00
Angelo Salese
4ec6abcb58 Added Mahjong Senka/Mahjong Yarou to the Royal Mahjong driver.They suffers the exact same issues as Mahjong Shiyou (i.e. encrypted sub z80 cpu,
that shares the work ram with the main z80) [Angelo Salese]

New games marked as GAME_NOT_WORKING
------------------------------------
Mahjong Senka [Angelo Salese]
Mahjong Yarou [Angelo Salese]
2009-01-01 17:34:36 +00:00
Phil Bennett
c32801fb82 Fixed buggyboy I/O, engine sound and tilemap scrolling. 2009-01-01 17:31:23 +00:00
Brian Troha
f901453256 corrected rom names to standard MAME Konami style:
IE: game_rom.location
2009-01-01 16:33:53 +00:00
Brian Troha
e3227346aa minor white space cleaning 2009-01-01 16:31:53 +00:00
smf-
ca91d3bbb0 fixed void function returning a value compile error 2009-01-01 16:11:54 +00:00
Angelo Salese
bf33ccf507 Added X Se Dae Quiz to the raiden2.c,obviously not working like the rest [David Haywood]
New games marked as GAME_NOT_WORKING
------------------------------------
X Se Dae Quiz [David Haywood]
2009-01-01 15:55:46 +00:00
Aaron Giles
5938ef61cd 02790: Mame will crash on single monitor system if set to numscreens 2 in the *.ini. 2009-01-01 01:22:44 +00:00
Roberto Fresca
6645a29484 Decripted Cherry Bonus III (version 1.40 encrypted), added proper work to promote to working status.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cherry Bonus III (version 1.40, encrypted) [Andreas Naive, Roberto Fresca]
2008-12-31 18:54:32 +00:00
Roberto Fresca
0a85553367 From David Haywood...
Skeleton driver for Lucky Girl (1991, Wing Co.Ltd.)
2008-12-31 18:48:06 +00:00
smf-
c419b63019 another bldyror2 flash1 redump from guru 2008-12-31 18:23:13 +00:00
Aaron Giles
55afb292df Some minor MCS-48 cleanup. Added 8040/8050 variants. 2008-12-31 16:30:09 +00:00
Angelo Salese
6f2a490788 quick bug-fix for the janoha adding 2008-12-31 13:46:06 +00:00
Phil Bennett
2b9dc5ee31 Fix 02791: cafetime: Access Violation with -debug 2008-12-31 12:33:58 +00:00
smf-
e91a6c28f3 redumped bldyror2 flash1 2008-12-31 08:03:17 +00:00
Brian Troha
5c28238d2a removes some old incorrect statements (about roms not dumped) and tries to better document the "upgrading" or "recycling" of the Dragon Blaze PCBs. 2008-12-31 05:02:57 +00:00
Aaron Giles
379e2e1fdc PTR -> FCT naming for a few remaining items in CPU cores. [Duke, Aaron Giles] 2008-12-31 03:08:34 +00:00
Aaron Giles
88f4221231 From Kevin Eshbach:
atarisy1.c:
 * Support for new Atari System 1 TTL Motherboard dump (Previously MAME would crash when using it and now it just seems to hang.)
 * PROMs dumped from Atari System 1 TTL Motherboard (One PLA needs dumping though.)
 * Added notes on the Atari System 1 Motherboard and some of its supported games

balsente.c:
 * Placeholders in the Bally Sente driver for the various PALs that need to be dumped
 * Added notes on some of the type of Bally Sente cartridges

galaga.c:
 * Placeholders in the Galaga driver for various PALs that need to be dumped
 * Added notes on the two different Atari Dig Dug board revisions

galaxian.c:
 * Added notes to the Galaxian driver on the single board Galaxian bootleg and the board labels for Lost Tomb and Turtles

ms32.c:
 * Placeholder in the Jaleco MegaSystem 32 driver for the PAL on the motherboard

namcofl.c:
 * Placeholder in the Namco FL driver for the PALs on Speed Racer

popeye.c:
 * Corrected the rom names for Popeye
 * Added save state support to Popeye
 * Added the dip location to the encrypted Popeye and fixed the coin settings according to the manual (unencrypted Popeye not changed)

rocnrope.c:
 * Placeholder in the Roc 'n Rope driver for a PAL 

tutankhm.c:
 * Added the dip locations to Tutankham

tx1.c:
 * Placeholder in the Buggy Boy Jr. for the various PALs
2008-12-31 03:02:07 +00:00
Aaron Giles
a748f24dae Added the ability for a ROMset to specify a default BIOS. Use
ROM_DEFAULT_BIOS("biosname") in the ROM definition. This can be
used to ensure a correct default BIOS for ROM versions that care.
2008-12-31 02:58:30 +00:00
Brian Troha
bd543ab54f re-adds the 2 Tetris Grand Master 2 games.
please revert if found to be inappropriate

No credit please ;-)
2008-12-31 02:40:32 +00:00
Aaron Giles
10ba2e18e9 Improved graphics and sound in Grand Prix '98 [David Haywood] 2008-12-31 02:38:01 +00:00
Aaron Giles
200345b6da 02714: 3stooges: Speech works for a while, then starts going in and out of horrible noise and static
Interim fix, waiting until 0.129 is done before trying to sort out IRQ
handling for real.
2008-12-31 02:36:09 +00:00
Aaron Giles
a08644c8ff Converted gottlieb speech driver to use polling for SP0250 DRQ line. 2008-12-31 02:26:22 +00:00
Aaron Giles
c5915ad2e5 Not working:
9-Ball Shootout Championship [David Haywood]
2008-12-31 02:23:10 +00:00
Phil Bennett
d99d6e84b9 New games marked as GAME_NOT_WORKING
------------------------------------
Landing High Japan [Ordyne, Phil Bennett]
2008-12-31 00:13:22 +00:00
Aaron Giles
951bb250e5 Added polling hooks for SP0250 DRQ line. The callback is now optional.
If not provided, then the kick timer is not used.
2008-12-30 22:02:10 +00:00
Aaron Giles
3d7b496183 REP instructions with high interleave would never complete.
Also fixed cpu.mak dependencies for i286.
2008-12-30 22:00:54 +00:00
Aaron Giles
7416f961fa Correct clocks, video parameters, merged memory maps. 2008-12-30 21:08:32 +00:00
Aaron Giles
c96bd5b910 Added new frontend option -listbrothers. This will list all "brothers"
of a given driver, meaning those drivers that come from the same source
file, along with their parent names if they are clones. If a wildcard
name is specified for the driver, then the first driver in a given
source file will trigger a list of his brothers, and any other drivers
in the same source file which match the wildcard will be flagged.
2008-12-30 20:19:04 +00:00
Aaron Giles
06970c54a7 Added two new Windows OSD options: -debugger_font and -debugger_font_size,
which control the font and size used in the debugger text Windows. These 
default to "Lucida Console" and 9pt, which is the same face as previously 
hard-coded but 1pt larger. Personally, I prefer "Consolas" 9pt, which is
one of the new "C" fonts included with Windows Vista and later (also
available for free download on older systems). Note that only fixed-width
fonts really work here, for obvious reasons.
2008-12-30 19:43:34 +00:00
Aaron Giles
e0c6f269de Made xsleena run at perfect interleave and simplified the shared RAM.
Also moved to modern banking and cleaned up memory maps a bit.
2008-12-30 17:01:42 +00:00
Aaron Giles
9d08f4fa9e 02768: mk3, mk3r20, mk3r10, mk3p40, umk3, umk3r10, umk3r11 : Roms incorrectly named as umk3 instead of mk3 + two versions of U2 SOUND ROM
(Also spacing cleanup in ppccom.h)
2008-12-30 16:41:18 +00:00
Aaron Giles
a7071bb8cb Hooked up PPC602 IBR. 2008-12-30 07:02:01 +00:00
Aaron Giles
c303794661 Hooked up DSA/ESA instructions for PowerPC 602 (as no-ops for now).
polystar gets a little farther but crashes when the sub cpu attempts
to enable interrupts.

Removed HAS_PPC* in favor of a single HAS_POWERPC, and a single
definition in cpu.mak for all PowerPC variants.
2008-12-30 06:54:17 +00:00
Aaron Giles
13fff98e5f 02773: all gamecstl.c sets: [debug] Assertion 2008-12-30 06:08:55 +00:00
Aaron Giles
e6a05fd4f6 02776: mwalk, mwalkj, mwalku: Crash when starting game
Also fixed rendering so that System 16 sprites don't attempt to
shadow VDP pixels (causes crash downstream in debug builds).
2008-12-30 05:44:23 +00:00
Aaron Giles
cd91fd3613 02781: mt_mwalk: Change title to "Michael Jackson's Moonwalker (Mega-Tech)" 2008-12-30 01:33:02 +00:00
Aaron Giles
cd76908456 02782: swa: [debug] Access Violation with -debug
If you're going to point to banks, they must be mapped. Increased all
"main" regions to 0x2000000 in order to accommodate all possible 16
banks the code might try to switch to.
2008-12-30 01:26:10 +00:00
Aaron Giles
7b93ab2d26 02783: SMS-Based megatech.c sets: [debug] Access Violation with -debug
Disassembled PCs are now forcibly aligned to the minimum opcode size
and explicitly masked.

Also normalized the CPU cores to always do while (icount > 0), in order
to remove the kludge in cpuexec.c that caused us to overeat by 1 cycle to
accommodate those cores that there looping while (icount >= 0).
2008-12-30 01:18:26 +00:00
Aaron Giles
4c95c177a8 02785: a51site4: Interger Overflow with -debug 2008-12-30 00:42:19 +00:00
Aaron Giles
528d5b6528 Merged i8x41 (UPI-41) core into MCS-48 core:
* all code now lives in mcs48.c
 * rewrote disassembler as unified MCS-48/UPI-41 disassembler
 * changed UPI-41 interfaces to match MCS-48
 * added new master read/write interfaces for external access
 * unified interface to 8243 expander chip
 * converted tnzs and decocass to the new interfaces

DECO Cassette fixes/cleanups:
 * converted tape handling to a device
 * changed tape handling to use a timer callback
 * updated to work with new UPI-41 core
 * corrected clock speeds for all chips (esp. the 8041)
 * fixed very wrong CRC implementation (how did it ever work?)
 * corrected sound IRQ rate
 * corrected video timing

Burger Time hardware fixes:
 * corrected sound IRQ rate and handling
 * removed lnc audio reset hack
 * full audio memory maps based on schematics
 * corrected video timing
2008-12-30 00:24:06 +00:00
Roberto Zandona
33e828c111 fix for bug #01092: debugger crashes when exiting during "run to cursor" 2008-12-29 23:04:28 +00:00
Luca Elia
75cbcca312 Improved bishjan.c:
Converted the tilemaps chip to an 8-bit bus width, and added 16-bit handlers using the macros in memconv.h.
Improved bishjan memory map. Implemented line scroll emulation. [Luca Elia]

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Ying Hua Lian 2.0 [Luca Elia, Angelo Salese, David Haywood]
2008-12-29 21:55:34 +00:00
Angelo Salese
5af4b958a2 (Wrote a placeholder driver for the "fruit" set from the unemulated/coinmaster/ folder,anything might be wrong about it...) [David Haywood,Angelo Salese] 2008-12-29 19:49:17 +00:00
smf-
ccaaae3419 added Dancing Stage Euro Mix 2008-12-29 12:08:14 +00:00
Roberto Fresca
34ba5b8ab4 Improvements to goldstar.c driver:
- Added another set of Cherry Bonus III.
- Reworked and cleaned ncb3, cb3a, lucky8 and lucky8a inputs.
- Added the 2nd set of controls to the above games.
- Removed the OKI references from machine driver and rom load for the above games.
- Promoted ncb3 and cb3a to working status.
- Reparented sets.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cherry Bonus III (Version 1.40, set 1) [Roberto Fresca]
Cherry Bonus III (Version 1.40, set 2) [Roberto Fresca]
2008-12-29 06:46:07 +00:00
Jonathan Gevaryahu
08d73411f0 case and whitespace consistency fix for last commit to xtal.h 2008-12-29 05:30:10 +00:00
Brian Troha
cfcbf50afa added ".bin" to common roms... the labels are still the same as parent set... IE: "a04" vs "a04.bin" Standard practice and allows the no matching roms to "stand out" 2008-12-29 02:53:21 +00:00
Brian Troha
acc865c3ce change rom names based on PCB photo to be more accurate for the Thunder Cross II sets. 2008-12-29 02:48:25 +00:00
Angelo Salese
f974e7504d Wrote a driver for Cherry Chance,not working due of coin/hopper issues [David Haywood,Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
Cherry Chance [David Haywood,Angelo Salese]
2008-12-29 00:21:53 +00:00
Roberto Fresca
c2ae270f38 Renamed the set chryigld to chrygld, and description to "Cherry Gold I".
Fixed some decryption troubles that were previously commited accidentally.
2008-12-28 23:36:28 +00:00
Couriersud
d6b84e6e83 rand_r is a POSIX libc function. 2008-12-28 22:58:39 +00:00
smf-
e819aa7556 changed divide to throw out negative numerators. 2008-12-28 22:37:26 +00:00
Jonathan Gevaryahu
aac7116ca2 add 14.118MHz xtal for TS2068 in MESS 2008-12-28 20:09:36 +00:00
Angelo Salese
fe6b72fb0f Wrote a preliminary Merit Poker driver [David Haywood,Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
Merit Poker [David Haywood,Angelo Salese]
2008-12-28 18:44:19 +00:00
Angelo Salese
b20002a4d2 Added Status Black Jack to the Status Trivia driver,not working due to issues with the coin mechs [Angelo Salese,Roberto Fresca]
New games marked as GAME_NOT_WORKING
------------------------------------
Status Black Jack [Angelo Salese,Roberto Fresca]
2008-12-28 18:18:48 +00:00
Angelo Salese
d5e2af77f1 Wrote a preliminary Bingo Circus driver,not working due to missing "terminal" roms [David Haywood,Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
Bingo Circus [David Haywood,Angelo Salese]
2008-12-28 16:05:09 +00:00
smf-
2d7051b826 maps all games third cpu rom to 0x0000 so that mame doesn't log unmapped reads constantly. haze spotted this. 2008-12-28 15:51:46 +00:00
smf-
091c3814d8 A write isn't allowed to start if there is one in progress and a write isn't started if the data is already correct. This allows my dream horse to boot again. Further investigation is needed. 2008-12-28 15:33:50 +00:00
smf-
d0a5273861 Implemented GTE divider using reciprocal table derived by pSXAuthor, this should allow the results to be calculated as inaccurately as the real hardware. 2008-12-28 14:56:15 +00:00
Angelo Salese
c0eb642e6a Added some other Merit clone games from SoftwareThis dumps to the merit.c driver [David Haywood]
New clones added
----------------
Trivia ? Whiz (Horizontal) (question set 3) [David Haywood]
Trivia ? Whiz (Edition 2) (question set 2) [David Haywood]
Trivia ? Whiz (Edition 3 - Horizontal) (set 2) [David Haywood]
Trivia ? Whiz (Edition 4) (question set 2) [David Haywood]
Phraze Craze (set 2) [David Haywood]
2008-12-28 14:33:44 +00:00
Roberto Zandona
9abe952f90 jongkyo: added coin counter and a note to the port 4a (probably a palette bank selector) 2008-12-28 07:59:47 +00:00
Roberto Fresca
78f56c2415 Improved colors of New Lucky 8 Lines. [David Haywood] 2008-12-28 07:25:02 +00:00
Brian Troha
6ee8964007 New Clone: Thunder Cross II (World)
New clones added
----------------
Thunder Cross II (World) [Stefan Lindberg]
2008-12-28 00:37:08 +00:00
Roberto Zandona
35c777e068 New clones added
----------------
R-Type (world, bootleg) [mameitalia]
2008-12-27 07:46:44 +00:00
Roberto Fresca
ecbc085428 Improvements to New Lucky 8 Lines.
- Proper 3x PPI 8255 connections.
- Created a new AY8910 interface due to different ports addressing.
- Hooked all the input banks (8).
- Improved DIP switches with main game and D-UP rates, keyin values, D-UP game type (reels/cards) and other options to both sets.
- Added PORT_DIPLOCATION to all DSW banks.
- Promoted both sets to working state.

The game has 2 sets of controls. Once coined, both players can switch control through their own 'BIG' key.
If the game boots with 'Coin Jam' error, press RESET to normalize. Please delete your old .nv and .cfg files before run this update.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
New Lucky 8 Lines (set 1) [Roberto Fresca]
New Lucky 8 Lines (set 2) [Roberto Fresca]
2008-12-27 07:37:16 +00:00
Roberto Fresca
ca1296732b Cherry I Gold:
- Completed the missing inputs.
- Mapped 4 of the 5 DIP switches banks. (can't find the 5th)
- Worked out the conditional DIPs.
- Documented all DIP switches bank.
- Added PORT_DIPLOCATION to all switches.

Cherry Bonus III (Version 1.40):

- Worked the remaining inputs.
- Mapped and documented all 5 DIP switches banks.
- Worked out the conditional DIPs.
- Added PORT_DIPLOCATION to all switches.

The game is working, but need a workaround for the status connection. Each time the player press 'Take' to get the credits, a "call attendant" msg appear and credits must be taken pressing 'Key Out'.
2008-12-27 04:02:22 +00:00
Phil Bennett
94e5061670 Fixed ddrago3p gfx ROM loading [Creamymami]
(This overrides SVN commit 3912)
2008-12-27 03:43:31 +00:00
Angelo Salese
99c20bffe9 Merged Mahjong Shiyou to the Royal Mahjong driver,graphics are improved because of that [Angelo Salese] 2008-12-27 00:43:50 +00:00
Angelo Salese
c9ea0052cc Added preliminary sound & colors to the Mahjong Shiyou driver,game now throws a sound error. [Angelo Salese] 2008-12-26 23:27:09 +00:00
Angelo Salese
ce490dc0c8 Added a (newer?) clone of Pit Boss to the merit.c driver [David Haywood]
New clones added
----------------
Pit Boss (Set 2) [David Haywood]
2008-12-26 22:24:10 +00:00
Roberto Fresca
db384a1afb Fixed Cherry Bonus III and Cherry Bonus III (Version 1.40) colors. 2008-12-26 22:12:31 +00:00
Angelo Salese
fe588b3099 (small correction to the added note) 2008-12-26 18:34:24 +00:00
Angelo Salese
a8cfa478b4 Added Barline to the nbmj8688.c driver,working with sound issues (caused by NMI trigger) [David Haywood,Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Barline [David Haywood,Angelo Salese]
2008-12-26 18:30:33 +00:00
Roberto Zandona
a677c4c5fc jongkyo: added some unknown ports 2008-12-26 18:19:46 +00:00
Phil Bennett
d62f15859f Fixed Top Landing ADPCM ROM loading. 2008-12-26 15:00:00 +00:00
Roberto Fresca
6501b7e5a8 Improvements to lucky8...
- Fixed memory map.
- Fixed NVRAM. (please delete the old .nv)
- Added sound through sn76496.
- Added 3x PPI 8255.
- Created basic inputs from the scratch to match the PPI connections.
- Defined the output port.
- Change description to "New Lucky 8 Lines"
- Change manufacturer to Wing Co.Ltd.
- Added an alternate set.

New clones added
----------------
New Lucky 8 Lines (set 2) [Roberto Fresca]
2008-12-26 14:46:11 +00:00
Phil Bennett
9655d61dec Fixed crash when mouse-clicking without a valid mouse_target set (typically after startup when no mouse movement events have occurred). 2008-12-26 14:01:14 +00:00
Roberto Fresca
4e65aa95f4 Correctly setup the MC6845 device in the Calomega driver.
Added common device interface.

Updated notes.
2008-12-26 13:14:44 +00:00
Roberto Fresca
f5da988c76 Correctly setup the MC6845 device in the Goldnpkr driver.
Added common device interface, merged witchcrd and sloco93 machine drivers, and added/corrected the 50/60 Hz. DIP switches to all games. The 50hz mode needs to be corrected. Some games as most bsuerte sets have the 50/60 Hz. DIP switch connection patched.
2008-12-26 12:31:11 +00:00
Phil Bennett
7827134d61 A couple of sound-related fixes but still no speech :( 2008-12-26 11:08:13 +00:00
Roberto Fresca
2f93f0042f Correctly setup the MC6845 device in the Funworld driver.
Added common device interface and eliminated the screen size & visible area parameters to Magic Card 2.
2008-12-26 10:54:19 +00:00
Luca Elia
2938c6018d Corrected title for ddenlvrk, ddenlovb.
(from Justin Kerk)
2008-12-26 10:25:40 +00:00
Aaron Giles
ee9f02668c 02758: linking ldplayer fails
Cleaned up mcs48 to be dependent on a single makefile define, rather than
separate defines for each CPU which didn't really buy us anything in terms
of code size or performance.
2008-12-26 07:31:44 +00:00
Aaron Giles
2a4df134e0 02765: all naomi.c sets: Assertion 2008-12-26 07:16:09 +00:00
Aaron Giles
097e05dcb0 Minor tweak to previous fix. 2008-12-26 06:55:07 +00:00
Aaron Giles
c891803a8c From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Wednesday, December 24, 2008 2:49 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Fix 02764: liberatb: [debug] Access Violation

Hi mamedev,

This fixes 02764.  When all the CPUs got tags in 0126u2, this driver
ended up removing it's own cpu(!), causing this crash in debug and
similar unhappiness in non-debug.

~aa
2008-12-26 06:53:41 +00:00
Aaron Giles
750d52e090 From: Smitdogg Jones [mailto:jcsmith23@yahoo.com]
Sent: Wednesday, December 24, 2008 11:09 AM
To: submit@mamedev.org
Subject: Gururin redump...

This diff replaces the bad (likely hacked) Gururin dump with one Guru did yesterday from my cart and I fixed some rom names in Double Axle according to the pcb. Here's the changed roms:

http://smitdogg.mameworld.info/random/g.zip

Smitdogg
2008-12-26 06:52:20 +00:00
Aaron Giles
b7110e6214 DownTown / Mokugeki (Joystick Hack) [Corrado Tomaselli] 2008-12-26 06:50:52 +00:00
Aaron Giles
1df287a875 * chinagat.diff:
- converted driver to be fully scanlines based using timers
 - hooked up interrupts
 - updated driver to new video screen raw parameters (based on ddragon.c driver)
2008-12-26 06:49:30 +00:00
Aaron Giles
27af046497 Adds the other set of Jan Oh to royalmah.c [David Haywood]
(roms/current/j/janoha.zip)
2008-12-26 06:47:24 +00:00
Aaron Giles
cafa7fc102 From: Mamesick [mailto:mamesick@libero.it]
Sent: Tuesday, December 23, 2008 7:49 AM
To: submit@mamedev.org
Subject: Submissions

* ddragon.diff:
- converted scanline timer to be a device
- corrected M6809 CPU frequencies, they are supposed to be internally divided by 4 but
  there's no internal divider in the core

* gstream.diff:
- improved oki banking (educated guesswork, see notes in the driver)
- replaced CPU_EAT_CYCLES hack with CPU_SPINUNTIL_INT because the first cause the video
  completely out of sync with audio. I think the game is really so slow on the PCB too

* vball.diff:
- converted driver to be fully scanlines based using timers
- hooked up interrupts
- updated driver to new video screen raw parameters (based on ddragon.c driver)

* xain.diff:
- converted driver to be fully scanlines based using timers
- fixed ID 02742
- updated driver to new video screen raw parameters (based on ddragon.c driver)
2008-12-26 06:46:32 +00:00
Aaron Giles
4ed7452ceb From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Monday, December 22, 2008 8:04 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Update sound core header files

Hi mamedev,

This patch updates all the sound core header files to declare their
SND_GET_INFO functions, which will be needed once the sound cores
become proper devices.  It also makes a handful of other header
declaration fixes in emu/sound, and makes one SND_RESET routine
static.  Note: votrax.h is a new include file altogether.

~aa
2008-12-26 06:40:58 +00:00
Aaron Giles
6a32a2c7c4 New clone: Vamf x1/2 (Europe) [Smitdogg] 2008-12-26 06:39:49 +00:00
Aaron Giles
70f3194097 02770: aceattac: Interger Overflow
Cleaned up cycle handling in the 68k core.
2008-12-26 06:37:19 +00:00
Phil Bennett
3857af378a Fix 01437: hardhead: MAME has the clock frequency of the YM3812 wrong. 2008-12-25 22:56:54 +00:00
Phil Bennett
1a57936bac Fix 02772: hanayara: [debug] Access Violation 2008-12-25 21:53:43 +00:00
Phil Bennett
60d2d46820 02186: vliner, vlinero: Typo of manufacturer. 2008-12-25 17:16:12 +00:00
Luca Elia
c2afcb65b6 Adds jongtei and corrects name for showhanc.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Jong-Tei [Luca Elia]
2008-12-25 15:26:14 +00:00
Phil Bennett
d984fa551b Correctly setup the MC6845 device in the carrera driver. 2008-12-25 09:58:00 +00:00
Phil Bennett
ffdc537488 Correctly setup the MC6845 device in the coinmstr driver. 2008-12-25 09:51:14 +00:00
Andrew Gardner
e7ec9c0df6 Adds extremely preliminary i860 disassembler and hooks it up to the vcombat driver. [Jason Eckhardt, Andrew Gardner]
(We're not even decoding args yet, but it's on its way).
2008-12-25 03:03:30 +00:00
Angelo Salese
d02bbcbfb6 Added proper inputs to Jongkyo [Angelo Salese] 2008-12-25 01:49:39 +00:00
Aaron Giles
7cb99192f0 02747: Compile error on openSUSE 11.1 / gcc 4.3.2 with OPTIMIZE=3
Appease the compiler. There is no actual bug here, but it is tricky for the
compiler to understand that.
2008-12-25 01:39:55 +00:00
Phil Bennett
8dc7a57d54 Correctly setup the MC6845 device in the usgames driver. 2008-12-25 00:12:54 +00:00
Phil Bennett
f7484cda13 Fix 02763: some leland.c sets: Access Violation 2008-12-24 23:40:38 +00:00
Phil Bennett
2d981a3be7 Correctly setup the MC6845 device in the rockola driver. 2008-12-24 22:35:48 +00:00
Phil Bennett
6497510da6 Fix 02766: topgunnr: Hangs
Corrected cpu_attomtime_to_clocks() calculation.
2008-12-24 21:40:36 +00:00
Luca Elia
185ba3c941 Log:
Adds some clones.

Adds Cafe break as not-working (it needs the internal CPU rom dumped).

Also added the (commented out) rom loader for the new "Dai Dai Kakumei" dump,
that only differs in rom sizes.

New clones added
----------------
Show Hand (China) [Luca Elia]
Don Den Lover Vol. 1 (Korea) [Luca Elia]

New games marked as GAME_NOT_WORKING
------------------------------------
Mahjong Cafe Break [Guru]
2008-12-24 21:17:38 +00:00
Wilbert Pol
ebf81feae7 Update to a bit of MESS-only code. 2008-12-24 20:00:55 +00:00
Wilbert Pol
4e980dcba7 Updates to some MESS-only code. 2008-12-24 19:06:07 +00:00
Aaron Giles
aa161c426b Converted 68000 to state tables. 2008-12-24 09:11:03 +00:00
Aaron Giles
9a37bb9e6b Put some logging behind a compile-time define (disabled). 2008-12-24 08:16:30 +00:00
Wilbert Pol
b6f61fbd07 Cleaned up the sid interface. 2008-12-23 23:00:26 +00:00
Angelo Salese
3914152d3e Preliminary Night Gal driver,not yet working for comms issues [David Haywood,Angelo Salese]
New games marked as GAME_NOT_WORKING
------------------------------------
Night Bunny / Royal Night [David Haywood,Angelo Salese]
Night Gal [David Haywood,Angelo Salese]
Night Gal Summer [David Haywood,Angelo Salese]
Sexy Gal / Sweet Gal [David Haywood,Angelo Salese]
2008-12-23 21:09:34 +00:00
Phil Bennett
c24e437028 Fix 02761: cntrygrl: [debug] Access Violation 2008-12-23 20:57:59 +00:00
Wilbert Pol
f4530bf179 Added f3853 to src/emu/emu.mak 2008-12-23 20:24:13 +00:00
Phil Bennett
c1af00f64b Fix 02762: galkaika, galkoku, hyouban, mcontest, tokimbsj, tokyogal, uchuua: Access Violation 2008-12-23 20:24:01 +00:00
Wilbert Pol
da128743fb Changed the F3853 implementation into a device. 2008-12-23 20:14:57 +00:00
Phil Bennett
8fc4c36454 Minor adjustments. 2008-12-23 13:17:51 +00:00
Roberto Zandona
c928004eda Updated wc90b2 to use newly-dumped roms 2008-12-23 06:26:12 +00:00
Andrew Gardner
f32ca9b1c6 Fixed the palette in Virtual Combat. [Jason Eckhardt, Andrew Gardner]
(It's using a RAMDAC like the ones in the artmagic driver)
2008-12-23 00:49:14 +00:00
Brian Troha
f7b6ea4b77 additional info from the Guru on the CPU 2008-12-22 22:02:25 +00:00
Aaron Giles
e6bbeeceaa Perfect synchronization for thunderj, which has always been iffy.
Removed synchronization hacks.
2008-12-22 21:57:18 +00:00
Aaron Giles
70f56a133e Turned on perfect interleave for remaining tnzs games, and for qix
hardware games.
2008-12-22 21:48:22 +00:00
Brian Troha
687a760b7f add correctly ID'ed CPU 2008-12-22 21:34:19 +00:00
Andrew Gardner
c253ae863b Virtual Combat memory map updates. [Jason Eckhardt, Andrew Gardner]
(You can see a mirrored test menu with a few ROM patches now)

(The i860 code has been found and has been deemed "dead simple" by the guy who wrote the unix binutils i860 disassembler, Jason Eckhardt.  He also wrote an i860 cpu core in the past and has donated parts of it to MAME.  If he weren't finishing up his phd thesis in 2 months, i'd say he'd have finished this driver by now himself :) )
2008-12-22 21:10:06 +00:00
Phil Bennett
ac0a9ecfc8 Fixed incorrect ddragonp ROM loading. 2008-12-22 17:40:11 +00:00
Aaron Giles
a70fdf00a1 CPU interface organization shuffle. The file cpuintrf.h now merely
describes the interface, but does not contain any implementation.
All remaining bits of implementation have been migrated either to
cpuexec.c or to debugcpu.c. Specifically, cpu_dasm() is now
debug_cpu_disassemble(), and cpu_set_dasm_override() is now
debug_cpu_set_dasm_override(). Also moved memory_address_physical()
to debug_cpu_translate(), since it was only ever used for
debugging.

Changed all CPU and sound cores to use memory_find_address_space()
instead of cpu_get_address_space(). The former is reliable even
during early initialization when the CPU cores generally need it.

Removed the dummy CPU core and cpuintrf.c.

Changed the core execution loop to directly call the execute
function instead of using the inline helper (which has been removed).
2008-12-22 17:35:27 +00:00
Roberto Fresca
b4c9d1fc87 Added another set of Space Echo.
The program ROM has only 3 bytes of difference at offset 0x008b.

Spacecho:    0x008b:  call $2929 ; cd 29 29

Spacech2:    0x008b:  im 1       ; ed 56
             0x008d:  nop        ; 00

So... spacech2 is avoiding to enter the sub at $2929.


New clones added
----------------
Space Echo (set 2) [Roberto Fresca]
2008-12-22 17:04:26 +00:00
Phil Bennett
9f76d751c0 New games added or promoted from NOT_WORKING status
---------------------------------------------------
Turbo Sub (prototype rev. TSCA) [Phil Bennett]
Turbo Sub (prototype rev. TSC6) [Phil Bennett]
2008-12-22 13:19:01 +00:00
Aaron Giles
bf20e586d1 Significantly optimized the inner execution loop. arknoid2 is ~2.5x
faster with maximum interleave now.
2008-12-22 10:28:20 +00:00
Aaron Giles
6c4013134f Fixed validity checks for MC6845. 2008-12-22 05:38:43 +00:00
Roberto Fresca
a2081bb2b1 Improvements to goldstar.c driver.
- Hooked the 3x PPI 8255 devices to chryigld and ncb3.
- Reworked the chryigld and ncb3 inputs based on PPI 8255 connections.
- Added the unmapped PSG sound to chryigld and ncb3.
- Some works on their machine driver.
- Some cleanups.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cherry I Gold (bootleg of Golden Star) [Roberto Fresca]


New games marked as GAME_NOT_WORKING
------------------------------------
Cherry Master I (v1.01) [Roberto Fresca, David Haywood]
2008-12-22 04:51:23 +00:00
Andrew Gardner
2485660bfd Fixes 'run to cursor' and 'toggle breakpoint' operations in the win32 debugger. [Andrew Gardner]
(It was doing a double-shift for CPUs with a address shift)
(The bpset command seems to occasionally behave oddly for cpus with address shifts as well.  Didn't figure that problem out in the few minutes i looked at it.)
2008-12-22 04:51:20 +00:00
Aaron Giles
6be42cb850 Missed a file. 2008-12-22 04:02:57 +00:00
Aaron Giles
c0ca96b075 Cleanups and version bump. 2008-12-22 04:01:51 +00:00
Aaron Giles
54424acf76 Skeleton driver for Eagle's "Janshi" (missing internal 0-3fff z(1)80 rom
code apparently) [David Haywood]

New games marked as GAME_NOT_WORKING
------------------------------------
Janshi [David Haywood]
2008-12-22 03:36:28 +00:00
Aaron Giles
64c7591175 From: Oliver Stoeneberg [mailto:oliverst@online.de]
Sent: Sunday, December 21, 2008 3:28 AM
To: submit@mamedev.org
Subject: minor stuff

Hi,

just a small one:
- adds a ATTR_PRINTF in inptport.c
- removes an unnecessary memset in emu/sound/rf5c68.c

So long
Oliver
2008-12-22 03:34:54 +00:00
Aaron Giles
b86e015e32 Preliminary driver for Taito's "Parent Jack" [David Haywood]
New games marked as GAME_NOT_WORKING
------------------------------------
Parent Jack [David Haywood]
2008-12-22 03:34:01 +00:00
Aaron Giles
8213a7af4f Rewrote 8080/8085 interrupt handling so that it makes sense.
Changed 8080/8085 callbacks to be specified in a config structure.
Converted 8080/8085 core to cpu_state_table.
Changed to a single HAS_808X define for both cores.
Fixed several drivers that used interrupts in odd ways.
Converted warpwarp driver to raw video parameters.
2008-12-22 03:18:03 +00:00
Angelo Salese
9f29926c2f Wrote a driver for Casino Winner,working with sound [Chris Hardy,David Haywood,Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Casino Winner [Chris Hardy,Angelo Salese]
2008-12-22 00:17:44 +00:00
Roberto Fresca
421f6842fd Improvements to the skylncr.c driver. [Roberto Fresca, David Haywood]
- Complete reel support from the scratch.
- Full inputs, outputs & DIP switches from the scratch.
- Added new games.
- Updated technical and game notes.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Sky Lancer (Bordun, ver.U450C) [Roberto Fresca, David Haywood]
Butterfly Video Game (ver.U350C) [Roberto Fresca, David Haywood]
Mad Zoo (ver.U450C) [Roberto Fresca, David Haywood]


New games marked as GAME_NOT_WORKING
------------------------------------
Leader [Roberto Fresca, David Haywood]
2008-12-21 23:18:28 +00:00
Andrew Gardner
44a99ed738 Rewrite of the Motorola DSP56k CPU core. (Andrew Gardner)
* Fixed flag calculation and sign extension for numerous ops.
* Added rnd, mpysuuu, and dmac ops.
* Fixed do loop behavior to skip empty loops.
* Added stack underflow exception handling.
2008-12-21 19:07:44 +00:00
Phil Bennett
6bd48dad88 02757: sengoku3: manufacturer should be "Noise Factory / SNK" 2008-12-21 17:31:22 +00:00
Phil Bennett
432ac09596 New clones added
----------------
Double Dragon 3 - The Rosetta Stone (prototype) [Guru]
2008-12-21 17:14:08 +00:00
Roberto Fresca
c8b595039b Improvements to the dmndrby.c driver.
Please credit Mike Green.
2008-12-21 11:02:39 +00:00
smf-
1f25d3f935 fixed access violation caused by passing a NULL pointer into the dma finished code. 2008-12-21 09:52:56 +00:00
Andrew Gardner
c17377e8a9 Fixed update_handler for the dsp56k and polygonet. [Andrew Gardner]
(The driver more or less works again.  And holy moly is this thing fast with my crazy interleave values!)
2008-12-21 08:21:34 +00:00
Aaron Giles
f5ca4e1d0e From: David VanVoorhis [mailto:iq_132@hotmail.com]
Sent: Saturday, December 20, 2008 7:43 AM
To: submit@mamedev.org
Subject: Agress Fix

Here's a fix for Agress' title screen

Link if the attachment doesn't work. :)
2008-12-21 07:57:00 +00:00
Aaron Giles
825cfee6a8 From Mamesick:
* ddragon3.diff
- converted driver to be fully scanlines based using timers
- hooked up interrupts
- updated driver to new video screen raw parameters

* shadfrce.diff
- converted driver to be fully scanlines based using timers
- implemented raster interrupt timer in the main routine
- updated driver to new video screen raw parameters

* wwfsstar.diff
- converted driver to be fully scanlines based using timers
- updated driver to new video screen raw parameters

* wwfwfest.diff
- converted driver to be fully scanlines based using timers
- hooked up interrupts
- updated driver to new video screen raw parameters
2008-12-21 07:53:28 +00:00
Roberto Fresca
41ef03afbb Merged goldstar and lucky8 drivers. [David Haywood] 2008-12-21 07:26:49 +00:00
Aaron Giles
181f77e83a Fixes the reel emulation on IGS-009 driver [David Haywood]
New games marked as GAME_NOT_WORKING
------------------------------------
Grand Prix 98 [David Haywood]
2008-12-21 03:14:44 +00:00
Aaron Giles
c8ef4d72d0 From: Lei Wu [lanewu@hotmail.com]
Sent: Monday, December 15, 2008 1:27 PM
To: submit@mamedev.org
Subject: sfz2aad->sfz2ald
2008-12-21 03:12:36 +00:00
Aaron Giles
668647d2eb Fixed some color issues in the goldstar.c driver [David Haywood] 2008-12-21 03:11:20 +00:00
Aaron Giles
c93da768c5 Additional notes from hap. 2008-12-21 03:10:10 +00:00
Aaron Giles
dc63238265 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Friday, December 19, 2008 8:50 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Add machine/space to some callbacks

Hi mamedev,

This patch widens some machine callbacks to include an object (either
machine or space).  I didn't convert these earlier since MAME didn't
explicitly need them, but some of these will be needed by MESS now
that Machine is gone and in general all callbacks need to pass an
object.

~aa
2008-12-21 03:07:52 +00:00
Aaron Giles
d617d4369d Minor code simplification. 2008-12-21 00:41:10 +00:00
Aaron Giles
5279595eee Removed MDRV_INTERLEAVE(x), which specified the minimum scheduling
quantum in terms of "frames" (a dubious concept now with multiple
screens and changing refresh rates). Replaced it with a new
MDRV_QUANTUM_TIME(x) which specifies the minimum scheduling quantum
as a time value. Time can be specified as HZ(x), NSEC(x), USEC(x),
etc. Updated all drivers to use this, assuming 60 was the frame
rate (this is not perfect but should work for almost all cases).

Changed MDRV_WATCHDOG_INIT_TIME(x) to automatically prepend
UINT64_ATTOTIME_IN_ to the parameter, ensuring there is no
improper use of this macro and bringing it in line with the
MDRV_QUANTUM_TIME() macro. Updated all callers.

Added new MDRV_QUANTUM_PERFECT_CPU(x) to specify that the minimum
quantum should be enough to ensure that the specified CPU tag
only ever executes a single instruction at a time. This can be
used to explicitly require "perfect" synchronization for drivers
that have multiple CPUs with shared memory. Turned this on for
the arknoid2 driver for now as a test (the interleave on that
driver was already very close to perfect anyway).
2008-12-20 21:17:53 +00:00
Wilbert Pol
0b6b3886cc Added running_machine parameter to the callback in the sid interface. 2008-12-20 20:00:25 +00:00
Angelo Salese
ac26377859 Added Three Ds to the Pastel Gal driver [David Haywood,Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Three Ds - Three Dealers Casino House [David Haywood,Angelo Salese]
2008-12-20 19:13:57 +00:00
Wilbert Pol
8850e49309 Added running_machine parameters to the f3853 callbacks. 2008-12-20 19:10:31 +00:00
Roberto Zandona
20cc01ef5f sscope2: used new dumped roms 2008-12-20 18:18:47 +00:00
Nathan Woods
c9c8b50669 Added running_machine callbacks for the Amiga code 2008-12-20 17:54:15 +00:00
Angelo Salese
b501c8dd73 (Oh snap,forgot to add the driver)... 2008-12-20 16:44:48 +00:00
Angelo Salese
59c1045ffa Wrote a driver for 4nin-uchi Mahjong Jantotsu,working with some issues [David Haywood,Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
4nin-uchi Mahjong Jantotsu [David Haywood,Angelo Salese]

(and commented out a printf line in Jangou HW.)
2008-12-20 16:42:59 +00:00
Angelo Salese
c3673f5aa1 Added Country Girl to the Jangou driver,working with sound [David Haywood,Angelo Salese]
- Fixed transparency pens in the Jangou driver (so removed the GAME_IMPERFECT_GRAPHICS flag); [Angelo Salese]
- Added a kludge for Jangou Lady RNG,will be worked on in the future; [Angelo Salese]

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Country Girl [David Haywood,Angelo Salese]
2008-12-20 16:28:18 +00:00
Roberto Zandona
fd26606354 removed unused variable "result" 2008-12-20 13:18:09 +00:00
Roberto Zandona
dcc258f634 added pal in arkgcbl 2008-12-20 12:53:47 +00:00
Aaron Giles
f32fa3b2e6 02745: all sets using autosave: Games using autosave segfault on startup 2008-12-20 07:39:19 +00:00
Aaron Giles
446f13607f Memory view fixes:
* Fixed bug that computed the wrong total size if the address
  space was a full 32 bits
* Improved display to show unmapped memory with *s
* Disabled enumeration of disk and 0-length regions
2008-12-20 07:25:39 +00:00
Aaron Giles
9be5d30f20 More cleanup. Added address-space-specific constants for the various
bus width and shift CPU interface constants. Changed all the cores
to use them.

Minor spacing cleanup in Z80, Z180, TMS34010, ADSP21xx cores.

Changed ADSP21xx cores to accept a configuration struct instead of
using set_info to specify serial port callbacks. Simplified the
ADSP21xx get/set info significantly. Removed support for only
including certain variants of the chips; they are now either all
supported or all unsupported.
2008-12-20 02:57:13 +00:00
Aaron Giles
bc33516388 Oops, missed this file. 2008-12-20 00:06:49 +00:00
Aaron Giles
165be1ee47 Z180 uses new cpu_state_table 2008-12-19 23:04:42 +00:00
Aaron Giles
63a6f364f8 Fixed registers view to only show those entries valid for the
CPU type.
2008-12-19 22:34:19 +00:00
Aaron Giles
d2d5def542 Oops, swapped import/export on the R register. 2008-12-19 22:29:14 +00:00
Aaron Giles
320097d9fe Renamed CPUINFO_PTR_* to CPUINFO_FCT_* for function get infos.
Changed Z80 over to the new cpu_state_table mechanism.
2008-12-19 22:26:25 +00:00
Aaron Giles
f36fc8641e This update is the below two patches, plus the remaining changes
necessary to remove 12 of the final 14 references to the global
Machine. The remaining 2 are in fatalerror() and logerror(), which
are both local to mame.c, so Machine is now fully static.

--

From: Atari Ace [mailto:atari_ace@verizon.net] 
Sent: Thursday, December 18, 2008 5:47 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Make Machine static followup

Hi mamedev,

This incremental patch to my last patch undoes the change that caches
the ppu2c0x videorom.  I changed the code back to how it behaved
originally, using an existing machine on the chip struct to eliminate
the one troublesome Machine reference.

~aa

--

From: Atari Ace [mailto:atari_ace@verizon.net] 
Sent: Thursday, December 18, 2008 2:54 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Make Machine static!

Hi mamedev,

This large patch completes the removal of the use of Machine
throughout MAME.  It does so primarily by adding machine, device or
space to various apis and modifying the callers, but for some
remaining cases it adds a new api, mame_get_running_machine(), which
will be called instead.  There are only 14 uses of this api currently,
and that number should drop over time.

There are a few changes of note:
1.  6821pia.c.  I attached machine to the 'device' structure.  I'm
working on converting this to a proper device, but that change isn't
ready.
2.  fddebug.c.  I added a proper header so that the apis won't get
accidentally converted to static again.
3.  scsi.c.  I added a machine to SCSIInstance.
4.  system16.c.  I modified sys16_patch_code to take an array of
patches.
4.  custom.h.  I added the owning sound device to the reset/stop
routines as well as the token.  Note that passing only the device
would require exposing the internals of custom_sound, as the token
passed is not the device token, but the token returned from the
CUSTOM_START routine.  Better ideas here are welcome.
4.  ppc2c0x.c.  To avoid changing more interfaces, the init routine
saves the videorom location rather than looks it up each time.

I tried to choose what I felt was the natural parameter for an api,
rather than always pass machine, but in some cases I used machine to
limit the number of additional changes.  Some additional cleanup here
is probably warranted, I'll look into that later once I'm recovered
from this two-week project.

~aa
2008-12-19 19:40:22 +00:00
Aaron Giles
42c9aeff39 Cleaned up device and sound interfaces to match the CPU
interfaces when handling strings. Namely, the generic
get_info functions allocate a temporary string and the
device in question copies its string to the target,
instead of assigning a const char *. Updated all device
and sound cores to operate this way.

Added the concept of a cpu_state_table, which is
supplied by the CPU cores and which describes all the
register state accessible to the debugger and other
subsystems. The format of the table is such that most
data can be simply fetched from memory without the
further involvement of the CPU core, including the 
display of common formats. Extensibility points are
available for custom display and for importing/exporting
the data to intermediate variables for more complicated
scenarios. Updated the ADSP21xx, TMS340x0, and i86 cores
to use this.

Removed the old debugger register list, which was never
used. Replaced it with using ordering from the
cpu_state_table.

Renamed REG_PC -> REG_GENPC, REG_SP -> REG_GENSP, and
REG_PREVIOUSPC -> REG_GENPCBASE. Updated a few spots
that were using these directly. Moved these definitions
into the end of the register area rather than leaving
them outside which put them in a weird range.
2008-12-19 06:46:17 +00:00
Andrew Gardner
3fdd1d460a Decoded some graphics and setup some RAM in the Virtual Combat driver. [Andrew Gardner] 2008-12-19 03:59:48 +00:00
Roberto Zandona
a382407df8 fixed proms in boobhack 2008-12-18 22:40:04 +00:00
Wilbert Pol
4830ff3e28 Some PIC8259 updates:
- Fixed operation of edge-triggered interrupts
- INT output line is now cleared when an IRQ is acknowledged
- Implemented basic OCW3 features
2008-12-18 20:23:45 +00:00
Aaron Giles
72b283a0d1 Removed index and clock parameters from CPU_INIT function. 2008-12-18 10:11:10 +00:00
Aaron Giles
aa7e2482e2 CPU header cleanups....
i86/i286/i386/nec/v30mz:
 * renamed i86.h -> i86priv.h
 * renamed i86intrf.h -> i86.h
 * consolidated i88intrf.h, i186intf.h, i188intf.h, etc into i86.h

m6805:
 * moved memory read/write macros out of public header

m37710:
 * moved memory read/write macros out of public header

spc700:
 * moved many structs/functions/macros out of public header

tms32010:
 * moved memory read/write macros out of public header

sm8500:
 * pointer-ified the core (apparently never had get/set context!)

g65816:
 * moved memory read/write macros out of public header

pic16c5x:
 * moved memory read/write macros out of public header

t11:
 * moved memory read/write macros out of public header
2008-12-18 09:38:12 +00:00
Aaron Giles
785b6a50c6 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Wednesday, December 17, 2008 9:03 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] STREAM_UPDATE update

Hi mamedev,

This patch modifies the parameters of the stream_update_func callback.
The first two patches go through and changes all the callbacks to use
a consistent set of parameters (the larger patch was mechanically
generated, the smaller second patch are hand edits where review or
compilation showed issues with the automatic conversion).  The third
patch then macroizes all the callbacks to STREAM_UPDATE, and was done
mechanically except for the change to streams.h.  The fourth patch
then adds device to the callback, and eliminates Machine in a handful
of callbacks by referencing the device.  deprecat.h -= 8.

~aa
2008-12-18 08:32:50 +00:00
Aaron Giles
cf9fc58618 Made the concept of a "clock" native to devices. The clock is now
specified when the device is added, and the clock is available in
the device_config directly via device->clock. Updated all devices
that have a clock to specify it when adding the device, rather than
as part of their configuration. As part of this work, also created
device-specific _ADD and _REMOVE macros to simplify configuration.

Dfined a generic device execute function callback, though it
is not used yet. The long term plan is that any device with an 
execute callback will be scheduled along with the CPUs. Now that
CPUs are devices, their scheduling will be moved over to this
logic eventually.

Changed various NVRAM devices to fetch their default memory region
from the device->region rather than specifying it in the 
configuration.

Moved a number of CPUINFO_PTR_* constants to CPUINFO_FCT_*.

Fixed several drivers that manually created their own gfx_elements
to fill in the machine object, so they no longer crash.

Fixed incorrect CPU display on info screen (recently broken).

Moved device startup to *before* the DRIVER_INIT is called. This
is to allow the DRIVER_INIT to configure devices that have been
properly allocated. So far I don't see any negative effects, but
be on the lookout if something weird shows up.

Rewrote the device iteration logic to make use of the typenext
field and the newly-introduced classnext field for iterating more
efficiently through devices of a given type or class.

Fixed behavior of MDRV_CPU_REPLACE so it does not delete and then
re-add a CPU (causing the order to change).
2008-12-18 08:28:50 +00:00
Wilbert Pol
d9fbf0dba5 Removed unneeded segment base changes from the 80286 core. 2008-12-17 19:15:14 +00:00
Yasuhiro Ogawa
09f7e1e8d1 Finalizer update (by poUzVdb90):
- converted to tilemap
- added flipscreen
- changed sound chip name from SN76496 to SN76489A
2008-12-17 15:44:04 +00:00
Aaron Giles
2ed5fee4bb Fix compile error. 2008-12-17 15:15:21 +00:00
Aaron Giles
804860a75c Added the concept of device "owner", for devices owned by other devices.
Modified laserdisc players to walk back to their global device state
via the owner, rather than brute-force searching for the first instance
and hoping that is the right one.
2008-12-17 06:12:58 +00:00
Aaron Giles
e2ae5c7fa3 From: Atari Ace [atari_ace@verizon.net]
Sent: Tuesday, December 16, 2008 12:20 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Migrate CPU defines to cpu header files

Hi mamedev,

This patch migrates all the CPU definitions into the cpu header files.
The #defines and CPU_GET_INFO declarations were added by hand to the
cpu cores in the first patch, plus a few partly related fixes to the
non-DRC cores.  The second patch was produced by the attached script
which inserts all needed #includes, except for two that were added by
hand in the first patch.  The first patch also removed an extra define
of N2A03_DEFAULTCLOCK that would have caused problems with the second
patch.

~aa
2008-12-17 05:52:10 +00:00
R. Belmont
ab8b93e1d1 Improved 64-bit fix. 2008-12-17 05:42:57 +00:00
R. Belmont
84afc85712 Fix fatal pointer truncation on 64-bit builds. 2008-12-17 02:48:17 +00:00
Aaron Giles
4f266b6da4 Hi mamedev,
More deprecat.h cleanup in the core, notably changing the apis for
poly_alloc. I also made cpu_get_index_slow fatalerror on failure 
since no one is checking the return value.

deprecat.h -= 14, Machine -= ~55

~aa
2008-12-16 16:32:05 +00:00
Aaron Giles
5630547540 More device normalization:
cpu_get_info_* -> device_get_info_*
  cpu_set_info_* -> device_set_info_*
  cpu_reset      -> device_reset

Removed the cputype_get_* macros as they are not necessary.

Removed cpuintrf_init() which is no longer necessary.
2008-12-16 16:30:28 +00:00
Aaron Giles
98c40f06db Made CPUs into proper devices. CPUs are now added in the
machine configuration just as any other device, and the
standard CPU configuration is performed via the inline
configuration macros.

Change cpu_type from an enumeration into a pointer to the
CPU's get_info function, very similar to device behavior.
For now all CPUs are declared in cpuintrf.h, but 
eventually they should be declared in the CPU's header
file, and the driver should #include that header.

Added function cpu_get_type() to return the CPU type.

Changed several cpu_* functions into macros that call
through to the equivalent device_* function.

The device system now maintains a parallel list of devices
based on type, for faster iteration through all devices
of a given type.

Cleaned up code that looped over CPUs via the machine->cpu
array to now loop using the type-based device list.

Removed start/stop/reset/nvram functions from the 
device_config in favor of grabbing them as needed.

Cleaned up the generic interrupt_enable code to work with
CPU devices instead of numbers.

Mapped the devtag_* functions to device_* functions via
macros instead of parallel implementations.
2008-12-16 15:02:15 +00:00
Roberto Fresca
76e6a7abc4 Funworld.c improvements...
- Added new set: Jolly Card (italian, encrypted bootleg).
   No coins... Only remote credits. After nvram init, set the Payout DIP to 'manual'
   to allow the remote credits mode to work.
 - Created inputs from the scratch for jolycdib.
 - Updated technical notes.

New clones added
----------------
Jolly Card (italian, encrypted bootleg) [Roberto Fresca]
2008-12-15 07:31:18 +00:00
Aaron Giles
a1bd0a2a92 Removed old cherrym driver. 2008-12-15 05:52:19 +00:00
Aaron Giles
7808378272 Fixed duplicate driver. 2008-12-15 02:06:58 +00:00
Aaron Giles
54db8f077b Cleanups and version bump. 2008-12-15 01:46:32 +00:00
Aaron Giles
f65131343d Added proper artwork for the led in Gridiron Fight [David Haywood]
-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk] 
Inviato: domenica 14 dicembre 2008 23.56
A: Angelo Salese
Oggetto: Gridiron update

Changed it from using a hack using the gfx rom to display the 'play 
number' to using the LEDs in the artwork system.
2008-12-15 01:12:26 +00:00
Aaron Giles
4ef83e02c3 This adds Jackie to the Champion Skill HW.
New games marked as GAME_NOT_WORKING
------------------------------------
Jackie [David Haywood]

============================================================================

(Personally I'm not really interested in this one at the moment (I'm not
enough keen with Champion Skill HW and its fancy I/O stuff), however it
should be slightly different memory map + different protection)

roms/current/j/jackie.zip
2008-12-15 01:08:32 +00:00
Aaron Giles
1f54995066 -Merged goldstar.c & cmaster.c drivers
-Converted the Reels video to Tilemaps [David Haywood]

New clones
----------
(New?) Cherry Bonus III [David Haywood]
Cherry Bonus III [David Haywood]

New non-working
---------------
Cherry Master (Corsica, v8.01) [David Haywood]
Cherry Master 91? [David Haywood]

-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk] 
Inviato: domenica 14 dicembre 2008 22.20
A: Angelo Salese
Oggetto: Gold Star update

I converted the Reels video to Tilemaps
merged cmaster.c with this, since it's basically the same thing, but 
with some changes..  made a few improvements to that.

also added another cherry master set, might be "cherry master '91" but 
it's probably running on an extended version of the hardware as it has 
extra roms etc.

it's still rather messy..   seems this game / hardware was used for the 
base of a lot of hacks, and it's really hard to know what the originals 
were...

------------------------------------------------------------------------

the cherry bonus 3 sets seem to be the same game as goldstar ....

again these were just random messy sets on f205v's pcb with no proper info,
no proms etc. ... ncb3 boots, and does show a dyna logo .  cb3 seems to be
encrypted.
2008-12-15 01:05:48 +00:00
Aaron Giles
6b4efba253 Queen [David Haywood]
This adds the "Queen" game into a driver (a.k.a. the 2002 PC-era game)
(roms are already on the ftp,I believe)

-----Messaggio originale-----
Da: David Haywood [mailto:neohaze@nildram.co.uk] 
Inviato: venerdi 12 dicembre 2008 0.05
A: Angelo Salese
Oggetto: Queen Skeleton..

Didn't think the queen was dead yet, but here is her skeleton ...
2008-12-15 00:58:31 +00:00
Aaron Giles
68bca19400 Fix all obvious regressions based on screenshots. 2008-12-15 00:55:07 +00:00
Aaron Giles
60b43c1d69 Removed hack for setting mcs51 serial callbacks. Updated micro3d to use
new functions. Fixes regression.
2008-12-14 23:47:30 +00:00
Aaron Giles
04fbf4f825 Removed unnecessary masking in disassembly view.
Changed console subview computations to leave the registers portion
fixed.
2008-12-14 21:34:02 +00:00
Brian Troha
eb83e4e9b8 Change parent/clone relationship to MAME standards (by request ;-) 2008-12-14 20:18:05 +00:00
Couriersud
4ffa2901ce Fix raster effects in nbbatman - as far as I can judge.
I was not able to dig out information about the V33 prefetch
timing and the prefetch cache size. Anybody has more 
information?
2008-12-14 18:47:33 +00:00
Roberto Zandona
046ef441d9 i960: fixed nor opcode and added notor opcode 2008-12-14 16:55:49 +00:00
Angelo Salese
0a5ed5cca3 (...and fixed a mcu incorrect clock speed while testing that bug) 2008-12-14 16:17:25 +00:00
Angelo Salese
0508c76687 Fixed subtle communication bug with Jangou Lady 2008-12-14 16:11:33 +00:00
Angelo Salese
4a35cb2d18 Added Jangou Lady to the Jangou driver. [David Haywood,Angelo Salese,Phil Bennett]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Jangou Lady [David Haywood,Angelo Salese,Phil Bennett]
2008-12-14 15:35:02 +00:00
Roberto Zandona
10560d6018 m90: removed wrong info about riskchal
cb2001: updated decryption table
2008-12-14 10:01:01 +00:00
Aaron Giles
21831461f2 Fix a couple of regressions. 2008-12-14 09:03:15 +00:00
Aaron Giles
a7db377c87 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, December 13, 2008 5:07 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Add machine to allocgfx

Hi mamedev,

This patch eliminates the #include "deprecat.h" from drawgfx.h.  It
does so in a fashion similar to my recent tilemap patch, adding the
machine pointer to gfx_element, changing allocgfx to take a machine,
and then adjusting the internals to use the machine field as needed.
The changes outside of drawgfx.[ch] were done with the attached
script.

~aa
2008-12-14 08:45:12 +00:00
Aaron Giles
9830575ad0 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, December 13, 2008 1:34 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Add machine parameter to tilemap_create()

Hi mamdev,

This set of patches eliminates the #include "deprecat.h" from
tilemap.c.  The main change is to require callers of tilemap_create to
provide a machine pointer.  This pointer is then attached to the
tilemap and used when needed inside tilemap.c.

The first patch simply adds running_machine *machine to some driver
functions that will soon need them.  The second patch makes the needed
changes to tilemap.[ch].  The (large) third patch adds machine to all
the tilemap_create calls, and was generated entirely by the attached
script.

~aa
2008-12-14 08:34:41 +00:00
Aaron Giles
98b3cf37e7 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, December 13, 2008 6:58 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] additional sound core deprecat.h removal

Hi mamedev,

This patch removes most of the remaining deprecat.h includes in the
sound cores.  deprecat.h -= 8.

~aa

--

From: Atari Ace [mailto:atari_ace@verizon.net] 
Sent: Saturday, December 13, 2008 10:14 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] final sound core deprecat.h cleanup

Hi mamedev,

This patch removes the last three deprecat.h includes from the sound
cores.

~aa
2008-12-14 08:20:09 +00:00
Aaron Giles
af1273c18d From: Atari Ace [atari_ace@verizon.net]
Sent: Friday, December 12, 2008 9:28 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] yet another small Machine cleanup

Hi mamedev,

This patch modifies the tms34010.h, pc16552.h, and tms34061.h
interfaces to eliminate some more global Machine variables.  Six more
deprecat.h includes eliminated.

FYI, 128u5 had 523 deprecat.h includes and ~1400 Machine variables,
now were down to 374 and ~420 respectively, so progress is being made.

~aa
2008-12-14 08:15:01 +00:00
Aaron Giles
9acb30bcbe From: Micko [mailto:mmicko@gmail.com]
Sent: Saturday, December 13, 2008 2:15 AM
To: Aaron Giles
Subject: Re: Another 8080/85 change from me

Hi Arron,
 
Here is the patch.
 
Problem was in EI handling and not clearing of interrupt enable flag, as I did in previous. So now EI is done as in Z80 since it is working same way. I have tried a invaders clone having problem, now they work, also MESS machine for which I initialy did this works.
 
Hope this will be in u6.
 
Micko
2008-12-14 08:11:42 +00:00
Roberto Fresca
9daee25286 Removed the ACIA6850 device from Cal Omega System 905 machine driver. It fixes the wrong lack of SW2. 2008-12-14 02:10:02 +00:00
Aaron Giles
2667ca65f1 02718: zigzag, zigzag2: Don't boot correctly. The screen just flashes over and over. 2008-12-14 01:31:12 +00:00
Nathan Woods
f2c32190ea Changed the 6522 VIA implementation to be a device 2008-12-14 01:08:14 +00:00
Aaron Giles
5b13d131ea 02730: fiveside: locks up at rom check 2008-12-14 00:44:52 +00:00
Aaron Giles
ed2768338f Changed attotime_to_ticks/ticks_to_attotime to use UINTs and the eminline
functions where possible.
2008-12-14 00:34:14 +00:00
Aaron Giles
cfadc42b71 02740: resizing the debug window, the text is only in the old area
(Can't believe people still run with live resizing/dragging turned off :)
2008-12-14 00:33:42 +00:00
Aaron Giles
b58d08db4b 02661: f1gpstr2: Game freezes upon reaching track
02708: wildplt: Gameplay freezes at start 

Fixes by Mamesick.
2008-12-14 00:16:17 +00:00
Phil Bennett
91f5ef0ea7 Added Neo Geo Unibios 1.2 (older version) 2008-12-13 23:10:31 +00:00
Curt Coder
307cea3466 Fixed an insignificant typo. 2008-12-13 19:55:49 +00:00
Curt Coder
747fff0641 Removed deprecation. 2008-12-13 19:39:54 +00:00
Curt Coder
46041fc024 Removed unnecessary deprecation. 2008-12-13 19:31:05 +00:00
Curt Coder
43fb096253 Used cleaner function and demoted some games to NOT_WORKING due to strange behavior. 2008-12-13 19:29:38 +00:00
Roberto Zandona
aa8708e562 cb2001: added opcodes 2008-12-13 17:43:14 +00:00
Nathan Woods
8917ad4f41 6522 interface cleanups 2008-12-13 16:56:09 +00:00
Angelo Salese
b12547e1e1 Written a driver for Jangou,working with sound. [David Haywood,Angelo Salese,Phil Bennett]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Jangou [David Haywood,Angelo Salese,Phil Bennett]
2008-12-13 16:30:56 +00:00
R. Belmont
600351ca69 [02728] Fix Kaneko "Toybox" protected games on big-endian. 2008-12-13 16:07:47 +00:00
Tomasz Slanina
a3eab20447 Promoted form NOT_WORKING status : Super Free Kick + clone
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Super Free Kick [Tomasz Slanina]
2008-12-13 15:15:08 +00:00
Roberto Zandona
acbad50008 cb2001: new opcode added 2008-12-13 14:59:37 +00:00
Phil Bennett
5ea2c772c0 Changed ttmahjng title to 'T.T Mahjong' 2008-12-13 14:48:36 +00:00
Phil Bennett
d689bd7577 02739: skysoldr: In-game music (three level BGMs and boss theme) plays one octave higher.
Reduced all alpha68k.c YM2413 clocks from 8MHz to 3.579545MHz.
2008-12-13 14:31:19 +00:00
Roberto Zandona
ab0af7427c added opcodes in cb2001 2008-12-13 14:25:16 +00:00
Quench
e00af75586 Fixed Wardner games hanging during POST.
Added SaveState flag - savestate in this driver was supported a long time ago.
2008-12-13 12:33:33 +00:00
Roberto Zandona
6661a69e0a added opcodes to cb2001 driver 2008-12-13 09:23:59 +00:00
Aaron Giles
17653fef4d Some misc fixes. 2008-12-13 08:10:27 +00:00
Aaron Giles
e643a688b3 Fixed remaining crash regressions from recent changes. 2008-12-13 07:01:40 +00:00
Aaron Giles
59975ceb55 Expanded cpuexec cycles <-> attotime functions to handle UINT64s. 2008-12-13 06:41:29 +00:00
Aaron Giles
1c9b12c644 Modified regrep to display the soruce file. 2008-12-13 06:29:25 +00:00
R. Belmont
8823bb9ba0 Re-order SCSP init to fix crash. 2008-12-13 04:20:19 +00:00
Roberto Fresca
c53a11a57d New driver for Four Roses. The game is encrypted and also has a MCU.
Added hardware and tech notes.


New games marked as GAME_NOT_WORKING
------------------------------------
Four Roses (encrypted, 2 sets)[Roberto Fresca]
2008-12-13 01:08:00 +00:00
Brian Troha
5a5c5f7450 1 & lower case "L" look too much alike on my machine 2008-12-12 21:51:47 +00:00
Brian Troha
203ddbca32 New Clone added: CarnEvil (v1.0.3)
CarnEvil (v1.0.3) [Brian Troha]
2008-12-12 21:35:25 +00:00
Andrew Gardner
e1f9347f0d Pointer-ified the dsp56k cpu core. [Andrew Gardner]
(There are still a couple of global memory arrays that i've gotta' move into the cpu struct.  Will do that soonish.)
2008-12-12 16:18:42 +00:00
Aaron Giles
fdce8d4d0c Fixed missing clock on alg games as well. 2008-12-12 15:33:45 +00:00
Aaron Giles
b774fabe1a Fixed arcadia games. 2008-12-12 15:32:23 +00:00
Curt Coder
88bd536416 Added missing voids. 2008-12-12 12:23:09 +00:00
Curt Coder
35ebc1b1e3 Added INTE line handling. The games are working now. 2008-12-12 11:49:01 +00:00
Curt Coder
63a5cd896a I8085
- added INTE and state word callbacks

N8080.c
- rewrote interrupt handling according to schematics
- added interrupt acknowledge
2008-12-12 10:37:25 +00:00
Curt Coder
a07c721c0a Fixed Miss Bubble 2. 2008-12-12 08:24:40 +00:00
Curt Coder
0179418856 Fixed Top Roller. 2008-12-12 08:14:22 +00:00
Aaron Giles
b400e7978b From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Thursday, December 11, 2008 6:52 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] deprecat.h cpu cleanup

Hi mamedev,

This patch purges the last few uses of deprecat.h from the cpu cores,
plus a handful of other Machine cases elsewhere that were found by
script inspection.

~aa

--

Hi mamedev,

This patch eliminates most uses of deprecat.h in the sound cores by
attaching the device to the state object and using it where
appropriate.  Given that all the cpu objects use this convention, and
three sound cores already do this, this seemed an appropriate
approach.

~aa
2008-12-12 06:11:15 +00:00
Aaron Giles
9dc4966109 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Thursday, December 11, 2008 10:56 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] verboselog changes for future Machine removal

Hi mamedev,

Several mame files use an inline verboselog definition which saves
typing the cpuexec_describe_context repeatedly.  While this is a nice
feature, each case introduces a then hard to remove deprecated Machine
variable.  One way to fix this would be to add machine to the
parameter list for each verboselog call.  Another way would be to
change them to include the context call explicitly inside a typical
logging macro (e.g. decocass.h).  Not knowing which would be more
acceptable to mamedev, I've included patches for both.

~aa

(I chose to pass the machine to the verboselog function.)
2008-12-12 06:03:37 +00:00
Aaron Giles
9fa83f844a Giga Man 2: The Power Fighters (bootleg of Mega Man 2: The Power Fighters) [David Haywood]
> The roms were forwarded to the list ages ago.  From Arzeno.
>
> GFX roms aren't dumped, using the original CPS2 ones causes the 'GIGA' 
> part of the title to be missing.  They should be different
> SOUND rom isn't dumped, it uses an AD-65 (OKI6295) instead of QSOUND, 
> so I can't add the sound.
>
> Progarm appears to run as expected.
>
> it took a long time to figure out that this change was needed because 
> MAME simply exits to the commandline without any kind of message, or 
> possible backtrace if you attempt to call cpu_set_input_line with an 
> invalid CPU.
>
> -        cpu_set_input_line(space->machine->cpu[1], INPUT_LINE_RESET, 
> (data & 0x0008) ? CLEAR_LINE : ASSERT_LINE);
> +    if (space->machine->cpu[1])    
> cpu_set_input_line(space->machine->cpu[1], INPUT_LINE_RESET, (data & 
> 0x0008) ? CLEAR_LINE : ASSERT_LINE);
>
2008-12-12 05:58:38 +00:00
R. Belmont
2c7aed307a Fix Altivec RGB primitives on newer GCCs. [budge, Vas Crabb] 2008-12-12 04:20:19 +00:00
Roberto Fresca
cd7f972c5e Added working button-lamps + layout to Bra$il, Fashion, and New Magic Card. 2008-12-12 01:27:58 +00:00
Angelo Salese
976643a24b (Added the Forte 2 driver into the main SVN tree) 2008-12-11 21:09:49 +00:00
Roberto Zandona
1a825a230f cb2001: decrypted 2 more opcodes 2008-12-11 20:45:06 +00:00
Roberto Zandona
ceedf880c1 removed a wrong comment 2008-12-11 20:09:42 +00:00
Roberto Zandona
6b20f6a155 Cherry Bonus 2001: added a skeleton driver and some decrypted opcodes
New games marked as GAME_NOT_WORKING
------------------------------------
Cherry Bonus 2001 [David Haywood, robiza]
2008-12-11 19:54:59 +00:00
Aaron Giles
3daeb4a050 Super High Impact (prototype, rev 6.0 09/23/91) [Smittdogg]
From: Smitdogg Jones [jcsmith23@yahoo.com]
Sent: Wednesday, December 10, 2008 4:51 PM
To: Dumping Project; submit@mamedev.org
Subject: Super High Impact (Prototype 6.0 9/23/91)
Most roms are labeled with LA1 stickers. U89 and 105 have small white square stickers stuck on top of what looks like LA1 stickers with "pro6" printed on them by a computer and are the only roms found to be different than ones in the LA1 revision. I added this as shimpap6 and changed the set name of the proto 5 version to shimpap5.

roms will be here temporarily when I can access it, it's currently down, I don't know what the issue is:
http://smitdogg.mameworld.info/random/shimpap6.zip

I'll e-mail the roms to Guru too. If anybody wants pics or anything else from it, let me know soon. I attached the diff.

Smitdogg
2008-12-11 18:15:37 +00:00
Aaron Giles
ebc8bf4286 Here is a driver for Pesadelo, Brazilian arcade hack based on MSX hardware/Konami's Knightmare. Game is working.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Pesadelo [Mariusz Wojcieszek, hap]
 
Rom uploaded to current/p. 
 
It would be good if somebody can check sound hookup - I have no speaker attached to PC in the work office.
 
Mariusz

Also:

From: hap [hap@samor.nl]
Sent: Wednesday, December 10, 2008 3:21 PM
To: submit@mamedev.org
Subject: forte2 driver

Hello,

Attached is a Forte II board driver for MAME.
u5_forte2_diff.zip is the diff to 0.128u5
forte2_csource.zip is the driver source, better viewing than the diff
pesadelo.zip is a game ROM for it


Greets, hap
2008-12-11 18:14:27 +00:00
Aaron Giles
14c34a19c8 Da: David Haywood [mailto:neohaze@nildram.co.uk]
Inviato: domenica 7 dicembre 2008 20.18
A: Angelo Salese
Oggetto: Status Trivai (From software this)

seems to be a vertical set of Triv Two.  There were no question roms, so 
I used the roms from our existing Triv Two set, they seem compatible 
(not really surprising)

Triv Two (Vertical) [David Haywood]
2008-12-11 18:09:47 +00:00
Aaron Giles
70aabcb6de From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Thursday, December 11, 2008 7:13 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Remove deprecat.h from rendlay.c

Hi mamedev,

This patch squashes another deprecated use of Machine from the mame
core by plumbing machine_config into rendlay.c

~aa
2008-12-11 17:59:22 +00:00
Aaron Giles
e26c70d35b Fixed crash bug in DCS games.
Updated the fcompress APIs to allow for specifying a compression level.

Removed the concept of state saving tags, which was a hack to get save states
to work with multiple CPU cores. Simplified the state saving system as a
result, performing the operation in a single pass and without allocating
a full blob of memory. Also enabled minimal compression.
2008-12-11 17:03:13 +00:00
Quench
4ee312ca39 Pointer-ified the TMS32025 core. 2008-12-11 16:55:11 +00:00
Wilbert Pol
4f0f80255a Writes to a pit8253 timer control word always restart the timer. 2008-12-11 11:41:37 +00:00
Aaron Giles
7eaa676d90 Fixed compile error, and fixed crash when handling an exception when the
debugger is disabled.
2008-12-11 11:03:11 +00:00
Aaron Giles
9ff9434146 Removed safe_cpu_get_pc() which doesn't really make sense anymore.
Moved cpu_execute() to be an inline function.
2008-12-11 10:49:25 +00:00
Aaron Giles
04ae2d8bc7 Removed get context/set context calls from the CPU interface entirely.
Pointer-ified the TMS99xx core (missed that one!)
2008-12-11 10:21:52 +00:00
Aaron Giles
d87ef8f79b Here's the big one....
Added new function cpuexec_describe_context(machine) which can be
used in logerror() and other printf-style functions to return a
description of the current CPU/PC given only the machine. Changed
several dozen sites to use this instead of directly interrogating
the activecpu.

Removed all other uses of activecpu throughout the system. Removed
activecpu from the machine structure to prevent future abuse.

Removed cpu_push_context() and cpu_pop_context(), and all call
sites.

Voodoo devices now require a CPU to be defined in the configuration
in order to know whom to steal cycles from or stall when FIFOs get
full. Updated all voodoo users to specify one.

CPD1869 devices now also require a CPU to be defined in the
configuration, in order to know which CPU's registers to fetch.
Updated all cdp1869 users to specify one.

Many other small changes to make this all work.
2008-12-11 09:40:22 +00:00
Nicola Salmoria
c8944548df relax oki 6295 command validity check 2008-12-11 08:47:15 +00:00
Quench
922ea8052f Pointer-ified the PIC16C5x core. 2008-12-11 06:52:59 +00:00
Quench
51ea0b3e29 Pointer-ified the TMS32010 core. 2008-12-11 06:29:44 +00:00
Aaron Giles
506da3c432 From: Atari Ace [atari_ace@verizon.net]
Sent: Wednesday, December 10, 2008 9:27 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Add machine to some emu/machine init methods

Hi mamedev,

This patch widens some machine init interfaces to pass the machine
parameter, allowing more Machine global references to be eliminated.
Eventually most of these need to be converted to devices, but this
change reduces the deprecation surface in the meantime.  I also
attached the script I used to do the initial changes to the drivers,
which handled about 90% of the cases without further editing.

~aa
2008-12-11 03:39:20 +00:00
Angelo Salese
4c0948ce00 Fixed a status bit issue with Bra$il / Fashion to let them work + various input/output fixes for Fashion (which uses different coin lockout hook-up)
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Bra$il / Fashion [Angelo Salese]
2008-12-10 21:12:15 +00:00
Roberto Fresca
ce581f3062 Added Europa 2002 Space to the italian gambling games based on H8/3048 + OKI 6295. Also added game and dumper notes.
New clones added
----------------
Europa 2002 Space (Ver 3.0) [Roberto Fresca]
2008-12-10 19:12:54 +00:00
Aaron Giles
bf7875e7ee Pointer-ified the sc61860 core. 2008-12-10 18:37:47 +00:00
Aaron Giles
dcdfd96f1a Pointer-ified the saturn core. 2008-12-10 18:24:50 +00:00
Roberto Zandona
b3d12a2258 updated adp driver: now fashiong show something 2008-12-10 18:17:18 +00:00
Angelo Salese
4581ef6000 Fixed visible area in Super Pool 99 driver. 2008-12-10 18:12:37 +00:00
Aaron Giles
864cc4513b Pointer-ified the PDP1 core. 2008-12-10 18:04:15 +00:00
Aaron Giles
ebaf684f2e Enabled all CPU cores/variants. Fixed compile issue revealed as a result. 2008-12-10 17:55:49 +00:00
Aaron Giles
540f1eefb4 Pointer-ified the lr35902 core. 2008-12-10 17:50:50 +00:00
Aaron Giles
5f39c19227 Fix compile error. 2008-12-10 17:41:30 +00:00
Aaron Giles
258b16c5d1 Pointer-ified the lh5801 core. 2008-12-10 17:40:54 +00:00
Aaron Giles
92602c58d5 Pointer-ified the cp1610 core. 2008-12-10 17:29:27 +00:00
Aaron Giles
953465543b Fatalerror in non-debug builds too. 2008-12-10 17:16:16 +00:00
Aaron Giles
b0136c9952 Pointer-ified the MC68HC11 core. 2008-12-10 17:16:04 +00:00
Aaron Giles
eadc13bd94 Pointer-ified the TMS32051 core. 2008-12-10 17:06:51 +00:00
Angelo Salese
0b35ca1c1d Wrote a driver for Super Pool 99 (versions 0.36 & 0.31),working with small problems. [David Haywood,Angelo Salese]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Super Pool 99 [David Haywood,Angelo Salese]
2008-12-10 16:59:04 +00:00
Aaron Giles
29d3c3c033 Pointer-ified the upd7810 core. 2008-12-10 16:52:52 +00:00
Aaron Giles
9824c667e4 Pointer-ified the sh4 core. 2008-12-10 16:40:57 +00:00
Aaron Giles
b5705a5322 Pointer-ified the sh2drc. 2008-12-10 16:07:34 +00:00
Roberto Fresca
5a15a2182a Improvements to Millennium 4000 driver.
- Completed normal Inputs/Outputs.
- Added button-lamps calculation.
- Created button-lamps layout.
- Documented the PCB RAM.
- Fixed NVRAM size based on PCB picture (2x CY62256L-70PC near the battery).
- Added notes about the method to make appear the real poker cards.
- Fixed the OKI 6295 frequency (1000 kHz resonator near). Now the game has more decent sounds.
- Corrected CPU clock to 12 MHz. (main Xtal).
2008-12-10 15:32:08 +00:00
Aaron Giles
8b670ddddd Pointer-ified the tms7000 core. 2008-12-10 14:55:39 +00:00
Aaron Giles
8aea6e2b4f s/cpustate->([ch])/filename.\1/ 2008-12-10 14:37:44 +00:00
Wilbert Pol
de1c2646c2 Added missing address space lookups. 2008-12-10 09:00:14 +00:00
Aaron Giles
e2a760bcbd From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Tuesday, December 09, 2008 8:13 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Add device parameter to stream_create()

Hi mamedev,

This patch adds the sound device to the parameters passed to
stream_create so that the global Machine can be removed from
streams.c.  It assumes my previous patch which added CUSTOM_START and
SAMPLES_START has been applied.

~aa
2008-12-10 06:31:23 +00:00
Aaron Giles
b98c709380 Pointer-ified the mb86233 core. 2008-12-10 06:15:38 +00:00
Aaron Giles
0dcdc62b8d Pointer-ified the MB88 core. 2008-12-10 06:07:41 +00:00
Aaron Giles
bb8b6609b6 Pointer-ified the RSP core. 2008-12-10 06:04:18 +00:00
Aaron Giles
942a56edb9 Pointer-ified the apexc core (whatever that is :) 2008-12-10 05:51:37 +00:00
Aaron Giles
b99f7aef26 Pointer-ified the 8085 core. 2008-12-10 05:47:19 +00:00
Aaron Giles
9de8dad60d Pointer-ified the alpha-8201 2008-12-10 05:29:29 +00:00
Aaron Giles
36d63663d3 Pointer-ified the i386. 2008-12-10 05:14:09 +00:00
Roberto Fresca
129c08982e Fixed Mantis 02724.(All games using the s903mod machine display the message: Unable to locate input port 'SW2')
Removed the ACIA 6850 device from modified system 903 hardware.
2008-12-09 20:02:19 +00:00
Aaron Giles
89e14c632f Pointer-ified the i86/i286 cores.
Removed unused v20/v30 implementation.
2008-12-09 15:39:20 +00:00
Aaron Giles
12415fcdcb Pointer-ified the cubeqst CPUs. 2008-12-09 14:49:16 +00:00
Wilbert Pol
5bbd1b8e1c Added MDRV_DMA8237_ADD macro. 2008-12-09 10:13:33 +00:00
Wilbert Pol
a32c38ad02 Added MDRV_PIT8353_ADD and MDRV_PIT8254_ADD macros. 2008-12-09 09:41:24 +00:00
Wilbert Pol
e7a63caaec Added MDRV_PIC8259_ADD macro. 2008-12-09 09:21:07 +00:00
Aaron Giles
e62a46a8ee generic_pulse_line() now takes into account clock scaling and minimum cycles. 2008-12-09 07:31:46 +00:00
Aaron Giles
b319755f9e Added wrappers for ADSP21xx callbacks. Added device parameters to them.
Updated IRQ setters to use generic_pulse_irq_line().
2008-12-09 07:13:21 +00:00
Aaron Giles
13bdc84fff Compile fix. 2008-12-09 06:50:18 +00:00
Aaron Giles
35b6d98757 Oops forgot a file. 2008-12-09 06:36:41 +00:00
Aaron Giles
ec8caea251 Completed pointer-izing the 6502 cores. Removed h6280 SET_CONTEXT calls. 2008-12-09 06:36:30 +00:00
Aaron Giles
98d7204262 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Monday, December 08, 2008 10:05 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] More Machine cleanups

Hi mamdev,

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

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

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

Hi mamedev,

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

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

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

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

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

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

Hi mamedev,

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

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

Hi mamedev,

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

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

Hi mamedev,

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

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

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

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

[David Haywood]
2008-12-06 17:17:10 +00:00
Aaron Giles
fbdff39c21 Fix compile errors. 2008-12-06 17:15:23 +00:00
Aaron Giles
7cf1bffaa5 Added not-working clones Cherry 10 / Cherry I Gold to the goldstar.c driver
[David Haywood]
2008-12-06 17:13:02 +00:00
Aaron Giles
389b25c281 02638: various cpu cores don't compile anymore
(mostly fixed before)
2008-12-06 17:09:02 +00:00
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