vmetal: added driver data class and save states [Fabio Priuli]
no save states in metro.c (yet) because some games like 3kokushi have serious glitches when loading a state. any help is welcome...
* Reworked button-lamps layouts per game. Cleaned-up the code.
* Added specific button-lamps layout for bigdeal games.
* Added specific button-lamps layout for royalcrd & jolycdit,
but there is a bug in the d-up select code that lights the
wrong lamp. This is a leftover from jollycrd routines.
* Flagged vegasfte as GAME_NOT_WORKING, since is not receiving
any coins or remote credits anymore.
with CRT controller, AY8910 and OKI M6295. Main program, graphics
and sound samples are encrypted. [Roberto Fresca, Grull Osgo]
- Hooked both 6502 CPU's.
- Hooked the M6845 CRT.
- Decrypted main program and bulk GFX.
- Decoded GFX and color PROM.
- Hooked both PIA's 6821.
- Worked inputs from the scratch.
- Hooked DIP Switches banks 2 & 4.
- Hooked proper interrupts for audio CPU.
- Hooked the AY8910 latches...
- Hooked the OKI6295.
- Hooked DIP switches ports $C400 & $CC00.
- Found the sound samples decryption algorithm.
- Added NVRAM support.
- Added a complete PCB layout.
- Added game notes.
- Added technical notes.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Five Clown (english) [Roberto Fresca, Grull Osgo]
Five Clown (spanish hack) [Roberto Fresca, Grull Osgo]
As previously discussed, this will be used for the MC680x0 FPU in
order to handle high-precision floats portably. The license is
included in README.txt and is MAME compatible.
Converted backfire.c, boogwing.c, dietgo.c, mirage.c, pktgaldx.c, simpl156.c, supbtime.c, tumblep.c to use the device-fied video chips [Fabio Priuli]
Added driver data struct and save states to the following drivers: dietgo.c, mirage.c, pktgaldx.c, supbtime.c and tumblep.c [Fabio Priuli]
side note: the device-fied code (currently included in video/decodev.c) still needs various refinements, but I will clean it up after all the drivers have been converted.
Added driver_data struct to the following drivers: mgolf.c, minivadr.c, mosaic.c and mrdo.c
Enabled save states to mugsmash.c (everything was already saved)
- added support for arbitrary number of containers for render_target
- added command-line parameter -debug_internal (-di) to use the internal debugger when in debug mode
- internal debugger supports all views except memory view
- added "Debug" view to layout/vertical.lay to create more place for debug views in vertical games.
The colors are ugly. Font rendering needs improvement. There are no shortcut keys right now. There is still a lot of room for more improvements.
However, it works and does not depend on any ui toolkit. The interface has been designed to support displaying views programmatically e.g. from the ui.
Currently, the ui render target is used. In order to support views being displayed in separate windows further changes are needed:
- the osd layer must support creating and closing windows (render targets) on demand.
- There must be a mode for render targets where their bounds follows the window size - Currently the render target size depends on the aspect of currently selected "artwork" view.
- Render target needs a name property.
Short HowTo:
- Start MAME with "-debug -di"
- Console, register and disasm views will be shown. Place them by dragging the view on the title bar.
- Views can be resized by dragging the bottom-right yellow square.
- The view having the focus has a green background title bar.
- Hit "Tab" (IPT_UI_CONFIGURE) to show the menu.
- Console and disasm views support a very simple facility to support entering commands and addresses. Just start typing. Hit "enter" when finished.
ACRTC implementation is a bit hacky due to its preliminary emulation status.
New games marked as GAME_NOT_WORKING
------------------------------------
Joker's Wild (B52 system, set 1) [Roberto Fresca, Tomasz Slanina, Gerald Vanderick]
Joker's Wild (B52 system, set 2) [Roberto Fresca, Tomasz Slanina]
Joker's Wild (B52 system, Harrah's GFX) [Roberto Fresca, Tomasz Slanina, Gerald Vanderick]
Doesn't do much at the moment, but the increase in documentation value is
significant (we're documenting the sample compression format, for one thing).
---
This is just stage one of converting OG's stuff, please do not touch any
of it yet. Next up is the skeleton of the ZOOM chip, finishing up
the missing bits of the CPU core (the interrupt controller and timers), and
debugging the results.
- Added proper inputs.
- Added coin/keyin/keyout/payout counters.
- Limited the bet and coin pulses to avoid repeats and coin jams.
- Added complete coinage and keyin DIP switches.
- Added main game and double-up rates DIP switches.
- Added minimum bet DIP switches.
- Added maximum bet DIP switches.
- Added main game and double-up limit DIP switches.
- Added payout mode and auto take DIP switches.
- Added DIP locations as seen in the settings mode.
- Added demo sounds DIP switch.
- Created proper button-lamps layout.
- Added technical notes.
- Some clean-ups...
(promoted from not working status....)
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Treasure Island (Subsino) [Team Europe, Dumping Union, Angelo Salese, David Haywood, Roberto Fresca]
- split dependences of system16 games from bootleg ones
- moved some .h files to includes/
- removed some unneeded include
- removed some dead code
- added driver data struct to segahang.c, segaorun.c, segas16a.c, sega16b.c, segas18.c, segaxbd.c & segaybd.c
- added save states to segas16a.c
Side notes:
* save states for other drivers do not work atm due to timer issues and/or missing item registrations in video/segaic16.c
* next, I'm going to see if bootlegs can be cleaned up a bit and if some segaic16 components can be device-fied
- Added sdlmisc_<targetos>.c again. This was necessary since
certain tools create stubs for e.g. osd_break_into_debugger.
If we do not have this in a separate file, the link stage may
break.
- Applied OS/2 patch [Credit: KO Myung-Hun]
- Cleaned up #includes. Removed stdlib.h were possible.
- More malloc to osd_malloc rename.
- SDL monitor modes are read now when they are needed. This is now consistent across platforms.
-------------------------------
Penguin Adventure (bootleg) [Mariusz Wojcieszek]
Game is playable, but coin system is missing, so I left NOT_WORKING flag.
--------------------------------------------
F-15 Strike Eagle (2 sets) [Phil Bennett]
Battle of the Solar System (rev. 1.1) [Phil Bennett]
Tank Battle (prototype rev. 4/21/92) [Phil Bennett]
Added Am29000 CPU core [Phil Bennett]
(general):
- Lowered CPU clock to 1.5 MHz.
- Reworked former inputs.
- Added specific game and technical notes.
- Added lamps support.
- Cleaned-up a bit the driver.
Victor 5:
- Mapped the M6295 but commented out due to missing sample roms.
- Added keyin, keyout, payout, stats and settings inputs.
- Added coin/keyin/keyout counters.
- Limited the bet and coin pulses to avoid repeats and coin jams.
- Added complete coinage and keyin DIP switches.
- Added main game and double-up rates DIP switches.
- Added minimum bet DIP switches.
- Added maximum bet DIP switches.
- Added attract music DIP switch.
- Added button-lamps layout.
Victor 21:
- Mapped the M6295 but commented out due to missing sample roms.
- Added bet x10, keyin, keyout, stats and settings inputs.
- Added coin/keyin/keyout/payout counters.
- Limited the bet and coin pulses to avoid repeats and coin jams.
- Added complete coinage and keyin DIP switches.
- Added main game rate DIP switches.
- Added minimum bet DIP switches.
- Added attract music DIP switch.
- Added button-lamps layout.
Poker Carnival (crsbingo):
- Added change card, keyin, keyout, stats and settings inputs.
- Added coin/keyin/keyout/payout counters.
- Limited the bet and coin pulses to avoid repeats and coin jams.
- Added complete coinage and keyin DIP switches.
- Added double-up rate DIP switches.
- Added minimum bet DIP switches.
- Added maximum bet DIP switches.
- Added cards graphics DIP switches.
- Added double-up type DIP switches.
- Added button-lamps layout.
Super Rider, Super Moto:
- Added stats and settings inputs.
- Added coin counters.
- Added main game and double-up rates DIP switches.
- Added double-up and control type DIP switches.
- Added coinage and demo sounds DIP switches.
- Added button-lamps layout.
Shark Party:
- Added stats and settings inputs.
- Added coin counters.
- Added main game and double-up rates DIP switches.
- Added double-up, coinage and demo sounds DIP switches.
- Added button-lamps layout.