[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prodos CF and OSX



Bill Garber <willy46pa@comcast.net> wrote:
> I have the same affliction here using card reader on Windows 98 SE.
> This is having something to do with the ASPI version that CiderPress
> does not support. I get around this by attaching a CF to IDE adapter
> to my Secondary IDE port, and then I use HexWorks to copy the sectors
> of a 32MB disk image to the CF card that way.
[...]

(Bill already knows all this; for anyone else who's curious...)

Win95/98/ME have a completely different way of accessing "physical"
devices than Win2K/XP.  While block access to "logical" devices is pretty
straightforward, "physical" devices require the use of a 16-bit DLL,
and either an additional 32-bit DLL or some undocumented entry points.

Anybody dying of curiosity is invited to google "flat thunks".  I can
also dig up the Microsoft KB article in which it states "this is the
intended behavior".

One of these days I'll grit my teeth and fix it.  I'm sure I have a really
old copy of Visual C++ around here somewhere (VC++6.0 and beyond apparently
won't let you create 16-bit DLLs).

The interesting part is that different versions of the ASPI layer will
allow you to access CF cards in card readers, probably as part of support
for USB CD recorders.  However, they don't seem to want to write blocks
to the device, and cause somewhat baffling error messages to pop up.

It all works under Win2K/XP, so it's nice to know that Microsoft gets
it right eventually. :-)

-- 
Send mail to fadden@fadden.com (Andy McFadden) - http://www.fadden.com/
CD-Recordable FAQ - http://www.cdrfaq.org/
CiderPress Apple II archive utility for Windows - http://www.faddensoft.com/
Fight Internet Spam - http://spam.abuse.net/spam/ & http://spamcop.net/