Author: robhamerling
Date: Thu Jan 1 07:04:42 2009
New Revision: 693
Modified:
trunk/unvalidated/compiler/README
trunk/unvalidated/compiler/make_sample.bat
trunk/unvalidated/compiler/make_sample.cmd
Log:
Updated batch files for new blink sample naming
Added batch files list of files in README
Modified: trunk/unvalidated/compiler/README
==============================================================================
--- trunk/unvalidated/compiler/README (original)
+++ trunk/unvalidated/compiler/README Thu Jan 1 07:04:42 2009
@@ -15,6 +15,8 @@
* jalpragm.txt : pragmas
* JalV2-manual.html : JalV2 Language User's Guide
* license.txt : the JalV2 license
+ * make_sample.bat : batch file to compile a sample under Windows
+ * make_sample.cmd : batch file to compile a sample under
eComStation(OS/2)
* readme.asm : inline assembler
* readme.txt : original Readme
Modified: trunk/unvalidated/compiler/make_sample.bat
==============================================================================
--- trunk/unvalidated/compiler/make_sample.bat (original)
+++ trunk/unvalidated/compiler/make_sample.bat Thu Jan 1 07:04:42 2009
@@ -2,11 +2,11 @@
rem This is a batch file to show how to compile a
rem sample on windows.
-set sample=..\sample\by_device\16f877a\blink_16f877a.jal
+set sample=..\sample\16f877a_blink.jal
jalv2.exe -long-start -s ..\lib %sample%
echo.
echo.
echo Look for the output files in the sample directory.
-pause
\ No newline at end of file
+pause
Modified: trunk/unvalidated/compiler/make_sample.cmd
==============================================================================
--- trunk/unvalidated/compiler/make_sample.cmd (original)
+++ trunk/unvalidated/compiler/make_sample.cmd Thu Jan 1 07:04:42 2009
@@ -4,19 +4,20 @@
'blink-an-LED' sample programs. You may need to change
the base directory of the Jallib Pack and the target PICmicro */
-base = 'k:\jalpack\' /* Jallib pack base
directory */
+base = '\jalpack\' /* Jallib pack base
directory */
pic = '16f877a' /* target device */
-cc = base'compiler\jalv2ecs' /* compiler binary */
-lib = base'lib' /* library */
-smp = base'sample\by_device\' /* directory with samples
*/
-pgm = smp||pic'\blink_'pic /* sample program */
+cc = base'compiler\jalv2ecs' /* compiler executable */
+lib = base'lib' /* include library */
+smp = base'sample\' /* directory with samples
*/
+pgm = smp||pic'_blink' /* sample program */
-'@'cc '-long-start -s' lib pgm'.jal' /* compilation */
+'@'cc '-long-start -s' lib pgm'.jal' /* compile */
say ''
-if rc = 0 then
- say 'Result in file' pgm'.hex'
+if rc = 0 then /* compilation successful
*/
+ say 'Hex file in:' pgm'.hex'
else
say 'Compilation failed'
+'@del' pgm'.asm' pgm'.cod' pgm'.err' pgm'.obj' pgm'.lst' '1>nul 2>nul'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---