English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 14 November 2022, 15:50   #1
Solskogen
Registered User
 
Join Date: Nov 2016
Location: Skien / Norway
Posts: 111
Emulating a IDE CD driver

Can WinUAE emulate a cd drive connected to the IDE bus? (not uaehf)
I've been trying to emulate a A1200 without UAE extensions, but getting the CD to work have gotten the best of me. The reason I want to do so is to be able to create a EmergencyDisk for AmigaOS 3.9 that I can use on a real Amiga or on a FPGA simulating a real amiga, but if the disk is created on WinUae it doesn't really work because the disk then expects the cd to be on uaehf.
Solskogen is offline  
Old 14 November 2022, 16:04   #2
Aardvark
Registered User
 
Join Date: Jan 2019
Location: Finland
Posts: 643
CD & Hard Drives -> Add SCSI/IDE CD Drive -> HD Controller: A600/A1200/A4000 IDE
Aardvark is offline  
Old 14 November 2022, 16:05   #3
Matt_H
Registered User
 
Matt_H's Avatar
 
Join Date: Jul 2008
Location: Boston, MA
Posts: 945
Yes, it should be possible using the same panel as adding hard drives. You should be able to select the A1200 IDE bus to "attach" the CD drive to.

Alternatively, all you need to do to make the Emergency Disk work on a real machine is to change the device/unit info in the CD0 mountfile to point to atapi.device (or whatever the driver name is on 3.9 - can't recall whether it's atapi or something else) instead of uaehf.device.
Matt_H is offline  
Old 14 November 2022, 17:00   #4
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,006
Quote:
Originally Posted by Solskogen View Post
but if the disk is created on WinUae it doesn't really work because the disk then expects the cd to be on uaehf.

Devs/DosDrivers/CD0 is a text file, you can edit it.

Getting a CD drive on the IDE bus to work is a hen-and-egg problem. You need the OS 3.9 IDE driver to see the CD drive, but you need the CD working to get OS 3.9.

IDEfix might help out here temporarily.

Or as mentioned above, make the emergency disk with uaescsi.device and edit "uae" out of the way.
thomas is online now  
Old 14 November 2022, 17:08   #5
Solskogen
Registered User
 
Join Date: Nov 2016
Location: Skien / Norway
Posts: 111
Thanks for the tip, but as long as Board Type is set to "ROM disabled" no CD shows up. Despite adding the CD there. I've tried both IDE (Auto) and Commodore A600/A1200/A4000 IDE. And CD0 in Devs/DOSDrivers have UNIT=1
Solskogen is offline  
Old 14 November 2022, 17:09   #6
Solskogen
Registered User
 
Join Date: Nov 2016
Location: Skien / Norway
Posts: 111
Quote:
Originally Posted by thomas View Post
Devs/DosDrivers/CD0 is a text file, you can edit it.

Getting a CD drive on the IDE bus to work is a hen-and-egg problem. You need the OS 3.9 IDE driver to see the CD drive, but you need the CD working to get OS 3.9.

Not really. I can create the emergency disks with 3.1. 3.1 should be able to see the CD.
Solskogen is offline  
Old 14 November 2022, 18:35   #7
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,006
Quote:
Originally Posted by Solskogen View Post
3.1 should be able to see the CD.
The 3.1 IDE driver does not see the CD drive. It is not able to handle ATAPI devices. You need a special ATAPI driver to run an IDE CD drive with 3.1.

Like I said, you can use IDEfix to see the CD drive on 3.1. But you have to take care not to install parts of IDEfix to the emergency disk.

Once you have an emergency disk, it can see the CD drive on its own.
thomas is online now  
Old 14 November 2022, 22:37   #8
Solskogen
Registered User
 
Join Date: Nov 2016
Location: Skien / Norway
Posts: 111
I was able to use 3.1 to create a Emergency disk on the MiSTer. I just used the cd driver located in Storage/DOSDrivers. No IDEfix involved.
Solskogen is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Emulating OS4.1 richiev4 support.WinUAE 3 01 November 2019 01:57
A1200 IDE driver for Kick 1.3 bloodline Coders. System 12 04 March 2019 20:54
Emulating CD32 Joypad ben111g support.WinUAE 2 18 October 2015 11:58
Emulating OS4... th4t1guy Amiga scene 6 16 June 2004 19:04
Emulating a PC on my miggy... IanS support.Apps 7 14 July 2003 18:57

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:47.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08512 seconds with 15 queries