Integrated development environment

boolean byte code data dptr file function high idata lcall memory module procedure record register segment type value xdata 8051

Integrated development environment

## Turbo51 - Free Pascal compiler for 8051

| 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. Here you can find some proposals:

| 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. Here you will find some very cool fixed width fonts.<

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

### 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.