8bit Projects For Everyone


Find   for  

ZX Printer - Timex Printer 2040

Details about ZX Priner and Timex Printer 2040.

Printer interface

It is small box, plugged into ZX bus. It has through slot, but only ZX81 compatibile.

Interface of Timex Printer 2040 contains one 74LS10 (3 × NAND). It decodes A2=0, A7=1, /IORQ=0. The 74LS139 could work much better - one half could decode A7, /IORQ and one extra signal (like A0 or A1), while the second would generate buffered /RD and /WR, decoding A2.

The Timex Printer 2040 is seen in ports #F0..#F3 and #F8..#FB, so the TS2068 ULA doesn't use such addresses in internal decoding. (The BEU support was piervousely based on #FC and #FD ports.)

The cable has 7 wires and screen. D1 is not connected unlike ZX Printer, becuse the 2040 printer doesn't have two paper feed modes (slow for printing and fast for ejecting paper).

/ADR - black
/WR - red
D2 - yellow
D0 - orange
D6 - green
D7 - blue
/RD - brown
GND - screen

Description from Warajevo 2.51

7.3.2. 'ZX PRINTER' PORTS

Every port with address bit A2=0 acts on the printer (usually 251). We implemented following features:

Output:   bit  D1:    motor speed
          bit  D2:    motor on/off
          bit  D7:    styli on/off

Input:    bit  D0:    encoder bit
          bits D1-D5: always 1
          bit  D6:    printer present
          bit  D7:    out of paper

Brief description of implementation of the ZX printer emulation: When D2=1 (motor off), writing to this port is ignored. When D2=1, the state of bit D7 sent to this port is buffered. When the buffer fills itself, or when the motor is again off, the buffer is sent to the printer. One pixel on ZX printer is emulated with a one pixel (or with a square of four pixels, depending of /P option) on the Epson or HP Laser Jet printer. If D1=0 (motor works fast), the buffer takes four rows of pixels. When D1=1, buffer takes only one row of pixels. For input, the bit D0 is connected to READY of the printer, bit D6 to ACK and bit D7 to 'Out of paper' signal. The latching of the bits D0 and D7 is not emulated, but this is not important.

All routines for the ZX printer which use standard protocol (reading the encoder bit) will be correctly emulated, including ROM routines. There is a small problem with ROM routines that will wait forever if the printer is switched on, but off-line. Then switch off the printer, or change it to ONLINE state.


Tell other people:

Files for download

ts2040io.zip 22.5kB (2006-02-19 21:09)
Interface board of Timex Printer 2040. Eagle data files.
alp32_pc.zip 662.5kB (2005-09-10 01:48)
Connect ZX Printer or Timex 2040 to PC. Schematics, source code in C, example printing scanned.

Links to other pages



See also

Parallel interface for ZX Spectrum
Parallel interface for ZX Spectrum and clones - overview of various types.
YABUS.ZXISA
ISA slots for ZX Spectrum (I/O mapped). LPT, 2×RS232, Floppy Disk Controller and sound card.

E-mail:

Password:



Forgot password?

Register?
Apple
HDD
Atari
IDE KMK/J¯
MyIDE
SIO2IDE
Commodore
IECATA
CPC
CPCISA
Hacker
PC
IDE
LPT
Sam Coupé
Atom
FDD
RTC
Samtrum
YABUS.SAM
YAMOD
ATBUS
AYLPT
EPROG
FDC765A
IDE8255
KJOY
ZXINPUT
Timex
BEU
Cartridge
FD-68
Larken
ZX81
ZX96
ZX1541
ZX Spectrum
AC-DOS
Interface 1
Interface 1 Bis
Interface 2
GeneralSound
Macface
MB-02
NMI
Packet Radio
PB-3
PL3MEM
Plus D
POLBASIC
Printer
Split
Timex M-397
CA80
YABUS.ZX
YABUS.ZXISA
YABUS.ZXMEM

If you see error on this page, describe here:

© 2009-12-28 21:50 Jarek Adamski, http://8bit.yarek.pl