<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[esxDOS BBS — New .TRD command]]></title>
		<link>https://board.esxdos.org/viewtopic.php?id=369</link>
		<atom:link href="https://board.esxdos.org/extern.php?action=feed&amp;tid=369&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in New .TRD command.]]></description>
		<lastBuildDate>Fri, 13 Sep 2019 14:25:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1337#p1337</link>
			<description><![CDATA[<p>Dear zxy,</p><p>in your &quot;TRDCall.$C&quot; you write:</p><p>; Unfortunately the initialization TR-DOS<br />; variables in ESXDOS TR-DOS emulator<br />; by calling #3D21 does not work.<br />; I have not found out the way of TR-DOS<br />; emulator&#039;s initialization by calling<br />; the ESXDOS code at some specific address,<br />; so before running of this dot-command<br />; run:<br />; .trd return</p><p>On the .C-Source extract\extract.c of Download: <a href="http://board.esxdos.org/viewtopic.php?pid=414#p414">http://board.esxdos.org/viewtopic.php?pid=414#p414</a><br />= Download: <a href="https://drive.google.com/file/d/0B6XhJJ33xpOWb1U2cWJNYUZjVkk/view?usp=sharing">https://drive.google.com/file/d/0B6XhJJ … sp=sharing</a></p><p>I found this:</p><p>esxdos_f_read(fin, buffer, 1);&nbsp; &nbsp;// reported bug: esxdos cannot seek unless r/w has occurred first<br />esxdos_f_seek(fin, options.offset, ESXDOS_SEEK_SET);</p><p>maybe this help somehow?</p>]]></description>
			<author><![CDATA[null@example.com (Luzie)]]></author>
			<pubDate>Fri, 13 Sep 2019 14:25:39 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1337#p1337</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1235#p1235</link>
			<description><![CDATA[<p>Hello Luzie,<br />&quot;mea culpa&quot; - please remove or comment the line with instruction &quot;CALL #3D21&quot;. <br />Corrected assembler source in Hobeta file is at <a href="https://www.dropbox.com/s/n62na3wmv1k2js9/TRDCall.zip?dl=0">https://www.dropbox.com/s/n62na3wmv1k2j … l.zip?dl=0</a><br />Compiled result (ESXDOS &quot;dot&quot; command) is at <a href="https://www.dropbox.com/s/yh26lenlwtssuqx/X?dl=0">https://www.dropbox.com/s/yh26lenlwtssuqx/X?dl=0</a></p><p>&nbsp; Regards</p>]]></description>
			<author><![CDATA[null@example.com (zxy)]]></author>
			<pubDate>Sun, 16 Jun 2019 20:25:49 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1235#p1235</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1225#p1225</link>
			<description><![CDATA[<div class="quotebox"><cite>Luzie wrote:</cite><blockquote><div class="quotebox"><cite>zxy wrote:</cite><blockquote><p>Hello Luzie,<br />I have little bit modified your example of dot command - you can look at</p></blockquote></div><p>Dear zxy,</p><p>sorry for my late reply! </p><p>Thank you very much for your extensive explanations and the Source-Code-Sample &quot;TRDCall.$C&quot;.</p></blockquote></div><p>Update: I tried a little bit with your ASM-Code but could only get the Non-.DOT-command-version to work.<br />Maybe because I don´t tried with the Assembler ZASM v2.5 you mentioned. The Assemblers I used was SJASM and SJASMPLUS-1.13.1.win. Maybe they don´t like some directives you used in your sourcecode.</p><p>I´m using SpecEmu for testing together with HDFmonkey-Tool to stuff the compiled code into an .HDF-File.</p><p>Maybe it hangs on switching ESXDOS RAM banks. Or maybe the used buffer area (Printerbuffer) creates a problem. I don´t know yet...</p><p>If you like, could you please send me a working .DOT-command-version for trying it on SpecEmu?</p><p>Regards,</p><p>Luzie</p>]]></description>
			<author><![CDATA[null@example.com (Luzie)]]></author>
			<pubDate>Mon, 10 Jun 2019 15:01:28 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1225#p1225</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1224#p1224</link>
			<description><![CDATA[<div class="quotebox"><cite>zxy wrote:</cite><blockquote><p>Hello Luzie,<br />I have little bit modified your example of dot command - you can look at <br /><a href="https://www.dropbox.com/s/bpp7fahtrzvquhe/TRDCall.zip?dl=0">https://www.dropbox.com/s/bpp7fahtrzvqu … l.zip?dl=0</a></p><p>Your original example cannot work because you call TR-DOS services from ESXDOS RAM bank 2<br />but (emulator of) TR-DOS is accessible in ESXDOS RAM bank 0 ...</p><p>...</p><p>Little bit complicated but I have not found different easier and fully working way ...</p></blockquote></div><p>Dear zxy,</p><p>sorry for my late reply! </p><p>Thank you very much for your extensive explanations and the Source-Code-Sample &quot;TRDCall.$C&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (Luzie)]]></author>
			<pubDate>Sun, 09 Jun 2019 12:24:15 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1224#p1224</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1221#p1221</link>
			<description><![CDATA[<p>Hello Luzie,<br />I have little bit modified your example of dot command - you can look at <br /><a href="https://www.dropbox.com/s/bpp7fahtrzvquhe/TRDCall.zip?dl=0">https://www.dropbox.com/s/bpp7fahtrzvqu … l.zip?dl=0</a></p><p>Your original example cannot work because you call TR-DOS services from ESXDOS RAM bank 2<br />but (emulator of) TR-DOS is accessible in ESXDOS RAM bank 0 ...</p><p>TRD dot command does not use calls via #3D13 entry point:<br />the dot command prepares BASIC command line RANDOMIZE USR 15619:REM:&lt;the copy of TRD dot command parameters&gt;<br />into E-LINE area of Spectrum RAM and then the execution continues in BASIC interpreter loop.<br />So the result is similar to the BASIC command entered manually in the BASIC line editor and executed by pressing Enter key.</p><p>The part of TRD dot command code responsible for creating and executing of TR-DOS command<br />is moved into Spectrum RAM, then ESXDOS RAM bank 0 is paged in and then whole ESXDOS memory<br />is paged out (i.e. Spectrum ROM is accessible) - the preparation and execution of the TR-DOS command can start ...</p><p>Little bit complicated but I have not found different easier and fully working way ...</p>]]></description>
			<author><![CDATA[null@example.com (zxy)]]></author>
			<pubDate>Fri, 24 May 2019 16:42:44 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1221#p1221</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1214#p1214</link>
			<description><![CDATA[<p>Added current version to &quot;Almost (In-) Complete List of esxDOS DOT-Commands&quot; ( <a href="http://board.esxdos.org/viewtopic.php?id=98">http://board.esxdos.org/viewtopic.php?id=98</a> )</p>]]></description>
			<author><![CDATA[null@example.com (Luzie)]]></author>
			<pubDate>Fri, 17 May 2019 18:25:14 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1214#p1214</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1213#p1213</link>
			<description><![CDATA[<div class="quotebox"><cite>zxy wrote:</cite><blockquote><p>A modification of .TRD command :</p><p>.trd [TR-DOS command]</p><p>assumes mounted TRD image by vdisk command</p><p>or</p><p>.trd ! &lt;TRD image&gt;</p><p>does :</p><p>- mounting TRD image as unit 0<br />- executing TR-DOS command RUN</p></blockquote></div><p>Could you please add a version number to .TRD?! Will help me much to include it my &quot;Almost (In-) Complete List of esxDOS DOT-Commands&quot; ( <a href="http://board.esxdos.org/viewtopic.php?id=98">http://board.esxdos.org/viewtopic.php?id=98</a> )</p>]]></description>
			<author><![CDATA[null@example.com (Luzie)]]></author>
			<pubDate>Fri, 17 May 2019 12:10:49 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1213#p1213</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1197#p1197</link>
			<description><![CDATA[<p>Dear zxy,</p><p>could you please tell me how .TRD works or are you willing to release source code for it?</p><p>I tried to write my own &quot;TRDOS v5 CAT&quot; .DOT command as programming test sample. The ASM-code works assembled into main memory e.g. from adress 32768. But it´s not working as .DOT-command with ORG from adresse 8192 dez:</p><div class="codebox"><pre><code>;Compiled with: sjasmplus-1.12.0.win
    device zxspectrum48
    org 0x2000

    CALL $3D21
;Drive A: = 0    
    LD A,0
;Function 1 = Select Drive    
    LD C,1
    CALL $3D13
    LD A,($5CF6)
    LD ($5CF9),A
    LD A,2
    LD C,7
    CALL $3D13

    RET</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Luzie)]]></author>
			<pubDate>Sun, 12 May 2019 16:43:31 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1197#p1197</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1191#p1191</link>
			<description><![CDATA[<p>A modification of .TRD command :</p><p>.trd [TR-DOS command]</p><p>assumes mounted TRD image by vdisk command</p><p>or</p><p>.trd ! &lt;TRD image&gt;</p><p>does :</p><p>- mounting TRD image as unit 0<br />- executing TR-DOS command RUN</p><p>MIME-Version: 1.0<br />Content-Type: application/octet-stream; name=&quot;trd&quot;<br />Content-Transfer-Encoding: base64<br />Content-Disposition: attachment; filename=&quot;trd&quot;</p><p>zUwg8zhD9TpIXB8fH+YHRxcXF7AhUyFOIQBbRe1CQXcjEPzx7Xs9XP02AP8hUyFOIQBYEVQhp+1C<br />69XtsCEAPacoBhEFAOHlGa/7yX20yFRdBiAaE/4NIAKvybgo9f4vKDT+LSgw/j8oLP4hzKEgOCUO<br />AAY7EY4hfiMSEwz+DSgCEPU+OoEyUyEhLlgGAE+n7UIiXSHJIRohfiOnN8jXGPjlxdUaE6coWv4N<br />KFb+OihSuCjwGyGOIeXrfqcoDP4NKAj+OigE7aAY8K8SPmDPhT5g0dViawEqAM+A0TgVPg0GPBIT<br />EPzh5T4NNg0rPvd3rxgRIQghzZkg682ZICEQIc2ZIDfRweHJRGV2aWNlIAAgZXJyb3IuDQ0AVXNl<br />IDogLnRyZCBbVFItRE9TIGNvbW1hbmRdDRcMIG9yDRcGIC50cmQgISA8VFJEIGltYWdlPg0ABdPj<br />w/sfzbAWIQAAfuXNgQ/hfv4NKAMjGPIqWVwiXVz9ywH+/TYA//02CgHDihv5wDAOAAADPQA66joN<br />DQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0N<br />DQ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</p>]]></description>
			<author><![CDATA[null@example.com (zxy)]]></author>
			<pubDate>Wed, 01 May 2019 16:22:58 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1191#p1191</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1048#p1048</link>
			<description><![CDATA[<p>Thanks for your time, &quot;the mystery&quot; is explained. We should realize that .TRDCAT is different (and unknown ...) command than .TRD CAT (command .TRD with argument CAT). The printing of token CAT at command line is confusing because BASIC&#039;s printing routine adds spaces BUT ONLY ON SCREEN (so input of sequence : .trd+&lt;EXTEND MODE&gt;+&lt;SYM.SHITF &amp; 9&gt; is not &quot;WYSIWYG&quot; :-) )</p>]]></description>
			<author><![CDATA[null@example.com (zxy)]]></author>
			<pubDate>Tue, 02 Oct 2018 11:05:54 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1048#p1048</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1047#p1047</link>
			<description><![CDATA[<p>OK, find some minutes to test again with SpecEmu (Latest version 3.1.b160318.zip, Downloadlink here:<br /><a href="https://www.worldofspectrum.org/forums/discussion/comment/946163/#Comment_946163">https://www.worldofspectrum.org/forums/ … ent_946163</a> )</p><p>After having a look at you fantastic .GIF-Video-example I tried:</p><p>.VDISK 0 TRDDISK1.TRD<br />and<br />.TRD cat&nbsp; &nbsp; &nbsp; (cat typed in as c a t) -&gt; this works</p><p>.TRD CAT&nbsp; &nbsp; &nbsp;(CAT as keyword on key 9): it works, but only, when I enter a additional &quot;SPACE&quot; between .TRD and CAT.<br />Without the addional SPACE it also display .TRD CAT on the commandline (as Keyword contains a blank), but his gives me the described error &quot;No such COMMAND, 0:1&quot;</p><p>So the clue was to enter an SPACE after .TRD and than enter the Keyword &quot;CAT&quot; from Key &quot;9&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (Luzie)]]></author>
			<pubDate>Mon, 01 Oct 2018 21:46:54 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1047#p1047</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1046#p1046</link>
			<description><![CDATA[<p>Hi zxy,</p><p>sorry for the delay, but it takes a little more time to test and write back to you...<br />I use Emulator SpecEmu for testing. More details soon here...</p><p>Regards,</p><p>Luzie</p>]]></description>
			<author><![CDATA[null@example.com (Luzie)]]></author>
			<pubDate>Tue, 25 Sep 2018 12:53:57 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1046#p1046</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1045#p1045</link>
			<description><![CDATA[<p>Hello Luzie,<br />thanks you for &quot;feedback&quot;, unfortunately you haven&#039;t gave me more information<br />(a description of &quot;testing environment&quot; and so on) ...<br />In my case &quot;.trd cat&quot; works (here <a href="https://www.dropbox.com/s/qt0ugt85hd5b14b/trd.zip?dl=0">https://www.dropbox.com/s/qt0ugt85hd5b14b/trd.zip?dl=0</a><br />is animated GIF = the output from Spin emulator). <br />I have used TRD executable from my previous post and tried it<br />with emulated Speccy 16, 48, +128, +2, +2A and +3 with &quot;classic&quot; DivIDE ...</p>]]></description>
			<author><![CDATA[null@example.com (zxy)]]></author>
			<pubDate>Sat, 22 Sep 2018 22:19:56 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1045#p1045</guid>
		</item>
		<item>
			<title><![CDATA[Re: New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1032#p1032</link>
			<description><![CDATA[<p>Hi,</p><p>thank you. I just give it a short try and a</p><p>.TRD CAT give me &quot;No such COMMAND, 0:1&quot;</p><p>However .TRD brings me directly into TR-DOS prompt :-)</p><p>Are you willing to release your source-code?</p><p>I will include it into &quot;Almost (In-) Complete List of esxDOS DOT-Commands&quot; ( <a href="http://board.esxdos.org/viewtopic.php?id=98">http://board.esxdos.org/viewtopic.php?id=98</a> )</p>]]></description>
			<author><![CDATA[null@example.com (Luzie)]]></author>
			<pubDate>Mon, 17 Sep 2018 18:53:55 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1032#p1032</guid>
		</item>
		<item>
			<title><![CDATA[New .TRD command]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1003#p1003</link>
			<description><![CDATA[<p>Hello,<br />a new .TRD command is attached to this message. It works in this way :<br />.trd is equivalent to RANDOMIZE USR 15616<br />.trd &lt;some TRD-DOS command&gt; is equivalent to RANDOMIZE USR 15619:REM:&lt;some TR-DOS command&gt;<br />&nbsp; &nbsp;Enjoy or ignore it :-)</p><p>MIME-Version: 1.0<br />Content-Type: application/octet-stream; name=&quot;TRD&quot;<br />Content-Transfer-Encoding: base64<br />Content-Disposition: attachment; filename=&quot;TRD&quot;</p><p>881MIDhD9TpIXB8fH+YHRxcXF7AhtyBOIQBbRe1CQXcjEPzx7Xs9XP02AP8htyBOIQBYEbggp+1C<br />69XtsCEAPacoBhEFAOHlGa/7yX20yFRdBiAaE/4NIAKvybgo9f4vKC3+LSgp/j8oJQ4ABjsR8iB+<br />IxITDP4NKAIQ9T46gTK3ICEuWAYAT6ftQiLBIMkhmiB+I6c3yNcY+FVzZSA6IC50cmQgW1RSLURP<br />UyBjb21tYW5kXQ0ABdPjw/sfzbAWIQAAfuXNgQ/hfv4NKAMjGPIqWVwiXVz9ywH+/TYA//02CgHD<br />ihv5wDAOAAADPQA66joNDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0N<br />DQ0NDQ0NDQ0NDQ0NDQ0NDQ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA<br />AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA<br />AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA<br />AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</p>]]></description>
			<author><![CDATA[null@example.com (zxy)]]></author>
			<pubDate>Mon, 27 Aug 2018 06:36:25 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1003#p1003</guid>
		</item>
	</channel>
</rss>
