create a stack class that started the profiler in the constructor
and stopped it in the destructor). Sadly, doing that causes gcc to
call out to hook up the unwind chain, and this tanks performance
quite badly, even when the profiler is off.
Since I had already class-ified profiler.c, I decided to keep the old
way of doing things but wrap it in the newer classes. So at least it
wasn't a complete waste of my time.
Search & replace:
profiler_mark_start -> g_profiler.start
profiler_mark_end -> g_profiler.end
address_space. Also added unaligned variants that can read
unaligned values. Rewrote the core handler as a template that
handles all cases, along with a simple unit test to verify that
everything is correct.
Updated 68k, v60, i86, and nec cores to use unaligned read/
write instead of their own stubs for handling misalinged reads.
Fixed memory management of ga2 decryption.
segaic16.c: Treat unsupported read and write accesses to defined devices/memory as open-bus reads or unmapped writes instead of falling through to the memory-mapping registers [Phil Bennett]
in this case, I've recoreded an init inp for the igrosoft games, which works with all sets with the same service menu.. it plays fine on them, but because of this fatalerror MAME crashes when i attempt to use it with a set other than the one i recorded with
which isn't good behavior
I see no issue with it.. mame shouldn't crash in that situation, and sometimes you want that behavior.
(not worth mentioning)
* Corrected docs about the 906III memory map.
* Mapped the AY8912.
* Added AY8912 proper interfase. Tied SW2 to AY8912 port.
* PIA0, portA is polled constantly. Tied some debug handlers
to understand how the input system works.
* Added notes about the PIAs R/W.
* Added Game 24.0 (Gaming Draw Poker, hold). The game is playable.
* Added missing 50/60Hz output frequency selector to systems 903-905.
However, I dunno how it looks physically (switch/jumper/bridge?)
* Injected missing start and NMI vectors to comg080 (Arcade Black Jack),
from an exhaustive program ROM analysis / reverse engineering.
The game now starts ok and is triggering proper NMI's.
* Inputs from the scratch for comg080 (Arcade Black Jack).
* Added workaround to pass the vector-check protection.
* Reworked the lamps circuitry by system-basis.
* Updated games list and technical notes.
* Promoted comg080 (Arcade Black Jack) to working state.
* Added support for system 906III:
- Accurate memory map, CRTC, and PIAs mapped.
- Preliminary PIAs support (no multiplexion yet).
- Added proper machine driver, with correct R65C02 CPU.
- Documented the hardware specs.
- Added Game 51.08 (CEI Video Poker, Jacks or Better),
running in CEI 906III hardware. The game is not working.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cal Omega - Game 8.0 (Arcade Black Jack) [Roberto Fresca]
Cal Omega - Game 24.0 (Gaming Draw Poker, hold) [Roberto Fresca]
New games marked as GAME_NOT_WORKING
------------------------------------
Cal Omega - Game 51.08 (CEI Video Poker, Jacks or Better) [Roberto Fresca, Dave Ormiston]
Replaced the bad dumped GFX from NZ set with the new ones,
since they match 4 of 6 bitplanes. [Roberto Fresca]
New games added or promoted from NOT_WORKING status
---------------------------------------------------
3 Bags Full - 5VXFC790 (Victorian) [Roberto Fresca, Ogoun]