Cassette Port

From C64-Wiki

(Difference between revisions)
Jump to: navigation, search
m (Some typos and capital letters removed - good work thank you Zorro!)
Line 1: Line 1:
== Description ==
== Description ==
[[Image:C64_Kassettenport.jpg|thumb|250px|right|Cassette Port of the C64]]
[[Image:C64_Kassettenport.jpg|thumb|250px|right|Cassette Port of the C64]]
-
To the '''cassette port''' usually the [[Datasette|datasette]] will be attached. After [[Floppy|disk drives]] became more and more common, this port became less important for data storage and was used for different other purposes. Often it was used as power source, i.e. for misc. printer interfaces. Next to this, it is used today for data communication with other computer systems, as serial interface or to connect a [[Modem|modem]]. It is also possible to connect a real time clock (RTC), a [[PC]]-[[Keyboard|keyboard]] or a digitizer to record speech.
+
Normally, the [[Datasette|datasette]] would be attached to this port. As [[Floppy|disk drives]] became more common, this port became less important for data storage and was used for various other purposes. Often, it was used as power source, i.e. for misc. printer interfaces. Nowadays, it is also used for data communication with other computer systems, as serial interface, or to connect a [[Modem|modem]]. It is also possible to connect a real time clock (RTC), a [[PC]]-[[Keyboard|keyboard]] or a digitizer to record speech.
-
 
+
-
The cassette port of the C128 is identical with the one of the C64. The VIC-20 and various PET-models have the same port regarding the pin assignment, but it is internally realized in a different way, because there is no processor port in these computers.
+
 +
The cassette port of the C128 is identical to the C64's. The VIC-20 and various PET-models have the same port regarding the pin assignment, but different internals, since there is no processor port in these computers.
== Pin assignment ==
== Pin assignment ==

Revision as of 03:01, 3 November 2010

Contents

Description

Cassette Port of the C64

Normally, the datasette would be attached to this port. As disk drives became more common, this port became less important for data storage and was used for various other purposes. Often, it was used as power source, i.e. for misc. printer interfaces. Nowadays, it is also used for data communication with other computer systems, as serial interface, or to connect a modem. It is also possible to connect a real time clock (RTC), a PC-keyboard or a digitizer to record speech.

The cassette port of the C128 is identical to the C64's. The VIC-20 and various PET-models have the same port regarding the pin assignment, but different internals, since there is no processor port in these computers.

Pin assignment

The cassette port is a 12-pin edge_connector, spacing 3.96mm, where 6 pins are on each sides (top and down) of the PCB. The opponent contacts are connected with each other, A with 1, B with 2, and so on.

Pin Assignment


Pin Signal Remark
A-1GNDGround
B-2+ 5V 5 Volt DC
C-3MOTORMotor Control, approx. 6 Volt power supply of the motor
D-4READData Input, read data from datasette
E-5WRITEData Output, write data to datasette
F-6SENSEDetection, if one of the keys PLAY, RECORD, F.FWD or REW is pressed

Hint: The power supply of the motor is generated out of the 9V AC and will be switched on and off by a transistor stage.

Programming

From the four signals, three are directly connected with the on-chip port of the 6510 microprocessor. This 8-bit port is accessed via the zeropage-address $01. The signal "READ" is connected with CIA 1.

ON-CHIP PORT $01
Bit Signal Remark
3WRITECassette Data Output Line, Write
4SENSECassette Switch Sense, 0 = key is pressed, 1 = no key pressed
5MOTORCassette Motor Control, 0 = Motor on, 1 = motor off
CIA 1
/FlagREADCassette Data Input Line, Read

Hint:

The signal "/Flag" of the CIA 1 is connected to the "/SRQ IN" line of the serial interface.

Links

Control Port · Expansion Port · User Port · Cassette Port · Power Supply Connector
A/V Jack · RF Jack · Serial Port


RS-232 · IEEE-488 · Centronics Interface
Personal tools
Help and Feedback
In other languages