ArticleslgStudy

computer science

Commodore bus

Commodore bus is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Commodore bus rather than just read about it. In short: The Commodore serial bus (IEC Bus), is Commodore's interface for primarily magnetic disk data storage and printers for Commodore 8-bit home computers: VIC-20, Commodore 64, Commodore 128, Plus/4, Commodore 16, and Commodore 65. Description and history The parallel IEEE-488 interface used on the Commodore PET (1977) computer line was too costly, so a cost-reduced version was developed, which consisted of a stripped-d…

Commodore bus — main illustration
Commodore bus — illustration

Key takeaways

  • Commodore bus belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Commodore bus to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Commodore bus from memory before moving on to harder problems.

Reference excerpt

The Commodore serial bus (IEC Bus), is Commodore's interface for primarily magnetic disk data storage and printers for Commodore 8-bit home computers: VIC-20, Commodore 64, Commodore 128, Plus/4, Commodore 16, and Commodore 65.

Description and history The parallel IEEE-488 interface used on the Commodore PET (1977) computer line was too costly, so a cost-reduced version was developed, which consisted of a stripped-down, serial version of the IEEE-488 interface, with only a few signals remaining; however, the general protocol layout was kept. Commodore began using this bus with the VIC-20 (1980). Connection to the computer uses a DIN-6 connector (DIN 45322).

Transfer speed

Interface

Protocol description The bus signals are digital single-ended open collector five-volt TTL and active when low. Bus devices have to provide their own power. Because the bus lines are electrically open collector it works like a long OR gate between all device line drivers. The logical value for ground is true and vice versa. Any device may set a line "true". A line only becomes "false" if all devices signal false. Transmission begins with the bus talker holding the Clock line true, and the listener(s) holding the Data line true. To begin the talker releases the Clock line to false. When all bus listeners are ready to receive they release the Data line to false. If the talker waits more than 200 μs without the Clock line going true (idle state), listeners have to perform End-or-Identify (EOI). If the Data line being false (released) isn't acknowledged by the talker within 200 μs, the listener knows that the talker is in the process of EOI that means "this character will be the last one". When the listener detects the 200 μs timeout, it must acknowledge this by pulling the Data line true for at least 60 μs, and then release it. The talker can revert to transmitting again within 60 μs by pulling the Clock line true. Data is eight bits starting with the least significant bit. The Data line is set according to the bit to send (1=true=ground). Once the Data line is set, the Clock line is released to false. The Clock and Data lines will be held steady for at least 20 μs (except for Commodore 64 that needs 60 μs). After 8 bits has been sent, the talker releases the Data line to false and the listener then acknowledge the talker by pulling the Data line true within 1000 μs. After this the talker sets the Clock line true and listener sets the Data line true thus back where the transmission begun. If an EOI is signaled by holding the Clock line false the transmission is ended and the listener acknowledge this by pulling the Data line true for 200 μs. The ATN line is set to true and bytes are sent like above to all devices, but the byte is interpreted as one of the commands "Talk," "Listen," "Untalk," and "Unlisten". That tell a specific device to become a talker or listener. Only devices with matching device numbers switch into talk and listen mode. A secondary address may also follow. On higher logical level the host will set the ATN line to true and transmit the bytes "Device number 8, listen", "Secondary address 2, open". Next it will set the ATN line false and the host then becomes the talker, holding the Clock line true. The device will be the listener, holding the Data line true. The host will transmit the specific open command and end it with an EOI signal sequence. After this the host will set with ATN line true, "Device number 8, unlisten". Followed up by ATN line true and "Device number 8, listen", "Secondary address 2, data". Then the host sets the ATN line false and sends the data. When the host has finished sending data the ATN line is set to true and "Device number 8, unlisten" is sent. When it is necessary to switch roles and make the host a listener and the device a talker the occurs after a talk command has been sent to the device. The host sets the Data line true and releases the Clock line to false. The device waits for the Clock line to go false and then pulls it to true and release the Data line to false. After this sequence the standard talk-listener interaction may follow.

To read a normal file from the floppy device number 8 the command LOAD "filename",8,1 is issued on a Commodore 64. That causes the following high level communication to take place:

The Commodore 1541 floppy drive uses a slower Commodore 64 compatible mode which can be deactivated for faster speed by using the command OPEN 15,8,15,"UI-":CLOSE 15.

Device numbering

Device numbers 0–3 are not associated with the Commodore bus.

Host implementation The VIC-20 computer and the Commodore 1540 and 1541 floppy drives use the MOS Technology 6522 VIA to handle IEC Bus transmissions. The Commodore 64 and 128 computers and the Commodore 1571 drive use the Complex Interface Adapter.

Common devices

Devices

See also Commodore DOS Commodore 64 peripherals List of device bit rates Commodore 1541 Fast loader Magnetic tape data storage IEEE-488, the original parallel version (originally HP-IB) HP-IL, another serialisation of IEEE-488

References

External links "Saving with 64HDD / XE1541 cable length..." lemon64.com. 5 July 2003. "Design case history: the Commodore 64" (PDF). IEEE Spectrum. March 1985. Archived from the original (PDF) on May 13, 2012. "Serial Bus signal description". uwaterloo.ca. "IEC disected" (PDF). zimmers.net. 2008-02-24. Archived from the original (PDF) on 2017-01-16. – IEC-bus documentation as used for the 1541-III IEC dissected

Illustrations

Commodore bus illustration
Commodore bus illustration
Commodore bus illustration
Commodore bus illustration
Commodore bus illustration

Worked examples

Example 1 — a first encounter with Commodore bus

Start with the simplest possible case. Write down what Commodore bus claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Commodore bus before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Commodore bus ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Commodore bus

In research
Commodore bus appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Commodore bus in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Commodore bus is common in secondary-school and first-year university syllabi. It links to neighbouring topics Commodore 64, Commodore storage devices, Computer buses, so understanding it makes those chapters shorter.
In everyday life
Look for Commodore bus outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Commodore bus” →

How to study Commodore bus in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Commodore bus means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Commodore bus out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Commodore bus in simple terms?

The Commodore serial bus (IEC Bus), is Commodore's interface for primarily magnetic disk data storage and printers for Commodore 8-bit home computers: VIC-20, Commodore 64, Commodore 128, Plus/4, Commodore 16, and Commodore 65. Description and history The parallel IEEE-488 interface used on the Com…

Why does Commodore bus matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Commodore bus?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Commodore bus.

Tags

  • Commodore 64
  • Commodore storage devices
  • Computer buses
  • Computer connectors
  • Computer storage buses
  • Home computer peripherals
  • IEEE standards
  • Legacy hardware
  • Personal area networks
  • Serial buses
  • VIC-20

Keep exploring