Tasm IDE source code readme
Back to Tasm IDE source code page
Contents
1. Introduction
In 1998 I started this project with a very small program that was little more than a shell. It had very limited functionality, however people seemd interested when I published it on the internet. After that about 5 or 6 versions have appeared, ending in release version 1.2. In the coding process I started a few times over because I lost track of what I was doing. These completely new versions were always lots and lots better because I tried to be more structural each time. For some reason, each version just grew out of control and became a uncomprehendable mess.
The last version is to my opinion the most structural and logical version. But don't start cheering yet. Because of my utter lack of commenting code I doubt if anyone will ever fully understand what's going on. Even I have no idea. So I suggest you adapt only parts of it you don't like (if you get it running of course) or lend pieces of code in your own program.
Disclaimer: The source is provided "as-is" and it is NOT guaranteed to work nor is any part of it. If the code or part of it in someway damages your computer or anything else you are responsible for it.
Copyright: The source code is public domain. If you alter the program please leave my name in it and mention the website tasm.freeservers.com. If you use small parts of it in your own program you can choose to mention my name but I can't be bothered really. If you use big parts of it you can choose to mention my name but I can't be bothered really. If you are making huge profits using my code consider sending me some of it :)
2. Getting started
To get the code running you'll need at least the following:
I assume you can use later versions of Borland C++ Builder but I haven't tested this. The Raize Components List Pack can be downloaded when you register C++ Builder 3. If you can't get your hands on it, try www.raize.com.If you have both of them installed getting it running is easy. Just unpack the ZIP file into a new directory and open the BPR file. You may have to build twice before it runs (the headers are a bit messed up). Also install the regular Tasm IDE 1.2 in the same directory for additional files.
3. Global overview
The full code is made up multiple files, showed below with their functionality.
main.cpp, main.dfm
The main form that is visible on startup is linked to main.cpp. The task of main.cpp is to link all other files
to each other and the user interface.
editor.cpp
Describes the class TEditor. This class is a container for all the textfiles that are being edited in the IDE.
project.cpp
Describes the class TProject. All options that must be saved in Tasm IDE's project files are stored in here. Furthermore
methods for saving / loading project files.
asmfiles.cpp
Interface to the assembler executables.
link.cpp
Interface to the linker executables.