Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-other / 2008-07

Turbo51

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marco van de Voort
to Jonas Maebe
Show quoted text 5 lines
I just got a Google alert for a new release of the Turbo51 compiler. It's a TP-compatible compiler for the 8051 microcontroller family. It's freeware, but not open source. http://www.turbo51.com

I browsed a bit there and it looks pretty cool! It seems to have full shortstring support at a first glance, and in general more of the BP dialect then most 8-bit dialects. T

The extensions are what one would expect (segment modifier and bit access. It also supports "our" %110101 syntax).

The only strange thing I found is this:

------------
* Local variables

All local variables in normal (non-reentrant) procedures and functions are static. They are placed like global variables but are accessible only in local scope. Default memory type for local variables can be set with compiler directive $ML MemoryType (DATA, IDATA or XDATA) and defaults to DATA. This memory type can be overridden for each variable declaration. ---------

(and same for params) I think it makes sense for embedded programming though, since it simplifies calling conventions. OTOH, they generally don't have that much fast RAM.

Pitty that we use (16-bit) Microchip nowadays.....

Reply by email

Marco van de Voort
to Felipe Monteiro de Carvalho
I think that the biggest problem for using it in a commercial project is that it is not open source and a hobby project. There is a risk it gets abandoned.

Yes. But that depends on the scale of you rusage.

For PIC microcontrollers there is a good amount of a Pascal compilers.

For 8-bitters there are some, but for 16 none. Moreover I didn't like the that much.

To be honest, there is no point also, since we mostly only instrument the hardware building blocks.

Reply by email