> To: submit@mamedev.org
> CC: atariace@hotmail.com
> Subject: [patch] Eliminate more .data
> Date: Wed, 7 Oct 2009 08:51:56 -0700
>
> Hi mamedev,
>
> Most variables in .data are likely to lead to multisession bugs, so it
> is best to eliminate them and add explicit init/reset code for them
> instead. This patch does that for almost all the cases, with a few
> changes deserving some comments:
>
> z180: cc was global when it should be per-cpu.
> nesapu: the noise table would be different run to run in multisession
> which probably wasn't intended.
> astring: i constified the dummy string to make it impossible to
> modify.
> mediagx: hits was separated from the constant data
> tecmosys: i reduced the number of exports and renamed them to use
> tecmosys_ as a prefix.
> atari: i moved the renderer function into ANTIC.
> naomibd: the array provided to x76f100 was too small and might have
> caused memory corruption.
> n64: i constified the one and zero colors, requiring many more const
> qualifiers to be added.
> ldverify: i encapsulated the audio and video variables to reduce the
> amount of global state.
Battlezone - updated to use new module. Adjusted sound levels. Adjusted engine frequency. Remember there is a slider to adjust the frequency.
Donkey Kong Jr. - set noise clock to a fixed measured frequency. (Speed optimization)
(Also makes the code prettier in parts)
(The dsp now goes into its calculation loop, but some
opcode doesn't set flags properly, so it never drops
out of the loop).
Don't credit me in the whatsnew
This is only the rom defs, the former "bootleg upgrade" looks to be a bootleg of this new official set.
Some who knows what they're doing needs to hook up the fd1094 decryption routine and check the CPU1 roms are loading in correctly. The CPU2 roms should be correct.
credit those listed by Yasu in his original email describing the upload please.
This following is not worth mentioning yet.
Started the new 74LS624 code. Called it DISCRETE_74LS629 for now, until it is ready to replace the old code. You can enable it in dkongjr and mario using the USE_LS629 define.
I still need to work out the threshold/range relationship. I'm having the old schrodinger's cat problem. I need to measure the cap threshold, but doing so changes it. I'll work it out.
- Increased number of JVS analog channels for driving games [R. Belmont]
- Protection data added for Crazy Taxi, Jambo! Safari, and Virtua Tennis 2
[Deunan Knute, ANY]
This gets 18 Wheeler and Jambo! Safari (and maybe other games with analog
controls?) to boot and run.
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Gekisha [Luca Elia, Guru, Dyq, Bnathan]
New clones added
----------------
Hana Jingi (Japan, Bet) [Luca Elia, Guru, Brian Troha, Yasuhiro Ogawa]
* Created a base machine driver and then derivatives by hardware.
* Splitted the regular RAM and NVRAM systems.
* Added 'Hi-Lo Double Up Joker Poker' from SMS Manufacturing.
New games marked as GAME_NOT_WORKING
------------------------------------
Hi-Lo Double Up Joker Poker [Roberto Fresca, Alan Griffin]
* Added Draw Poker Hi-Lo (japanese), based on 8080A CPU.
* Merged the gtipoker memory map and machine driver with dphl.
New games marked as GAME_NOT_WORKING
------------------------------------
Draw Poker Hi-Lo (Japanese) [Roberto Fresca]
Types are pretty much unified now.
Multiply operations are handled by eminline.h.
Divide operations were just silly in macros.
64/32-bit combination/extraction macros moved to osdcomm.h and renamed.
Also fixed compile errors in recent 68k changes.
* Added Draw Poker Hi-Lo hardware support, based on 8080A CPU.
* Mirrored the PPI's offsets to simplify/merge the hardware emulation.
* Added hardware documentation and PCB layouts from both DPHL sets.
* Added DPHL discrete sound circuitry scheme/documentation.
* Added Turbo Poker 2 from Micro Manufacturing.
* Added PMA poker.
* Documented the Turbo Poker 2 hardware.
* Added Turbo Poker 2 PCB layout from hi-res picture.
* Switched to the new PPI core.
* Commented out the 3rd PPI device till handshaked strobe lines can be
properly emulated. For now, all VRAM access is through direct handlers.
This allow to remove the hacks per set needed to boot the games.
New games marked as GAME_NOT_WORKING
------------------------------------
Draw Poker Hi-Lo (M.Kramer) [Roberto Fresca]
Draw Poker Hi-Lo (alt) [Roberto Fresca, Alan Griffin]
PMA Poker [Roberto Fresca, Siftware]
Turbo Poker 2 [Roberto Fresca, Siftware]
* Added Bell Star V3.
* Added PCB layout and pinouts.
* Changed the year to 2002.
New games marked as GAME_NOT_WORKING
------------------------------------
Bingo Roll / Bell Star V3 [Roberto Fresca, Team Europe]
- Added working PMMU address translation (not feature complete, but sufficient
to boot several 68030 Macs in MESS)
- Fixed up disassembly of some PMMU instructions
- Added "68020 with 68851" CPU type