Decoded GFXs in SBC6510

This commit is contained in:
Angelo Salese 2013-10-06 18:24:54 +00:00
parent b24c31f64f
commit 21eb09adcf
2 changed files with 19 additions and 1 deletions

View File

@ -16,7 +16,7 @@ Framebuffer todo:
#include "emu.h"
#include "includes/stv.h"
#define VDP1_LOG 0
#define VDP1_LOG 1
enum { FRAC_SHIFT = 16 };

View File

@ -277,6 +277,22 @@ const avr8_config atmega88_config =
"eeprom"
};
static const gfx_layout charset_8x16 =
{
8, 9,
256,
1,
{ 0 },
{ STEP8(0,1) },
{ 0*1024*2, 1*1024*2, 2*1024*2, 3*1024*2, 4*1024*2, 5*1024*2, 6*1024*2, 7*1024*2, 8*1024*2 },
8
};
static GFXDECODE_START( sbc6510 )
GFXDECODE_ENTRY( "videocpu", 0x1500, charset_8x16, 0, 128 )
GFXDECODE_END
static MACHINE_CONFIG_START( sbc6510, sbc6510_state )
/* basic machine hardware */
@ -290,6 +306,8 @@ static MACHINE_CONFIG_START( sbc6510, sbc6510_state )
MCFG_CPU_DATA_MAP(sbc6510_video_data)
MCFG_CPU_IO_MAP(sbc6510_video_io)
MCFG_GFXDECODE(sbc6510)
/* video hardware */
MCFG_GENERIC_TERMINAL_ADD(TERMINAL_TAG, terminal_intf)