I might be going mad (going????) but I'm sure that OPEN_IN #3,'ram1_' used to barf but it now works under SMSQ (on QPC at least) and I was wondering how long, has this been going on. (I hear a song!). In addition to successfully opening the device, it does also allow me to read the directory in 64 but chunks as I would have done using OPEN_DIR.
I don't recall seeing this documented anywhere, but having typed that, someone will, as usually, point me at an obvious place where it is documented!
Cheers,
Norm.
When did OPEN_IN start working on Directory Devices?
- NormanDunbar
- Forum Moderator
- Posts: 2470
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Buckie, Scotland
- Contact:
When did OPEN_IN start working on Directory Devices?
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Re: When did OPEN_IN start working on Directory Devices?
I'm not sure it's documented somewhere, but that's how directories work in QDOS? It would have to be explicitly caught and forbidden in order to not work. The same also seems to work with Minerva in Q-Emulator.NormanDunbar wrote:I might be going mad (going????) but I'm sure that OPEN_IN #3,'ram1_' used to barf but it now works under SMSQ (on QPC at least) and I was wondering how long, has this been going on. (I hear a song!). In addition to successfully opening the device, it does also allow me to read the directory in 64 but chunks as I would have done using OPEN_DIR.
I don't recall seeing this documented anywhere, but having typed that, someone will, as usually, point me at an obvious place where it is documented!
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Re: When did OPEN_IN start working on Directory Devices?
Ever since level 2 drivers (directories) came into being I think.
On a level 2 system, try COPY WIN1_ TO SCR for example, to see the directory. Works with any level 2 device IIRC.
The "root" (or whatever is the correct term for a null name file on a drive) used to be usable as a file on older level 1 disk systems. It was sometimes used as an "invisible" file in some protected software, such as older versions of the Sinclair Software Production Kit.
On a level 2 system, try COPY WIN1_ TO SCR for example, to see the directory. Works with any level 2 device IIRC.
The "root" (or whatever is the correct term for a null name file on a drive) used to be usable as a file on older level 1 disk systems. It was sometimes used as an "invisible" file in some protected software, such as older versions of the Sinclair Software Production Kit.
--
All things QL - https://dilwyn.theqlforum.com
All things QL - https://dilwyn.theqlforum.com
Re: When did OPEN_IN start working on Directory Devices?
Same goes for fop_in(<devn><dir>) so, clearly, its a feature.
Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
- NormanDunbar
- Forum Moderator
- Posts: 2470
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Buckie, Scotland
- Contact:
Re: When did OPEN_IN start working on Directory Devices?
Hi Dilwyn,
Thanks.
Cheers,
Norm.
Good to see I've been keeping up with changes then!dilwyn wrote:Ever since level 2 drivers (directories) came into being I think.

I remember that. Never used it myself but I think you had to make the first character of the file name CHR$(0) and the dir command wouldn't list it.dilwyn wrote:The "root" or whatever is the correct term for a null name ... was sometimes used as an "invisible" file in some protected software...
Thanks.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.