minor corrections and cleans... nw

This commit is contained in:
RobertoFresca 2015-05-13 00:20:32 -03:00
parent a3e1a6ccc8
commit 25866c88fb

View File

@ -2,16 +2,14 @@
// copyright-holders:Roberto Fresca // copyright-holders:Roberto Fresca
/**************************************************************************************** /****************************************************************************************
GAME-A-TRON gambling hardware GAME-A-TRON gambling hardware.
-----------------------------
Driver by Roberto Fresca. Driver by Roberto Fresca.
Games running on this hardware: Games running on this hardware:
* Poker 4-1, 1983, Game-A-Tron. * Poker 4-1, 1983, Game-A-Tron.
* Pull Tabs, 1983, Game-A-Tron. * Pull Tabs, 1983, Game-A-Tron.
* Bingo, 1983, Game-A-Tron?. * Bingo, 1983, Game-A-Tron.
***************************************************************************************** *****************************************************************************************
@ -19,13 +17,10 @@
Hardware Notes: Hardware Notes:
--------------- ---------------
* PCB1: PULL TABS. * PCB1: PULL TABS.
Board silkscreend: Board silkscreend: "GAME-A-TRON CORP. (c)1983 PAT.PENDING"
"9003"
GAME-A-TRON CORP.
(c)1983 PAT.PENDING
ROMS: - U31 - 2732 (PT-1R-V) ROMS: - U31 - 2732 (PT-1R-V)
- U32 - 2732 (PT-2G-V) - U32 - 2732 (PT-2G-V)
@ -33,13 +28,13 @@
- U00 - 2764 (PULL-TABS-1-90) - U00 - 2764 (PULL-TABS-1-90)
Most chips, except for the EPROMS, were covered in a hard black plastic so that Most chips, except for the EPROMS, are covered with a hard black plastic coat
their numbers could not be read. so their ID's could not be read.
U30 was silkscreend VRAM, 24 pin. U30 location was silkscreend VRAM, 24 pin.
U11 was silkscreend scp RAM, 24 pin. U11 location was silkscreend SCP RAM, 24 pin.
U13 was silkscreend CPU, 40 pin. U13 location was silkscreend CPU, 40 pin.
U12 was silkscreend DECODE, 16 pin. U12 location was silkscreend DECODE, 16 pin.
1x 16MHz Crystal 1x 16MHz Crystal
1x Duracell PX-2 I, 4.5V battery. 1x Duracell PX-2 I, 4.5V battery.
@ -47,10 +42,8 @@
* PCB2: FOUR IN ONE POKER. * PCB2: FOUR IN ONE POKER.
Board silkscreend: Board silkscreend: "GAME-A-TRON CORP. (c)1983 PAT.PENDING"
"9003"
GAME-A-TRON CORP.
(c)1983 PAT.PENDING
ROMS: - U31 - 2732 (POKER-R) ROMS: - U31 - 2732 (POKER-R)
- U32 - 2732 (POKER-G) - U32 - 2732 (POKER-G)
@ -59,11 +52,11 @@
- U00 - 2764 (2764-POKER) - U00 - 2764 (2764-POKER)
- U08 - 2732 (2732-POKER-4-1) - U08 - 2732 (2732-POKER-4-1)
Most chips, except for the EPROMS, were covered in a hard black plastic so that Most chips, except for the EPROMS, are covered with a hard black plastic coat
their numbers could not be read. so their ID's could not be read.
CPU at u13 still covered in black plastic. U13 CPU (also coated with black plastic).
U05 M5L8255AP-5 U05 I/O M5L8255AP-5
U11 SCP RAM TC5516APL (2Kx8) U11 SCP RAM TC5516APL (2Kx8)
U30 VRAM HM6116LP-3 (2Kx8) U30 VRAM HM6116LP-3 (2Kx8)
@ -132,6 +125,7 @@
*** Game Notes *** *** Game Notes ***
All games: All games:
The first time the machine is turned on, will show the legend "DATA ERROR". The first time the machine is turned on, will show the legend "DATA ERROR".
@ -225,7 +219,6 @@
***************************************************************************************** *****************************************************************************************
-------------------- --------------------
*** Memory Map *** *** Memory Map ***
-------------------- --------------------
@ -236,12 +229,10 @@
0xA000 - 0xA000 ; Sound (PSG). 0xA000 - 0xA000 ; Sound (PSG).
0xE000 - 0xE000 ; Output Port 0 (lamps). 0xE000 - 0xE000 ; Output Port 0 (lamps).
* Z80 I/O ports * * Z80 I/O ports *
0x00 - 0x03 ; PPI 8255 (ports A & B as input, port C as output). 0x00 - 0x03 ; PPI 8255 (ports A & B as input, port C as output).
* 8255 I/O ports * * 8255 I/O ports *
Port A (input) ; Input Port 0 (player buttons). Port A (input) ; Input Port 0 (player buttons).
@ -297,6 +288,7 @@
*****************************************************************************************/ *****************************************************************************************/
#define MASTER_CLOCK XTAL_16MHz #define MASTER_CLOCK XTAL_16MHz
#include "emu.h" #include "emu.h"
@ -317,6 +309,31 @@
WRITE8_MEMBER(gatron_state::output_port_0_w) WRITE8_MEMBER(gatron_state::output_port_0_w)
{ {
/*--------------- /*---------------
Poker 4-1 lamps
---------------
0x00 - Default State.
0x01 - Hold3.
0x02 - Hold4.
0x04 - Hold5/DDown.
0x08 - Ante/Bet.
0x10 - Start.
0x20 - Deal/Hit.
0x40 - Stand/FreeBonusDraw.
- bits -
7654 3210
---------
.... ...x --> Hold3.
.... ..x. --> Hold4.
.... .x.. --> Hold5/DDown.
.... x... --> Ante/Bet.
...x .... --> Start.
..x. .... --> Deal/Hit.
.x.. .... --> Stand/FreeBonusDraw.
---------------
Pull Tabs lamps Pull Tabs lamps
--------------- ---------------
@ -360,31 +377,6 @@ WRITE8_MEMBER(gatron_state::output_port_0_w)
..x. .... --> Change Game / D-UP / High. ..x. .... --> Change Game / D-UP / High.
.x.. .... --> Change Card / Take / Low. .x.. .... --> Change Card / Take / Low.
---------------
Poker 4-1 lamps
---------------
0x00 - Default State.
0x01 - Hold3.
0x02 - Hold4.
0x04 - Hold5/DDown.
0x08 - Ante/Bet.
0x10 - Start.
0x20 - Deal/Hit.
0x40 - Stand/FreeBonusDraw.
- bits -
7654 3210
---------
.... ...x --> Hold3.
.... ..x. --> Hold4.
.... .x.. --> Hold5/DDown.
.... x... --> Ante/Bet.
...x .... --> Start.
..x. .... --> Deal/Hit.
.x.. .... --> Stand/FreeBonusDraw.
*/ */
output_set_lamp_value(0, (data) & 1); /* hold3 lamp */ output_set_lamp_value(0, (data) & 1); /* hold3 lamp */
output_set_lamp_value(1, (data >> 1) & 1); /* hold4 lamp */ output_set_lamp_value(1, (data >> 1) & 1); /* hold4 lamp */
@ -613,4 +605,4 @@ ROM_END
/* YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS LAYOUT */ /* YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS LAYOUT */
GAMEL( 1983, poker41, 0, gat, poker41, driver_device, 0, ROT0, "Game-A-Tron", "Four in One Poker", 0, layout_poker41 ) GAMEL( 1983, poker41, 0, gat, poker41, driver_device, 0, ROT0, "Game-A-Tron", "Four in One Poker", 0, layout_poker41 )
GAMEL( 1983, pulltabs, 0, gat, pulltabs, driver_device, 0, ROT0, "Game-A-Tron", "Pull Tabs", 0, layout_pulltabs ) GAMEL( 1983, pulltabs, 0, gat, pulltabs, driver_device, 0, ROT0, "Game-A-Tron", "Pull Tabs", 0, layout_pulltabs )
GAMEL( 1983, bingo, 0, gat, bingo, driver_device, 0, ROT0, "Game-A-Tron?", "Bingo", 0, layout_bingo ) GAMEL( 1983, bingo, 0, gat, bingo, driver_device, 0, ROT0, "Game-A-Tron", "Bingo", 0, layout_bingo )