mirror of
https://github.com/holub/mame
synced 2025-07-05 09:57:47 +03:00
New games marked as NOT_WORKING
------------------------------- Magical Touch [Siftware, Mariusz Wojcieszek]
This commit is contained in:
parent
3c6c94c8a2
commit
633d76bbbf
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1890,6 +1890,7 @@ src/mame/drivers/magicard.c svneol=native#text/plain
|
||||
src/mame/drivers/magicfly.c svneol=native#text/plain
|
||||
src/mame/drivers/magictg.c svneol=native#text/plain
|
||||
src/mame/drivers/magmax.c svneol=native#text/plain
|
||||
src/mame/drivers/magtouch.c svneol=native#text/plain
|
||||
src/mame/drivers/mainevt.c svneol=native#text/plain
|
||||
src/mame/drivers/mainsnk.c svneol=native#text/plain
|
||||
src/mame/drivers/malzak.c svneol=native#text/plain
|
||||
|
@ -221,6 +221,20 @@ void microtouch_rx(int count, UINT8* data)
|
||||
{
|
||||
microtouch.format_decimal = 1;
|
||||
}
|
||||
else if ( microtouch_check_command("OI", microtouch.rx_buffer_ptr, microtouch.rx_buffer ) )
|
||||
{
|
||||
// output identity - SMT3, ver 01.00
|
||||
microtouch.tx_buffer[microtouch.tx_buffer_num++] = 0x01;
|
||||
microtouch.tx_buffer[microtouch.tx_buffer_num++] = 'Q';
|
||||
microtouch.tx_buffer[microtouch.tx_buffer_num++] = '1';
|
||||
microtouch.tx_buffer[microtouch.tx_buffer_num++] = '0';
|
||||
microtouch.tx_buffer[microtouch.tx_buffer_num++] = '1';
|
||||
microtouch.tx_buffer[microtouch.tx_buffer_num++] = '0';
|
||||
microtouch.tx_buffer[microtouch.tx_buffer_num++] = '0';
|
||||
microtouch.tx_buffer[microtouch.tx_buffer_num++] = 0x0d;
|
||||
microtouch.rx_buffer_ptr = 0;
|
||||
return;
|
||||
}
|
||||
// send response
|
||||
microtouch.tx_buffer[microtouch.tx_buffer_num++] = 0x01;
|
||||
microtouch.tx_buffer[microtouch.tx_buffer_num++] = 0x30;
|
||||
|
248
src/mame/drivers/magtouch.c
Normal file
248
src/mame/drivers/magtouch.c
Normal file
@ -0,0 +1,248 @@
|
||||
/*
|
||||
Magical Touch by Micro MFG
|
||||
|
||||
Preliminary driver by Mariusz Wojcieszek
|
||||
|
||||
Big daughter card
|
||||
silkscreend 2296
|
||||
COMPONENT SIDE
|
||||
EPROM/IO GAME BOARD
|
||||
JNS-0001 REV-C
|
||||
|
||||
sticker on back
|
||||
Warranty Void If Removed
|
||||
Date: 07-30-1996
|
||||
SER# MTC-COM-170065
|
||||
|
||||
.u20 27c801 stickered MTOUCH
|
||||
ROM-0
|
||||
U20
|
||||
041296
|
||||
MICRO
|
||||
MFG.
|
||||
COPYRIGHT (C)
|
||||
|
||||
.u21 27c801 stickered MTOUCH
|
||||
ROM-1
|
||||
U21
|
||||
041296
|
||||
MICRO
|
||||
MFG.
|
||||
COPYRIGHT (C)
|
||||
|
||||
.u22 27c801 stickered MTOUCH
|
||||
ROM-2
|
||||
U22
|
||||
041296
|
||||
MICRO
|
||||
MFG.
|
||||
COPYRIGHT (C)
|
||||
|
||||
.u7 ds1225y-150 read as 2764
|
||||
|
||||
.u8 tibpal16l8-15 blue dot on it checksum was 0
|
||||
|
||||
.u4 gal20v8b
|
||||
|
||||
1.8432 MHz crystal
|
||||
18.00 Mhz Crystal
|
||||
ns16450n
|
||||
es488f d465 wf62225
|
||||
|
||||
|
||||
motherboard
|
||||
.u13 27c512 stickered Warranty Void If Removed
|
||||
Date: 07-30-1996
|
||||
SER# MTC-MBD-170065
|
||||
|
||||
am386dx-40 ng80386dx-40
|
||||
ali m1429 a1 9504 ts6 ab3519
|
||||
ali m1431 a2 9503 ts6ab0511b
|
||||
jetkey v5.0 fastest keyboard bios
|
||||
|
||||
video card
|
||||
.u6 - unknown chip type stickered Warranty Void If Removed
|
||||
Date: 07-30-1996
|
||||
SER# MTC-VGA-170065
|
||||
silkscreend Trident Ver. D4.01E
|
||||
(c)'95 Trident Microsystems
|
||||
(C)'90 Phoenix Technologies
|
||||
*605C61W6ANJDH009 * = a triangle character
|
||||
|
||||
*/
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/i386/i386.h"
|
||||
#include "machine/pic8259.h"
|
||||
#include "machine/mc146818.h"
|
||||
#include "machine/pcshare.h"
|
||||
#include "machine/ins8250.h"
|
||||
#include "machine/microtch.h"
|
||||
#include "video/pc_vga.h"
|
||||
#include "video/pc_video.h"
|
||||
|
||||
/*************************************
|
||||
*
|
||||
* Microtouch <-> ins8250 interface
|
||||
*
|
||||
*************************************/
|
||||
|
||||
static void magtouch_microtouch_tx_callback(running_machine *machine, UINT8 data)
|
||||
{
|
||||
ins8250_receive(machine->device("ns16450_0"), data);
|
||||
};
|
||||
|
||||
static INS8250_TRANSMIT( magtouch_com_transmit )
|
||||
{
|
||||
UINT8 data8 = data;
|
||||
microtouch_rx(1, &data8);
|
||||
}
|
||||
|
||||
static INS8250_INTERRUPT( at_com_interrupt_1 )
|
||||
{
|
||||
pic8259_ir4_w(device->machine->device("pic8259_1"), state);
|
||||
}
|
||||
|
||||
static const ins8250_interface magtouch_com0_interface =
|
||||
{
|
||||
1843200,
|
||||
at_com_interrupt_1,
|
||||
magtouch_com_transmit,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
/*************************************
|
||||
*
|
||||
* ROM banking
|
||||
*
|
||||
*************************************/
|
||||
|
||||
static WRITE32_HANDLER(magtouch_rombank_w)
|
||||
{
|
||||
if ( ACCESSING_BITS_16_23 )
|
||||
{
|
||||
int bank = data >> 16;
|
||||
|
||||
logerror( "rom bank #%02x at PC=%08X\n", bank, cpu_get_pc(space->cpu) );
|
||||
memory_set_bank(space->machine, "rombank", bank & 0x7f );
|
||||
}
|
||||
}
|
||||
|
||||
static READ8_HANDLER(magtouch_io_r)
|
||||
{
|
||||
switch(offset)
|
||||
{
|
||||
case 1:
|
||||
return input_port_read(space->machine, "IN0");
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
static WRITE8_HANDLER(magtouch_io_w)
|
||||
{
|
||||
switch(offset)
|
||||
{
|
||||
case 6:
|
||||
memory_set_bank(space->machine, "rombank", data & 0x7f );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static ADDRESS_MAP_START( magtouch_map, ADDRESS_SPACE_PROGRAM, 32 )
|
||||
AM_RANGE(0x00000000, 0x0009ffff) AM_RAM
|
||||
AM_RANGE(0x000a0000, 0x000bffff) AM_RAM
|
||||
AM_RANGE(0x000c0000, 0x000c7fff) AM_ROM AM_REGION("video_bios", 0)
|
||||
AM_RANGE(0x000d8000, 0x000dffff) AM_ROMBANK("rombank")
|
||||
AM_RANGE(0x000f0000, 0x000fffff) AM_RAM AM_REGION("bios", 0 )
|
||||
AM_RANGE(0x00100000, 0x0027ffff) AM_ROM AM_REGION("game_prg", 0)
|
||||
AM_RANGE(0xffff0000, 0xffffffff) AM_ROM AM_REGION("bios", 0 )
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static ADDRESS_MAP_START( magtouch_io, ADDRESS_SPACE_IO, 32 )
|
||||
AM_IMPORT_FROM(pcat32_io_common)
|
||||
AM_RANGE(0x02e0, 0x02e7) AM_READWRITE8(magtouch_io_r, magtouch_io_w, 0xffffffff)
|
||||
AM_RANGE(0x03f8, 0x03ff) AM_DEVREADWRITE8("ns16450_0", ins8250_r, ins8250_w, 0xffffffff)
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static INPUT_PORTS_START( magtouch )
|
||||
PORT_INCLUDE(microtouch)
|
||||
|
||||
PORT_START("IN0")
|
||||
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("Clear") PORT_CODE(KEYCODE_C)
|
||||
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_SERVICE)
|
||||
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_COIN1) PORT_IMPULSE(1)
|
||||
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_COIN2) PORT_IMPULSE(1)
|
||||
PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_COIN3) PORT_IMPULSE(1)
|
||||
INPUT_PORTS_END
|
||||
|
||||
static void magtouch_set_keyb_int(running_machine *machine, int state)
|
||||
{
|
||||
pic8259_ir1_w(machine->device("pic8259_1"), state);
|
||||
}
|
||||
|
||||
static const struct pc_vga_interface vga_interface =
|
||||
{
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
ADDRESS_SPACE_IO,
|
||||
0x0000
|
||||
};
|
||||
|
||||
static MACHINE_START( magtouch )
|
||||
{
|
||||
cpu_set_irq_callback(machine->device("maincpu"), pcat_irq_callback);
|
||||
|
||||
init_pc_common(machine, PCCOMMON_KEYBOARD_AT, magtouch_set_keyb_int);
|
||||
|
||||
memory_configure_bank(machine, "rombank", 0, 0x80, memory_region(machine, "game_prg"), 0x8000 );
|
||||
memory_set_bank(machine, "rombank", 0);
|
||||
|
||||
microtouch_init(machine, magtouch_microtouch_tx_callback, NULL);
|
||||
}
|
||||
|
||||
static MACHINE_CONFIG_START( magtouch, driver_device )
|
||||
/* basic machine hardware */
|
||||
MDRV_CPU_ADD("maincpu", I386, 14318180*2) /* I386 ?? Mhz */
|
||||
MDRV_CPU_PROGRAM_MAP(magtouch_map)
|
||||
MDRV_CPU_IO_MAP(magtouch_io)
|
||||
|
||||
/* video hardware */
|
||||
MDRV_FRAGMENT_ADD( pcvideo_vga )
|
||||
|
||||
MDRV_SCREEN_MODIFY("screen")
|
||||
MDRV_SCREEN_REFRESH_RATE(60)
|
||||
MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
|
||||
|
||||
MDRV_MACHINE_START(magtouch)
|
||||
MDRV_MC146818_ADD( "rtc", MC146818_STANDARD )
|
||||
|
||||
// MDRV_FRAGMENT_ADD( at_kbdc8042 )
|
||||
MDRV_FRAGMENT_ADD( pcat_common )
|
||||
MDRV_NS16450_ADD( "ns16450_0", magtouch_com0_interface )
|
||||
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
ROM_START(magtouch)
|
||||
ROM_REGION32_LE(0x10000, "bios", 0) /* motherboard bios */
|
||||
ROM_LOAD("mtouch.u13", 0x00000, 0x10000, CRC(e74fb144) SHA1(abc99e84832c30606374da542fd94f0fbc8cbaa6) )
|
||||
|
||||
ROM_REGION(0x08000, "video_bios", 0)
|
||||
ROM_LOAD16_BYTE("vga1-bios-ver-b-1.00-07.u8", 0x00000, 0x04000, CRC(a40551d6) SHA1(db38190f06e4af2c2d59ae310e65883bb16cd3d6))
|
||||
ROM_CONTINUE( 0x00001, 0x04000 )
|
||||
|
||||
ROM_REGION(0x400000, "game_prg", 0) /* proper game */
|
||||
ROM_LOAD("mtouch.u20", 0x000000,0x100000, CRC(fb7b529b) SHA1(ecf8792ce7b6b2f59c2178dc1524c3830a4b4ebc) )
|
||||
ROM_LOAD("mtouch.u21", 0x100000,0x100000, CRC(af1491a6) SHA1(2d09506a3368fd64b1081017c58065635be5a62f) )
|
||||
ROM_LOAD("mtouch.u22", 0x200000,0x100000, CRC(da39c860) SHA1(7648e063ec68575abd808d5dea933f292197a2c2) )
|
||||
ROM_END
|
||||
|
||||
static DRIVER_INIT(magtouch)
|
||||
{
|
||||
pc_vga_init(machine, &vga_interface, NULL);
|
||||
}
|
||||
|
||||
GAME( 1995, magtouch, 0, magtouch, magtouch, magtouch, ROT0, "Micro Manufacturing", "Magical Touch", GAME_NOT_WORKING | GAME_NO_SOUND )
|
@ -1579,6 +1579,7 @@ $(MAMEOBJ)/misc.a: \
|
||||
$(DRIVERS)/magicard.o \
|
||||
$(DRIVERS)/magicfly.o \
|
||||
$(DRIVERS)/magictg.o \
|
||||
$(DRIVERS)/magtouch.o \
|
||||
$(DRIVERS)/malzak.o $(VIDEO)/malzak.o \
|
||||
$(DRIVERS)/mcatadv.o $(VIDEO)/mcatadv.o \
|
||||
$(DRIVERS)/micro3d.o $(MACHINE)/micro3d.o $(VIDEO)/micro3d.o $(AUDIO)/micro3d.o \
|
||||
|
@ -10144,6 +10144,9 @@ Other Sun games
|
||||
DRIVER( streetg2 ) /* (c) 1993 */
|
||||
DRIVER( streetg2r5 ) /* (c) 1993 */
|
||||
|
||||
/* Micro Manufacturing */
|
||||
DRIVER( magtouch ) /* (c) 1995 */
|
||||
|
||||
/* Coinmaster-Gaming VGA based */
|
||||
DRIVER( colorama ) /* (c) 2001 Coinmaster-Gaming, Ltd. */
|
||||
DRIVER( cmrltv75 ) /* (c) 2001 Coinmaster-Gaming, Ltd. */
|
||||
|
Loading…
Reference in New Issue
Block a user