Converted Beezer to proper vertical screen orientation, being originally a Galaxian conversion kit that's quite obvious as well [Angelo Salese]

This commit is contained in:
Angelo Salese 2011-12-03 16:47:41 +00:00
parent 401dc5b7a4
commit 07c84169d6
3 changed files with 11 additions and 12 deletions

View File

@ -23,9 +23,9 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( sound_map, AS_PROGRAM, 8 )
AM_RANGE(0x0000, 0x07ff) AM_RAM // RAM at 0D
AM_RANGE(0x0800, 0x0fff) AM_RAM // optional RAM at 2D (can be rom here instead)
AM_RANGE(0x1000, 0x1007) AM_MIRROR(0x07F8) AM_DEVREADWRITE("custom", beezer_sh6840_r, beezer_sh6840_w)
AM_RANGE(0x1800, 0x180F) AM_MIRROR(0x07F0) AM_DEVREADWRITE_MODERN("via6522_1", via6522_device, read, write)
AM_RANGE(0x8000, 0x8003) AM_MIRROR(0x1FFC) AM_DEVWRITE("custom", beezer_sfxctrl_w)
AM_RANGE(0x1000, 0x1007) AM_MIRROR(0x07f8) AM_DEVREADWRITE("custom", beezer_sh6840_r, beezer_sh6840_w)
AM_RANGE(0x1800, 0x180F) AM_MIRROR(0x07f0) AM_DEVREADWRITE_MODERN("via6522_1", via6522_device, read, write)
AM_RANGE(0x8000, 0x8003) AM_MIRROR(0x1ffc) AM_DEVWRITE("custom", beezer_sfxctrl_w)
//AM_RANGE(0xa000, 0xbfff) AM_ROM // ROM at 2D (can be ram here instead), unpopulated
//AM_RANGE(0xc000, 0xdfff) AM_ROM // ROM at 4D, unpopulated
AM_RANGE(0xe000, 0xffff) AM_ROM // ROM at 6D
@ -90,8 +90,8 @@ static MACHINE_CONFIG_START( beezer, beezer_state )
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
MCFG_SCREEN_SIZE(256, 384)
MCFG_SCREEN_VISIBLE_AREA(0, 256-1, 16, 303)
MCFG_SCREEN_SIZE(384, 256)
MCFG_SCREEN_VISIBLE_AREA(16, 304-1, 0, 240-1) // 288 x 240, correct?
MCFG_SCREEN_UPDATE(beezer)
MCFG_PALETTE_LENGTH(16)
@ -159,5 +159,5 @@ ROM_START( beezer1 )
ROM_LOAD( "e1.cpu", 0x100, 0x0100, CRC(3c775c5e) SHA1(ac86f45938c0c9d5fec1245bf86718442baf445b) )
ROM_END
GAME( 1982, beezer, 0, beezer, beezer, beezer, ORIENTATION_FLIP_X, "Tong Electronic", "Beezer (set 1)", GAME_IMPERFECT_SOUND )
GAME( 1982, beezer1, beezer, beezer, beezer, beezer, ORIENTATION_FLIP_X, "Tong Electronic", "Beezer (set 2)", GAME_IMPERFECT_SOUND )
GAME( 1982, beezer, 0, beezer, beezer, beezer, ROT90, "Tong Electronic", "Beezer (set 1)", GAME_IMPERFECT_SOUND )
GAME( 1982, beezer1, beezer, beezer, beezer, beezer, ROT90, "Tong Electronic", "Beezer (set 2)", GAME_IMPERFECT_SOUND )

View File

@ -2,7 +2,6 @@
CES Classic wall games
Pinball system?
*/
#define ADDRESS_MAP_MODERN

View File

@ -23,11 +23,11 @@ SCREEN_UPDATE( beezer )
UINT8 *videoram = state->m_videoram;
int x,y;
for (y = cliprect->min_y; y <= cliprect->max_y; y+=2)
for (x = cliprect->min_x; x <= cliprect->max_x; x++)
for (y = cliprect->min_y; y <= cliprect->max_y; y++)
for (x = cliprect->min_x; x <= cliprect->max_x; x+=2)
{
*BITMAP_ADDR16(bitmap, y+1, x) = videoram[0x80*y+x] & 0x0f;
*BITMAP_ADDR16(bitmap, y, x) = videoram[0x80*y+x] >> 4;
*BITMAP_ADDR16(bitmap, y, x+1) = videoram[0x80*x+y] & 0x0f;
*BITMAP_ADDR16(bitmap, y, x+0) = videoram[0x80*x+y] >> 4;
}
return 0;