Skip to content

afs nf_cdrom

Thorsten Otto edited this page Feb 6, 2018 · 1 revision

CD-ROM driver

This driver 'nfcdrom.bos' allows usage of CD-ROM (and playing audio CD) from your Atari applications. To access the files on a CD-ROM, you'll need an ISO9660 filesystem driver, that you should already have with the program you use to load the driver.

In the MetaDOS (or other) configuration file, you just have to add a line like this:

  *BOS, \auto\nfcdrom, Y

This will create a MetaDOS device Y, which is declared in the ARAnyM config file in the section [CDROMS]:

  [CDROMS]
  Y = 0

The number is the nth CD-ROM device on your host system, starting from 0. Now you can play audio CD with any Atari application. If you want data CD-ROM access, you'll need to use Linux nfcdrom driver on ARAnyM side, and install an ISO9660 filesystem driver in MetaDOS configuration file for the MetaDOS device.

Currently in ARAnyM, there are 2 nfcdrom drivers: the SDL one (works everywhere) but only allows audio CD control, and the Linux one which gives you total control over the CD-ROM drive. You choose which one to select in the [NATFEATS] section of ARAnyM config file:

  [NATFEATS]
  CDROM = linux

The default value for CDROM is 'sdl' of course. The ISO9660 filesystem can then be mapped to the MetaDOS device in its config.sys file:

  *DOS, \auto\iso9660.dos, H:Y

This line will create a GEMDOS drive H to access the CD-ROM filesystem through MetaDOS device Y.

Clone this wiki locally