Translations for our friends around the world.

Click on banner for Tornado website

Click.gif 

Author Topic: How to compile and link the Tornado source code to create a new FLIGHT.EXE file.  (Read 5678 times)

0 Members and 1 Guest are viewing this topic.

Offline Frankie

  • Moderator
  • *****
  • Posts: 1506
  • From Dogs of War to Pipes Of Peace
    • Frankie's Moodurian


Learning Outcomes
At the end of this post, you will be able to compile the source code of Tornado and create your own FLIGHT.EXE. Meaning, if you are able to edit the code within any of the *.ASM source files, then you should be able to create your own version of Tornado FLIGHT.EXE.

Steps as follow.

PRE-REQUISITES

1. Here is the GoogleDrive link: <link has been deleted. 29/8/23>

Inside this Google Drive folder named AAA_Tornado_Dev, you will find these files:
(a) TORNADOO.ZIP - the original 1993 Tornado simulation source code. Where 'O' stands for the word 'Original'.
(b) TORNADOM.ZIP - Frankie Kam's latest modded version of the Tornado simulation source code. Where 'M' stands for the word 'Modded'.  European colours.
(c) TORNADOMD.ZIP - same as (b) but with Desert colours.
(d) TORNADOMW.ZIP - same as (b) but with Winter colours.
(e) TORNADO.ZIP - The Tornado 1.0E full game itself. To run TORNADO, extract to C:\TORNADO and double click on the Jump Jet Harrier shortcut file. The folder
C:\TORNADO\TORNADO\FLIGHT will contain a file named FLIGHT.EXE. which is also the same file found inside the TORNADOM.ZIP file.
(f) Tornado Game Full Manual - you can also download it from link is http://vogonsdrivers.com/getfile.php?fileid=1509
(g) dosbox-0.74-3.conf  = My DOSBox configuration file in case you are curious what settings I use for Tornado to run on my Dell i7 laptop.


These are the exact same files as the ones in my Desktop PC.

You also need to download and install DOSBox 0.74-2.

TO COMPILE AND LINK THE ORIGINAL 1993 SOURCE CODE, follow steps 2 to 9.

2. Make sure you have installed DOSBox 0.74-2 installed.

If you have a D:\ drive then follow steps 3a and 4a.  However, if you don't have a D:\ drive, then just use the C:\ drive and follow steps 3b. and 4b. 

3a. Download and extract TORNADOO.ZIP to your D:\ drive. The folder D:\TORNADOO will be created.

4a. Add these lines to the end of dosbox-0.74-2.conf configuration file:



Related video (may be some differences between the video and this post details, but you'll get the idea.


[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.

mount c d:\tornadoo
c:
path=c:\masm611\bin
cd tornado

3b. Download and extract TORNADOO.ZIP to your C:\ drive.

4b. Add these lines to the end of dosbox-0.74-2.conf configuration file:

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.

mount c c:\tornadoo
c:
path=c:\masm611\bin
cd tornado


5. Launch DOSBox.

6. In the DOSBox command prompt, you should be in the TORNADO folder.

7. To link all OBJ files and to create FLIGHT.EXE, first make sure you are inside the TORNADO folder. If yes, then type L to link all *.OBJ files. The L.BAT batch file will be executed and the file C:\TORNADO\FLIGHT\FLIGHT.EXE will be created.

8. To compile a single ASM file, for example TAB.ASM, simply type masm tab and press Enter. TAB.OBJ will be created.

9. To compile all ASM files inside a subfolder, for example TORNADO subfolder, make sure you are inside the TORNADO folder and type PAL and press Enter. The PAL.BAT batch file will be executed and all the *.ASM files in the subfolder will be compiled one by one.


TO COMPILE AND LINK THE FRANKIE KAM'S MODDED VERSION 1993 SOURCE CODE, follow the same steps 2 to 9, with these differences:
When you download and extract TORNADOM.ZIP to your D:\ drive. The folder D:\TORNADOM will be created.
In the dosbox-0.74-2-conf file, depending on whether you have a D:\ drive or not, use
mount c c:\tornadom
-or-
mount c d:\tornadom   


ENJOY.
« Last Edit: August 28, 2023, 06:33:36 PM by Frankie »
funny
0
informative
0
Thanks
0
No reactions
No reactions
No reactions

After the Dogs of War are let slip, let us smoke the Pipes Of Peace.

Tags:
     

    Restoration of a vintage rugged computer from the Tornado aircraft

    Started by Frankie

    Replies: 1
    Views: 4362
    Last post April 21, 2017, 05:14:59 PM
    by Asid
    Unboxing of a Limited Edition Tornado (PC) box in the middle of a forest

    Started by Frankie

    Replies: 2
    Views: 3458
    Last post May 31, 2020, 12:09:20 PM
    by Agathosdaimon
    Modelling a Tornado cockpit instrumentations in 320x240 pixels.

    Started by Frankie

    Replies: 3
    Views: 7006
    Last post September 07, 2016, 10:15:24 AM
    by Frankie
    Tornado on Steam - At long last!

    Started by Frankie

    Replies: 3
    Views: 3588
    Last post September 24, 2023, 11:47:56 PM
    by SpaceGameJunkie
    Tornado Review on gamefabrique.com

    Started by Frankie

    Replies: 0
    Views: 2123
    Last post December 06, 2019, 04:01:16 AM
    by Frankie