Instructions for installing and using Pascal on computers

On modern operating systems, particularly 64-bit Windows, it usually doesn't support 16-bit applications, which is why you can't run 16-bit applications like Turbo Pascal, which you can't. move your operating system to old Windows versions like before to use Turbo Pascal.

Now you will need a solution, which is to use a DOS emulator, called Dosbox, which will allow you to run "aged" applications, including the Pascal programming language, If you do not know how to run Pascal on Dosbox , please check out the article below to do it.

 

Instructions to install and use Turbo Pascal on the computer

1. Install Pascal and Dosbox on the computer

Step 1: Download Dosbox at the download button above and boot up, select Next.

Instructions for installing and using Pascal on computers

Continue to click Next .

Instructions for installing and using Pascal on computers

If you want to change the Dosbox installation directory, click Browse ... and select the containing directory, leave it blank and click Next.

Instructions for installing and using Pascal on computers

Wait for the installation to complete and click Close.

Instructions for installing and using Pascal on computers

Next is Turbo Pascal, you also download in the download button above, launch the installation file and click Install.

Instructions for installing and using Pascal on computers

2. Create a Dosbox path for Turbo Pascal

Step 1: Go to the desktop, right-click on the desktop and select New> Shortcut.

Instructions for installing and using Pascal on computers

Step 2: In the Type the locatin of the item section, paste the following command and click Next.

"C:\Program Files (x86)\DOSBox-0.74\DOSBox.exe" -noconsole -c "mount c c:\tp" -c "c:" -c "cd bin" -c "cls" -c "turbo.exe" -c "exit"

If you're using 32-bit Windows 7 or Windows XP, you can still run Turbo Pascal but copy the following command:

"C:\Program Files\DOSBox-0.74\DOSBox.exe" -noconsole -c "mount c c:\tp" -c "c:" -c "cd bin" -c "cls" -c "turbo.exe" -c "exit"

Instructions for installing and using Pascal on computers

Explain the command line parameters above:
+ " C: \ Program Files (x86) \ DOSBox-0.74 \ DOSBox.exe " is the path to DOSBox software, you can change the path if you install Dosbox in the directory other.

+ -noconsole is the option not to display the DOSBox Console window (when DOSBox launches, it will come with a Console window and this window is not necessary, we just need to simulate the DOSBox screen screen).

+ -c and then a command between parentheses to execute DOS commands, "mount cc: \ tp" is to mount the C: \ tp directory for DOSBox C's drive, "c:" is the switch drive working on drive C, "cd bin" is to move the working directory to the bin folder, "turbo.exe" is the call to Turbo Pascal, "exit" is the command to exit DOSBox after Turbo Pascal is finished.

 

Step 3: Then rename it to Turbo Pascal 7.0 at Type a name for this shortcut and click Finish.

Instructions for installing and using Pascal on computers

Step 4: At this time you will see your Shortcut has changed, click on it and you will be started Turbo Pascal up.

Instructions for installing and using Pascal on computers

Because DOSbox has some shortcuts that overlap with Pascal's keyboard shortcuts, you'll have to cancel those shortcuts by pressing Ctrl + F1.

Next, you will see the DOSM KeyMapper window pop up, click Shutdown , then press Del below, then similarly press the Mapper and Del keys again. (The Shutdown key is the same as Ctrl + F9 which is the RUN command of Turbo Pascal, and the Mapper key is identical to Ctrl + F1 is the Turbo Pascal help call).

Instructions for installing and using Pascal on computers

Now you can use Turbo Pascal on DOSbox without fear of duplicate shortcuts anymore.

Instructions for installing and using Pascal on computers

Note: If you click on the DOSbox's working window when running Turbo Pascal, the mouse cursor will be locked in it, then if you want to take the mouse pointer out, just press Ctrl + F10 , or more simply, press Alt + Tab .

When you click on the workspace of Dosbox when running Turbo Pascal, the mouse cursor will be locked in it, you use Ctrl + F10 to bring the cursor out.

Instructions for installing and using Pascal on computers

Above is the instruction to install Turbo Pascal on the computer, with DOSbox emulation software, you can easily run Turbo Pascal on the computer and edit your programming language already.

In addition to Turbo Pascal, there is another programming software that is also widely used, which is Notepad ++ , a free programming tool that helps you draft free programming languages, supporting multiple languages. Various programming like ASP, PHP, Java, C #, Python ...

With the advantage of being lightweight, simple and an indispensable tool that all programmers should use, check out the article Notepad ++ User Guide for beginners.

Sign up and earn $1000 a day ⋙

Leave a Comment

Instructions for changing Weibo account name

Instructions for changing Weibo account name

Weibo social network also has the same setting options as other social networking applications such as changing Weibo account password or changing account name to a new name you like.

Instructions for creating and using BAT files on Windows

Instructions for creating and using BAT files on Windows

Batch files are a way for computer users to get work done. They can automate everyday tasks, shorten the time it takes to do something, and turn a complex process into something anyone can operate.

Instructions for downloading Minecraft for free on iPhone

Instructions for downloading Minecraft for free on iPhone

With the instructions in the article you can download and install Minecraft for free on iPhone/iPad

Instructions to change the default PDF reader on Windows 10

Instructions to change the default PDF reader on Windows 10

There are many different ways to change the default PDF reader on Windows 10, helping you get the PDF reader on your computer as you like through PDF reading software or even reading PDF files using a browser.

How to convert video to GIF on iPhone

How to convert video to GIF on iPhone

The Shortcuts app on iPhone has a shortcut to convert videos to GIFs with very simple operations.

Step by step guide to creating and interpreting numerology charts by name

Step by step guide to creating and interpreting numerology charts by name

Numerology reveals exactly what's in your name. From destiny to soul path, here's how to calculate your numerology chart based on your name.

How to choose video caller in WhatsApp group

How to choose video caller in WhatsApp group

WhatsApp has been updated with a new feature to select video callers in groups, no need to make a call with all members in the group. Here is a guide to select video callers in WhatsApp groups.

How to use Meta AI chatbot on Messenger

How to use Meta AI chatbot on Messenger

Meta AI has been updated on Messenger for you to experience this chatbot, interact with the chatbot for any issue you care about.

Instructions for inserting stickers into photos on iPhone

Instructions for inserting stickers into photos on iPhone

If you have a personal photo that you want to cover some information or even a certain image, you can insert stickers into the photo on iPhone.

How to delete Google account

How to delete Google account

For some reason, you no longer want to use your current Google account, and want to completely delete it. So how can you permanently delete your Google account?

How to use ChatGPT on WhatsApp

How to use ChatGPT on WhatsApp

You can now chat with the official ChatGPT on WhatsApp without resorting to third-party chatbots.

How to search for files using Copilot on Windows 11

How to search for files using Copilot on Windows 11

On Windows 11 you can now use the Copilot app to find, open, and ask questions about files stored on your computer.

How to remove objects in photos on iOS 18

How to remove objects in photos on iOS 18

iPhone 15 and later after upgrading to iOS 18 are equipped with new Apple Intelligence technology, capable of removing objects in photos via the Clean Up tool.

How to create Snoopy style images using ChatGPT

How to create Snoopy style images using ChatGPT

Not only does ChatGPT feature AI photo generation using your description, you can now create Snoopy style photos very simply.

How to enable Android System WebView

How to enable Android System WebView

Android System WebView is a feature that allows apps to open web content within the app itself instead of opening it in another browser.