Electronics Forum -> Free Pascal Compiler For 8051

Electronics Forum | Help Search Members Calendar

Welcome Guest ( Log In | Register ) | Resend Validation Email

Electronics Forum -> Digital Electronics and Embedded Design -> Embedded Designs
Forum Rules (Please read before posting)

Free Pascal Compiler For 8051, Free pascal compiler for 8051
Track this topic | Email this topic | Print this topic

funa | Posted: May 28, 2008 08:47 am

Newbie
Group: Members
Posts: 3
Member No.: 15,387
Joined: May 28, 2008

For those who like programming in pascal here is Turbo51 - a free pascal compiler for the 8051 family of microcontrollers:
Turbo51
[EDIT] Be aware this is NOT a Borland product, and is in fact developed by the poster. Use at your own risk. It's free however, so I didn't remove the link. Mac [/EDIT]
It features a fast single pass optimizing compiler, Borland Turbo Pascal 7 syntax, full floating point support, mixed pascal and assembler programming, full use of register banks, advanced multi-pass optimizer, smart linker, generates compact high quality code, output formats include binary, Intel HEX and assembler source.
Try it!
Igor
This post has been edited by MacFromOK on May 28, 2008 09:36 pm
--------------------
Turbo51 - Free Pascal compiler for 8051
http:// turbo51.com

JoOngle | Posted: May 28, 2008 09:19 am

Forum Addict ++
Group: Spamminator Taskforce
Posts: 3,030
Member No.: 3,818
Joined: December 12, 2005

Hi Igor,
Thanks for the heads up! And welcome to the forum.
Your timing is impeccable as I just have come over a bunch of 87c51fc that
I´m about to learn to program for my hobby applications, I´ve been contemplating using assembly, but I also realized that I need to learn a lot more
than just assembly for this (I know 68000 & 6510 assembly from the Commodore
days)
But the Pascal language seem a lot easier than both C and Assembly and resemble basic somehwat, especially if you don´t have to use a gazillion calls to invoke various libraries? It seems somewhat daunting to me, but this seems easier somehow.
Question:
Let´s say I learn Pascal to program my 8x51´s... can I just output the
compiled data to a raw-data file? My burner is kind of old-school and I don´t
use a "Loader" to load hex files that are ascii-editable, but just pure raw data....
like if you copied an eprom?
--------------------
vidi veni vici

MacFromOK | Posted: May 28, 2008 09:34 pm

Forum Addict ++
Group: Trusted Members
Posts: 5,985
Member No.: 5,314
Joined: June 04, 2006

I edited the original post to reflect that this is NOT a Borland product, and is in fact developed by the poster. Use at your own risk.
Igor, IMO you're pushing your luck by doing this in your first post, but since there are no products for sale at the link (albeit you do mention donations), I left it. You might want to check our forum rules here though.
Welcome to the forum btw.
--------------------
Mac *
"Basic research is what I'm doing when I don't know what I'm doing." [Wernher Von Braun]
* is no longer responsible for anything.

funa | Posted: May 29, 2008 07:29 am

Newbie
Group: Members
Posts: 3
Member No.: 15,387
Joined: May 28, 2008

Hi JoOngle,
The basic output of the Turbo51 compiler is a binary file that can be directly programmed into microcontroller or EEPROM.
igor
--------------------
Turbo51 - Free Pascal compiler for 8051
http:// turbo51.com

JoOngle | Posted: May 29, 2008 08:29 am

Forum Addict ++
Group: Spamminator Taskforce
Posts: 3,030
Member No.: 3,818
Joined: December 12, 2005

QUOTE (funa @ May 29, 2008 07:29 am)
The basic output of the Turbo51 compiler is a binary file that can be directly programmed into microcontroller or EEPROM.

Nice
--------------------
vidi veni vici

funa | Posted: September 23, 2008 07:12 am

Newbie
Group: Members
Posts: 3
Member No.: 15,387
Joined: May 28, 2008

Turbo51 can now generate also absolute OMF-51 extended object file needed for source-level debugging. You can use Keil uVision, Silabs IDE, Raisonance RIDE or any other IDE/debugger that supports OMF-51 object files.
Turbo51
Igor
--------------------
Turbo51 - Free Pascal compiler for 8051
http:// turbo51.com

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Embedded Designs | Next Newest »

Close Topic Options
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.

:: support us ::

ElectronicsSkin by DutchDork & The-Force
Powered by Invision Power Board(U) v1.3.1 Final © 2003 IPS, Inc.