Revision: 1826
Author: jsuijs
Date: Mon Mar 22 12:01:06 2010
Log: update compiler version note in samples
http://code.google.com/p/jallib/source/detail?r=1826
Modified:
/trunk/sample/16f648a_backlight.jal
/trunk/sample/16f648a_i2c_sw_l0.jal
/trunk/sample/16f648a_i2c_sw_master_check_bus.jal
/trunk/sample/16f648a_i2c_sw_master_echo.jal
/trunk/sample/16f648a_lcd_hd44780_4bit.jal
/trunk/sample/16f648a_pwm_led.jal
/trunk/sample/16f648a_pwm_led_highres.jal
/trunk/sample/16f648a_pwm_sound.jal
/trunk/sample/16f648a_random.jal
/trunk/sample/16f648a_serial_format.jal
/trunk/sample/16f648a_serial_print.jal
/trunk/sample/16f648a_sqrt.jal
/trunk/sample/16f648a_startersguide.jal
/trunk/sample/16f648a_timer0_interval.jal
/trunk/sample/16f723_i2c_hw_slave_check_bus.jal
/trunk/sample/16f723_i2c_hw_slave_echo.jal
/trunk/sample/16f723_i2c_hw_slave_eeprom_simulator.jal
/trunk/sample/16f723_i2c_hw_slave_msg.jal
/trunk/sample/16f723_i2c_sw_l0.jal
/trunk/sample/16f723_i2c_sw_master_check_bus.jal
/trunk/sample/16f723_i2c_sw_master_echo.jal
/trunk/sample/16f723_pwm_led.jal
/trunk/sample/16f723_pwm_led_highres.jal
/trunk/sample/16f723_pwm_sound.jal
/trunk/sample/16f723_random.jal
/trunk/sample/16f723_serial_format.jal
/trunk/sample/16f723_serial_print.jal
/trunk/sample/16f723_sqrt.jal
/trunk/sample/16f723_startersguide.jal
/trunk/sample/16f723_timer0_interval.jal
/trunk/sample/16f73_i2c_hw_slave_check_bus.jal
/trunk/sample/16f73_i2c_hw_slave_echo.jal
/trunk/sample/16f73_i2c_hw_slave_eeprom_simulator.jal
/trunk/sample/16f73_i2c_hw_slave_msg.jal
/trunk/sample/16f73_i2c_sw_l0.jal
/trunk/sample/16f73_i2c_sw_master_check_bus.jal
/trunk/sample/16f73_i2c_sw_master_echo.jal
/trunk/sample/16f73_pwm_led.jal
/trunk/sample/16f73_random.jal
/trunk/sample/16f73_serial_format.jal
/trunk/sample/16f73_serial_print.jal
/trunk/sample/16f73_sqrt.jal
/trunk/sample/16f73_startersguide.jal
/trunk/sample/16f73_timer0_interval.jal
/trunk/sample/16f877_backlight.jal
/trunk/sample/16f877_glcd_ks0108.jal
/trunk/sample/16f877_i2c_hw_l0.jal
/trunk/sample/16f877_i2c_hw_slave_check_bus.jal
/trunk/sample/16f877_i2c_hw_slave_echo.jal
/trunk/sample/16f877_i2c_hw_slave_eeprom_simulator.jal
/trunk/sample/16f877_i2c_hw_slave_msg.jal
/trunk/sample/16f877_i2c_sw_l0.jal
/trunk/sample/16f877_i2c_sw_master_check_bus.jal
/trunk/sample/16f877_i2c_sw_master_echo.jal
/trunk/sample/16f877_keyboard.jal
/trunk/sample/16f877_lcd_hd44780_4bit.jal
/trunk/sample/16f877_pwm2.jal
/trunk/sample/16f877_pwm_led.jal
/trunk/sample/16f877_pwm_led_highres.jal
/trunk/sample/16f877_pwm_sound.jal
/trunk/sample/16f877_random.jal
/trunk/sample/16f877_serial_format.jal
/trunk/sample/16f877_serial_print.jal
/trunk/sample/16f877_seven_segment.jal
/trunk/sample/16f877_sqrt.jal
/trunk/sample/16f877_startersguide.jal
/trunk/sample/16f877_timer0_interval.jal
/trunk/sample/16f877a_glcd_ks0108.jal
/trunk/sample/16f877a_i2c_hw_l0.jal
/trunk/sample/16f877a_i2c_hw_slave_check_bus.jal
/trunk/sample/16f877a_i2c_hw_slave_echo.jal
/trunk/sample/16f877a_i2c_hw_slave_eeprom_simulator.jal
/trunk/sample/16f877a_i2c_hw_slave_msg.jal
/trunk/sample/16f877a_i2c_sw_l0.jal
/trunk/sample/16f877a_i2c_sw_master_check_bus.jal
/trunk/sample/16f877a_i2c_sw_master_echo.jal
/trunk/sample/16f877a_in_and_out.jal
/trunk/sample/16f877a_lcd_hd44780_4bit.jal
/trunk/sample/16f877a_pwm_led.jal
/trunk/sample/16f877a_random.jal
/trunk/sample/16f877a_serial_format.jal
/trunk/sample/16f877a_serial_print.jal
/trunk/sample/16f877a_sqrt.jal
/trunk/sample/16f877a_startersguide.jal
/trunk/sample/16f88_backlight.jal
/trunk/sample/16f88_i2c_hw_slave_check_bus.jal
/trunk/sample/16f88_i2c_hw_slave_echo.jal
/trunk/sample/16f88_i2c_hw_slave_eeprom_simulator.jal
/trunk/sample/16f88_i2c_hw_slave_msg.jal
/trunk/sample/16f88_i2c_sw_l0.jal
/trunk/sample/16f88_i2c_sw_master_check_bus.jal
/trunk/sample/16f88_i2c_sw_master_echo.jal
/trunk/sample/16f88_lcd_hd44780_4bit.jal
/trunk/sample/16f88_pwm_led_highres.jal
/trunk/sample/16f88_pwm_sound.jal
/trunk/sample/16f88_random.jal
/trunk/sample/16f88_serial_format.jal
/trunk/sample/16f88_serial_print.jal
/trunk/sample/16f88_sqrt.jal
/trunk/sample/16f88_startersguide.jal
/trunk/sample/16f88_timer0_interval.jal
/trunk/sample/18f14k50_i2c_hw_l0.jal
/trunk/sample/18f14k50_i2c_hw_slave_check_bus.jal
/trunk/sample/18f14k50_i2c_hw_slave_echo.jal
/trunk/sample/18f14k50_i2c_hw_slave_eeprom_simulator.jal
/trunk/sample/18f14k50_i2c_hw_slave_msg.jal
/trunk/sample/18f14k50_i2c_sw_l0.jal
/trunk/sample/18f14k50_i2c_sw_master_check_bus.jal
/trunk/sample/18f14k50_i2c_sw_master_echo.jal
/trunk/sample/18f14k50_pwm_led.jal
/trunk/sample/18f14k50_pwm_led_highres.jal
/trunk/sample/18f14k50_pwm_sound.jal
/trunk/sample/18f14k50_random.jal
/trunk/sample/18f14k50_serial_format.jal
/trunk/sample/18f14k50_serial_print.jal
/trunk/sample/18f14k50_sqrt.jal
/trunk/sample/18f14k50_startersguide.jal
/trunk/sample/18f2450_i2c_sw_l0.jal
/trunk/sample/18f2450_i2c_sw_master_check_bus.jal
/trunk/sample/18f2450_i2c_sw_master_echo.jal
/trunk/sample/18f2450_lcd_hd44780_4bit.jal
/trunk/sample/18f2450_pwm_led.jal
/trunk/sample/18f2450_pwm_led_highres.jal
/trunk/sample/18f2450_pwm_sound.jal
/trunk/sample/18f2450_random.jal
/trunk/sample/18f2450_serial_format.jal
/trunk/sample/18f2450_serial_print.jal
/trunk/sample/18f2450_sqrt.jal
/trunk/sample/18f2450_startersguide.jal
/trunk/sample/18f4550_glcd_ks0108.jal
/trunk/sample/18f4550_i2c_hw_l0.jal
/trunk/sample/18f4550_i2c_hw_slave_check_bus.jal
/trunk/sample/18f4550_i2c_hw_slave_echo.jal
/trunk/sample/18f4550_i2c_hw_slave_eeprom_simulator.jal
/trunk/sample/18f4550_i2c_hw_slave_msg.jal
/trunk/sample/18f4550_i2c_sw_l0.jal
/trunk/sample/18f4550_i2c_sw_master_check_bus.jal
/trunk/sample/18f4550_i2c_sw_master_echo.jal
/trunk/sample/18f4550_lcd_hd44780_4bit.jal
/trunk/sample/18f4550_pwm_led.jal
/trunk/sample/18f4550_pwm_led_highres.jal
/trunk/sample/18f4550_pwm_sound.jal
/trunk/sample/18f4550_random.jal
/trunk/sample/18f4550_serial_format.jal
/trunk/sample/18f4550_serial_print.jal
/trunk/sample/18f4550_seven_segment.jal
/trunk/sample/18f4550_sqrt.jal
/trunk/sample/18f4550_startersguide.jal
/trunk/test/board/board_16f648a_js.jal
/trunk/test/board/board_16f723_af.jal
/trunk/test/board/board_16f73_js.jal
/trunk/test/board/board_16f877a_startersguide.jal
/trunk/test/board/board_16f88_js.jal
/trunk/test/board/board_16f88_sl.jal
/trunk/test/external/keyboard/test_keyboard.jal
/trunk/test/external/lcd/test_backlight.jal
/trunk/test/external/lcd/test_display_hd44780_4_line.jal
/trunk/test/external/lcd/test_glcd_ks0108.jal
/trunk/test/external/lcd/test_lcd_hd44780_4bit.jal
/trunk/test/external/lcd/test_lcd_hd44780_serial.jal
/trunk/test/external/lcd/tst_backlight.jal
/trunk/test/external/seven_segment/test_seven_segment.jal
/trunk/test/jal/test_in_and_out.jal
/trunk/test/jal/test_queue.jal
/trunk/test/jal/test_queue_isr.jal
/trunk/test/jal/test_random.jal
/trunk/test/jal/test_serial_format.jal
/trunk/test/jal/test_serial_print.jal
/trunk/test/jal/test_sqrt.jal
/trunk/test/jal/test_startersguide.jal
/trunk/test/peripheral/i2c/test_i2c_hw_l0.jal
/trunk/test/peripheral/i2c/test_i2c_hw_slave_check_bus.jal
/trunk/test/peripheral/i2c/test_i2c_hw_slave_echo.jal
/trunk/test/peripheral/i2c/test_i2c_hw_slave_eeprom_simulator.jal
/trunk/test/peripheral/i2c/test_i2c_hw_slave_msg.jal
/trunk/test/peripheral/i2c/test_i2c_sw_l0.jal
/trunk/test/peripheral/i2c/test_i2c_sw_master_check_bus.jal
/trunk/test/peripheral/i2c/test_i2c_sw_master_echo.jal
/trunk/test/peripheral/pwm/test_pwm2.jal
/trunk/test/peripheral/pwm/test_pwm_led.jal
/trunk/test/peripheral/pwm/test_pwm_led_highres.jal
/trunk/test/peripheral/pwm/test_pwm_sound.jal
/trunk/test/peripheral/timer/test_timer0_interval.jal
/trunk/test/peripheral/usart/serial_tc_header.jal
/trunk/test/peripheral/usart/serial_testconsole.jal
=======================================
--- /trunk/sample/16f648a_backlight.jal Sun Aug 16 16:42:16 2009
+++ /trunk/sample/16f648a_backlight.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f648a_i2c_sw_l0.jal Sun Feb 28 12:01:21 2010
+++ /trunk/sample/16f648a_i2c_sw_l0.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f648a_i2c_sw_master_check_bus.jal Sun Aug 16 16:42:16
2009
+++ /trunk/sample/16f648a_i2c_sw_master_check_bus.jal Mon Mar 22 12:01:06
2010
@@ -1,7 +1,7 @@
-- Title: Master part of i2c slave check bus test
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f648a_i2c_sw_master_echo.jal Sun Aug 16 16:42:16 2009
+++ /trunk/sample/16f648a_i2c_sw_master_echo.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Master part of i2c slave echo
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f648a_lcd_hd44780_4bit.jal Sat Mar 13 04:32:44 2010
+++ /trunk/sample/16f648a_lcd_hd44780_4bit.jal Mon Mar 22 12:01:06 2010
@@ -2,7 +2,7 @@
-- Title: Test program for lcd_hd44780_4.jal (basic / interface test)
-- Author: Eur Van Andel, Copyright (c) 2008-2010, all rights reserved.
-- Adapted-by: Rob Hamerling, Joep Suijs
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f648a_pwm_led.jal Thu Feb 25 05:33:03 2010
+++ /trunk/sample/16f648a_pwm_led.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for 1 PWM channel, using a LED
-- Author: Sebastien Lelong, Copyright (c) 2008-2010, all rights reserved.
-- Adapted-by: Joep Suijs
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f648a_pwm_led_highres.jal Sun Aug 16 16:42:16 2009
+++ /trunk/sample/16f648a_pwm_led_highres.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for hardware (built-in) PWM, in high resolution
mode, using a LED
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f648a_pwm_sound.jal Sun Aug 16 16:42:16 2009
+++ /trunk/sample/16f648a_pwm_sound.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for hardware (built-in) PWM. Plays sound
-- Author: Sebastien Lelong, Copyright (c) 2008, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f648a_random.jal Sun Aug 16 16:42:16 2009
+++ /trunk/sample/16f648a_random.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f648a_serial_format.jal Sat Feb 20 10:17:40 2010
+++ /trunk/sample/16f648a_serial_format.jal Mon Mar 22 12:01:06 2010
@@ -2,7 +2,7 @@
-- Title: Test program for format.jal
-- Author: Joep Suijs, Copyright (c) 2008..2008, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f648a_serial_print.jal Sun Aug 16 16:42:16 2009
+++ /trunk/sample/16f648a_serial_print.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f648a_sqrt.jal Sun Feb 21 01:27:07 2010
+++ /trunk/sample/16f648a_sqrt.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f648a_startersguide.jal Sat Mar 20 15:56:59 2010
+++ /trunk/sample/16f648a_startersguide.jal Mon Mar 22 12:01:06 2010
@@ -5,13 +5,13 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
--
-- Description: Demo program, for use in the startersguide. Much of the
code is not
--- meaningful on its own, but very usefull as part of the
startersguide.
+-- meaningful on its own, but very useful as part of the
startersguide.
--
-- Sources:
--
=======================================
--- /trunk/sample/16f648a_timer0_interval.jal Sun Aug 16 16:42:16 2009
+++ /trunk/sample/16f648a_timer0_interval.jal Mon Mar 22 12:01:06 2010
@@ -2,7 +2,7 @@
--
-- Author: Joep Suijs, Copyright (c) 2008, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_i2c_hw_slave_check_bus.jal Mon Nov 9 16:32:06 2009
+++ /trunk/sample/16f723_i2c_hw_slave_check_bus.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Program to test an i2c bus (using i2c hardware slave)
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_i2c_hw_slave_echo.jal Mon Nov 9 16:32:06 2009
+++ /trunk/sample/16f723_i2c_hw_slave_echo.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for i2c hardware slave, stateful implementation
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by: Joep Suijs
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_i2c_hw_slave_eeprom_simulator.jal Mon Nov 9
16:32:06 2009
+++ /trunk/sample/16f723_i2c_hw_slave_eeprom_simulator.jal Mon Mar 22
12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for i2c hardware slave, message interface
implementation
-- Author: Joep Suijs, Sebastien Lelong, Copyright (c) 2008-2009, all
rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_i2c_hw_slave_msg.jal Mon Nov 9 16:32:06 2009
+++ /trunk/sample/16f723_i2c_hw_slave_msg.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for i2c hardware slave, message interface
implementation
-- Author: Joep Suijs, Sebastien Lelong, Copyright (c) 2008-2009, all
rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_i2c_sw_l0.jal Sun Feb 28 12:01:21 2010
+++ /trunk/sample/16f723_i2c_sw_l0.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_i2c_sw_master_check_bus.jal Mon Nov 9 16:32:06
2009
+++ /trunk/sample/16f723_i2c_sw_master_check_bus.jal Mon Mar 22 12:01:06
2010
@@ -1,7 +1,7 @@
-- Title: Master part of i2c slave check bus test
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_i2c_sw_master_echo.jal Mon Nov 9 16:32:06 2009
+++ /trunk/sample/16f723_i2c_sw_master_echo.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Master part of i2c slave echo
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_pwm_led.jal Thu Feb 25 05:33:03 2010
+++ /trunk/sample/16f723_pwm_led.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for 1 PWM channel, using a LED
-- Author: Sebastien Lelong, Copyright (c) 2008-2010, all rights reserved.
-- Adapted-by: Joep Suijs
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_pwm_led_highres.jal Mon Nov 9 16:32:06 2009
+++ /trunk/sample/16f723_pwm_led_highres.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for hardware (built-in) PWM, in high resolution
mode, using a LED
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_pwm_sound.jal Mon Nov 9 16:32:06 2009
+++ /trunk/sample/16f723_pwm_sound.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for hardware (built-in) PWM. Plays sound
-- Author: Sebastien Lelong, Copyright (c) 2008, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_random.jal Mon Nov 9 16:32:06 2009
+++ /trunk/sample/16f723_random.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_serial_format.jal Sat Feb 20 10:17:40 2010
+++ /trunk/sample/16f723_serial_format.jal Mon Mar 22 12:01:06 2010
@@ -2,7 +2,7 @@
-- Title: Test program for format.jal
-- Author: Joep Suijs, Copyright (c) 2008..2008, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_serial_print.jal Mon Nov 9 16:32:06 2009
+++ /trunk/sample/16f723_serial_print.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_sqrt.jal Sun Feb 21 01:27:07 2010
+++ /trunk/sample/16f723_sqrt.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f723_startersguide.jal Sat Mar 20 15:56:59 2010
+++ /trunk/sample/16f723_startersguide.jal Mon Mar 22 12:01:06 2010
@@ -5,13 +5,13 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
--
-- Description: Demo program, for use in the startersguide. Much of the
code is not
--- meaningful on its own, but very usefull as part of the
startersguide.
+-- meaningful on its own, but very useful as part of the
startersguide.
--
-- Sources:
--
=======================================
--- /trunk/sample/16f723_timer0_interval.jal Mon Nov 9 16:32:06 2009
+++ /trunk/sample/16f723_timer0_interval.jal Mon Mar 22 12:01:06 2010
@@ -2,7 +2,7 @@
--
-- Author: Joep Suijs, Copyright (c) 2008, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_i2c_hw_slave_check_bus.jal Sat Feb 20 10:03:18 2010
+++ /trunk/sample/16f73_i2c_hw_slave_check_bus.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Program to test an i2c bus (using i2c hardware slave)
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_i2c_hw_slave_echo.jal Sat Feb 20 10:03:18 2010
+++ /trunk/sample/16f73_i2c_hw_slave_echo.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for i2c hardware slave, stateful implementation
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by: Joep Suijs
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_i2c_hw_slave_eeprom_simulator.jal Sat Feb 20
10:03:18 2010
+++ /trunk/sample/16f73_i2c_hw_slave_eeprom_simulator.jal Mon Mar 22
12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for i2c hardware slave, message interface
implementation
-- Author: Joep Suijs, Sebastien Lelong, Copyright (c) 2008-2009, all
rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_i2c_hw_slave_msg.jal Sat Feb 20 10:03:18 2010
+++ /trunk/sample/16f73_i2c_hw_slave_msg.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for i2c hardware slave, message interface
implementation
-- Author: Joep Suijs, Sebastien Lelong, Copyright (c) 2008-2009, all
rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_i2c_sw_l0.jal Sun Feb 28 12:01:21 2010
+++ /trunk/sample/16f73_i2c_sw_l0.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_i2c_sw_master_check_bus.jal Sat Feb 20 10:03:18 2010
+++ /trunk/sample/16f73_i2c_sw_master_check_bus.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Master part of i2c slave check bus test
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_i2c_sw_master_echo.jal Sat Feb 20 10:03:18 2010
+++ /trunk/sample/16f73_i2c_sw_master_echo.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Master part of i2c slave echo
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_pwm_led.jal Sat Feb 20 10:03:18 2010
+++ /trunk/sample/16f73_pwm_led.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for 1 PWM channel, using a LED
-- Author: Sebastien Lelong, Copyright (c) 2008-2010, all rights reserved.
-- Adapted-by: Joep Suijs
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_random.jal Sat Feb 20 10:03:18 2010
+++ /trunk/sample/16f73_random.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_serial_format.jal Sat Feb 20 10:17:40 2010
+++ /trunk/sample/16f73_serial_format.jal Mon Mar 22 12:01:06 2010
@@ -2,7 +2,7 @@
-- Title: Test program for format.jal
-- Author: Joep Suijs, Copyright (c) 2008..2008, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_serial_print.jal Sat Feb 20 10:03:18 2010
+++ /trunk/sample/16f73_serial_print.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_sqrt.jal Sun Feb 21 01:27:07 2010
+++ /trunk/sample/16f73_sqrt.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f73_startersguide.jal Sat Mar 20 15:56:59 2010
+++ /trunk/sample/16f73_startersguide.jal Mon Mar 22 12:01:06 2010
@@ -5,13 +5,13 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
--
-- Description: Demo program, for use in the startersguide. Much of the
code is not
--- meaningful on its own, but very usefull as part of the
startersguide.
+-- meaningful on its own, but very useful as part of the
startersguide.
--
-- Sources:
--
=======================================
--- /trunk/sample/16f73_timer0_interval.jal Sat Feb 20 10:03:18 2010
+++ /trunk/sample/16f73_timer0_interval.jal Mon Mar 22 12:01:06 2010
@@ -2,7 +2,7 @@
--
-- Author: Joep Suijs, Copyright (c) 2008, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f877_backlight.jal Sun Feb 21 01:27:07 2010
+++ /trunk/sample/16f877_backlight.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f877_glcd_ks0108.jal Mon Mar 1 22:21:01 2010
+++ /trunk/sample/16f877_glcd_ks0108.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for i2c hardware slave, message interface
implementation
-- Author: Joep Suijs, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
@@ -91,6 +91,40 @@
var byte gol_output_column[9]
+--
----------------------------------------------------------------------------
+const byte power[] = { 1, 2, 4, 8, 16, 32, 64, 128 }
+--
----------------------------------------------------------------------------
+
+--
----------------------------------------------------------------------------
+-- gol_get_bit - get one bit from a colomn
+--
----------------------------------------------------------------------------
+--
----------------------------------------------------------------------------
+function gol_get_bit(byte in row_nr, byte in column[9]) return bit is
+
+ var byte byte_nr = (row_nr >> 3) & 0x07
+ var byte bit_nr = row_nr & 0x07
+
+ return ((column[byte_nr] & power[bit_nr]) != 0)
+
+end function
+
+--
----------------------------------------------------------------------------
+-- gol_set_outbit - set one bit in gol_output_column
+--
----------------------------------------------------------------------------
+--
----------------------------------------------------------------------------
+procedure gol_set_outbit(byte in row_nr) is
+
+ var byte byte_nr = (row_nr >> 3) & 0x07
+ var byte bit_nr = row_nr & 0x07
+
+; var bit*3 byte_nr at row_nr : 3
+; var bit*3 bit_nr at row_nr : 0
+
+ gol_output_column[byte_nr] = gol_output_column[byte_nr] | power[bit_nr]
+
+end procedure
+
+
--
----------------------------------------------------------------------------
-- gol_randomize - Game of Life _ Randomize screen
@@ -107,6 +141,10 @@
end loop
end procedure
+--
----------------------------------------------------------------------------
+-- gol_read_column - read the designated column from display memeory
+--
----------------------------------------------------------------------------
+--
----------------------------------------------------------------------------
procedure gol_read_column(byte in col_nr, byte out column[9]) is
var byte y
if (col_nr < 127) then
@@ -123,6 +161,25 @@
end procedure
+
+procedure gol_print_column(byte in column[9]) is
+ var byte i
+ var bit b
+
+ for 64 using i loop
+ b = gol_get_bit(i, column)
+ if (b) then
+ serial_hw_data = "*"
+ else
+ serial_hw_data = "."
+ end if
+ end loop
+ print_crlf(serial_hw_data)
+end procedure
+
+--
----------------------------------------------------------------------------
+--
----------------------------------------------------------------------------
+--
----------------------------------------------------------------------------
procedure gol_write_column(byte in col_nr) is
var byte y
for 8 using y loop
@@ -130,6 +187,9 @@
end loop
end procedure
+--
----------------------------------------------------------------------------
+--
----------------------------------------------------------------------------
+--
----------------------------------------------------------------------------
procedure gol_copy_column(byte in in_column[9], byte out out_column[9]) is
var byte x
for 8 using x loop
@@ -137,6 +197,9 @@
end loop
end procedure
+--
----------------------------------------------------------------------------
+--
----------------------------------------------------------------------------
+--
----------------------------------------------------------------------------
procedure gol_clear_column(byte in out column[9]) is
var byte x
for 8 using x loop
@@ -144,8 +207,82 @@
end loop
end procedure
-procedure gol_gen_column() is
+-- nbs - NumberofBitsSet
+-- 0 1 2 3 4 5 6 7
+const byte nbs[] = {0, 1, 1, 2, 1, 2, 2, 3}
+
+--
----------------------------------------------------------------------------
+-- gol_gen_column() - live a generation on a column
+--
----------------------------------------------------------------------------
+--
----------------------------------------------------------------------------
+procedure gol_gen_column() is
+ var byte i
+ var byte neighbours
+
+ var byte bottom = 0
+ var byte middle = 0
+ var byte top = 0
+
+ var bit bottom_p at bottom : 0
+ var bit bottom_t at bottom : 1
+ var bit bottom_n at bottom : 2
+
+ var bit middle_p at middle : 0
+ var bit middle_t at middle : 1
+ var bit middle_n at middle : 2
+
+ var bit top_p at top : 0
+ var bit top_t at top : 1
+ var bit top_n at top : 2
+
+ middle_p = gol_get_bit(255, gol_prev_column)
+ middle_t = gol_get_bit(255, gol_this_column)
+ middle_n = gol_get_bit(255, gol_next_column)
+
+ top_p = gol_get_bit(0, gol_prev_column)
+ top_t = gol_get_bit(0, gol_this_column)
+ top_n = gol_get_bit(0, gol_next_column)
+
+ i = 1
+ repeat
+ -- shift one up
+ bottom = middle
+ middle = top
+
+ -- get new row
+ top_p = gol_get_bit(i, gol_prev_column)
+ top_t = gol_get_bit(i, gol_this_column)
+ top_n = gol_get_bit(i, gol_next_column)
+
+ neighbours = nbs[bottom] + nbs[(middle & 5)] + nbs[top]
+;print_byte_dec(serial_hw_data, neighbours)
+;serial_hw_data = " "
+ if (neighbours == 2) then
+ -- remain the same
+; gol_set_outbit(i-1, (middle & 2) == 2)
+ if ((middle & 2) == 2) then
+ gol_set_outbit(i-1)
+ end if
+ elsif (neighbours == 3) then
+ -- become alive
+ gol_set_outbit(i-1)
+ else
+ -- less then 2 or more then 3 = die
+; gol_set_outbit(i-1, false)
+ end if
+ i = i + 1
+ until i > 64
+
+; print_crlf(serial_hw_data)
+; gol_print_column(gol_prev_column)
+; gol_print_column(gol_this_column)
+; gol_print_column(gol_next_column)
+; gol_print_column(gol_output_column)
+; print_crlf(serial_hw_data)
+
+
end procedure
+
--
----------------------------------------------------------------------------
-- gol_generation - live one generation
--
----------------------------------------------------------------------------
@@ -174,6 +311,9 @@
glcd_char_y_pos = 20;
glcd_char_x_pos = 20
+
+ gol_randomize()
+
forever loop
; line(0, 0, 64, 64)
@@ -196,12 +336,11 @@
end loop
end if
-- randomize
- gol_randomize()
-
-
- delay_100ms(1)
+
+ gol_generation()
+; delay_100ms(1)
-
+ serial_hw_data = "+"
end loop
=======================================
--- /trunk/sample/16f877_i2c_hw_l0.jal Sun Feb 21 01:27:07 2010
+++ /trunk/sample/16f877_i2c_hw_l0.jal Mon Mar 22 12:01:06 2010
@@ -5,7 +5,7 @@
--
-- Adapted-by:
--
--- Compiler: >=2.4g
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f877_i2c_hw_slave_check_bus.jal Sun Feb 21 01:27:07 2010
+++ /trunk/sample/16f877_i2c_hw_slave_check_bus.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Program to test an i2c bus (using i2c hardware slave)
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f877_i2c_hw_slave_echo.jal Sun Feb 21 01:27:07 2010
+++ /trunk/sample/16f877_i2c_hw_slave_echo.jal Mon Mar 22 12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for i2c hardware slave, stateful implementation
-- Author: Sebastien Lelong, Copyright (c) 2008-2009, all rights reserved.
-- Adapted-by: Joep Suijs
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
--- /trunk/sample/16f877_i2c_hw_slave_eeprom_simulator.jal Sun Feb 21
01:27:07 2010
+++ /trunk/sample/16f877_i2c_hw_slave_eeprom_simulator.jal Mon Mar 22
12:01:06 2010
@@ -1,7 +1,7 @@
-- Title: Test program for i2c hardware slave, message interface
implementation
-- Author: Joep Suijs, Sebastien Lelong, Copyright (c) 2008-2009, all
rights reserved.
-- Adapted-by:
--- Compiler: >=2.4i
+-- Compiler: >=2.4m
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the BSD license
(http://www.opensource.org/licenses/bsd-license.php)
=======================================
***Additional files exist in this changeset.***
--
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.