Re: [Ql-Users] QL-SD new driver

2018-01-22 Thread Alain HAOUI via Ql-Users
Hi all,
Actually I am on the way to achieve a new browser (only browser now) for all ql 
platforms and emulators which can deal with qubide or qlwa/qwa multipartitioned 
devices or disk raw images, data cdrom or iso 9660 cd images and 
containers in any device or image.
It needs tk2, PE and should work on any ql platform with ~300kb of free ram, 
under qdos or smsq.
For physical cdrom needs qubata driver or TG atapi/cdrom things.
Will be available within a few days.
Alain Haoui
Envoyé de mon téléphone

De : Graeme Gregory via Ql-Users
Envoyé le :lundi 22 janvier 2018 14:41
À :
Cc : Graeme Gregory
Objet :Re: [Ql-Users] QL-SD new driver

On Mon, 22 Jan 2018, at 9:41 AM, Wolfgang Lenerz via Ql-Users wrote:
> Hi all,
> I've released a new driver for QL-SD that uses standard drives
> instead of Qubide ones.
> It's for Minerva only, though.
> You can download it from
And the next trick make qubide do the same :-D

QL-Users Mailing List

QL-Users Mailing List

Re: [Ql-Users] Maximum length of files on QL file-system

2017-07-23 Thread Alain HAOUI via Ql-Users
For qubide with driver qubata v3.x the max file size supported may be 2 
gigabytes minus some data structure kilobytes, provided you have created a 
suitable big partition with 64 sectors per block.
This is the maximum under qdos with 2 words indexes when used as unsigned.

-Message d'origine-
De : "Jan Bredenbeek via Ql-Users" 
Envoyé : ‎23/‎07/‎2017 17:21
À : "" 
Objet : Re: [Ql-Users] Maximum length of files on QL file-system

On 23 July 2017 at 15:47, Andrea Carpi via Ql-Users <> wrote:

>   Hello everybody
> Trying to transfer large files between Windows 10,
> QPC2, and QL-Aurora-SGC-Qubide I have noticed that there are big
> limitations in the maximum length of the files.
> I mean:
> - On QXL.WIN
> hard drive in QPC2 I'm not able to generate files longer than 50Mb (End
> Of file error)
> - On the Qubide hard drive the limit is 19Mb (ROM 2.01),
> but perhaps also depends on the partition creation choices
> - On Ram
> Disk (in QPC2 maximum RAM 128 Mb) I did not find any limits unless the
> size of the RAM
> - I did not find limits on DOS devices from QPC2 except
> those of the file system in use on Windows (NTFS)
> Specifically for
> QXL.WIN and QUBIDE do anyone know the exact length limits and
> why?

The QDOS file system stores the file position in the channel definition
block as two 16-bit words - one for the block number and one for the byte
position within one block. So, when using 512-byte blocks, the maximum file
length will be 65535*512 bytes or just under 32MB (or 16MB when using
signed arithmetic). When using 2K byte blocks, the limit will be 128 or
64MB respectively.

I know mdv and flp use 512-byte block size and ED flp have 2K byte sectors
but I'm not sure if the latter also uses 2K blocks. The same goes for
(virtual) win drives - sectors are usually grouped to keep the map within
limits but I don't know off-hand if that also affects the block size (it
might as well be 512 bytes, depending on the driver).

This use of word-sized block numbers within QDOS is an unfortunate design
flaw - as is the standard FS.MDINF trap which returns word-sized sector
counts - but could TT back in 1984 foresee that within five years there
would be a storage medium for the QL that surpassed the 32MB limit? In the
PC world there are multiple examples of this - remember the 32MB partition
size limit in DOS 3.3, then the 528MB limit on CHS-addressed hard disks,
and the initial 128GB limit on LBA which was supposed to 'fix' CHS.

Storage capacity has grown so much that any 'X MB ought to be enough for
everybody' design decision has proven wrong eventually...

*Jan Bredenbeek* | Hilversum, NL |
QL-Users Mailing List
QL-Users Mailing List