Hmmmm,
I am a little bit confused.
Are you porting Z80 or M6809 ?
On mame maws
http://www.mameworld.net/maws/driverinfo/gunsmoke.c
Copyright 1985 Capcom Co. Ltd. 5/30/97
These are the EPROM Images for Gunsmoke.
Similar hardware to Commando, Legendary Wings,
and Ghost 'N Goblins.
they are saying these are the specs
CPU = 6809 Custom
Z80 = Sound CPU
YM2203C = Yamaha FM Synthesis Sound Processor (Two)
http://www.mameworld.net/maws/romset/gunsmoke
they are saying these are the specs
cpu Z80 @ 4MHz
cpu Z80 @ 3MHz
audio YM2203 @ 1.5MHz
audio YM2203 @ 1.5MHz
I know it is absurd, but could this be your problem ? or is the m6809 a z80 CPU ? or a typo ?
cu
Jens
It has two Z80's (one is sound only), whoever wrote that didn't know what the hell they were talking about lol. If the main cpu was m6809, it wouldn't run at all, let alone glitchy.
The problem at this point is the use of a tilemap rom rather than standard ram for tile pointers.
It's quite ingenious, really, rom is much cheaper than ram, but the way MAME has it set up, it draws the
entire 8x2048x32x32 tilemap and then copies what's needed to the onscreen bitmap.
I would like to have it just draw the tiles that are needed (8x8x32x32). I still have some transparency issues as well, I'm not sure if FBA's generic tile drawing can do what I need (I'll have to keep poking around though).