summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pntnpuzl.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-12-16 17:06:56 -0500
committer AJR <ajrhacker@users.noreply.github.com>2017-12-16 17:06:56 -0500
commitbb515243e3ebc518297d333c2ccb61aab3bdc291 (patch)
treea6cedc9ef642131a7c49ba8a746fea14bfd5a2ce /src/mame/drivers/pntnpuzl.cpp
parent712676c3d5779cdddeef5c6ee5603ef647ffefe8 (diff)
pntnpuzl: Update notes based on schematics (nw)
Diffstat (limited to 'src/mame/drivers/pntnpuzl.cpp')
-rw-r--r--src/mame/drivers/pntnpuzl.cpp108
1 files changed, 63 insertions, 45 deletions
diff --git a/src/mame/drivers/pntnpuzl.cpp b/src/mame/drivers/pntnpuzl.cpp
index aaf8177a95a..37db418c0d3 100644
--- a/src/mame/drivers/pntnpuzl.cpp
+++ b/src/mame/drivers/pntnpuzl.cpp
@@ -11,72 +11,75 @@ Label:
Board Num.
90
-The PCB has no silkscreen or reference designators, so the numbers I am
-providing are made up.
+The PCB has no silkscreen or reference designators. All locations
+provided here are from the published schematics.
-U1 32 pin IC
+U1 64 pin IC
+MC68000P12
+OB26M8829
+
+U2 32 pin IC
27C010A
Label:
Paint N Puzzle
Ver. 1.09
Odd
-U2 5 pin audio amp
-LM383T
-
-U3 40 pin IC
-8926S
-UM6522A
+U3 32 pin IC
+27C010A
+Label:
+Paint N Puzzle
+Ver. 1.09
+Even
-U4 28 pin IC
+U4 & U5 28 pin ICs
Mosel
MS62256L-85PC
8911 5D
-U5 18 pin IC
-PIC16C54-HS/P
-9344 CGA
+U14 28 pin IC
+MicroTouch Systems
+c 1992
+19-507 Rev 2
+ICS1578N 9334
-U6 48 pin IC
-P8798
+U15 48 pin IC
+P8798 (8797 on schematic)
L3372718E
Intel
Label:
MicroTouch
5603670 REV 1.0
-U7 28 pin IC
-MicroTouch Systems
-c 1992
-19-507 Rev 2
-ICS1578N 9334
+U17 8 pin IC
+National 8538A
+93C46N
+-connected to U15
-U8 28 pin IC
-Mosel
-MS62256L-85PC
-8911 5D
-
-U9 32 pin IC
-27C010A
-Label:
-Paint N Puzzle
-Ver. 1.09
-Even
+U35 18 pin IC
+PIC16C54-HS/P
+9344 CGA
-U10 64 pin IC
-MC68000P12
-OB26M8829
+U36 5 pin audio amp
+LM383T
-The 6522 and 8798 each have a 93C46N EEPROM attached.
+U37 8 pin IC
+National 8538A
+93C46N
+-connected to U41
-X1
-16.000MHz -connected to U5
+U41 40 pin IC
+8926S
+UM6522A
-X2
+Y1
ECS-120
32-1
China -connected to U7
-Other side is unreadable
+Other side is unreadable (schematic reads 12.000MHz?)
+
+Y2
+16.000MHz -connected to U5
CN1 JAMMA
CN2 ISA? Video card slot
@@ -84,8 +87,19 @@ CN3 Touchscreen input (12 pins)
CN4 2 pins, unused
1 blue potentiometer connected to audio amp
-There doesnt seem to be any dedicated sound chip, and sounds are just bleeps
-really.
+
+There is no dedicated sound generator, and sounds are just bleeps
+really. The sounds come from a binary-weighted DAC attached to the
+PIC's RB outputs:
+
+R34 7.5K
+R33 15.4K
+R32 30.9K
+R31 61.8K
+R30 124K
+R29 249K
+R28 499K
+R27 1M
-----------------------------------------------
Video card (has proper silk screen and designators)
@@ -331,19 +345,20 @@ static INPUT_PORTS_START( pntnpuzl )
INPUT_PORTS_END
static MACHINE_CONFIG_START( pntnpuzl )
- MCFG_CPU_ADD("maincpu", M68000, 12000000)//??
+ MCFG_CPU_ADD("maincpu", M68000, XTAL_12MHz)
MCFG_CPU_PROGRAM_MAP(pntnpuzl_map)
MCFG_EEPROM_SERIAL_93C46_ADD("eeprom")
- MCFG_DEVICE_ADD("via", VIA6522, 1200000) // ??
+ MCFG_DEVICE_ADD("via", VIA6522, XTAL_12MHz / 10)
MCFG_VIA6522_READPA_HANDLER(IOPORT("IN2"))
MCFG_VIA6522_READPB_HANDLER(IOPORT("IN1"))
MCFG_VIA6522_WRITEPB_HANDLER(DEVWRITELINE("eeprom", eeprom_serial_93cxx_device, di_write)) MCFG_DEVCB_BIT(4)
MCFG_DEVCB_CHAIN_OUTPUT(DEVWRITELINE("eeprom", eeprom_serial_93cxx_device, cs_write)) MCFG_DEVCB_BIT(6)
MCFG_DEVCB_CHAIN_OUTPUT(DEVWRITELINE("eeprom", eeprom_serial_93cxx_device, clk_write)) MCFG_DEVCB_BIT(5)
+ // CB2 used for serial communication with 8798
- MCFG_CPU_ADD("mcu", P8098, 12000000) // ??
+ MCFG_CPU_ADD("mcu", P8098, XTAL_12MHz)
MCFG_CPU_PROGRAM_MAP(mcu_map) // FIXME: this is all internal
/* video hardware */
@@ -358,6 +373,9 @@ ROM_START( pntnpuzl )
ROM_REGION( 0x2000, "mcu", 0 )
ROM_LOAD( "pntnpzl8798.bin", 0x0000, 0x2000, CRC(3ff98e89) SHA1(c48665992cb5377b69902f2a352c9214602a0b84) )
+ ROM_REGION( 0x400, "pic", 0 )
+ ROM_LOAD( "16c54.bin", 0x000, 0x400, NO_DUMP )
+
/* for reference, probably not used in any way by the game */
ROM_REGION( 0x10000, "video_bios", 0 )
ROM_LOAD( "trident_quadtel_tvga9000_isa16.bin", 0x0000, 0x10000, BAD_DUMP CRC(ad0e7351) SHA1(eb525460a80e1c1baa34642b93d54caf2607920d) )
@@ -372,4 +390,4 @@ DRIVER_INIT_MEMBER(pntnpuzl_state,pip)
}
-GAME( 199?, pntnpuzl, 0, pntnpuzl, pntnpuzl, pntnpuzl_state, pip, ROT90, "Century?", "Paint & Puzzle",MACHINE_NO_SOUND|MACHINE_NOT_WORKING )
+GAME( 1993, pntnpuzl, 0, pntnpuzl, pntnpuzl, pntnpuzl_state, pip, ROT90, "Century Vending", "Paint 'N Puzzle", MACHINE_NO_SOUND | MACHINE_NOT_WORKING )