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 ⋙

Find out how to find friends and family using online services

Find out how to find friends and family using online services

In today's world, where information is more accessible than ever before, finding long-lost friends or relatives has become much easier. Online services for finding people provide convenient and effective tools that allow you to restore lost connections.

IObit Uninstaller 13 - One Click to Uninstall All Unwanted Programs

IObit Uninstaller 13 - One Click to Uninstall  All Unwanted Programs

In the busy software utilities industry, the available uninstallation tools are often overshadowed by more glamorous alternatives. Nonetheless, an excellent way of removing programs on a PC is vital for optimal system performance and the elimination of unwanted applications.

Instructions for creating Moon phase trend

Instructions for creating Moon phase trend

Instructions for creating a Moon phase trend. The Moon trend is extremely popular on TikTok, creating an unprecedented fever. Through Moon phase will help you know the date

How to edit videos posted on YouTube without losing views

How to edit videos posted on YouTube without losing views

How to edit videos posted on YouTube without losing views, You forgot to blur sensitive content in videos posted on YouTube. Don't worry, here's how to adjust it

How to enable dark mode on TikTok

How to enable dark mode on TikTok

How to turn on dark mode on TikTok, How to turn on dark mode on TikTok is not difficult. The article will guide you in detail how to change the TikTok interface to black on Samsung

Shirt size chart - How to choose the most accurate shirt size

Shirt size chart - How to choose the most accurate shirt size

Shirt size chart - How to choose the most accurate shirt size, What is the shirt size chart? Shirt size means only the size and size of the shirt or pants. Shirt size varies according to direction

Instructions for drawing prizes to receive Lucky Money on ZaloPay

Instructions for drawing prizes to receive Lucky Money on ZaloPay

Instructions for drawing prizes to receive Lucky Money on ZaloPay. Recently, Zalo has launched the program "Amazing lucky money, Happy Spring Luck" taking place from January 29, 2021 to

How to view and recover Microsoft Outlook password

How to view and recover Microsoft Outlook password

How to view and recover Microsoft Outlook password, How to view Outlook password on computer is not difficult. This article will guide you how to view and recover Outlook password

Instructions for creating and searching for draft posts on Facebook

Instructions for creating and searching for draft posts on Facebook

Instructions for creating and searching for draft articles on Facebook. Currently, we can save articles that we have created but have not yet posted on Facebook. Here, WebTech360 invites

How to set up LibreOffice Writer to work like Microsoft Word

How to set up LibreOffice Writer to work like Microsoft Word

How to set up LibreOffice Writer to work like Microsoft Word, If you're planning to switch from Microsoft Word to LibreOffice Writer but want a similar experience

Instructions for turning off saving videos on TikTok are extremely simple

Instructions for turning off saving videos on TikTok are extremely simple

Instructions for turning off saving videos on TikTok are extremely simple, to help people block others from downloading and saving their videos simply and easily. So today, WebTech360

Instructions for creating genealogical and organizational charts on Google Sheets

Instructions for creating genealogical and organizational charts on Google Sheets

Instructions for creating genealogical charts and organizing them on Google Sheets. Google Sheets is an online office application that helps us easily edit online spreadsheets,

How to import and manage multiple email accounts in Gmail

How to import and manage multiple email accounts in Gmail

How to import and manage multiple email accounts in Gmail, Want to manage all emails in Gmail? Let's learn how to manage and add multiple accounts with WebTech360

Instructions for using Photoshop filters for beginners

Instructions for using Photoshop filters for beginners

Instructions for using Photoshop filters for beginners, Each filter in Photoshop has its own algorithm and uses. Below are instructions for using the internal filter

How to create automatic clicks on Macrorify

How to create automatic clicks on Macrorify

How to create automatic clicks on Macrorify, Macrorify helps you create automatic click tasks and detect images. In this article, let's find out how with WebTech360

Instructions for logging out of Instagram account remotely

Instructions for logging out of Instagram account remotely

Instructions for remotely logging out of your Instagram account. If you don't know how to remotely log out of your Instagram account, today WebTech360 would like to introduce

Instructions for remotely logging out of Tik Tok account

Instructions for remotely logging out of Tik Tok account

Instructions for remotely logging out of Tik Tok account. To help people quickly log out of Tik Tok accounts from other devices, today WebTech360

Instructions for blurring photos on B612

Instructions for blurring photos on B612

Instructions for blurring photos on B612. Recently, the B612 application has updated the image blur effect. Next, WebTech360 will introduce the article Instructions for blurring photos

How to fix the error of printing blank pages in Microsoft Excel

How to fix the error of printing blank pages in Microsoft Excel

How to fix the error of printing blank pages in Microsoft Excel. Why do some Excel documents not display data or contain blank pages when printed? Below are the reasons

How to pin comments on TikTok

How to pin comments on TikTok

How to pin comments on TikTok, TikTok allows users to pin comments easily. Here's how to pin comments on TikTok videos.