How to install and start Turbo Pascal on Windows 10 x32 / x64

  1. Download and install : https://www.windows10download.com/dosbox/
  2. Download the Turbo Pascal files: https://www.windows10download.com/turbo-pascal/
  3. Create a folder, for example „Turbo“ c:\Turbo\
  4. Extract Turbo Pascal into the Turbo folder c:\Turbo\
  5. Run the DOSBox from the icon located on the desktop and type the following commands at the command prompt [Z]: mount d c:\Turbo\

Now you should get a message which says: Drive D is mounted as a local directory c:\Turbo\

  1. Type d: to shift to Drive D

screen1

  1. To run the install type: install.exe   and press 2x Enter

screen2

  1. Enter the Source drive: D and press Enter to continue

screen3

  1. Enter the Source path: \ and press Enter to continue

screen4

  1. In directories specify where Turbo Pascal files are copied, e.g. D:\TP . When done go to start installation and press Enter

screen5

  1. Successful installation – press any key to continue to view readme file

screen6

  1. Successful installation – to exit press [ESC] and close DOSBox. Installation of Turbo Pascal is done

screen7

Start Turbo Pascal in the DOSBox automatically:

  1. For DOSBox versions older than 0.73 browse into program installation folder and open the “dosbox.conf” file in any text editor. For version 0.74 go to Start (press key [WIN]) and find “DOSBox 0.74 options“ in all app menu

screen8

  1. Scroll down to the very end, add the lines below, save, close and run DOSBox now:

mount d c:\turbo\

d:

cd tp

cd bin

turbo

screen11

  1. Automatically mount and start Turbo Pascal in DOSBox

screen12

Please note:

Full screen: press [Alt] + [Enter]

When you exit from the DOSBox [precisely when you unmount the virtual drive where Turbo Pascal has been mounted] all the files you have saved or made changes in Turbo Pascal will be copied into the source directory (the directory which contains TP folder)

Don’t use shortcut keys to perform operations in Pascal because they might be a shortcut key for DOSBox also. E.g. [Ctrl]+[F9] will exit DOSBOX rather running the code.

How to use [Ctrl]+[F9] (“Run”) without closing down DOSBox

  1. press [ctrl]+[F1] while running Turbo Pascal to view/change the mapper commands.
  2. click on “ShutDown”,
  3. then (click) on “del”,
  4. then (click) “add”
  5. and then press q on your keyboard. Then click “mod1″ in the lower left corner to close DOSBox with [ctrl]+[q]
  6. click on “save”

Now you can use [ctrl]+[F9] in Turbo Pascal as usual and [crtl]+[q] to close DOSBox.

You can do the same with [ctrl]+[F1] (for topic search) by clicking on “mapper” and changing the command as described above.

To reset the mapping, just run the “Reset KeyMapper”-file in the DOSBox folder.

About Author: admin

9 thoughts on “How to install and start Turbo Pascal on Windows 10 x32 / x64

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.