CD-ROM Drives on the Atari XL/XE

Year
1997
Type
DIY project
Category
CD-ROM / ATAPI interfacing
Manufacturer
Software by msc (Stefan Birmanns / Matthias Belitz project, 1997); various IDE interfaces

Overview

Once IDE hard-disk interfaces reached the Atari XL/XE in the mid-1990s, the next obvious step was the ATAPI CD-ROM drive. These drives sit on the same 40-pin IDE cable as a hard disk, but speak SCSI-style command packets. Two different approaches made PC CD-ROMs useful to an 8-bit:

  1. A parallel-bus IDE controller plus special software. The msc-IDE controller by Stefan Birmanns and Matthias Belitz (1995–96, PBI) only partly supported CD-ROM and ZIP drives in its own firmware. Its companion tools CDREAD and CDPLAY (© msc 1997) fill the gap.
  2. A smart SIO interface that understands ISO9660. SIO2IDE version 3.0 (2002) added ATAPI CD-ROM support and the ISO9660 filesystem, so ATR disk images stored on a CD can be mounted directly as Atari drives D1:–D7:, read-only.

Setting up an ATAPI drive (msc-IDE)

  • Jumper the CD-ROM as slave and the hard disk as master on the same IDE cable. The drives' manuals give the jumper positions.
  • Older hard disks may not cooperate with a second drive on the cable, because master/slave behaviour was only properly standardised later. If things misbehave, suspect the hard disk.
  • Tested drives were common Mitsumi models (FX400 and others), a Creative CD220 and a Pioneer DRU-A124X. Not every ATAPI drive works.

CDREAD: copying files from PC CDs

CDREAD.COM reads standard ISO9660 (PC) CD-ROMs and copies files to any Atari drive:

  • The screen shows the disc's volume name ("SOURCE"), the current directory (subdirectories in inverse video) and the destination ("Dest.: D:").
  • Move with the cursor keys (-/=). RETURN on a directory enters it, and on a file copies it to the destination.
  • C changes the destination path, R searches the current directory, S and E jump to the start and end of the list, O opens the drive tray, and ESC quits.

Known issues: some drives hang during initialisation. Press RESET and run the program again. The author planned to restructure it with separate drivers per drive type.

CDPLAY: audio CDs

CDPLAY plays audio tracks on the CD-ROM drive. Under SpartaDOS or BW-DOS it takes parameters, so CDPLAY 2 10 plays tracks 2 to 10. Under other DOSes it plays the whole disc.

Hearing CD audio through the Atari: the documentation includes a simple mixing network. Feed the drive's left and right audio outputs through two equal resistors (R1 = R2, for example 20 kΩ each) to a common point, then through R3 (for example 30 kΩ) to the audio input on pin 49 of the parallel bus. Keep R1 + R3 (and R2 + R3) between about 40 and 50 kΩ. The CD sound then comes out of the TV or monitor together with POKEY.

Other routes

  • The KMK/JŻ IDE and IDE Plus 2.0 interfaces can physically host ATAPI devices, but their firmware doesn't provide ATAPI support. That is left to software.
  • A low-tech alternative, sometimes called a CD link, works the other way round: plug a CD player's line-out into a cassette-turbo interface and load programs recorded as audio tracks, using a universal turbo loader and a menu called Tornado.

Tips

  • Remember that the CD-ROM needs its own +5 V and +12 V power from a PC-style supply; the Atari cannot power it.
  • Copy what you need to a hard-disk or RAM-disk partition. CD access through these tools is read-only.

Credits