View Single Post
Old 09 September 2018, 15:34   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,531
Quote:
Originally Posted by jotd View Post
I was interested about adapting CD32load for JOTD but got a cold shower from Toni (Wilen) who explained that the low-level CD-read routine that I'm using for CD32load (written by Psygore, who probably reverse-engineered Rob Northen routine to enhance it) won't run on CDTV because the CD hardware is different.
Yeah, there is absolutely nothing in common between CD32 and CDTV in low CD controller hardware level. CDTV is based on A2091/A590 DMAC and old Matsushita CD controller. (Almost same protocol that first PC non-IDE Matsushita/Panasonic CD drives used). CD32 CD controller is unique, it is not based on any existing Amiga hardware, I think even CD microcontroller is custom because it has Commodore part number.

Writing loader isn't that difficult (CDTV CD controller is much more intelligent than CD32, CDTV can return 2048 byte "cooked" sectors. CD32 only returns raw 2352 sectors). Simple CD sector loader that takes sector number and then reads it using polled IO (I don't remember if CDTV must use DMA or if PIO is possible) is fine for this purpose?

Unfortunately there is another missing major part: CD filesystem that works without OS. Unless it can ripped from RNC loader.
Toni Wilen is online now  
 
Page generated in 0.04466 seconds with 11 queries