- NOTE: On non-V2 drivers which don't support subdirectories, ls will fail
because the FNAME$ function stops with 'bad parameter' on directory
channels. This can be avoided by adjusting line 1710 in the code (as
indicated in the REMarks). I'll probably have to design another machine
code call to find out whether a device is V2 or not :(
To save you reinventing the wheel Jan, Norman Dunbar's DJToolkit has an extension called LEVEL2 which tests for a Level 2 filing system. The assembler source djtoolkit_asm is included with the toolkit - just search for 'level2' in that source.

http://www.dilwyn.me.uk/tk/djtk.zip

Dilwyn Jones
_______________________________________________
QL-Users Mailing List

Reply via email to