Girish Mahajan (Editor)

Virtual Pascal

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Original author(s)
  
Vitaly Miryanov

Development status
  
unmaintained

Developer(s)
  
Allan Mertner

Initial release
  
1995; 22 years ago (1995)

Stable release
  
2.1.279 / May 13, 2004; 12 years ago (2004-05-13)

Written in
  
Object Pascal and Assembler

Virtual Pascal is a free 32-bit Pascal compiler, IDE, and debugger for OS/2 and Microsoft Windows, with some limited Linux support. Although it had a wide user base in the late 1990s, VP has not evolved significantly since 2001, and after a few maintenance-only releases, the owner declared that development had ceased in 2005. Virtual Pascal was developed by Vitaly Miryanov and later maintained by Allan Mertner.

Contents

Features

The compiler is compatible with Turbo Pascal, Borland Delphi, and Free Pascal, although language- and RTL-compatibility is limited for features introduced after Delphi v2 and FPC 1.0.x.

VP was primarily useful for the following purposes:

  • Easily port existing 16-bit Turbo Pascal programs to 32 bits
  • Port existing 16-bit OWL programs to 32-bit Windows (in theory)
  • Write console (text-mode) programs for several platforms
  • Pascal development using the 32-bit Windows API (the classic development, no COM!)
  • Learn object-oriented programming
  • Significant features of Virtual Pascal include:

  • Text-mode IDE
  • Debugger is integrated directly into the IDE and is reminiscent of Turbo Debugger
  • Fast compilation
  • Tool-chain written mostly in Intel assembly
  • History

    The compiler was quite popular in the BBS scene, probably because of its OS/2 port and being one of the few affordable multi-target compilers. Also Turbo Pascal had been popular in the BBS scene too, but its successor, Delphi was suddenly for Windows only. Virtual Pascal provided a migration path for existing codebases.

    There has been pressure from some users for Virtual Pascal to be made into open-source software. This has not been done, provided the following reasoning:

  • The compiler source is mostly written in Intel assembly which is hard to change and maintain.
  • Part of the run-time library is proprietary to Borland (The FreePascal run-time library was ported to VirtualPascal by Noah Silva, however newer versions of the FreePascal RTL use features of the FreePascal compiler which are not supported by VirtualPascal, and so can not be ported).
  • The patch/diff tool to work around the above (provide changes to proprietary without distributing parts of the original) was proprietary and (win)16-bit only.
  • Documentation and help are maintained with expensive (and sometimes no longer available) proprietary tools
  • There is nobody who fully understands the code. Allan said that some of the deeper areas were no-touch for him (original code by Vitaly)
  • References

    Virtual Pascal Wikipedia