Commit Graph

9187 Commits

Author SHA1 Message Date
Aaron Giles
55aa633c99 Pre-cache maincpu so we can efficiently query the PC in the speedup loop. 2010-06-14 08:06:11 +00:00
Aaron Giles
8c2c643a7e Regression fixes:
atarijsa.c: just use a generic device for the tms5220 to handle variants until
we have a proper base class (fixes eprom, eprom2 - eprom.c
"assert: src/emu/emucore.h:328: dynamic_cast<_Dest>(src) == src")

decocass.c: invert sense of reset line to MCU (fixes All sets in decocass.c - 
Games no longer begin loading (countdown))

metro.c: use generic device for the YM sound since multiple YM chips are used.
(fixes 3kokushi, blzntrnd, dharma, dharmak, dokyusei, dokyusp, gstrik2, gstrik2j, 
karatour, ladykill, lastfort, lastforte, lastforte, lastfortg, lastfortk, skyalert, 
toride2g, toride2gg, toride2j  - metro.c
"assert: src/emu/emucore.h:328: dynamic_cast<_Dest>(src) == src")

mitchell.c: when swapping the OKIM6295 for an MSM5205, use a different tag.
(fixes pangba, spangbl - mitchell.c
"assert: src/emu/emucore.h:328: dynamic_cast<_Dest>(src) == src")

deco32.c: use a proper EEPROM device to fetch the space from.
(fixes tattass, tattassa - deco32.c - Crash while checking "Jack Ram" before start 
"assert: src/emu/emucore.h:328: dynamic_cast<_Dest>(src) == src")

system1.c: use a proper z80pio_device (cleanup)

vconv.c: support -g* options for MSVC builds (cleanup)

m377101.c/g65816.c: fix fault logic for mapping icount (fixes
All sets in namcofl.c, namcona1.c, namconb1.c, nss.c, sfcbox.c, snesb.c 
airco22b, cybrcycc, dirtdash, rrf, timecrs, timecrsa - namcos22.c
Hanging immediately or shortly after start.
"assert: src/emu/schedule.c:189: ran >= *exec->m_icount")

schedule.c/diexec.c/timer.c: add temporary logging to permit direct comparisons with
earlier games timing (cleanup)

generic.c: fix computation of time for turning off the IRQ when using 
generic_pulse_irq() to account for CPU-local time (fixes
Any sets in bublbobl.c which use the which use m6801 - Frequent/Random watchdog resets.)

z80pio.c: convert internal line states to bool, and fix typo (control_write should have
been data_write in one place) (fixes Any system1.c games which use z80pio - No sound)
2010-06-14 07:40:06 +00:00
Brian Troha
c06fe0e3f7 Documentation update [Stefan Lindberg, Dumping Union]
segas16b.c, taito_f2.c, taito_f3.c & taito_x.c:
  Corrected rom names and or added PCB locations to Ray Force, Arabian Magic, Liquid Kids, Twin Hawk. Added additional Sega game ID info for an Alien Syndrome set.
2010-06-14 02:43:25 +00:00
Angelo Salese
319e35da9d More improvements 2010-06-13 20:22:47 +00:00
Miodrag Milanovic
d483c1fb0e Legacy memory and nvram device define and declare had exchanged implementation,requires full recompile (no whatsnew) 2010-06-13 17:40:12 +00:00
Angelo Salese
4a7156c0a0 Dumped internal ROM for Janshi [Charles MacDonald] 2010-06-13 16:45:41 +00:00
Angelo Salese
921255a3d7 Fixed illegal opcodes message, not worth mentioning 2010-06-13 16:26:28 +00:00
Angelo Salese
963999c685 Additional Pinkiri 8 works 2010-06-13 15:00:26 +00:00
Angelo Salese
014a8b425e Dumped internal ROM for Pinkiri 8 [Charles MacDonald] 2010-06-13 14:18:50 +00:00
Miodrag Milanovic
1b391a8617 Removed not needed constant, set proper return type and added call to m4510 core too (no whatsnew) 2010-06-13 13:31:41 +00:00
Miodrag Milanovic
4353b40864 Added back software list support in emu core, and update 6510 and SM8500 cpu cores with calls needed by MESS (no whatsnew) 2010-06-13 11:43:42 +00:00
Yasuhiro Ogawa
84788f50af New clone added
Ooedo Fight (Japan) [Team Japump, The Dumping Union]
2010-06-13 01:51:52 +00:00
Angelo Salese
10764a25a8 Some more Night Gal works, not worth mentioning 2010-06-12 13:04:09 +00:00
Angelo Salese
30219e096f new WORKING game
----------------

Night Gal [Charles MacDonald, Angelo Salese]
Night Bunny / Royal Night [Charles MacDonald, Angelo Salese]
2010-06-12 12:12:59 +00:00
Angelo Salese
b1ff8a6217 new WORKING game
----------------

Royal Queen [Charles MacDonald, Angelo Salese]
2010-06-12 11:34:32 +00:00
Scott Stone
5fc8b4b8c5 An assert fix for vsnes.c games (submitted for Fabio) 2010-06-12 00:32:43 +00:00
Aaron Giles
7eb08a94fb Clean up profiling flags in the makefile. Removed GPROF flag, it is now just
PROFILE. When enabled, automatically turn on basic symbols. Also added new
SYMLEVEL option to control the symbols level (defaults to 2). [Aaron Giles]
2010-06-11 23:07:16 +00:00
Aaron Giles
10f5966ea5 Split implementation for legacy devices into a separate macro. Updated all
devices to use this macro in their .c file. This greatly reduces the amount
of work the linker has to do to combine all the instances, and reduces the
final binary size when building with symbols. Unfortunately, in order to do
it I had to switch back to macros from templates, but I can live with that
for legacy devices.
2010-06-11 20:37:50 +00:00
Aaron Giles
6e075a3823 Add back the validity check support for legacy devices to help MESS. 2010-06-11 15:19:59 +00:00
Miodrag Milanovic
f523ad192d MESS related fixes to enable compile after device rewrite (no whatsnew) 2010-06-11 13:32:49 +00:00
Miodrag Milanovic
b7a9ae251c Flash: 4k sectors should erase in 1/8th the time of 64k.
extend core to support GBA chip types. [R.Belmont]
2010-06-11 13:31:24 +00:00
R. Belmont
5576be7594 Corrected Raiden II audio banking - it's only at 401a [R. Belmont] 2010-06-11 03:18:34 +00:00
Jonathan Gevaryahu
e8a0ccb39d Fix audio cpu banking in Raiden 2 (add a missing mirror to banking register) [trap15, R. Belmont] 2010-06-11 03:09:22 +00:00
Scott Stone
e2ee20376e Reverted hunchbkg change as indeed I didn't notice the CPU difference. 2010-06-10 23:31:36 +00:00
Scott Stone
52ff6adb94 hunchbkg no longer asserts for 32-bit, but still doesn't work. 2010-06-10 23:04:00 +00:00
Scott Stone
fdb9a3271f MDRV_CPU_REPLACE fix for trojan and clones.
Re-re-verification of the lwings clocks.
2010-06-10 20:43:55 +00:00
Scott Stone
9d07219627 Updated galivan.c with DIP LOCATIONS and verified setting via Service Mode. Added comments about missing text layer in Ninja Emaki and flagged those sets with missing protection emulation. [Tafoid] 2010-06-10 19:45:41 +00:00
Aaron Giles
f26b6fd08c Fix several timing problems:
* suspend-until-time was broken (CPU would be suspended and never resumed)
 * timer devices would fire an initial callback even if not set up with a time yet
 * triggers requested after a time would fire twice; once right away and once at the target time

Fixes many regressions.
2010-06-10 08:01:06 +00:00
Aaron Giles
f7e04794ca Another MDRV_CPU_REPLACE victim. 2010-06-10 06:45:01 +00:00
Aaron Giles
6fc3f5d8a5 Fix assertion. 2010-06-10 04:46:22 +00:00
Aaron Giles
019793c78f Cache pointer to exit function to prevent crashes on teardown. 2010-06-09 22:02:21 +00:00
Aaron Giles
dc7d48d23e Another MDRV_CPU_REPLACE issue. 2010-06-09 20:29:39 +00:00
Aaron Giles
74473b6e30 Initialize m_scantime and m_pixeltime to non-zero values to prevent divide by
zero if called prior to initialization.
2010-06-09 20:25:22 +00:00
Aaron Giles
001ecdcd95 And another case bitten by MDRV_CPU_REPLACE. 2010-06-09 20:18:04 +00:00
Aaron Giles
4bced1c4b8 MDRV_CPU_REPLACE no longer retains existing memory maps or interrupts.
If you're just changing the clock, use MDRV_CPU_MODIFY/MDRV_CPU_CLOCK.
Otherwise, you have to specify everything all over again.
2010-06-09 20:08:10 +00:00
Angelo Salese
d26f0bd139 Fixed crash regression with spangbl / pangba [Angelo Salese] 2010-06-09 19:35:29 +00:00
Angelo Salese
363b273816 Fixed priorities in Frog & Spiders 2010-06-09 19:25:18 +00:00
Angelo Salese
dec985c01c Fixed assert in Chihiro, not worth mentioning 2010-06-09 18:32:46 +00:00
Fabio Priuli
7c8c3e3080 Fixed silly mistake in counting vrom banks. Thanks Tafoid for spotting this. 2010-06-09 17:30:47 +00:00
Angelo Salese
01dedfbf31 Fixed some CMOS errors in Tournament Solitaire, not worth mentioning 2010-06-09 16:24:55 +00:00
Aaron Giles
eba2c14060 Change cpu execute function to just use the icount stuffed by
the scheduler, rather than manging an incoming cycle count. It was
confusing to have multiple sources of cycle counts.
2010-06-09 16:20:50 +00:00
Aaron Giles
ebdc4525f9 Tweak to s2650 IRQ cycle handling to fix gcc codegen bug.
Added asserts to catch other unexpected situations.
2010-06-09 15:32:01 +00:00
Jonathan Gevaryahu
d4e1e8c266 Update/Correct Space Invaders Comments, particularly regarding Midway Boards [Andrew Welburn, Lord Nightmare] 2010-06-09 12:01:46 +00:00
Phil Bennett
7dff680d65 New games added or promoted from NOT_WORKING
--------------------------------------------
The Berenstain Bears in Big Paw's Cave [B Zeidler]
2010-06-09 07:08:33 +00:00
Aaron Giles
dc5cdb2a33 Handle non-HLE situations. 2010-06-09 00:00:30 +00:00
Aaron Giles
291cc0a473 Enable NULL callbacks in timer devices. 2010-06-08 23:53:48 +00:00
Aaron Giles
ad12251785 Remove stray bitmap_free's. 2010-06-08 23:40:57 +00:00
Aaron Giles
13c37d16c5 Handle flag-less CPUs gracefully. 2010-06-08 23:31:32 +00:00
Angelo Salese
f5e34d9b12 Fixed palette / priority handling in Lucky Girl (Newer Z180 hardware) [David Haywood]
new clones
----------

Phantoms II (Space Invaders hardware) [Andrew Welburn]  (enigma2b)
Toki (US, set 2) [Corrado Tomaselli] (tokiua)

new not working
---------------

Unknown Meyco Game [Trevor Brown, Antwon Barajas] (unkmeyco)
2010-06-08 19:55:22 +00:00
Wilbert Pol
cc4ff7570d SDL: Fix compiling with OSX debugger. 2010-06-08 19:50:57 +00:00