Hi,
BMP also opens a channel to read the filenames from the picture
directory with DJ_OPEN_DIR.
Ok, some update on this.
The version of BMP I downloaded today from your site works OK here IF:
You configure it to set the directory it searches for files on is a
QXL.win or RAM drive.
I did the following:
made this config, copied a windows bmp file onto a ramdisk and had BMP
display it with no problem.
However, if you try to select as directory NFA, SFA or FLP (which was
preconfigured in BMP_OBJ), then this will fail with an error EOF at a
line with a GET.
The reason for this is that BMP_OBJ, after having opened a directory,
tries to read just a few bytes from it (at first). I never condsidered,
for these devices, that anyone would read anything other than one (and
just one) fileheader's length worth of bytes (i.e. 64 bytes).
If you try to read more or less than that, this generates an EOF - hence
the error above.
I've tried a quick fix and reading less bytes than the 64 bytes of a
full fileheader works OK. Unfortunately, BMP.OBJ then tries to read MORE
than 64 bytes (320 to be exact). The device drivers are not equipped for
that - yet.
I won't have any more time for this today, so some time next week....
Wolfgang
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm