Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
al177 committed Jul 17, 2017
1 parent 6160d8c commit 239d673
Show file tree
Hide file tree
Showing 16 changed files with 4,921 additions and 0 deletions.
393 changes: 393 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,32 @@
# tranz330_re
Partial reverse engineering of an old Z80-based card terminal

This repo is for a reverse engineered schematic and other
stuff that might be helpful for developing replacement software
for the Verifone Tranz 330 credit card terminal.

The Tranz 330 has a Z80 microprocessor at its heart and uses
design conventions and peripherals often found in Z80 based
computers. Although it's compact, it has a socketed EPROM and
DIP packaged components for all but a few logic ICs, making it
easy to work on. And since they do not have the security
features needed for modern credit card processing bureaus, they
are available cheaply on the used market.

The schematic here is a work in progress. The logic on the
mainboard is almost fully mapped.

I don't plan to map the power supply, modem analog
section, or all of the logically superfluous discretes (bypass
caps, battery backup, etc). At some point I'll make a logical
schematic of the VFD / keypad board. I want to end up with a
reference that's useful for writing software and tacking on
hardware.

If you want to get started writing for the Tranz 330 now, check out
Big Mess O' Wires work at
https://www.bigmessowires.com/2011/05/10/mapping-the-tranz-330/



Released under the Creative Commons Share Alike (CC-BY-SA) License. Share it, change it, make money on it, teach it to the children as a cautionary tale. Just make your changes public and give credit to all contributors to this project.
8 changes: 8 additions & 0 deletions oki_peripherals.dcm
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
EESchema-DOCLIB Version 2.0
#
$CMP M6242B
D Oki M6242B RTC
K RTC Oki
$ENDCMP
#
#End Doc Library
37 changes: 37 additions & 0 deletions oki_peripherals.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# M6242B
#
DEF M6242B U 0 40 Y Y 1 F N
F0 "U" -200 -850 60 H V C CNN
F1 "M6242B" 0 0 60 V V C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
$FPLIST
DIP-18_W7.62mm
$ENDFPLIST
DRAW
S -300 600 300 -750 0 1 0 N
X STD.P 1 500 -200 200 L 50 50 1 1 I
X /CS0 2 -500 -200 200 R 50 50 1 1 I
X ALE 3 -500 -600 200 R 50 50 1 1 I
X A0 4 500 500 200 L 50 50 1 1 I
X A1 5 500 400 200 L 50 50 1 1 I
X A2 6 500 300 200 L 50 50 1 1 I
X A3 7 500 200 200 L 50 50 1 1 I
X /RD 8 -500 -400 200 R 50 50 1 1 I
X GND 9 0 -950 200 U 50 50 1 1 P
X /WR 10 -500 -500 200 R 50 50 1 1 I
X D3 11 -500 200 200 R 50 50 1 1 T
X D2 12 -500 300 200 R 50 50 1 1 T
X D1 13 -500 400 200 R 50 50 1 1 T
X D0 14 -500 500 200 R 50 50 1 1 T
X CS1 15 -500 -300 200 R 50 50 1 1 I
X XT 16 500 -500 200 L 50 50 1 1 I
X /XT 17 500 -600 200 L 50 50 1 1 I
X VDD 18 0 800 200 D 50 50 1 1 P
ENDDRAW
ENDDEF
#
#End Library
13 changes: 13 additions & 0 deletions rs232drv.dcm
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
EESchema-DOCLIB Version 2.0
#
$CMP DS1489
D DS14C88 Quad CMOS RS232 line driver
K RS232 receiver
$ENDCMP
#
$CMP DS14C88
D DS14C88 Quad CMOS RS232 line driver
K RS232 driver
$ENDCMP
#
#End Doc Library
61 changes: 61 additions & 0 deletions rs232drv.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# DS1489
#
DEF DS1489 U 0 40 Y Y 4 F N
F0 "U" -400 -300 60 H V C CNN
F1 "DS1489" 0 0 60 H V C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
$FPLIST
SOIC-14
$ENDFPLIST
DRAW
C 450 0 50 0 1 0 N
P 4 0 1 0 -300 300 400 0 -300 -300 -300 300 N
X ~ 1 -500 0 200 R 50 50 1 1 I
X ~ 3 700 0 200 L 50 50 1 1 O
X GND 7 -200 -450 200 U 50 50 1 1 P
X VCC 14 -200 450 200 D 50 50 1 1 P
X ~ 4 -500 0 200 R 50 50 2 1 I
X ~ 6 700 0 200 L 50 50 2 1 O
X ~ 8 700 0 200 L 50 50 3 1 O
X ~ 10 -500 0 200 R 50 50 3 1 I
X ~ 11 700 0 200 L 50 50 4 1 O
X ~ 13 -500 0 200 R 50 50 4 1 I
ENDDRAW
ENDDEF
#
# DS14C88
#
DEF DS14C88 U 0 40 Y Y 4 F N
F0 "U" -450 -300 60 H V C CNN
F1 "DS14C88" 0 0 60 H V C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
$FPLIST
SOIC-14
$ENDFPLIST
DRAW
A -50 0 304 805 -805 0 1 0 N 0 300 0 -300
C 300 0 50 0 1 0 N
P 4 0 1 0 0 300 -350 300 -350 -300 0 -300 N
X V- 1 -50 -500 200 U 50 50 1 1 P
X ~ 2 -550 0 200 R 50 50 1 1 I
X ~ 3 550 0 200 L 50 50 1 1 O
X GND 7 -250 -500 200 U 50 50 1 1 P
X V+ 14 -50 500 200 D 50 50 1 1 P
X ~ 4 -550 150 200 R 50 50 2 1 I
X ~ 5 -550 -150 200 R 50 50 2 1 I
X ~ 6 550 0 200 L 50 50 2 1 O
X ~ 8 550 0 200 L 50 50 3 1 O
X ~ 9 -550 150 200 R 50 50 3 1 I
X ~ 10 -550 -150 200 R 50 50 3 1 I
X ~ 11 550 0 200 L 50 50 4 1 O
X ~ 12 -550 150 200 R 50 50 4 1 I
X ~ 13 -550 -150 200 R 50 50 4 1 I
ENDDRAW
ENDDEF
#
#End Library
8 changes: 8 additions & 0 deletions tdk_modem.dcm
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
EESchema-DOCLIB Version 2.0
#
$CMP 73K212AL
D TDK 73K212AL POTS 1200/300 baud modem
K modem
$ENDCMP
#
#End Doc Library
45 changes: 45 additions & 0 deletions tdk_modem.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# 73K212AL
#
DEF 73K212AL U 0 40 Y Y 1 F N
F0 "U" -200 -1100 60 H V C CNN
F1 "73K212AL" 0 0 60 V V C CNN
F2 "" 0 50 60 H I C CNN
F3 "" 0 50 60 H I C CNN
$FPLIST
DIP-28_W15.24mm
$ENDFPLIST
DRAW
S -350 800 350 -1000 0 1 0 N
X CLK 1 -550 -900 200 R 50 50 1 1 I
X XTL1 2 550 -500 200 L 50 50 1 1 P
X XTL2 3 550 -600 200 L 50 50 1 1 P
X AD0 4 -550 600 200 R 50 50 1 1 T
X AD1 5 -550 500 200 R 50 50 1 1 T
X AD2 6 -550 400 200 R 50 50 1 1 T
X AD3 7 -550 300 200 R 50 50 1 1 T
X AD4 8 -550 200 200 R 50 50 1 1 T
X AD5 9 -550 100 200 R 50 50 1 1 T
X AD6 10 -550 0 200 R 50 50 1 1 T
X AD7 11 -550 -100 200 R 50 50 1 1 T
X TXD 21 550 100 200 L 50 50 1 1 I
X ALE 12 -550 -300 200 R 50 50 1 1 I
X RXD 22 550 200 200 L 50 50 1 1 O
X /WR 13 -550 -400 200 R 50 50 1 1 I
X RXCLK 23 550 600 200 L 50 50 1 1 O
X /RD 14 -550 -500 200 R 50 50 1 1 I
X ISET 24 550 -800 200 L 50 50 1 1 P
X VDD 15 0 1000 200 D 50 50 1 1 P
X RESET 25 -550 -700 200 R 50 50 1 1 I
X TXA 16 550 -300 200 L 50 50 1 1 P
X VREF 26 550 -900 200 L 50 50 1 1 P
X RXA 27 550 -200 200 L 50 50 1 1 P
X TXCLK 18 550 500 200 L 50 50 1 1 O
X GND 28 0 -1200 200 U 50 50 1 1 P
X EXCLK 19 550 400 200 L 50 50 1 1 I
ENDDRAW
ENDDEF
#
#End Library
3 changes: 3 additions & 0 deletions tranz330.dcm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
EESchema-DOCLIB Version 2.0
#
#End Doc Library
54 changes: 54 additions & 0 deletions tranz330.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# Z80A
#
DEF Z80A U 0 40 Y Y 1 F N
F0 "U" 0 0 60 H V C CNN
F1 "Z80A" 0 0 60 H V C CNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
DRAW
X A11 1 1000 800 200 L 50 50 1 1 B
X A12 2 1000 700 200 L 50 50 1 1 B
X A13 3 1000 600 200 L 50 50 1 1 B
X A14 4 1000 500 200 L 50 50 1 1 B
X A15 5 1000 400 200 L 50 50 1 1 B
X CLK 6 -1000 -500 200 R 50 50 1 1 B
X D4 7 -1000 1500 200 R 50 50 1 1 B
X D3 8 -1000 1600 200 R 50 50 1 1 B
X D5 9 -1000 1400 200 R 50 50 1 1 B
X D6 10 -1000 1300 200 R 50 50 1 1 B
X /IRQ 20 -1000 200 200 R 50 50 1 1 B
X A0 30 1000 1900 200 L 50 50 1 1 B
X A10 40 1000 900 200 L 50 50 1 1 B
X +5V 11 0 2300 200 D 50 50 1 1 P
X /RD 21 -1000 1000 200 R 50 50 1 1 B
X A1 31 1000 1800 200 L 50 50 1 1 B
X D2 12 -1000 1700 200 R 50 50 1 1 B
X /WR 22 -1000 900 200 R 50 50 1 1 B
X A2 32 1000 1700 200 L 50 50 1 1 B
X D7 13 -1000 1200 200 R 50 50 1 1 B
X /BUSAK 23 -1000 800 200 R 50 50 1 1 B
X A3 33 1000 1600 200 L 50 50 1 1 B
X D0 14 -1000 1900 200 R 50 50 1 1 B
X /WAIT 24 -1000 700 200 R 50 50 1 1 B
X A4 34 1000 1500 200 L 50 50 1 1 B
X D1 15 -1000 1800 200 R 50 50 1 1 B
X /BUSRQ 25 -1000 600 200 R 50 50 1 1 B
X A5 35 1000 1400 200 L 50 50 1 1 B
X /INT 16 -1000 -200 200 R 50 50 1 1 B
X /RESET 26 -1000 500 200 R 50 50 1 1 B
X A6 36 1000 1300 200 L 50 50 1 1 B
X /NMI 17 -1000 -100 200 R 50 50 1 1 B
X /M1 27 -1000 400 200 R 50 50 1 1 B
X A7 37 1000 1200 200 L 50 50 1 1 B
X /HALT 18 -1000 0 200 R 50 50 1 1 B
X /REFSH 28 -1000 300 200 R 50 50 1 1 B
X A8 38 1000 1100 200 L 50 50 1 1 B
X /MREQ 19 -1000 100 200 R 50 50 1 1 B
X A9 39 1000 1000 200 L 50 50 1 1 B
ENDDRAW
ENDDEF
#
#End Library
Loading

0 comments on commit 239d673

Please sign in to comment.