> I hope there's a remedy to this, if this is the case.

Yes; patch DEVLOAD (or get someone to do it).

> I'd have to find other .SYS block device
> drivers to see how they behave under DEVLOAD, and other device driver
> loaders like Creative's CTLOAD and whichever program it was that QEMM had.
>
> Finding such drivers to test with isn't easy though, maybe SRDISK (GPL
> ramdisk) or MS RAMDRIVE.SYS will do the trick.

It should be sufficient to read DEVLOAD's source code for that. I looked
into that stuff some time earlier (last year? or 2009?). Might have told
Eric about it back then, too. In any case, I don't have my files or
archived mails with me right now (not at home), but downloading DEVLOAD
3.21 and skimming the source code it would appear to me as if you would
have to look into devload.asm around line 1360. Additionally, pay
attention to where ever else it uses LastDrUsed or LastDrive. The check at
around line 1300 probably has to be extended to search for a free CDS
entry, and use that if found. While you're at it, you might review all
phrasing that uses terms like "LastDrive array" in the comments - that
appears to be a confusing way to refer to the CDS (array).

The trickiest part about this patch is figuring out what to do with the
List of Lists field referred to via the LastDrUsed variable here - this is
supposed to be the count of installed block device units/(E)DPBs, but if
there's non-consecutive (E)DPBs with redirector/CDEX CDS entries between
them, should that counter reflect the number of actual (E)DPBs, or the
(1-based) index of the highest (E)DPB? (Limited compatibility with
programs that, like DEVLOAD currently, presume there are only (E)DPB-based
CDS entries could be achieved by making it equal the index of the highest
(E)DPB-based CDS entry. On the other hand, first, these programs are wrong
anyhow, and second, I have a feeling that it should be the count instead.
Oh well.)

Unrelated: the software list says that the most recent version of DEVLOAD
is 3.22, but I couldn't find that right away. Is that an error in the
software list or did I just not find it?

Regards,
Christian

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to