<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[esxDOS BBS — Generalized program launcher]]></title>
	<link rel="self" href="https://board.esxdos.org/extern.php?action=feed&amp;tid=97&amp;type=atom" />
	<updated>2019-09-13T07:50:57Z</updated>
	<generator>PunBB</generator>
	<id>https://board.esxdos.org/viewtopic.php?id=97</id>
		<entry>
			<title type="html"><![CDATA[Re: Generalized program launcher]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=1334#p1334" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alcoholics Anonymous wrote:</cite><blockquote><p>I&#039;m looking for a general way to launch programs and I&#039;m wondering if this has been considered already.&nbsp; Something by Andrew Owen has appeared and I&#039;d like to expand on that further.</p></blockquote></div><p>OK, you´ve found yourself the .run from aowen ( <a href="http://board.esxdos.org/viewtopic.php?pid=1220#p1220">http://board.esxdos.org/viewtopic.php?pid=1220#p1220</a> ).</p><p>So please, if you ever write another dot-command for your original ideas, than please rename it to another program-name like .start or .exec or something you like to avoid confusion between two different .run-commands.</p><p>There´s also a .dot-command .launcher ( <a href="http://sindik.at/~ub880d/2016/10/8-nove-utilitky-pre-esxdos-strings-a-launcher/">http://sindik.at/~ub880d/2016/10/8-nove … -launcher/</a> ) (included in esxDOS 0.8.6 and 0.8.7 which is a tool to make (manual) shortcuts to programs in dirs/subdirs).</p>]]></content>
			<author>
				<name><![CDATA[Luzie]]></name>
				<uri>https://board.esxdos.org/profile.php?id=157</uri>
			</author>
			<updated>2019-09-13T07:50:57Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=1334#p1334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Generalized program launcher]]></title>
			<link rel="alternate" href="https://board.esxdos.org/viewtopic.php?pid=306#p306" />
			<content type="html"><![CDATA[<p>I&#039;m looking for a general way to launch programs and I&#039;m wondering if this has been considered already.&nbsp; Something by Andrew Owen has appeared and I&#039;d like to expand on that further.</p><p>The problem being solved is how to distribute &amp; automatically launch programs that consist of many binary files.&nbsp; The idea is to store programs in their own directory inside a /programs hierarchy.</p><p>Then the user could run any program, by typing &quot;.run name&quot; with the .run dot command locating the program and appropriately starting it.</p><p>&quot;.run name&quot; would:</p><p>1.&nbsp; Look for a file or directory &quot;/programs/name&quot;.<br />- If it is a file, this is a self-contained file loaded in a way tbd.&nbsp; I&#039;m looking at having z88dk automatically generate a single large file containing everything - runtime configuration, all memory banks and indexed areas for loading via esxdos.&nbsp; esxdos can just seek within this file to load things on demand.&nbsp; I&#039;m not sure what will come of this yet.<br />2.&nbsp; If &quot;/programs/name&quot; is a directory, look inside for:<br />- file &quot;name&quot;.&nbsp; This is a binary with short header that defines org and optionally a RAMTOP value.&nbsp; The org can be inside the 0x2000 area where .run is running.&nbsp; The intention is that this is a short binary that acts as loader for the program.<br />- file &quot;name.sna&quot;.&nbsp; .run loads this snapshot and starts it.<br />- file &quot;name.tap&quot;.&nbsp; Mount the tap file and execute equivalent of LOAD&quot;&quot;.<br />If any three of the above is found, change current working directory to &quot;/programs/name&quot; before launch.</p><p>.run should be able to configure itself to use a different root dir for programs or perhaps a list of directories to search.<br />.run could maybe configure the self-contained file to set various options.<br />.run could be asked to report where the program is located<br />.run could be asked to list its search paths.</p>]]></content>
			<author>
				<name><![CDATA[Alcoholics Anonymous]]></name>
				<uri>https://board.esxdos.org/profile.php?id=181</uri>
			</author>
			<updated>2017-08-11T05:49:48Z</updated>
			<id>https://board.esxdos.org/viewtopic.php?pid=306#p306</id>
		</entry>
</feed>
