Change clipping for CV1K games to draw 32 pixels surrounding the visible area.
This can be easily seen in Muchi Muchi Pork, which has a VRAM viewer in Special mode (Object Test), which will show 32 px drawn around the visible areas of framebuffers.
For most gamers, this wont really matter at all... except for in Muchi Muchi Pork, where changing this actually fixes a bug for Rafute.
When Bombing with Rafute, the screen background will go wavy in a sine-like pattern. Currently in mame, the top of screen will show black pixels when this happens.
With this fix for clipping, the background will instead be visible correctly.
Also renamed the "scroll registers" to have it more clear which one of these are actually used as a "scroll register" (or rather offset for drawing), and which one is strictly used for clipping.
cpu/z80: Added support for variants with address translation and implemented Z84C015 chip selects.
New working clones
-------------------
Peters Plus, Ivan Mak Sprinter Sp2000
ui/filemngr.cpp: For an empty media device, look for another device with
a mounted software item that has compatible parts before falling back to
the file manager. This is useful when mounting a multi-part item via
the menus, or for a system like the X68000 with multiple drives where
the boot disk remains mounted but another application disk is
automatically ejected when you're prompted for the next disk.
ui/datmenu.cpp: Don't assume mounted images are always from software
lists (fixes MT08620), and take the first image mounted from a software
list rather than the last.
bus/s100: Got rid of simple_list.
The issue occurred when a system with no ROMs or only bad dumps had an
immediate parent with no ROMs in common. This is another thing broken
by the attempts to hide "missing" ROM sets from audits.
One of the first Sonic fan games, made by Kiyoshi Sakai of Umihara Kawase fame.
New working software list items
---------------------------
x68k_flop: Mi ni Ikuzo! Hedgehog
--------------------------
Scrabble Lexor: Computer Word Game (MN1405 version) [hap, Sean Riddle]
New systems marked not working
------------------------------
Basketball (Tomy) [hap, Sean Riddle]
New software list items marked not working
------------------------------------------
n64_lodgenet.xml: 1080° Snowboarding, Donkey Kong 64, Dr. Mario, Excitebike 64, F-Zero X, Gauntlet Legends, Hydro Thunder, Kirby 64 - The Crystal Shards, The Legend of Zelda - Majora's Mask, The Legend of Zelda - Ocarina of Time, Mario Golf, Mario Kart 64, Mario Party 3, Mario Tennis, Midway's Greatest Arcade Hits Vol. 1, Mortal Kombat 4, The New Tetris, Paper Mario, Pilotwings 64, Pokémon Snap, Rampage 2 - Universal Tour, Ready 2 Rumble Boxing, Rush 2 - Extreme Racing USA, Star Fox 64, Star Wars - Rogue Squadron, Super Mario 64, Super Smash Bros., Virtual Chess, Virtual Pool 64, Wave Race 64, Yoshi's Story [Forest of Illusion]
emu/sound.cpp: Made -volume in source file INI or higher priority
context take precedence over volume read from CFG file. This matches
behaviour of -bgfx_screen_chains.
emu/input.cpp: Made explicit -no{mouse|joystick|lightgun} take
precedence over -{mouse|trackball|adstick|paddle}_device etc. from lower
priority levels.
Alos got rid of a bunch of unnecessary simple_list.