- accept IRQs on IDLE
- actually count irq processing and instruction fetching cycles
- add support for external serial frame sync with internal
triggering (aka TXM=1 and FSM=1).
===============================================================================
To boot sfz3u:
1) use bios 7 (default bios gives an error 2: "region error");
2) enter into service mode first (probably a JVS issue);
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Mahjong Vegas (unprotected set) [Luca Elia, Uki]
ElSemi said he doesn't want to be credited.
He's dumped them with .iso tracks rather than .bin, but for the purpose of these Naomi GD-ROMs it's not going to matter.
I used the following GDI to convert them
3
1 0 4 2048 track01.iso -8
2 450 0 2352 track02.raw 0
3 45000 4 2048 track03.iso -8
both of these 'require' the MMU.
Generating interrupts in VIDEO_UPDATE isn't really a good idea.
Rendering is now done when requested, to a (for now) fake framebuffer (to be converted)
Anything that writes directly to the framebuffer won't display anymore, although the only thing that does that is the Atomiswave bios which didn't use the right mode anyway.
I plan on putting it back together again, don't worry.
Done:
- AGA palette
- AGA bitplane data fetching
- support for up to 8 standard bitplanes
- HAM8 mode
To do (for devs):
- inputs (buttons/coins are connected as CD32 pad, current implementation (copied from WinUAE) doesn't work, help is welcome)
- sprites (current implementation is incomplete - see CD32 logo)
- incorrect hstart/hstop values in CD32 logo, lsrquiz & lsrquiz2
Added a PCB layout for the large single plane PCB that Incredible Technologies used for the Golden Tee 3D series (3D through Classic), Shuffleshot, World Class Bowling and World Class Bowling Deluxe. [The Guru]
From: AGEMAME Development [agemame@gmail.com]
Sent: Monday, March 16, 2009 12:33 PM
To: submit@mamedev.org
Subject: JPM Impact
Added skeletal support for JPM Impact AWP - this is the last
of the AGEMAME drivers that is worth commiting to the MAME
codebase.
Please note, this is the first patch made using my rebuilt
toolchain, so let me know ASAP if something went wrong.
various cheat types and a table at the top to hopefully alleviate
confusion.
From: Pugsy [mailto:pugsy@gmx.net]
Sent: Sunday, March 15, 2009 11:01 AM
To: submit@mamedev.org
Subject: Cheat.c changes
I've been having a look at cheat.c, the issue with one-shot
list and one-shot select value cheats being indisguishable
from perm cheats. I decided to have a look to see if I get
it closer to the old way. I think I've managed it. I've
attached a diff file..
It changes the One-Shot List or Selectable value cheats to display
"Set" instead of "Off"
It stops the cheat options being activated in order when you are
going through the possibilities These cheats are now activated by
pressing ENTER after you have chosen an option This also pops up
a message (examples):
Activated
Select Starting Stage = 16 (0x10)
or
Activated
Select Temp. Current Shape PL1 = Yellow
Some simple examples to look at:
theroes "Select Starting Stage"
and
tetrist "Select Temp. Current Shape PL1"
Martin 'Pugsy' Pugh
Sent: Sunday, March 15, 2009 5:23 AM
To: Mamedev submit
Subject: Fx to z80pio
When outputting from a port to the hardware in pio mode 3, only those bits defined
by the mask should be output. Mame currently outputs everything.
New source code (z80pio.c) attached.
Regards,
Robbbert
* Fix build of ldplayer on OS X. Since the CUSTOM sound module no longer exists, I
arbitrarily changed it to WAVE, as ar gets upset if it has no input files. I also
removed the -all_load flag for ldplayer from the main makefile as it upsets the linker
on OS X.
* Fix build for PPC64 Linux. (This slightly messes up static branch prediction hints
on OS X and AIX, but OS X for PPC64 is dead, and no- one builds MAME for AIX, and
it will still build, anyway.)
* Paramaterise the arguments to check for NULL in the ATTR_NONNULL macro rather than
just checking the first argument. This requires compiler support for C99 variadic
macros (MSVC2005 and GCC4 have this AFAIK).
Vas
Sent: Friday, March 13, 2009 8:59 AM
To: submit@mamedev.org
Subject: Fix for Mametesters Bug 2981
Hi
Some minor fixes (in attached diff file):-
1. Fixes this http://mametesters.org/mantis/view.php?id=2981 bug, Note I've NOT touched "#define MAX_ARGUMENTS 32" - that
change is not required I've changed the cheat for the next beta xml cheat file release.
2. Minor typo in cidelsa.h, TAG starts with cpd rather than cdp, perhaps this should be maincpu though?
-#define CDP1802_TAG "cpd1802"
+#define CDP1802_TAG "cdp1802"
All the Best
Martin 'Pugsy' Pugh
Sent: Friday, March 13, 2009 4:26 AM
To: Aaron Giles
Subject: Submission for mame
This change adds inputs for galaxia and astrowar.
Galaxia is semi-playable.
Note: After inserting a coin, it can take a few seconds to respond.
- Robbbert
------------------------------------
Street Games II [Guru, Angelo Salese]
==========================================================
Basic driver, will add the other romsets soonish.
------------------------------------
California Chase [Angelo Salese]
==========================================================
Basic skelly, will improve it soonish.
trizeal / under defeat
neither boot as they need vertical orientation. you can set this in the system menu, but it doesn't get save to eeprom properly (eeprom writing seems to be busted, despite looking correct) so even in vertical mode, the system thinks it's running in horizontal mode, and reports an error.
---------------------------------------------------
Champion Super III [Mirko Buffoni, David Haywood, Angelo Salese]
====================================================================
(added inputs to the driver, probably the easiest z180 game that I've ever seen...)
corrected the sound clocks on PCBs that only have a 28MHz OSC. Only Super Lup Lup Puzzle has the 14.318180MHz OSC.
Lastly I rearranged the rom def section to group the F-E1-16-0xx PCB based games in order.
- Enabled some buttons previously marked as 'unused'.
Manuals say 'No Connection', but programs read them and do something.
i.e. button2 in Tetris: can rotate the piece
- Enabled some buttons previously marked as 'unused'.
Manuals say 'No Connection', but programs read them and do something.
i.e. button2 in Tetris: can rotate the piece
just so that I'm not wasting anybody's time in keeping these to myself. smf, please verify once the gnet stuff is final / in. They prevent it crashing in attract mode. Revert if wrong.
Updated src2html, regrep, and chdman tools to use this function where
appropriate.
In chdman, changed -addmeta to -addmetatext or -addmetabin to explicitly
specify the type of data (previous auto-detect was too dangerous).
update old tags.
Modified cdrom.c to expose metadata read/write functions, and changed
chdman to use them. Also changed chdman to parse old-style metadata and
convert it to new-style metadata since we're going to need to re-do this
anyway and the two won't hash to the same value.
Added completely untested support for the ident metadata to the hard
disk creation path. If a filename is provided immediately after the
source filename, it is taken as an ident file and processed for CHS
data and added. Other metadata types can be added afterwards via
-addmeta.
* Fixes Royal Casino colors;
* Added flip screen support to the driver;
* Changed Casino Winner to be a clone of Royal Casino;
* Cleaned-up the driver;
Updated CHD format to version 4. Checksums are now computed and
stored separately for raw data and metadata, and metadata is now
checksummed by default.
We will need to go through all existing CHDs, run a chdman -update
on them, and update the SHA1s stored in the drivers to accommodate
this (MD5s should be removed).
Updated chdman to support a generic metadata addition system:
chdman -addmeta <chdfile> <tag> [<index>] <sourcefile>
The <sourcefile> is examined and if it appears to be strictly text,
any EOFs and trailing EOLs are stripped, and the result is NULL-
terminated to match the behavior of existing metadata.
Updated chdman to report and fix errors in the raw and metadata
SHA1s.
Changed the CHD verify interfaces to pass back a structure containing
all the necessary data for verification and fixing.
board (previously citalian) and Champion Italian Cup (previously citaliana)
to GAME_WORKING status [Mirko Buffoni, David Haywood]
- Added cpokerpk (also known as CPK blue board for the color of the board)
- Renamed citalian -> cpokerpkg (green board, can be seen in rom too)
- Renamed citaliana -> citalcup
- added PAL decryption, making all games playable
- Updated input ports and fixed gfx layout to use 6 bitplanes like all others
- Changed number10 and cpokerpk video udpate to not use transparency
Sent: Sunday, March 08, 2009 7:40 PM
To: submit@mamedev.org
Subject:
1. Namco system-21 (earlier single DSP type) game "Driver's Eyes"
2D layer works. Unlike some other sys-21 games like starblad or
solvalou, which use sprite layers with priorities from 0 to 7,
Driver's Eyes uses up to 14 & 15.
1.5 [Documentation] Year of "Driver's Eyes" is 1990, not 1987.
2. Bug fix: Konami zr-107, GTI Club hardware, background layer
lost (black sky).
3. Jaleco dancing game step3: it's not a clone, but a new game.
Sent: Sunday, March 08, 2009 5:58 PM
To: submit@mamedev.org
Subject: Patch with minor documentation changes
Attached is a patch file with the following minor documentation changes:
* Added placeholders for the two PAL's on Atari's version of Pole
Position 1 and 2 (I could not read the last digit of the PAL at 5c.)
* Added board numbers to SEGA's Quartet 2 documentation
* Corrected the rom names for Tutankham (A guess was made on the names
for Konami's version of the roms at 3h and 6h.)
Kevin Eshbach
- added some notes
- fixed DIPSW of makaijan
- fixed visible area
- fixed CPU clock
New games added or promoted from NOT_WORKING status
---------------------------------------------------
Jansou (alt) [Uki]
The real way coefficient updates are handled is a little too complex
for now, but the hack throttles the update speed to the real rate
given the way konami uses it (once per sync). It's near impossible to
use it in a different way anyway.
Fixes mantis 2941 (at least for puzldama) and maybe 2953 (needs to
find the roms and test).
note, this version is clearly a different PCB, it uses the older style sprites (which are actually just bootleg tumble pop sprites..)
the sound rom on the PCB is bad.
also added sprite flicker flag, based on tumble pop etc.
Sent: Saturday, February 28, 2009 3:53 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] More static/const qualifiers
Hi mamedev,
Another round of static/const qualifier additions, plus a rename of
has_addon_chip to snes_has_addon_chip. Notably a number of z80ctc_interface
are now const (devicification must have removed the cases where it was
dynamically modified). Notice that the READWRITExTOy macros declare two
functions, so you can't make the 2nd function static. Those macros should
probably be reworked or removed.
~aa
Sent: Friday, February 27, 2009 10:17 AM
To: submit@mamedev.org
Cc: qmc2-devel@lists.sourceforge.net
Subject: Proposed patch for src/emu/audit.c
Dear MAME developers,
I've created the attached diff to src/emu/audit.c (0.129u5) to allow for
reporting a ROM state of "correct" when a game/machine doesn't require any
ROM files at all (currently it will be reported as "not found", which is
wrong IMHO).
I know that this isn't really relevant for MAME, but it is for MESS -- so
I hope you'll accept the patch.
Thanks, Rene
--
Rene Reucher
rene.reucher@batcom-it.nethttp://www.batcom-it.net/
It is only people of small moral stature who have to stand on their dignity.
Sent: Thursday, February 26, 2009 8:58 AM
To: mamedev@mamedev.org
Subject: Patch fixing compilation with gcc-4.4
Hi,
the following patch is needed in order to make mame compile with gcc-4.4. It was tested with sdlmame 0.129u4 on Fedora rawhide. Cheers!
* corrupt files in archives now generate an error
* archive files ending in "/" will not be tested for crc - skip path entries
* add new flag FILE_OPEN_NO_PRELOAD to skip decompressing on open
This is used in audit.c, which only tests whether files exist
* added error checking to all calls to load_file_zipped
--------------------------------------------------
I see that eeprom_data is initialized with a memeset of 0xff so I don't think this change will break anything.
---------------------------------------------------
Mahjong Club [Yasuhiro Ogawa]
========================================================================
I wonder if this game is a bootleg or just a rip-off..."XEX" logo is pretty
much similar to the Dynax one...
This patch will make happier the environments that do not know that
"still reachable" and "leaked" are not the same thing and that exit()
is a _very_ good deallocator.
assumption that all device tags are unique. Specifically, the
following no longer need to provide a device type:
AM_DEVREAD/WRITE
DEVCB_DEVICE_HANDLER
devtag_get_device
devtag_reset
device_list_find_by_tag
as well as several device interfaces that referenced other devices.
Also fixed assertion due to overflow in the recent sound fix.
- qix
- mcr/williams
- coinmstr
- funworld
- goldnpkr
- jokrwild
- nyny
- r2dtank
- spiders
- tugboat
Added new function memory_install_read_port_handler() to more
easily allow you to install read handlers for ports based on tag.
Removed input_port_read_handler8/16/32/64 functions, since they
were really only used for getting a memory handler for a port by
tag, and this is no longer necessary.
Moved input port handlers to internal code in the memory system.
Added port names to the taito8741 device pending its proper
devicification.
Removed all remaining uses of input_port_n_r() functions, and
purged them from src/emu/machine/generic.
Thanks to Haze finding it was used in qrouka, here is the final
system24 linescroll mode.
Guru, it would be nice if you could check if the effect on the title
screen is correct (the wobbling when the name goes back up). It looks
correct though.
OG.
Joker Poker (Version 16.03BI) [Jim Stolis] (not working)
just adding it so that it doesn't get lost in the backlog. inputs don't work, reports 'error' on first boot but you can reboot it.
not sure about the version numbering, the startup text seems to indicate the roms might be 85/86, but the copyright text is 83.
does anybody have a good reference for the colours on these things? I doubt it can be too hard to fix them..
compilation:
- new option CPP_COMPILE to trigger this (off by default)
- split CFLAGS into common, C-only, and C++-only flags
- when enabled, CPP_COMPILE causes 'pp' to be appended to
the target name
NOTE THAT THE SYSTEM CANNOT ACTUALLY BE COMPILED THIS WAY
YET. IT IS JUST AN EXPERIMENT.
Modified lib.mak to always build zlib/expat as C regardless
of CPP_COMPILE.
Modified windows.mak to fix warnings with MAXOPT=1, and to
leverage the new CFLAGs definitions.
Modified vconv.c to do appropriate conversions for new C++
options.
Updated sources so that libutil, libocore (Windows), and
libosd (Windows) can be cleanly compiled as C or C++. This
was mostly adding some casts against void *.
Fixed a few more general obvious problems at random
locations in the source:
- device->class is now device->devclass
- TYPES_COMPATIBLE uses typeid() when compiled for C++
- some functions with reserved names ('xor' in particular)
were renamed
- nested enums and structs were pulled out into separate
definitions (under C++ these would need to be scoped to
be referenced)
- TOKEN_VALUE cannot use .field=x initialization in C++ :(
- Added a VERY preliminary simulation of the protection, just enough to get the game to boot, not make it playable
- Corrected CPU communication, IRQ/NMI generation etc.
- Fixed some video emulation issues (added tilemap scroll etc.)
- Corrected GFX rom loading (at least for the graphics used in attract mode)
OK, here we go so far. Layouts for all the games that have a simple one-input shifter. Except
Turbo, because I'll need to update the whole file, which will take a little more work.
And below is the rest of the games that have shifters, but use a separate input for each gear,
so something different will need to be done.
There are also six games that use a simple shifter, but the button isn't set to toggle. So to
play the game, you hold the button for low gear, then let go for high gear. Not sure if you
wanted to change these or not, so I just included the layout file for now.
Games to update for PORT_TOGGLE
buggychl - src/mame/drivers/buggychl.c
chasehq - src/mame/drivers/taito_z.c
contcirc - src/mame/drivers/taito_z.c
sci - src/mame/drivers/taito_z.c
roundup5 - src/mame/drivers/tatsumi.c
superchs - src/mame/drivers/superchs.c
* separated amplifier Cin from mixer
* AY8910s numbering now in line with schematics
* Scramble sound not yet perfect, but levels improved significantly, Filters are difficult to model
Sent: Wednesday, February 25, 2009 5:20 AM
To: submit@mamedev.org
Subject: CIA update
Hello,
this patch adds support for the /PC output pin to the CIA emulation.
From the datasheet "/PC will go low for one cycle following a read or write of PORT B.".
This is needed for centronics printer emulation on the MESS side, but I imagine it would
simplify/correct the emulation in some MAME amiga drivers as well (mquake.c for example).
--Dirk
Sent: Sunday, February 22, 2009 10:57 PM
To: submit
Subject: fix for MT02943
Fixed mjelctrn DSW read handler to agree with new tags.
Best regards,
Fabio Priuli
Sent: Saturday, February 21, 2009 6:00 PM
To: submit@mamedev.org
Subject: Super Triv III redump
Here's a new dump of Super Triv III. The only needed rom in this zip is triv3.u36, it replaces the bad rom from the previous dump (it was using a rom from Super Triv II).
3 of the question roms were slightly different from the last Super Triv III dump (see romident_romcmp.txt in the zip). I suspect they are bad in my dump because they create some garbage/nonsense for their categories in the game when I tried them. I included all the rom dumps in the zip in case someone wants to take a closer look at them but I didn't use any of the likely-bad roms in the diff for supertr3, I just replaced the missing rom at u36 and the game looks correct now.
The prom at u17 was marked as bad_crc. Guru dumped it from this board (I sent it to him a few months ago) and it matches the bad_crc so I removed the flag. Same goes for statriv4, we have verified that it's the same crc on a real board so I removed the flag. I think the bad_crc flag needs to get removed from all the proms in this driver and just replaced with a comment that there is only a very small chance they are bad.
Smitdogg
Sent: Sunday, February 22, 2009 7:06 AM
To: submit
Subject: fix for MT02920
another small fix. it's very nice to finally have tags passed to device interfaces, despite the few regressions that can have been introduced in the update :)
Regards,
Fabio Priuli
Sent: Monday, February 16, 2009 7:10 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Add some missing static qualifiers
Hi mamedev,
This patch mostly adds missing static qualifiers, plus a few related header/name adjustments. In particular, I tackled m68kmake.c and tmsmake.c which exposed a fair amount of dead code.
~aa
Sent: Monday, February 16, 2009 1:03 PM
To: submit@mamedev.org
Subject: Speed up 'src\mame\video\mcatadv.c'
Hi,
here is a patch against 'src\mame\video\mcatadv.c'
This patch moves a call to 'memory_region' outside of a hot loop in the 'draw_sprites' function.
This gives a fiew pourcents speed up in games such as 'nost'.
Hope this helps,
Best regards,
Christophe Jaillet
--
From: Christophe Jaillet [christophe.jaillet@wanadoo.fr]
Sent: Monday, February 16, 2009 1:53 PM
To: submit@mamedev.org
Subject: Another speed up in 'src\mame\video\mcatadv.c'
Hi,
here is a patch against 'src\mame\video\mcatadv.c'
This patch , by re-arranging the code, give a +/- 5% speed up in the emulation.
Before, we :
- fetch a pixel,
- make some computation for lower/higher part of it
- check if we should render it
- test for priority
- update destination if necessary
With this patch, we check priority first in order to avoid useless processing and testing on pixel that can't be displayed due to priority reason. So in the best case, it is faster, in the worse case execution time should be more or less the same because :
if ((drawxpos >= cliprect->min_x) && (drawxpos <= cliprect->max_x) &&
pix)
is likely to be true (IMO). So the same tests are performed, only the order is different.
Hope this helps,
Best regards,
Christophe Jaillet
--
From: Christophe Jaillet [christophe.jaillet@wanadoo.fr]
Sent: Monday, February 16, 2009 1:09 PM
To: submit@mamedev.org
Subject: Clean up of 'src\emu\tilemap.c' (with the patch...)
Hi,
here is a patch against 'src\emu\tilemap.c'
This patch removes a variable called 'original_cliprect' from the top of 'tilemap_get_tile_flags'.
This variable is useless because all cases that need it, already make the same copy in a variable with the same name, shodawing the former one.
Hope this helps,
Best regards,
Christophe Jaillet
02938: mblkjack: Black Jack (Mirco) is actually Called 21 and the year is 1976.
02939: gp98: Year and manufacturer are 1998, Romtec Co. LTD according to the title screen
02955: parentj: Year is 1989 according to the title screen
02952: nss_sten: Year is shown on title screen as 1991
02951: vgoalsoc, vgoalsca: The year is 1994.
02958: magictg, magictga: The year is 1997 according to flyer
02950: bestri: Year of release is 1998
02949: chocomk: Year is 2002 and the manufacturer is Ecole Software
---------------------------------------------------
Makaijan [Yasuhiro Ogawa]
======================================================================================
In default mode the text gfxs overwrites the title screen when you put bets, is it correct?
(Notice that you should modify the bet button to try it because it's mapped at 2 as the start 2p button, it's a known MAMEtesters bug).