CD-ROM support in WinUAE 0.8.21

1. Inquire the unit number of your CD-ROM drive

  1. start WinUAE without a configuration (delete the default.UAE file before).
  2. go to the misc page and enable uaescsi.device and Create log file.
  3. click on Ok.
  4. if your Kickstart file is not named kick.rom WinUAE complains several times about a missing ROM and quits. Otherwise you will see the request to insert a floppy. Close WinUAE.
  5. Open Windows Explorer and open the file winuaelog.txt in the WinUAE directory.
  6. Search for uaescsi.device.
  7. You will find a section that looks like that:
    ASPI: open_driver 101 HostASPIStatus=0x1 HACount=0x1
    ASPI: open_driver HostASPIStatus=0x1 HACount=0x1
    ASPI: S=1 ha=1, ID=7, M='ASPI for WIN32  ESDI_506', Id='ESDI_506'
    ASPI: 0:0:0 'LITEON  ' 'DVD-ROM LTD122  ' 'IL5L'  [CDROM]
    support_scsi = 1 support_ioctl = 2
    ASPI: opening 0:0:0
    ASPI: Error in scgo_send: s.SRB_Status is 0x4
    ASPI: Mapped to: error 1 errno: 5
    unit 0: Drive empty
    LITEON   DVD-ROM LTD122   IL5L = uaescsi.device:0
    scsidev_start_threads()
    

    The highligted part shows the unit number.

    If you see error messages, check and correct your ASPI setup. Also read the Readme.txt and UAEHowTo.txt files in WinUAE's Docs directory.

2. Install a CD-ROM driver for AmigaOS

  1. get LhA.run and AmiCDFS240.lha from Aminet
  2. copy the archives to a place where your AmigaOS can reach them (e.g. to your boot harddisk directory)
  3. start WinUAE and boot AmigaOS
  4. open a Shell window
  5. cd to the directory where you copied the archives to.
  6. enter these commands:
    lha.run ram:
    copy ram:lh? c:
    lha x amicdfs240 ram:
    cd ram:amicdfs2
    copy l/AmiCDFS l:
    copy cd0(|.info) devs:dosdrivers
    ed devs:dosdrivers/CD0
    
  7. now change scsi.device to uaescsi.device and the unit number to the number your CD-ROM drive has (e.g. 0).
  8. scroll down to the MaxTransfer line. Change the value to 0xfc00.
  9. scroll further down to the Control line and add the keywords OLDMODE DC=3 to the string.
  10. press Esc and enter x to save the changes and exit the editor.
  11. enter
    mount cd0:
    
  12. now your CD-ROM drive should work.