Cassette Port
From C64-Wiki
Camailleon (Talk | contribs) 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]] | ||
| - | + | 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 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
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 | Signal | Remark |
|---|---|---|
| A-1 | GND | Ground |
| B-2 | + 5V | 5 Volt DC |
| C-3 | MOTOR | Motor Control, approx. 6 Volt power supply of the motor |
| D-4 | READ | Data Input, read data from datasette |
| E-5 | WRITE | Data Output, write data to datasette |
| F-6 | SENSE | Detection, 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 |
|---|---|---|
| 3 | WRITE | Cassette Data Output Line, Write |
| 4 | SENSE | Cassette Switch Sense, 0 = key is pressed, 1 = no key pressed |
| 5 | MOTOR | Cassette Motor Control, 0 = Motor on, 1 = motor off |
| CIA 1 | ||
| /Flag | READ | Cassette Data Input Line, Read |
Hint:
The signal "/Flag" of the CIA 1 is connected to the "/SRQ IN" line of the serial interface.
Links
- The C2N232 is a RS-232 interface that can be plugged to the cassette port of an 8-bit Commodore computer
- Speech64, digitized speech without special hardware
Control Port · Expansion Port · User Port · Cassette Port · Power Supply Connector
A/V Jack · RF Jack · Serial Port
RS-232 · IEEE-488 · Centronics Interface
