Minor hack to fix start countdown sound bug in the Buggy Boys [Phil Bennett]

This commit is contained in:
Phil Bennett 2009-03-17 22:39:03 +00:00
parent 086f341040
commit 0b8d371b0b
3 changed files with 9 additions and 10 deletions

View File

@ -41,6 +41,7 @@
#include "driver.h"
#include "cpu/z80/z80.h"
#include "cpu/i86/i86.h"
#include "machine/8255ppi.h"
#include "sound/ay8910.h"
#include "rendlay.h"
#include "tx1.h"
@ -825,14 +826,8 @@ static MACHINE_DRIVER_START( buggybjr )
MDRV_SCREEN_ADD("screen", RASTER)
MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
#if 0
MDRV_SCREEN_RAW_PARAMS(BB_PIXEL_CLOCK, BB_HTOTAL, BB_HBEND, BB_HBSTART, BB_VTOTAL, BB_VBEND, BB_VBSTART)
#else
MDRV_SCREEN_REFRESH_RATE(54.10)
MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(3072))
MDRV_SCREEN_SIZE(256, 256)
MDRV_SCREEN_VISIBLE_AREA(0, 255, 0, 239)
#endif
MDRV_PALETTE_LENGTH(256)
MDRV_PALETTE_INIT(buggyboy)

View File

@ -3,7 +3,6 @@
TX-1/Buggy Boy hardware
*************************************************************************/
#include "machine/8255ppi.h"
#define TX1_PIXEL_CLOCK (XTAL_18MHz / 3)
#define TX1_HBSTART 256
@ -13,13 +12,18 @@
#define TX1_VBEND 0
#define TX1_VTOTAL 264
/*
* HACK! Increased VTOTAL to 'fix' a timing issue
* that prevents one of the start countdown tones
* from playing.
*/
#define BB_PIXEL_CLOCK (XTAL_18MHz / 3)
#define BB_HBSTART 256
#define BB_HBEND 0
#define BB_HTOTAL 384
#define BB_VBSTART 240
#define BB_VBEND 0
#define BB_VTOTAL 288
#define BB_VTOTAL 288 + 1
#define CPU_MASTER_CLOCK (XTAL_15MHz)
#define BUGGYBOY_ZCLK (CPU_MASTER_CLOCK / 2)

View File

@ -3,9 +3,9 @@
Tatsumi TX-1/Buggy Boy machine hardware
***************************************************************************/
#include "driver.h"
#include "debugger.h"
#include "machine/8255ppi.h"
#include "tx1.h"