From: Fabio Priuli [mailto:doge.fabio@gmail.com]

Subject: small submission
Hi,  

enclosed please find a tiny diff which makes megadriv_vdp_r & megadriv_vdp_w 
handlers in megadriv.c non-static (and includes them in megadriv.h).

This small change, while making essentially no difference for MAME, would make 
life easier to maintain pico emulation in MESS.

--

From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: fix for MT bug 2115
Hi, enclosed please find a small fix for the typo causing berlwall inputs 
breakage. No matter how extensively I test my changes, some typos always 
succeed to slip through my cross checks :( 

Anyway, this regression is fixed. 

--

From: Fabio Priuli [mailto:doge.fabio@gmail.com] 
Subject: Fix for MT bug 2114

Hi, 

enclosed please find a patch which fixes the red/blue inversion for eolith.c 
games. It regressed in 0.124, when the driver it's been converted from bitmap_format_rgb15 
to bitmap_format_indexed16 with the wrong palette_init.
This commit is contained in:
Aaron Giles 2008-08-19 02:13:13 +00:00
parent 87066dc341
commit d62faabec6
4 changed files with 7 additions and 4 deletions

View File

@ -272,7 +272,7 @@ static MACHINE_DRIVER_START( eolith45 )
MDRV_SCREEN_SIZE(512, 512)
MDRV_SCREEN_VISIBLE_AREA(0, 319, 0, 239)
MDRV_PALETTE_INIT(BBBBB_GGGGG_RRRRR)
MDRV_PALETTE_INIT(RRRRR_GGGGG_BBBBB)
MDRV_PALETTE_LENGTH(32768)
MDRV_VIDEO_START(eolith)

View File

@ -369,7 +369,7 @@ static ADDRESS_MAP_START( berlwall, ADDRESS_SPACE_PROGRAM, 16 )
AM_RANGE(0x500000, 0x500001) AM_READWRITE(kaneko16_bg15_reg_r, kaneko16_bg15_reg_w) AM_BASE(&kaneko16_bg15_reg) // High Color Background
AM_RANGE(0x580000, 0x580001) AM_READWRITE(kaneko16_bg15_select_r, kaneko16_bg15_select_w) AM_BASE(&kaneko16_bg15_select)
AM_RANGE(0x600000, 0x60003f) AM_RAM_WRITE(kaneko16_sprites_regs_w) AM_BASE(&kaneko16_sprites_regs) // Sprites Regs
AM_RANGE(0x680000, 0x680001) AM_READ_PORT("DSW_P1")
AM_RANGE(0x680000, 0x680001) AM_READ_PORT("P1")
AM_RANGE(0x680002, 0x680003) AM_READ_PORT("P2")
AM_RANGE(0x680004, 0x680005) AM_READ_PORT("SYSTEM")
// AM_RANGE(0x680006, 0x680007) AM_READ_PORT("UNK")

View File

@ -888,7 +888,7 @@ static void megadriv_vdp_ctrl_port_w(running_machine *machine, int data)
}
}
static WRITE16_HANDLER( megadriv_vdp_w )
WRITE16_HANDLER( megadriv_vdp_w )
{
switch (offset<<1)
{
@ -1281,7 +1281,7 @@ static UINT16 megadriv_read_hv_counters(void)
}
static READ16_HANDLER( megadriv_vdp_r )
READ16_HANDLER( megadriv_vdp_r )
{
UINT16 retvalue = 0;

View File

@ -25,6 +25,9 @@ void megatech_set_megadrive_z80_as_megadrive_z80(running_machine *machine);
extern READ8_HANDLER (megatech_sms_ioport_dc_r);
extern READ8_HANDLER (megatech_sms_ioport_dd_r);
extern READ16_HANDLER( megadriv_vdp_r );
extern WRITE16_HANDLER( megadriv_vdp_w );
MACHINE_RESET( megadriv );
VIDEO_START( megadriv );
VIDEO_UPDATE( megadriv );