Re: [Ql-Users] New document on DV3 drivers

2017-12-29 Thread Wolf via Ql-Users

Hi Per,

Some programs, such as Qpac2 Files and Qmenu's DIR_ and FILE_SELECT$ 
seem to assume a maximum of 8 DDDs so, presumably, devices beyond that 
would not be accessable via these programs.




Sure, the number of devices displayed is applicton specific. Marcel's 
latest version of the menu extensions dir_select (not file_select) 
allows for up to 10 devices, Qpac2 only 8, as you noted.


Of course, in all you can also manually enter the device to display.

Regards

Wolfgang
___
QL-Users Mailing List


Re: [Ql-Users] New document on DV3 drivers

2017-12-29 Thread pjwitte via Ql-Users

Thanks, Wolfgang. Youre very helpful, as always  :)

Yes, I meant drives, of course.

Some programs, such as Qpac2 Files and Qmenu's DIR_ and FILE_SELECT$ 
seem to assume a maximum of 8 DDDs so, presumably, devices beyond that 
would not be accessable via these programs.


Per

On 29/12/2017 15:47, Wolf via Ql-Users wrote:

Hi Per,


1) Is there is a limit to the number of directory device drivers 
that can be loaded at once (I believe there is/was and the number 
was 8?)


No, there is no limit that I'm aware of. I'm pretty sure I already 
had more than 8 different devices loaded at some time. (you can test 
this with the sub device, jut use Wined or some such to change the 
device name every time and load it 10 times)




2) Is there is a limit of 16 devices (ie driver + device number 
1..8) that can be in use at the same time?


It is true that only 16 drives (not devices) can be accessed at once.
This limit is set in the system variables :

sys_fsdd equ    $0100   16*long pointers to Filing System Drive
    Definitions
sys_fsdt equ    $0140   Filing System drive Definition table Top
sys.nfsd equ    $10 max Number of Filing System Drive definitions
sys_fsch equ    $0140   long    linked list of Filing System CHannel
    blocks

Back in the day, I seem to recall that once one had accessed one's 
allotted 16 devices, no further devices could be opened. (One had 
to do a DEL_DEFB to proceed.) 


Yes, except that it's drives, not devices.
So if you have files open on flp1 ... flp8 and win1 ...win8 - that's 
it.


Recently I discovered that if a device is no longer in use, its 
slot will be re-used, but I havent seen this documented anywhere. 
Do you have information on any of this?


Not without checking in the source code, but I'm pretty sure that 
this is the correct scheme.


HTH

Wolfgang
___
QL-Users Mailing List





___
QL-Users Mailing List

Re: [Ql-Users] New document on DV3 drivers

2017-12-29 Thread Wolf via Ql-Users

Hi Per,


1) Is there is a limit to the number of directory device drivers that 
can be loaded at once (I believe there is/was and the number was 8?)


No, there is no limit that I'm aware of. I'm pretty sure I already had 
more than 8 different devices loaded at some time. (you can test this 
with the sub device, jut use Wined or some such to change the device 
name every time and load it 10 times)




2) Is there is a limit of 16 devices (ie driver + device number 1..8) 
that can be in use at the same time?


It is true that only 16 drives (not devices) can be accessed at once.
This limit is set in the system variables :

sys_fsdd equ$0100   16*long pointers to Filing System Drive
Definitions
sys_fsdt equ$0140   Filing System drive Definition table Top
sys.nfsd equ$10 max Number of Filing System Drive definitions
sys_fsch equ$0140   longlinked list of Filing System CHannel
blocks

Back in the day, I seem to recall 
that once one had accessed one's allotted 16 devices, no further devices 
could be opened. (One had to do a DEL_DEFB to proceed.) 


Yes, except that it's drives, not devices.
So if you have files open on flp1 ... flp8 and win1 ...win8 - that's it.

Recently I 
discovered that if a device is no longer in use, its slot will be 
re-used, but I havent seen this documented anywhere. Do you have 
information on any of this?


Not without checking in the source code, but I'm pretty sure that this 
is the correct scheme.


HTH

Wolfgang
___
QL-Users Mailing List


Re: [Ql-Users] New document on DV3 drivers

2017-12-29 Thread pjwitte via Ql-Users

On 29/12/2017 08:06, Wolf via Ql-Users wrote:

Hi all,

I've added a small technical explanation of DV3 drivers for SMSQE to 
the additional info and data section on the SMSQE site.


Have fun

Wolfgang

Very nice, Wolfgang. Thank you!

I have two questions (for now) which dont appear to be answered:

1) Is there is a limit to the number of directory device drivers that 
can be loaded at once (I believe there is/was and the number was 8?)


2) Is there is a limit of 16 devices (ie driver + device number 1..8) 
that can be in use at the same time? Back in the day, I seem to recall 
that once one had accessed one's allotted 16 devices, no further 
devices could be opened. (One had to do a DEL_DEFB to proceed.) 
Recently I discovered that if a device is no longer in use, its slot 
will be re-used, but I havent seen this documented anywhere. Do you 
have information on any of this?


Per
___
QL-Users Mailing List


Re: [Ql-Users] New document on DV3 drivers

2017-12-29 Thread Peter Graf via Ql-Users
Wolf via Ql-Users wrote:
> I've added a small technical explanation of DV3 drivers for SMSQE to the 
> additional info and data section on the SMSQE site.

Which is here:

http://www.wlenerz.com/smsqe/DV3_Device_Drivers.zip

Good stuff, thanks Wolfgang!

Peter

___
QL-Users Mailing List


[Ql-Users] New document on DV3 drivers

2017-12-28 Thread Wolf via Ql-Users

Hi all,

I've added a small technical explanation of DV3 drivers for SMSQE to the 
additional info and data section on the SMSQE site.


Have fun

Wolfgang
___
QL-Users Mailing List