Just a quick question if you guys dont mind if you wanted the playchoice 10 games to load full screen on your TV how would you code this in Mame84 would you add a little hack to bypass the monitor handling code below
Quote:
/***************************************************************************
Display refresh
***************************************************************************/ VIDEO_UPDATE( playch10 ) { /* Dual monitor version */ if(system_bios == 0) { struct rectangle top_monitor = Machine->visible_area; struct rectangle bottom_monitor = Machine->visible_area;
top_monitor.max_y = ( top_monitor.max_y - top_monitor.min_y ) / 2; bottom_monitor.min_y = ( bottom_monitor.max_y - bottom_monitor.min_y ) / 2;
/* On Playchoice 10 single monitor, this bit toggles */ /* between PPU and BIOS display. */ /* We support the multi-monitor layout. In this case, */ /* if the bit is not set, then we should display */ /* the PPU portion. */
if ( !pc10_dispmask ) { /* render the ppu */ ppu2c03b_render( 0, bitmap, 0, 0, 0, 30*8 );
/* if this is a gun game, draw a simple crosshair */ if ( pc10_gun_controller ) { int x_center = readinputport( 5 ); int y_center = readinputport( 6 ) + 30*8;
draw_crosshair(bitmap, x_center, y_center, &bottom_monitor, 0); } }
/* When the bios is accessing vram, the video circuitry can't access it */
if ( !pc10_sdcs ) { tilemap_draw(bitmap, &top_monitor, bg_tilemap, 0, 0); } } else /* Single Monitor version */ { struct rectangle top_monitor = Machine->visible_area;
top_monitor.max_y = ( top_monitor.max_y - top_monitor.min_y ) / 2;
if(pc10_dispmask_old != pc10_dispmask) { pc10_dispmask_old = pc10_dispmask;
if(pc10_dispmask) pc10_game_mode ^= 1; }
if ( pc10_game_mode ) { /* render the ppu */ ppu2c03b_render( 0, bitmap, 0, 0, 0, 0 );
/* if this is a gun game, draw a simple crosshair */ if ( pc10_gun_controller ) { int x_center = readinputport( 5 ); int y_center = readinputport( 6 );
draw_crosshair(bitmap, x_center, y_center, &top_monitor, 0); } } else { /* When the bios is accessing vram, the video circuitry can't access it */
if ( !pc10_sdcs ) { tilemap_draw(bitmap, &top_monitor, bg_tilemap, 0, 0); }
im curious as to how you would code a bypass to make the games use full screen when playing with the single monitor bios as in my mame emulator the games always load just using the top part of the screen
Arcade Addict
|