MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Haze
Reged: 09/23/03
Posts: 5245
Send PM
Re: dwarfd.c and gfx_decode
11/05/06 12:15 PM


It means it's wrong.

Dox is working on the driver anyway, afaik he already has a working gfx decode. It's a very old, very strange piece of hardware which seems more like a computer terminal hacked to run an arcade game than anything else.

> What in the hell does this mean? I want to fix it (spare time!) but I can't figure
> out what the hell any of this means, but I can turn the graphics from red to blue!
>
> /* Wrong! */
> static const gfx_layout tiles8x8_layout =
> {
> 16,8,
> RGN_FRAC(1,1),
> 4,
> { 0,1,2,3 },
> { 8, 16, 24, 32, 40, 48, 56, 64 },
> { 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64 },
> 16*64
> };
>
> static const gfx_decode gfxdecodeinfo[] =
> {
> { REGION_GFX1, 0, &tiles8x8_layout, 0, 8 },
> { REGION_GFX2, 0, &tiles8x8_layout, 0, 8 },
> { REGION_GFX3, 0, &tiles8x8_layout, 0, 8 },
> { REGION_GFX4, 0, &tiles8x8_layout, 0, 8 },
>
> { -1 }
> };







Entire thread
Subject Posted by Posted on
* dwarfd.c and gfx_decode Luigi30 11/05/06 07:02 AM
. * Re: dwarfd.c and gfx_decode Haze  11/05/06 12:15 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 171 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3868