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\ |
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. |
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:\…) |
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.
0 komentar: