<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[esxDOS BBS — Generalized program launcher]]></title>
		<link>https://board.esxdos.org/viewtopic.php?id=97</link>
		<atom:link href="https://board.esxdos.org/extern.php?action=feed&amp;tid=97&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Generalized program launcher.]]></description>
		<lastBuildDate>Fri, 13 Sep 2019 07:50:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Generalized program launcher]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=1334#p1334</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (Luzie)]]></author>
			<pubDate>Fri, 13 Sep 2019 07:50:57 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=1334#p1334</guid>
		</item>
		<item>
			<title><![CDATA[Generalized program launcher]]></title>
			<link>https://board.esxdos.org/viewtopic.php?pid=306#p306</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (Alcoholics Anonymous)]]></author>
			<pubDate>Fri, 11 Aug 2017 05:49:48 +0000</pubDate>
			<guid>https://board.esxdos.org/viewtopic.php?pid=306#p306</guid>
		</item>
	</channel>
</rss>
