Added Unibios V3.2

This commit is contained in:
phoe-nix 2016-03-23 19:03:24 +08:00
parent 86a1966780
commit 3ecc1e7625

View File

@ -2,7 +2,7 @@
vidhrdw.c
MVS
MVS
******************************************************************************/
@ -10,7 +10,7 @@
/******************************************************************************
******************************************************************************/
UINT16 ALIGN_DATA neogeo_videoram[0x20000 / 2];
@ -36,7 +36,7 @@ UINT16 max_sprite_number;
/******************************************************************************
******************************************************************************/
static UINT32 high_tile_mask;
@ -58,11 +58,11 @@ static void (*draw_fixed_layer)(void);
/******************************************************************************
******************************************************************************/
/*------------------------------------------------------
FIXスプライト描画
FIXスプライト描画
------------------------------------------------------*/
static void draw_fixed_layer_type0(void)
@ -154,7 +154,7 @@ static void draw_fixed_layer_type2(void)
/*------------------------------------------------------
SPRスプライト描画
SPRスプライト描画
------------------------------------------------------*/
typedef struct
@ -454,11 +454,11 @@ static void draw_sprites_software(int min_y, int max_y)
/******************************************************************************
MVS
MVS
******************************************************************************/
/*------------------------------------------------------
------------------------------------------------------*/
void neogeo_video_init(void)
@ -489,10 +489,10 @@ void neogeo_video_init(void)
high_tile_mask = (no_of_tiles > 0x10000) ? 0x10000 : 0;
high_tile_mask |= (no_of_tiles > 0x20000) ? 0x20000 : 0;
high_tile_mask |= (no_of_tiles > 0x40000) ? 0x40000 : 0;
high_tile_mask |= (no_of_tiles > 0x60000) ? 0x60000 : 0;//支持扩容CROM
high_tile_mask |= (no_of_tiles > 0x80000) ? 0x80000 : 0;//支持扩容CROM
high_tile_mask |= (no_of_tiles > 0xa0000) ? 0xa0000 : 0;//支持扩容CROM
high_tile_mask |= (no_of_tiles > 0xc0000) ? 0xc0000 : 0;//支持扩容CROM
high_tile_mask |= (no_of_tiles > 0x60000) ? 0x60000 : 0;//支持扩容CROM
high_tile_mask |= (no_of_tiles > 0x80000) ? 0x80000 : 0;//支持扩容CROM
high_tile_mask |= (no_of_tiles > 0xa0000) ? 0xa0000 : 0;//支持扩容CROM
high_tile_mask |= (no_of_tiles > 0xc0000) ? 0xc0000 : 0;//支持扩容CROM
sprite_gfx_code_mask = 0xffffffff;
@ -524,7 +524,7 @@ void neogeo_video_init(void)
/*------------------------------------------------------
------------------------------------------------------*/
void neogeo_video_exit(void)
@ -533,7 +533,7 @@ void neogeo_video_exit(void)
/*------------------------------------------------------
------------------------------------------------------*/
void neogeo_video_reset(void)
@ -546,7 +546,7 @@ void neogeo_video_reset(void)
next_update_first_line = FIRST_VISIBLE_LINE;
if (neogeo_bios >= UNI_V31 && neogeo_bios < DEBUG_BIOS)
if (neogeo_bios > JAPAN_AES && neogeo_bios < DEBUG_BIOS)
max_sprite_number = 32;
else if (neogeo_bios == ASIA_AES
|| neogeo_bios == JAPAN_AES
@ -578,7 +578,7 @@ void neogeo_video_reset(void)
/******************************************************************************
FIXレイヤーバンク処理
FIXレイヤーバンク処理
******************************************************************************/
/*------------------------------------------------------
@ -598,11 +598,11 @@ void neogeo_set_fixed_layer_source(UINT8 data)
/******************************************************************************
******************************************************************************/
/*------------------------------------------------------
------------------------------------------------------*/
void neogeo_screenrefresh(void)
@ -626,7 +626,7 @@ void neogeo_screenrefresh(void)
/*------------------------------------------------------
------------------------------------------------------*/
void neogeo_partial_screenrefresh(int current_line)
@ -652,7 +652,7 @@ void neogeo_partial_screenrefresh(int current_line)
/******************************************************************************
/
/
******************************************************************************/
#ifdef SAVE_STATE