How to install Turbo Pascal on Windows 7 64bit

For all Turbo Pascal fans we have prepared instructions how to install Turbo Pascal on 64 bit version of Windows 7.

1. Install the software DOSBox ver 0.73 : download here
2. Create new folder, for example „Tp“ (c:\Tp\)
3. Download Turbo Pascal here and extract all files from pascal.zip to c:\Tp\

1 How to install Turbo Pascal on Windows 7 64bit

4. Go to Start Menu and click on “Configuration” and then “Edit Configuration“.

Then scroll down to the very end, and add the lines which you want to automatically execute when DOSBox starts.

2 How to install Turbo Pascal on Windows 7 64bit

5. Scroll down to the very end, and add the lines:

mount d c:\tp\

d:

cd bin

tpx

6. In the Turbo Pascal goto Options>Directories> Change the source of TP to the source directory [D]
( i.e. virtual D: refers to original C:\TP\ . So make the path change to something like D:\…)

Please note!
Full screen: Alt and 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 TP because they might be a shortcut keys for DOSBox also. Eg: Ctrl+F9 will exit DOSBox instead of running the code.

VN:F [1.9.22_1171]
Rating: 7.9/10 (191 votes cast)
How to install Turbo Pascal on Windows 7 64bit, 7.9 out of 10 based on 191 ratings
Be Sociable, Share!
  • more How to install Turbo Pascal on Windows 7 64bit

54 comments to How to install Turbo Pascal on Windows 7 64bit

  • jami

    Good alternative is Lazarus

    VA:F [1.9.22_1171]
    Rating: -4 (from 18 votes)
  • MailerDemon

    Nothing Worked
    I seriously need Help
    !!

    VA:F [1.9.22_1171]
    Rating: +22 (from 36 votes)
    • Hassassin

      @mailerdemon

      just follow the steps… do in step 5 you have to put:
      mount d c:\tp\TurboPascal-7.0\ {which is the folder directly containing the “BIN” folder, if not it won’t find it.
      The rest is the same.

      VA:F [1.9.22_1171]
      Rating: +11 (from 21 votes)
  • Mic

    download a frontends is better solution to use simpely DOS BOX:
    look at this following link:
    http://www.dosbox.com/download.php?main=1
    personnaly i use D-Fend Reloded

    VA:F [1.9.22_1171]
    Rating: +6 (from 10 votes)
  • Mikey

    Pardon me for my ignorance but I don’t quite get step 6. Could you kindly please include a picture, where to find that Options/Directories? And how to run the program afterwards using DOSBox?

    VA:F [1.9.22_1171]
    Rating: +60 (from 68 votes)
  • Thomas

    Hello.thx for pascal,it works perfectly.Ihave got only one problem.I cant work with files like .txt, becouse it writes ,,the path not found”.i give the path in program,but it doesent find it.in may I will have my exams in high school,it will be good,if somabody helps mee.thanks

    VA:F [1.9.22_1171]
    Rating: -2 (from 6 votes)
  • i have problems too with TPX file, but i’ve resolve with problem so:

    mount c c:\tp\

    c:

    cd bin

    turbo

    VA:F [1.9.22_1171]
    Rating: +1 (from 7 votes)
  • 1. You must copy TP to D:\
    2. Then correct

    “mount c c:\tp\

    c:

    cd bin

    turbo”
    TO
    “mount c d:\tp\

    c:

    cd bin

    turbo”

    Try.
    I have a problem: when i try to RUN a program(in TP7 ofcouse) its write “Turbo Pascal Ver 7.0 Copyright (c) 1983,91 Borland…”
    what it is ???

    VA:F [1.9.22_1171]
    Rating: +3 (from 7 votes)
    • Albert

      hey dima, I think I have an answer to you problem. Try to compile you file from “game”.TP to “game”.exe then go to the folder “TP” and find “game”.exe. drag it to you desktop or to another folder or puplish it on the internet. if you start the game in exe mode the “Turbo Pascal Ver 7.0 Copyright…” is gone.

      How to Compile: clik on <> in menu or tap Alt-F9, then a new window will popup in max. 5 sec. press any key and you are back to the editer window. Turbo Pascal has now Compilet your to an exe file.

      VA:F [1.9.22_1171]
      Rating: +3 (from 5 votes)
  • Thomas

    thanks 4 help.I tried it,but it does not work.
    “path not found”-the same problem.have you got an another idea ?!?

    VA:F [1.9.22_1171]
    Rating: 0 (from 4 votes)
  • Albert

    Hey Thomas, did you try to run Turbo Pascal with out the DOSBOX, it’s very
    simpel.

    How to do it: Unzip all files in the Turbo_pacal_7.0 folder. Open the folder “BIN” and dubble clik on the program “Turbo” if a virus secureti window is pupping up clik permit and then Turbo Pascal hopefully is driveing. If it dosen’t works download Turbo Pascal ver 7 again and repeat.
    I dont have windows-7 but windows-vista i’m almost sure it is the same.
    If you wont to read a DOS_text/TXT or edit it, drag it to the Turbo program in the Turbo_Pascal7.0 folder and then its driving!

    Ps. when you open the “Turbo” file a window is poping op whith the text “ivalid file or extension” then clik ok.

    VA:F [1.9.22_1171]
    Rating: -4 (from 6 votes)
  • Francisco

    Olá pessoa! Eu conseguir mais no ítem 4 colocando no final do arquivo EDIT (bloco de notas) o seguinte:

    ———————
    mount c: \ tp \

    c:
    cd tp
    cd bin
    turbo.exe

    E claro, obdecendo rigorosamente todos os ítens.

    VA:F [1.9.22_1171]
    Rating: +4 (from 8 votes)
  • Jurijs

    Before this hint pascal started but compilation not worked, but now it won’t start at all.

    VA:F [1.9.22_1171]
    Rating: -2 (from 4 votes)
  • montejos

    I have a problem with the “;” I cannot put it.
    does anybody knows what could it be?

    VA:F [1.9.22_1171]
    Rating: +1 (from 5 votes)
  • Joseph

    Pls help! I can’t type apostrophe (‘) in my pascal environment.

    VA:F [1.9.22_1171]
    Rating: +2 (from 8 votes)
  • jean

    i don’t see the “configuration” and “edit conf” help please

    VA:F [1.9.22_1171]
    Rating: +10 (from 18 votes)
  • Jean, here it is:
    http://noob.hu/2010/08/15/opt.png

    Open it, scroll down, and pase the commands.

    I have problems with the apostrophe too… :S

    VA:F [1.9.22_1171]
    Rating: +1 (from 9 votes)
  • ju

    the apostrophe works on my keyboard ([Shift]+[the key next to return/above the right shift-key]).
    Maybe check your keyboardlayout (you can set it right above the autoexec-part in the configuration file of dosbox.).
    I’m using a german keyboard – the apostrophe has its usual place.

    It is also possible to download language stuff for dosbox (haven’t tried it yet).

    VA:F [1.9.22_1171]
    Rating: +1 (from 3 votes)
  • ju

    “the apostrophe has its usual place” means I type it on my keyboard where I type it in any other application.

    @ascension: Maybe dosbox doesn’t support Hungarian??

    Good Luck!

    VA:F [1.9.22_1171]
    Rating: -3 (from 5 votes)
  • ju

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

    1. press [ctrl]+[F1] while running pascal to view/change the mapper commands.

    2. click on “ShutDown”,
    3. then (click) on “del”,
    4. then (click) “add”
    5. and then type (!) any key on your keyboard
    (e.g. 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 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.

    VA:F [1.9.22_1171]
    Rating: +13 (from 15 votes)
  • Joseph

    Pls help me, My current DOSBox version 0.73 does not permit ‘ in my pascal program. This means I can’t string my characters. Help!

    VA:F [1.9.22_1171]
    Rating: 0 (from 2 votes)
    • Shaun

      Hello Joseph,
      You don’t use the ‘ symbol for string, you need to use the single quote ‘ for it.

      Regards,
      Shaun

      VA:F [1.9.22_1171]
      Rating: +2 (from 2 votes)
  • Aso

    Lets make it clear :) I cant type apostrophe and it is one of the main things about writing a code in my opinion..how can we fix it?

    thanks

    VA:F [1.9.22_1171]
    Rating: -1 (from 3 votes)
  • gajendra nath shukla

    thanks a lot .i have successfully installed c++ in windows7 64 bit version using dosbox

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  • Brown

    Why DosBox keep saying “unable to change” to any folder, I tried to run the program as an administrator, same o thing :(

    VA:F [1.9.22_1171]
    Rating: +4 (from 4 votes)
  • Phan Minh Tien

    the install wrote: too many subdirectories. i don`t setup. help meeeeeeeeeeeeeeee

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • pradina

    excuse me ,,
    i’am don’t see the configuration on the start menu – DosBox.
    just a file extra adn option there ..
    help me soon,please!!!
    (kalau bisa jawabnya pakai bahasa indonesia)
    thanks ..

    VA:F [1.9.22_1171]
    Rating: +2 (from 4 votes)
  • Tina

    Sorry, I meant “you need no confguration” ** :P

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • abdel hamid

    thanksssssssssssssssssssssssssssssssssssssssssssssssssssssssss

    VA:F [1.9.22_1171]
    Rating: +2 (from 2 votes)
  • bongos

    Chciałem sie spytać ten punkt 4 i 5 to nie sa takie same.. bo czegoś tu nie rozumiem na obrazku pisze mount d c:\tp\ , d:, cd bin, turbo…w 5 punkcie jest to samo polecenie tylko zamiast turbo jest TPX oraz mount dc zamiast mount d … wiec jak z ty7m jest..

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • ggg

    I cant understand Step 6, what exacly u tell us to do?
    open options>directories what next? change what to what? screenshot would be great.

    VA:F [1.9.22_1171]
    Rating: +4 (from 4 votes)
  • juan

    THANK YOU GUYS…. THAT’S AWESOME…. NOW I HAVE PASCAL…
    MAY THE LORD BLESS YOU GUYS!!!!!!111
    MY BEST REGARDS..

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • Dido

    Even when I type a simple program, which to calculate the perimeter of a triangle, I get a window in which I type my both numbers, and when I click Enter(to see the answer) the window closes by itself.. :S

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • Szekler

    Hey, I have the same problem all the time, I try to use the graph unit, but the Pascal can’t find it, I tried all the way to solve this, but it doesn’t work (Windows 7). I need the solution for Windows 7 platform, thanks for those who help me.

    Váncsa Szilárd, Romania.

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
    • Szekler

      :) I solved the problem, if someone has the same error, then ask it.

      VA:F [1.9.22_1171]
      Rating: +1 (from 1 vote)
      • technics

        How did you solve it? I cannot get any button displayed in TP-programs for Windows 7 – on Windows XP the programs just work fine.

        VA:F [1.9.22_1171]
        Rating: +1 (from 1 vote)
  • ghostmaroc

    Hey Dido don’t forget the Readln at the end of your algorithm its the one responsible for the Dos window not to close..otherwise the program runs but doesn’t display anything… hope it helped ya

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • Andreas

    Great program.
    But I have problem with wincrt.
    When I type “uses wincrt” it doesn’t regognise it.

    Do you know how can I solve this problem.

    Thanks

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • Navoj

    For those who have problems typing the apostrophe, just press ctrl+F1, then you can see a keyboard, click the apostrophe there, click the ‘del’ shown below. Click ‘add’ again and press any key in your keyboard where you want to assign the apostrophe key. Then Click ‘save’ and exit. Thats all. The apostophe will now work when you press the newly defined key.

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • Amrit virk

    thankussssssssssssssssssssssssssssssssss for dwonload

    VA:F [1.9.22_1171]
    Rating: +2 (from 2 votes)
  • Rio

    I cannot find the “Edit Configuration” option…
    Could it be what ?

    VA:F [1.9.22_1171]
    Rating: +2 (from 2 votes)
  • israr

    thanks good work

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • Yay! it really works but.. the dosbox that u mentioned there have no configuration,,, change that so the people will get the ryt installation..
    opening turbo.exe doesn’t really work
    i Opened DOsbox, it brings the same look as turbo pascal,,, is it okay?? normal???

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • Srdjan

    Can anybody help me? I have a problem when I run the program… For example, if I want to run a simple program which calculate the sum of two numbers, then in program when I enter first and second number, and press enter, it brings me back to the begining screen (blue), and when I want to start the program again, i can’t… Actually, I can’t even open any of the tasks in the menu bar… HELP, PLEASE… Maybe I made a trivial mistake, but forgive me, I am beginner…

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • Nobody

    Work!!!!!!! Thanksssssssssss ……:D

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • Bence

    I have problem with unit graph…when i use graph it writes error:15 file not found(graph.tpu)

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • Robert

    Thank you very much!It really works for me. ;)

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)

Leave a Reply