<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.mcselec.com/bavr/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.mcselec.com/bavr/index.php?action=history&amp;feed=atom&amp;title=BASCOMP</id>
		<title>BASCOMP - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.mcselec.com/bavr/index.php?action=history&amp;feed=atom&amp;title=BASCOMP"/>
		<link rel="alternate" type="text/html" href="http://wiki.mcselec.com/bavr/index.php?title=BASCOMP&amp;action=history"/>
		<updated>2026-06-03T00:16:44Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.6</generator>

	<entry>
		<id>http://wiki.mcselec.com/bavr/index.php?title=BASCOMP&amp;diff=4577&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;BASCOMP.EXE is a command line compiler utility.  It can be called from your own favorite editor when using linux. Or when compiling projects from a batch file.  &amp;nbsp;  The ba...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.mcselec.com/bavr/index.php?title=BASCOMP&amp;diff=4577&amp;oldid=prev"/>
				<updated>2013-08-24T08:15:48Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;BASCOMP.EXE is a command line compiler utility.  It can be called from your own favorite editor when using linux. Or when compiling projects from a batch file.     The ba...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;BASCOMP.EXE is a command line compiler utility.&lt;br /&gt;
&lt;br /&gt;
It can be called from your own favorite editor when using linux. Or when compiling projects from a batch file.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
The bascomp.exe utility must be placed in the same folder as bascavr.exe.&lt;br /&gt;
&lt;br /&gt;
It depends on the bascom-avr license dll and the basc-avr.dll compiler DLL.&lt;br /&gt;
&lt;br /&gt;
It will also requires the DAT files and the LIB folder with the libraries.&lt;br /&gt;
&lt;br /&gt;
For this reason the files is best placed into the bascom-avr application folder.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;f_Header&amp;quot;&amp;gt;NEW Simple Call&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The utility has been updated and now will retrieve all info from the source file, but only when your main program contains these directive&amp;amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
$regfile, $hwstack, $swstack, $framesize&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Example&amp;amp;nbsp;: bascomp.exe &amp;quot;c:\my folder\source\sample.bas&amp;quot; auto&lt;br /&gt;
&lt;br /&gt;
The 'auto' is a switch so the utility will retrieve the settings from your code.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
If the directives are not found, or available in the source you need to use the old way:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Usage&amp;amp;nbsp;: bascomp file.bas SS=40 HW=40 FR=40 CHIP=0&lt;br /&gt;
&lt;br /&gt;
Here, file.bas is the source file you want to compile.&lt;br /&gt;
&lt;br /&gt;
You should supply the full path like&amp;amp;nbsp;: &amp;quot;c:\my folder\file1.bas&amp;quot;&lt;br /&gt;
&lt;br /&gt;
SS is the value for the soft stack&lt;br /&gt;
&lt;br /&gt;
HW is the value for the hard ware stack&lt;br /&gt;
&lt;br /&gt;
FR is the value for the frame size&lt;br /&gt;
&lt;br /&gt;
CHIP is the chip identifier. These are listed when you do not enter any parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Languages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>