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]
* Corrected ROM_REGION "maincpu" for
. twinspri, ghostlop, aof2, aof2a, fightfev, fightfeva
* Added correct p1 ROM to irrmaze
That's the last of the external submissions Aaron.
---------- Forwarded message ----------
From: Manuel Carreras <jaybeewip@yahoo.es>
Date: Sun, Aug 15, 2010 at 12:29 PM
Subject: submission 2 for Mame 0.139u1
To: submit@mamedev.org
Cc: jaybeewip@gawab.com
Hi mamedev,
a second small submission for Mame 0.139u1.
ReadMe and diff are in attached .zip
Thx
jb
Submission 2 from Johnboy for Mame v0.139u1
Changed files:
===============
src\mame\drivers\neodrvr.c
Changes:
========
Corrected ROM_REGION "maincpu" for
. twinspri, ghostlop, aof2, aof2a, fightfev, fightfeva
Added correct p1 to irrmaze
* Renamed the following sets:
sengokh -> sengokuh,
fatfursa -> fatfurspa,
shocktra -> shocktroa
kof99 -> kof99h,
kof99a -> kof99
* Removed wh2j (only diff. C-ROM arrangement; same data)
* Added correct m1 to sengoku3
---------- Forwarded message ----------
From: Manuel Carreras <jaybeewip@yahoo.es>
Date: Sat, Aug 14, 2010 at 6:03 PM
Subject: submission for Mame 0.139u1
To: submit@mamedev.org
Cc: jaybeewip@gawab.com
Hi mamedev,
a small submission for Mame 0.139u1.
ReadMe and diff are in attached .zip
Thx
jb
Submission from Johnboy for Mame v0.139u1
Changed files:
===============
src\mame\mamedriv.c
src\mame\drivers\neodrvr.c
src\mame\machine\neoprot.c
Changes:
========
Renamed the following clone sets:
. sengokh, fatfursa, shocktra
Removed wh2j (only diff. c-rom arrangement; same data)
Added correct m1 to sengoku3
Renamed kof99 to kof99h and kof99a to kof99
The purpose of making it const before was to discourage direct tampering,
but private/protected does a better job of that now anyhow, and it is
annoying now.
s/const[ \t]+address_space\b/address_space/g;
Is basically what I did.
supporting cleaner implementations of drivers in the explicitly OO world.
Expect a follow-on of several more changes to clean up from this one, which
deliberately tried to avoid touching much driver code.
Converted address_space to a class, and moved most members behind accessor
methods, apart from space->machine and space->cpu. Removed external references
to 8le/8be/16le/16be/32le/32be/64le/64be. All external access is now done via
virtual functions read_byte()/read_word()/etc. Moved differentiation between
the endianness and the bus width internal to memory.c, and also added a new
axis to support small/large address spaces, which allows for faster lookups
on spaces smaller than 18 bits.
Provided methods for most global memory operations within the new address_space
class. These will be bulk converted in a future update, but for now there are
inline wrappers to hide this change from existing callers.
Created new module delegate.h which implements C++ delegates in a form that
works for MAME. Details are in the opening comment. Delegates allow member
functions of certain classes to be used as callbacks, which will hopefully
be the beginning of the end of fetching the driver_data field in most
callbacks. All classes that host delegates must derive from bindable_object.
Today, all devices and driver_data do implicitly via their base class.
Defined delegates for read/write handlers. The new delegates are always
passed an address_space reference, along with offset, data, and mask. Delegates
can refer to methods either in the driver_data class or in a device class.
To specify a callback in an address map, just use AM_READ_MEMBER(class, member).
In fact, all existing AM_ macros that take read/write handlers can now accept
delegates in their place. Delegates that are specified in an address map are
proto-delegates which have no object; they are bound to their object when
the corresponding address_space is created.
Added machine->m_nonspecific_space which can be passed as the required
address_space parameter to the new read/write methods in legacy situations
where the space is not provided. Eventually this can go away but we will
need it for a while yet.
Added methods to the new address_space class to dynamically install delegates
just like you can dynamically install handlers today. Delegates installed this
way must be pre-bound to their object.
Moved beathead's read/write handlers into members of beathead_state as an
example of using the new delegates. This provides examples of both static (via
an address_map) and dynamic (via install_handler calls) mapping using delegates.
Added read/write member functions to okim6295_device as an example of using
delegates to call devices. Updated audio/williams.c as a single example of
calling the device via its member function callbacks. These will be bulk
updated in a future update, and the old global callbacks removed.
Changed the DIRECT_UPDATE_CALLBACKs into delegates as well. Updated all users
to the new function format. Added methods on direct_read_data for configuring the
parameters in a standard way to make the implementation clearer.
Created a simple_list template container class for managing the common
singly-linked lists we use all over in the project.
Many other internal changes in memory.c, mostly involving restructuring the code
into proper classes.