<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[esxDOS BBS — OPEN #, PRINT #, etc. usage]]></title>
	<link rel="self" href="https://board.esxdos.org/extern.php?action=feed&amp;tid=446&amp;type=atom" />
	<updated>2019-03-18T19:03:36Z</updated>
	<generator>PunBB</generator>
	<id>https://board.esxdos.org/viewtopic.php?id=446</id>
		<entry>
			<title type="html"><![CDATA[Re: OPEN #, PRINT #, etc. usage]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=1145#p1145" />
			<content type="html"><![CDATA[<p>Maybe you should consider +3e ( <a href="http://www.worldofspectrum.org/zxplus3e/">http://www.worldofspectrum.org/zxplus3e/</a> ) for your streaming purposes instead of esxDOS?</p><div class="quotebox"><cite>macca wrote:</cite><blockquote><p>Also the MOVE command seems that doesn&#039;t do anything (it should release the space used by deleted files).</p></blockquote></div><p>MOVE is not emulated. This is from the README of esxDOS 0.8.6:</p><p>Known Bugs<br />----------<br />TR-DOS: FORMAT and MOVE commands don&#039;t work yet</p>]]></content>
			<author>
				<name><![CDATA[Luzie]]></name>
				<uri>https://board.esxdos.org/profile.php?id=157</uri>
			</author>
			<updated>2019-03-18T19:03:36Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=1145#p1145</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OPEN #, PRINT #, etc. usage]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=1142#p1142" />
			<content type="html"><![CDATA[<p>Did some more tests using Fuse to know that the syntax is correct.</p><p>Sequential stream write works, read doesn&#039;t work and always returns invalid stream.<br />Random access streams doesn&#039;t work at all, always returns nonsense in BASIC when reaching the PRINT or INPUT commands.</p><p>Also the MOVE command seems that doesn&#039;t do anything (it should release the space used by deleted files).</p><p>I have used the same programs with Fuse with betadisk enabled and they work perfectly, so I think the TR-DOS emulation has some bugs.</p>]]></content>
			<author>
				<name><![CDATA[macca]]></name>
				<uri>https://board.esxdos.org/profile.php?id=409</uri>
			</author>
			<updated>2019-03-17T07:23:04Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=1142#p1142</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OPEN #, PRINT #, etc. usage]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=1141#p1141" />
			<content type="html"><![CDATA[<p>I think when you mount a TRD image the default is read-only. Not sure if the vdisk command supports opening it for writing. There&#039;s no support for random file access from BASIC in esxDOS. You can do it in machine code using the (secret) API, but if you want to use channels and streams you&#039;d have to write your own handler for it. I am considering adding random file access support to UnoDOS 3, but thus far there hasn&#039;t been much interest in it.</p>]]></content>
			<author>
				<name><![CDATA[aowen]]></name>
				<uri>https://board.esxdos.org/profile.php?id=168</uri>
			</author>
			<updated>2019-03-14T14:22:25Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=1141#p1141</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OPEN #, PRINT #, etc. usage]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=1140#p1140" />
			<content type="html"><![CDATA[<p>That helped a lot, thanks!<br />I can now use TRD files to store programs.<br />Streams works, sort of. Seems that it can write to streams but can&#039;t read them back. When I try to open a stream file for reading it always returns invalid stream error.<br />There is also a bit of confusion with the USR entry points, 15619 works but in another document (beta disk manual) I found 15360 that also works to enter DOS, 15636 that should run commands from BASIC but doesn&#039;t work (enters DOS and does nothing).</p><p>Are the sources of esxdos and all modules available somewhere ? I tried to do some searches without success.</p><p>Best regards,<br />Marco.</p>]]></content>
			<author>
				<name><![CDATA[macca]]></name>
				<uri>https://board.esxdos.org/profile.php?id=409</uri>
			</author>
			<updated>2019-03-14T11:05:24Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=1140#p1140</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OPEN #, PRINT #, etc. usage]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=1139#p1139" />
			<content type="html"><![CDATA[<p>Hi Marco,</p><p>I may be totally wrong, but I don´t know about File-streams in standard Basic. Only streams for printer, screen.</p><p>On Betadisk/TR-DOS there was some functions for file-stream-access: <a href="https://www.worldofspectrum.org/pub/sinclair/hardware-info/Beta128DiskInterface_Manual.txt">https://www.worldofspectrum.org/pub/sin … Manual.txt</a></p><p>I don´t know if something like it exists on e.g. ZX Spectrum 128 +3</p><p>And I don´t know if esxDOS emulates these file-stream-function in it´s TRDOS-emulation or +3 syntax.</p><p>Cheers,</p><p>Luzie</p>]]></content>
			<author>
				<name><![CDATA[Luzie]]></name>
				<uri>https://board.esxdos.org/profile.php?id=157</uri>
			</author>
			<updated>2019-03-13T17:25:48Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=1139#p1139</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[OPEN #, PRINT #, etc. usage]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=1138#p1138" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I&#039;m trying to use the BASIC file stream access with a DivMMC Future board but seems I can&#039;t find the correct syntax, either the syntax is not accepted or I get an &quot;invalid file name&quot; error. All documents I can find explains how to load tap files and save basic programs, but nothing about file stream usage from BASIC.</p><p>Can someone explain the correct syntax to access files with OPEN # statement ?</p><p>Also I would like to do the same from assembly, is there some document explaing how to call the esxdos functions ?</p><p>I&#039;m trying to refresh my knowledge of Spectrum programming, something I haven&#039;t done in over 30 years...</p><p>Thanks for any help.</p><p>Best regards,<br />Marco.</p>]]></content>
			<author>
				<name><![CDATA[macca]]></name>
				<uri>https://board.esxdos.org/profile.php?id=409</uri>
			</author>
			<updated>2019-03-13T09:55:28Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=1138#p1138</id>
		</entry>
</feed>
