Turbo51 IDE

Pascal Compiler for 8051 Microcontrollers

Turbo51 is only a command-line compiler. There is no IDE or editor. To write your code you can use any IDE or editor of your choice. In addition to the proposals listed here, below you can find two free IDE solutions for Turbo51:

  • MC-51 - a complete editor/simulatior/debuger for 8051 microcontrollers which contains integrated Turbo51 compiler (and a big collection of units for many microcontrollers of the 8051 family)
  • PSPad - a great customizable editor with instructions for Turbo51 integration.

Free Programmer's Editors, IDE, ASCII Text Editors

This page lists free programmers' editors, Integrated Development Environment or IDEs, syntax highlighting code editors, and the like that are useful to programmers for writing the source code of a program.

Free Windows Editors

Here is another site with free Windows editors. Many of them also support syntax highlighting and running external programs.

Monospace/Fixed Width Programmer's Fonts.

In any case you will need some nice monospaced font. These are a very cool fixed width fonts.



MC-51

Integrated Development Environment for 8051 Microcontrollers

MC-51 is an Integrated Development Environment (IDE) for the 8051 family of microcontrollers and contains:

  • text editor with syntax highlighting to create Assembler and Pascal sources;
  • interface to the Turbo51 Pascal compiler;
  • interface to the ASEMW assembler;
  • integrated simulator and debugger for all basic 8051 functions including timer and serial interface;
  • terminal window to communicate with a monitor program inside the microcontroller and to download programs into the memory of the microcontroller using the Intel Hex format;
  • module for flash programming Atmel AT89S8252/53 microcontrollers using the serial interface.
Turbo51 with MC51

To compile source files MC-51 calls command line programs (ASEMW or Turbo51) with the adequate parameters and displays output messages. Clicking on an error message lets the editor directly jump to the line containing the error. The integrated text editor uses components from the open source project SynEdit. In addition to many extended editor functions SynEdit supports syntax specific highlighting of source code. Many of these features can be individually adjusted by the user. With MC-51 you also get a big collection of units for many microcontrollers of the 8051 family.

MC-51 includes also a simulator/debugger. With it you can trace program execution without any hardware.

MC51 Simulator

Turbo51 Studio

Integrated Development Environment for 8051 Microcontrollers

Turbo51 Studio is another free Integrated Development Environment for Turbo51 Pascal and ASEM-51 macro assembler compilers. The IDE includes everything you need to edit, compile, debug and simulate an embedded project: an interface to command line compilers, debugger, simulator, oscilloscope, terminal console and many other cool tools.

turbo51-studio

PSPad

PSPad is a freeware programmer's editor for Microsoft Windows operating systems, useful for people who:

  • work with various programming environments
  • like highlighted syntax in their source code
  • need a small tool with simple controls and the capabilities of a mighty code editor
  • are looking for a tool that handles plain text
  • want to save time - PSPad offers rich text formating functions
  • need tool what offer user extension capabilities
  • want to save money and still have the functionality of professional products because PSPad is free for commercial and government purposes too

PSPad Turbo51 integration

Short instructions for Turbo51 integration:

  • Install Turbo51 and PSPad
  • Configure PSPad
    • Select menu Settings/Highlighter settings
      • Select Object Pascal
      • Set colors to your preference
      • Select Compiler tab and set
        • Path (e.g. D:\Turbo51\bin\Turbo51.exe)
        • Parameters (including double quotes): "%File%" /Q /M /A /H /C /OX
        • Check Save All Files Before compilation, Capture Program Output Window and Hide Output Window
        • Log parser: %F (%L,%C) ;Turbo51
    • Select menu Settings/Program settings
      • Select Program (part 2) and uncheck Follow compilation progress in LOG
      • Select Colors and set them to your preference
    • Select menu Format/Font and select your favorite font (see above for useful source)

Now open some Pascal file and hit Ctrl-F9 to run Turbo51. If there are no errors you will get bin, hex and asm files. If there is some error the PSPad will parse Turbo51 output and set cursor position exactly where the error has occurred.

Copyright © 2017 Igor Funa. All Rights Reserved. Terms, Conditions and Privacy policy