Searching \ for 'Christmas lights with PIC Basic anyone?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=basic
Search entire site for: 'Christmas lights with PIC Basic anyone?'.

Truncated match.
PICList Thread
'Christmas lights with PIC Basic anyone?'
1996\12\02@130749 by Antti Lukats

flavicon
face
Hi Piclist!

I have looked on the web all around for PIC tools, specially for
easy free compilers. Well some C-compilers are useable, but still
there is no free PIC Basic compiler. The one written by James
Cleverdon as student project is very buggy and not useful in
the condition I have the sources, I have tried to fix the bugs
but its seems to be too many.

In the meantime I am making experiments with our tiny basic compiler
which is today very very alfa, but already produces some useable code.

I am wondering if there is anyone around who would be interested to
test it in this early stage?

currently supported features are

Basic Stamp I syntax
byte vars
for next
goto gosub
+ - and or xor /2
pause and some more tokens,
eeprom, read/write

now the good thing is that tokens are supplied in separete
asm library file, those can be customized
and that GOTO and GOSUB can call user asm routines.

those it is possible to write subroutines in assembly

This may sound as not too much, but the code generated works (with my
test programs at least?) and it is possible to write small applications.

A Christams Light sequencer would be possible defently.

Below is a test program that compiles (107 words) and works,
its pretty much all that works maybe!

'This is test program for BASCO
'
'some silly light effects
'
symbol i = B0
symbol j = B1
symbol LEDS = PINS
symbol const1 = 120

DIRS = 0
'ALL pins output!

loop:
'single light moving up
j = 1
for i = 0 to 7
  LEDS = j
  pause const1
  j=j+j
next i
'and rolling back
j=64
gosub roll_back
'bar climbing up
j = 3
for i = 0 to 6
  LEDS = j
  pause const1
  j=j+j|1
next i
'and rolling back
j=127
gosub roll_back

eeprom ($0,$0F,$F0,$3C,$C3,$18,$3C,$7E,$FF,$E7,$C3,$81,$0)
for i=0 to 12
  read i,j
  LEDS = j
  pause const1
next i

goto loop

roll_back:
for i = 0 to 6
  LEDS = j
  pause const1
  j=j/2
next i
return
'---end of program---

If somebody wants to use this compiler to build Christmas Lights
or for some other tiny app then I will upload it for betatesting.

antti
-- Silicon Studio Ltd.
-- http://www.sistudio.com

1996\12\02@190517 by Ing. Pablo Otero

flavicon
face
I would give it a try, send it to  spam_OUTnafpocTakeThisOuTspammail.giga.com

Pablo.


At 06:07 AM 02/12/96 -0400, you wrote:
{Quote hidden}

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/                                                              _/
_/                   N  A  F    Electronic                      _/
_/                       M e x i c o                            _/
_/                                                              _/
_/             e-mail: .....nafpocKILLspamspam@spam@mail.giga.com                     _/
_/             http://www.giga.com/~nafpoc                      _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

1996\12\02@200339 by hoss karoly

flavicon
face
Antti Lukats wrote:
>
> Hi Piclist!
>
> I have looked on the web all around for PIC tools, specially for
> easy free compilers. Well some C-compilers are useable, but still
> there is no free PIC Basic compiler. The one written by James
> Cleverdon as student project is very buggy and not useful in
> the condition I have the sources, I have tried to fix the bugs
> but its seems to be too many.
>
> In the meantime I am making experiments with our tiny basic compiler
> which is today very very alfa, but already produces some useable code.
>
> I am wondering if there is anyone around who would be interested to
> test it in this early stage?

yeah me, for instance
does it support pic 16c84 ?
the eeprom is built in :)
and the parallax assembler ?

bye
charley

1996\12\03@004627 by Giles L. Honeycutt

flavicon
face
I would love to toy with it (your basic) , I think it might be a neet
addition to the compact control unit I am trying to finish up.  Send
me some mail about it, how is it configured and such.

        Giles L. Honeycutt
       gilesamispamKILLspamix.netcom.com
------------------------------

Antti Lukats wrote:
> In the meantime I am making experiments with our tiny basic compiler
> which is today very very alfa, but already produces some useable code.
>
> I am wondering if there is anyone around who would be interested to
> test it in this early stage?
>
> antti
> -- Silicon Studio Ltd.
> -- http://www.sistudio.com

1996\12\03@031241 by Antti Lukats

flavicon
face
[snip]
>> In the meantime I am making experiments with our tiny basic compiler
>> which is today very very alfa, but already produces some useable code.
>>
>> I am wondering if there is anyone around who would be interested to
>> test it in this early stage?
>
>yeah me, for instance
>does it support pic 16c84 ?
YES
>the eeprom is built in :)
internal EEPROM support yes
>and the parallax assembler ?
NO, it supports:
MPASM
TASM (Table Assembler)
AS (a free cross macro assembler for ~100 cpus DOS, OS/2, Linux)

PASM is not supported as token library linking is done by the
assembler using
#define
clauses

PASM compat may be accieved when using C preprocessor and then PASM
but I ma not sure if there is a need to support PASM for me.
unless somebody really convoinces me

antti






-- Silicon Studio Ltd.
-- http://www.sistudio.com

1996\12\03@031245 by Antti Lukats

flavicon
face
Will upload within 48 hours to our site, and post the URL.

At 11:23 PM 12/2/96 -0600, you wrote:
>I would love to toy with it (your basic) , I think it might be a neet
>addition to the compact control unit I am trying to finish up.  Send
>me some mail about it, how is it configured and such.
>
>         Giles L. Honeycutt
>        .....gilesamiKILLspamspam.....ix.netcom.com
>------------------------------
>
>Antti Lukats wrote:
>> In the meantime I am making experiments with our tiny basic compiler
>> which is today very very alfa, but already produces some useable code.
>>
>> I am wondering if there is anyone around who would be interested to
>> test it in this early stage?
>>
>> antti
>> -- Silicon Studio Ltd.
>> -- http://www.sistudio.com
>
-- Silicon Studio Ltd.
-- http://www.sistudio.com

1996\12\03@163954 by Phil Whitmarsh

picon face
Hi Antti,
I have the Pic Basic Software from Micro Engineering Labs and have written
many
projects and i would be all too willing to try out your alpha version.
Cheers Phil >>>

More... (looser matching)
- Last day of these posts
- In 1996 , 1997 only
- Today
- New search...