Hopefully last update for a while. :-)

changes
http://fdos.svn.sourceforge.net/viewvc/fdos/trunk/source/BASE/devload/devload.asm?r1=137&r2=141

download
http://www.fdos.org/kernel/testing/devload-3.25.zip

This fixes a few issues from previous 3.24 release:
- if initial CDS entry is invalid (already at end of available drive
letters) will correctly detect error
- if character device loaded successfully returns 0
- if block device loaded successfully will return 1-26 corresponding
to A: to Z: of first block driver loaded (block driver value overrides
any previous successful character driver)
- all errors and failures to load should return 255 (this release
fixes one error case I missed before where driver loaded fine but did
not want to stay resident)
- should improve multi-unit driver loading, see below bug, but at
least won't continue to reuse the same letter.

This version still has a known error with regard to CDS (drive
assignment) - all drive letters are assigned successively (ie E: F:
G:), if LASTDRIVE is reached it will gracefully handle that, but if
there is a hole between used drive letters but it is not big enough
for all units then it will replace the existing assignment (.e.g. if
current is C: D: F: and a driver is loaded with 3 units it will use E:
F: G: - i.e. F: is replaced).  I am not sure the best fix, either
error/warn and stop loading (probably best) or skip past used letters
(so would be E: G: H:) but could cause weird behavior as most drivers
will probably only keep 1st drive + count.  This of course is untested
as I still need to setup a test disk with a multi-unit driver.

Jeremy

------------------------------------------------------------------------------
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