- Shift all CRU addresses by 1 in memory maps. This makes CRU addressing more consistent with both register values and external address lines. (CRUOUT is multiplexed with the lowest address line on the 8-bit bus versions.)
- Addressing for CRU read accesses is now the same as it has been for CRU write accesses: one address for each bit. This simplifies the CPU cores (which were already emulating bit access times), though it means some read handlers now have to do some additional work.
- CRU space is now little-endian, despite the big-endian memory organization, because less significant bits correspond to lower CRU addresses.
vsmile_cart.xml: Monstruos contra Alienígenas (SP), Aventuras en el Parque Alfabeto (SP), Winnie the Pooh - En Busca de la Miel (SP), Mickey - La Aventura Mágica de Mickey (SP), El Rey León - La Gran Aventura de Simba (SP), La Sirenita - El Viaje Fantástico de Ariel (SP), Spider-Man y Amigos - Misiones Secretas (SP), Osos Amorosos - Una Lección de Amor (SP), Aladdin - El Maravilloso Mundo de Aladdin (SP), Mundo Elmo - Grandes descubrimientos de Elmo (SP), Buscando a Nemo - Los Descubrimientos de Nemo (SP), Bob Esponja - Un día en la vida de una esponja (SP), Barrio Sésamo - El Mundo Fantástico de Epi y Blas (SP), Spider-Man y Amigos - La Aventura Del Doctor Octopus (SP), Wall-E (SP), Ratatouille - Las recetas del Remy (SP), La Casa de Mickey Mouse (SP) [TeamEurope, ClawGrip]
SDL/X11 number mouse/lighgun buttons 1,2,3, while windows and other parts of
MAME like offscreen_reload expect 0,2,1. Transpose buttons 2 and 3, and then
-1 the button number to align the numbering schemes.
This fixes lightgun support on Linux - tested with an Ultimarc AimTrak and
the following config:
lightgun 1
lightgun_device lightgun
lightgunprovider x11
lightgun_index1 "Ultimarc Ultimarc"
offscreen_reload 1
Note: MAME must be compiled with XInput support:
make -j10 NO_USE_XINPUT=0
Fixes bug #4695
Game sometimes accesses RAM via kuseg, which on R3041 is mapped at a 1GB offset. RAM is also accessed via kseg0/kseg1, meaning the hardware must ignore at least A30.