1 (edited by zxy 2018-08-27 06:39:03)

Topic: New .TRD command

Hello,
a new .TRD command is attached to this message. It works in this way :
.trd is equivalent to RANDOMIZE USR 15616
.trd <some TRD-DOS command> is equivalent to RANDOMIZE USR 15619:REM:<some TR-DOS command>
   Enjoy or ignore it :-)

MIME-Version: 1.0
Content-Type: application/octet-stream; name="TRD"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="TRD"

881MIDhD9TpIXB8fH+YHRxcXF7AhtyBOIQBbRe1CQXcjEPzx7Xs9XP02AP8htyBOIQBYEbggp+1C
69XtsCEAPacoBhEFAOHlGa/7yX20yFRdBiAaE/4NIAKvybgo9f4vKC3+LSgp/j8oJQ4ABjsR8iB+
IxITDP4NKAIQ9T46gTK3ICEuWAYAT6ftQiLBIMkhmiB+I6c3yNcY+FVzZSA6IC50cmQgW1RSLURP
UyBjb21tYW5kXQ0ABdPjw/sfzbAWIQAAfuXNgQ/hfv4NKAMjGPIqWVwiXVz9ywH+/TYA//02CgHD
ihv5wDAOAAADPQA66joNDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0N
DQ0NDQ0NDQ0NDQ0NDQ0NDQ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=

2 (edited by Luzie 2018-09-17 18:55:01)

Re: New .TRD command

Hi,

thank you. I just give it a short try and a

.TRD CAT give me "No such COMMAND, 0:1"

However .TRD brings me directly into TR-DOS prompt :-)

Are you willing to release your source-code?

I will include it into "Almost (In-) Complete List of esxDOS DOT-Commands" ( http://board.esxdos.org/viewtopic.php?id=98 )

3

Re: New .TRD command

Hello Luzie,
thanks you for "feedback", unfortunately you haven't gave me more information
(a description of "testing environment" and so on) ...
In my case ".trd cat" works (here https://www.dropbox.com/s/qt0ugt85hd5b14b/trd.zip?dl=0
is animated GIF = the output from Spin emulator).
I have used TRD executable from my previous post and tried it
with emulated Speccy 16, 48, +128, +2, +2A and +3 with "classic" DivIDE ...

4

Re: New .TRD command

Hi zxy,

sorry for the delay, but it takes a little more time to test and write back to you...
I use Emulator SpecEmu for testing. More details soon here...

Regards,

Luzie

5

Re: New .TRD command

OK, find some minutes to test again with SpecEmu (Latest version 3.1.b160318.zip, Downloadlink here:
https://www.worldofspectrum.org/forums/ … ent_946163 )

After having a look at you fantastic .GIF-Video-example I tried:

.VDISK 0 TRDDISK1.TRD
and
.TRD cat      (cat typed in as c a t) -> this works

.TRD CAT     (CAT as keyword on key 9): it works, but only, when I enter a addional "SPACE" between .TRD and CAT.
Without the addional SPACE it also display .TRD CAT on the commandline (as Keyword contains a blank), but his gives me the described error "No such COMMAND, 0:1"

So the clue was to enter an SPACE after .TRD and than enter the Keyword "CAT" from Key "9".

6

Re: New .TRD command

Thanks for your time, "the mystery" 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's printing routine adds spaces BUT ONLY ON SCREEN (so input of sequence : .trd+<EXTEND MODE>+<SYM.SHITF & 9> is not "WYSIWYG" :-) )