Maximum Devices in QDOS/Minerva

Anything QL Software or Programming Related.
User avatar
XorA
Super Gold Card
Posts: 703
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Maximum Devices in QDOS/Minerva

Postby XorA » Tue Jan 19, 2021 4:04 pm

Is there a maximum number of disk devices allowed for QDOS/Minerva.

I was sent some tests for uQLx/sQLux and it looks like after approx 16 disk devices are opened you run out of channels. Get a -6 error on any further.


martyn_hill
Super Gold Card
Posts: 639
Joined: Sat Oct 25, 2014 9:53 am

Re: Maximum Devices in QDOS/Minerva

Postby martyn_hill » Tue Jan 19, 2021 4:14 pm

Hiya!

Yes, there is only space allocated in the Sysvars for links to the Definition Blocks for 16 directory-type device 'instances'.

I thought it might also be the same for SMQE, but have never checked...

I believe that the TK2 procedure DEL_DEFB releases all these as long as there are no open channels remaining, allowing you to start-over again...


User avatar
XorA
Super Gold Card
Posts: 703
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Maximum Devices in QDOS/Minerva

Postby XorA » Tue Jan 19, 2021 5:12 pm

Thanks for the answer.

uQLx's support for 16 * 8 directory devices is a tad optimistic then :-D


User avatar
janbredenbeek
Gold Card
Posts: 434
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: Maximum Devices in QDOS/Minerva

Postby janbredenbeek » Tue Jan 19, 2021 11:35 pm

XorA wrote:Thanks for the answer.
uQLx's support for 16 * 8 directory devices is a tad optimistic then :-D

For each directory device you can have up to 8 instances (e.g. win1_ to win8_) but the total number of instances is limited to 16.



Who is online

Users browsing this forum: No registered users and 6 guests