MAMETesters Bugs Fixed:
----------------------- - 04067 [Misc.] blktiger: Test mode doesn't work. (MooglyGuy) Non-Whatsnew note: In my opinion, I feel that it's a reasonable assumption that whatever video ASIC or other hardware is used defaults to having at *least* the text layer turned on. The game doesn't even attempt to write any video configuration registers apart from the bank reigster when booting with test mode turned on, which strongly implies certain default states of certain registers.
This commit is contained in:
parent
d8edbd14f2
commit
628f203db1
@ -281,6 +281,7 @@ static const ym2203_interface ym2203_config =
|
||||
|
||||
static MACHINE_START( blktiger )
|
||||
{
|
||||
printf("machine_start_start\n"); fflush(stdout);
|
||||
blktiger_state *state = machine->driver_data<blktiger_state>();
|
||||
|
||||
state->audiocpu = machine->device("audiocpu");
|
||||
@ -298,10 +299,12 @@ static MACHINE_START( blktiger )
|
||||
state_save_register_global(machine, state->i8751_latch);
|
||||
state_save_register_global_array(machine, state->scroll_x);
|
||||
state_save_register_global_array(machine, state->scroll_y);
|
||||
printf("machine_start_end\n"); fflush(stdout);
|
||||
}
|
||||
|
||||
static MACHINE_RESET( blktiger )
|
||||
{
|
||||
printf("machine_reset_start\n"); fflush(stdout);
|
||||
blktiger_state *state = machine->driver_data<blktiger_state>();
|
||||
|
||||
/* configure bankswitching */
|
||||
@ -313,11 +316,9 @@ static MACHINE_RESET( blktiger )
|
||||
state->scroll_y[1] = 0;
|
||||
state->scroll_bank = 0;
|
||||
state->screen_layout = 0;
|
||||
state->chon = 0;
|
||||
state->objon = 0;
|
||||
state->bgon = 0;
|
||||
state->z80_latch = 0;
|
||||
state->i8751_latch = 0;
|
||||
printf("machine_reset_end\n"); fflush(stdout);
|
||||
}
|
||||
|
||||
static MACHINE_CONFIG_START( blktiger, blktiger_state )
|
||||
|
@ -68,6 +68,11 @@ VIDEO_START( blktiger )
|
||||
{
|
||||
blktiger_state *state = machine->driver_data<blktiger_state>();
|
||||
|
||||
state->chon = 1;
|
||||
state->bgon = 1;
|
||||
state->objon = 1;
|
||||
state->screen_layout = 0;
|
||||
|
||||
state->scroll_ram = auto_alloc_array(machine, UINT8, BGRAM_BANK_SIZE * BGRAM_BANKS);
|
||||
|
||||
state->tx_tilemap = tilemap_create(machine, get_tx_tile_info, tilemap_scan_rows, 8, 8, 32, 32);
|
||||
@ -242,6 +247,7 @@ VIDEO_UPDATE( blktiger )
|
||||
|
||||
if (state->chon)
|
||||
tilemap_draw(bitmap, cliprect, state->tx_tilemap, 0, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user