Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 16th April 2004, 07:17 AM   (permalink)
Default Nothing ! thanks

Nothing ! thanks
bluex_scf is offline  
Old 20th April 2004, 10:52 AM   (permalink)
Default

no suggestion ! thanks :?
bluex_scf is offline  
Old 21st April 2004, 09:31 AM   (permalink)
Default No interest here

BASIC is just too primitive for me... C is more logical to code in and so much more effective.
Oznog is offline  
Old 21st April 2004, 10:53 AM   (permalink)
Default Re: No interest here

Quote:
Originally Posted by Oznog
BASIC is just too primitive for me... C is more logical to code in and so much more effective.
C - 'logical' - interesting idea?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 23rd April 2004, 12:18 PM   (permalink)
Default

Nothing ! thanks
bluex_scf is offline  
Old 23rd April 2004, 12:48 PM   (permalink)
Default

Quote:
Originally Posted by bluex_scf
my basic compiler support Function and Porcedures creation/call, and Type définition (Structures), and Unions(for BitFields)
so the benefits of a good compiler are hier
- Code reusability (proce and funct with params)
- Easy Language to learn
- ...
- and it will be FREEEEEEEEEEEEEEEEEEEEEEE with all the SOURCES CODES OF THE COMPILER .... GPLLLLLLLLLLLLLLLLLLLLLL

so i do not know why your C compiler is more logical than Basic ?
'C' snobbery

How far advanced is your project, and what are you using to write it?.

I've been working on adding a BASIC compiler to WinPicProg for a while now, with a view to releasing it as shareware (the original compiler technology wasn't mine). The compiler creates assembler code and then calls MPASM to assemble it.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 25th April 2004, 10:41 PM   (permalink)
Default

Nothing ! thanks
bluex_scf is offline  
Old 25th April 2004, 11:00 PM   (permalink)
Default

Quote:
Originally Posted by bluex_scf
the compiler is entirely writen in Ansi C language using Lex and Yacc tools. Actually i'm correcting some issues with pic12Cxx series. It seems to work correctly with pic16Fxx and 18Fxx series. I have not finished yet debugging. The ASM code generator is almost finished and there's still somethings to improve with the code translator/optimizer since i generate a PseudoCode witch is converted to MpasmCode. The code converter/optimizer will be rewriten for 85Cxx séries and Atmel Series. I think that it will be the first open source Basic Cross compiler since i have not found anyone on the market . I think that i'll have finisshed the first release in the end of June or the mid-July !!! it depends on my free time since i'm writing it as a hacker every afternoon after work please .. be patient. Nigel perhaps i'll contact you soon for Beta Tests
thanks
I'd be quite happy to give it a test :lol:

Obviously writing it in C is a good idea, it means it could very easily be moved to other systems - although personally I don't do 'C' :lol:
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 26th April 2004, 12:13 PM   (permalink)
Default

HI

I have been using a basic compiler from oshonsoft for a while now and i really love it.

I am experienced in writing high level programmes in C but chose basic over C for programing pics because of its simplicity.


Features I would like to see:

IDE with nice pretty colours, and instant correction for common errors. (so we can all be lazy programmers :lol: )

Simulator with a graphical representation of the signals on each pin of the chip aswell as the values stored in the registers.

Functions to deal with interrupts of different types (eg INT or timer0)

Good luck bluex_scf
2camjohn is offline  
Old 27th April 2004, 06:37 AM   (permalink)
Default freeeeeeeeeeeeeeeeeeeee!!!!!!!!!!!!!!

can i have a go with it???

i'm using picbasic from crownhill.personnal choice.but i also love jal because it's sortof like pascal. i like pascal and basic pic compilers. especially free ones.

-vortech
vortech1 is offline  
Old 27th April 2004, 01:18 PM   (permalink)
Default

Nothing ! thanks
bluex_scf is offline  
Old 27th April 2004, 01:32 PM   (permalink)
Default

Just an idea!, but in the BASIC version of WinPicProg I'm working on (in Delphi) I've written the compiler as a standalone Delphi unit - this accepts a source file in an editor window and returns the assembler code in a different editor window. In use it's something like:

Assembler := Compile(Source);

I presume you can do something similar in C?. It makes the compiler itself totally seperate of any IDE, giving easy translation to other systems.

Obviously you could also make the compiler read a file on disk, and write back to another file - making it usable from DOS, or anything you wanted.

By keeping the compiler part totally seperate you can't 'break it' while working on the interface.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 27th April 2004, 01:38 PM   (permalink)
Default

Nothing ! thanks
bluex_scf is offline  
Old 19th May 2004, 09:28 PM   (permalink)
Default Re: Freeware Basic Compiler for PIC12xx PIC16xx and PIC18xx

Quote:
Originally Posted by bluex_scf
:idea:
Hi every body !
I'm working on a new, FREE and simple Basic Language Compiler for Microchip PIC12xx PIC16xx and PIC18xx !!!
Actually my compiler is Fully Syntax compatible with MPLabs Pic Pro Compiler, and with Basic STAMP Syntax.
I would like to know what are the enhancements and the useful things you have ever like (or dreamed of :wink: ) in a basic compiler for PIC.
Actually my compiler is generating PURE pseudo Code for an arbitrary CPU, and in a second pass a code generator and an optimizer generate the NATIVE PURE asm sources for the microchip Assembler MPASM.
The port of my optimizer and souce code generator to other cpus like 8051 series is not so difficult and i think that we can have a fully source code compatible between different MCU's (the architecture dependent features will not be compatibles of couse).
I need your opinions and ideas to enhance my compiler !!!
the estimate date is JULY 2004 for the first release (Beta 0.0.1a).
It will be FreeWare under GPL licence. Source codes will be Free (open source) from the release of vers 0.8 or 0.9 in order to avoid an anarchic evolution of the project or its derivative if wany.
help ::: :P
A command to use the inbuilt comparators, that seems to be missing in some basics.
A "calibrate pot" routine to go with the "pot" command, that just uses an led to to tell you when the pot is calibrated
MarkK is offline  
Old 20th May 2004, 04:21 PM   (permalink)
Default

I guess some time I would like to be able to compare strings. PIC BASIC PRO can't, so it would be a good think to have.
ivancho is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 06:20 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker