Commit Graph

3337 Commits

Author SHA1 Message Date
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