PDA

View Full Version : DOS IDE CDROM Device Driver Source



pearce_jj
September 4th, 2014, 12:25 PM
Hi all

I'm looking for an open source IDE CDROM Device Driver for MS-DOS.

Any help greatly appreciated!

Stone
September 4th, 2014, 12:40 PM
What about the OAK driver? Does that meet the requirements?

pearce_jj
September 4th, 2014, 12:50 PM
Maybe, is the source code available?

krebizfan
September 4th, 2014, 01:07 PM
Well, XCDROM.SYS (part of FreeDOS) seems to be one with UIDE (caching for 386+) and SHSUCDX being other options. The latter two can be found off http://www.freedos.org/software/?cat=base

XCDROM.SYS is a lot older at http://ftp.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/system/xcdrom/

Might prove a starting point.

pearce_jj
September 4th, 2014, 01:53 PM
Brilliant, thanks!

hargle
September 5th, 2014, 05:24 AM
I assume you're doing this to add support for CD drives for the XTIDE and variants?
If so, kudos to you for taking up the slack. I promised myself that I was going to write one (I got so far as to be able to eject the drive tray IIRC) and then something shiny distracted me and now it's been a couple years.
Provided I can find my source, I will donate anything I have, but it definitely isn't much. I started out with the oak driver and ran it through IDA to stare at it for awhile to get ideas on how to write one from scratch. I was of the belief that pretty much anything open source out there was going to be 386+ and would be more work to fix that than to start from bottom up.

pearce_jj
September 5th, 2014, 10:16 PM
Yes, this adapter more specifically (http://www.lo-tech.co.uk/wiki/Lo-tech_8-bit_IDE_Adapter). I've not tested the XCDROM code yet, but it looks like it should be possible to modify it for the adapter, by just changing the port addresses for the various registers.