mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
Small handwritten schematics. Now got the right clock line. Also fixed bit number for speech samples. No whatsnew.
This commit is contained in:
parent
ffe73bdc6a
commit
9298a8447f
@ -73,7 +73,8 @@ static UINT8 ls259_buf[8] = {0,0,0,0,0,0,0,0};
|
||||
|
||||
static WRITE8_DEVICE_HANDLER( bagman_ls259_w )
|
||||
{
|
||||
bagman_pal16r6_w(NULL /*space*/,offset,data); /*this is just a simulation*/
|
||||
const address_space *space = cputag_get_address_space(device->machine, "maincpu", ADDRESS_SPACE_PROGRAM);
|
||||
bagman_pal16r6_w(space, offset,data); /*this is just a simulation*/
|
||||
|
||||
if (ls259_buf[offset] != (data&1) )
|
||||
{
|
||||
@ -84,10 +85,9 @@ static WRITE8_DEVICE_HANDLER( bagman_ls259_w )
|
||||
case 0:
|
||||
case 1:
|
||||
case 2:
|
||||
tmsprom_bit_w(device, 0, (ls259_buf[0]<<2) | (ls259_buf[1]<<1) | (ls259_buf[2]<<0));
|
||||
tmsprom_bit_w(device, 0, 7 - ((ls259_buf[0]<<2) | (ls259_buf[1]<<1) | (ls259_buf[2]<<0)));
|
||||
break;
|
||||
case 3:
|
||||
//printf("Speech %d\n", ls259_buf[offset]);
|
||||
tmsprom_enable_w(device, ls259_buf[offset]);
|
||||
break;
|
||||
case 4:
|
||||
@ -471,7 +471,7 @@ static const tms5110_interface bagman_tms5110_interface =
|
||||
static MACHINE_DRIVER_START( bagman )
|
||||
|
||||
/* basic machine hardware */
|
||||
MDRV_CPU_ADD("maincpu", Z80, BAGMAN_M1Q)
|
||||
MDRV_CPU_ADD("maincpu", Z80, BAGMAN_H0)
|
||||
MDRV_CPU_PROGRAM_MAP(main_map)
|
||||
MDRV_CPU_IO_MAP(main_portmap)
|
||||
MDRV_CPU_VBLANK_INT("screen", irq0_line_assert)
|
||||
@ -507,7 +507,7 @@ MACHINE_DRIVER_END
|
||||
static MACHINE_DRIVER_START( pickin )
|
||||
|
||||
/* basic machine hardware */
|
||||
MDRV_CPU_ADD("maincpu", Z80, BAGMAN_M1Q)
|
||||
MDRV_CPU_ADD("maincpu", Z80, BAGMAN_H0)
|
||||
MDRV_CPU_PROGRAM_MAP(pickin_map)
|
||||
MDRV_CPU_IO_MAP(main_portmap)
|
||||
MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
|
||||
@ -559,7 +559,7 @@ z80
|
||||
static MACHINE_DRIVER_START( botanic )
|
||||
|
||||
/* basic machine hardware */
|
||||
MDRV_CPU_ADD("maincpu", Z80, BAGMAN_M1Q)
|
||||
MDRV_CPU_ADD("maincpu", Z80, BAGMAN_H0)
|
||||
MDRV_CPU_PROGRAM_MAP(pickin_map)
|
||||
MDRV_CPU_IO_MAP(main_portmap)
|
||||
MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
|
||||
|
@ -5,7 +5,6 @@
|
||||
#define BAGMAN_HCLK (BAGMAN_MAIN_CLOCK / 3)
|
||||
#define BAGMAN_H0 (BAGMAN_HCLK / 2)
|
||||
#define BAGMAN_H1 (BAGMAN_H0 / 2)
|
||||
#define BAGMAN_M1Q (BAGMAN_H1) /* inverted H1 */
|
||||
#define HTOTAL ((0x100-0x40)*2)
|
||||
#define HBEND (0x00)
|
||||
#define HBSTART (0x100)
|
||||
|
Loading…
Reference in New Issue
Block a user