Graphics Test Tutorial
Jul0
Graphics Test is a project that uses FreeLib to dazzle your eyes with mesmorizing graphics. It is a 16 bit COM TASM project.
To begin, open the GrTest project. It is typically found in C:\Program Files\Negatory Assembly Studio 1.0\Examples\GrTest\GrTest.asw. You should see the code browser display the variable Str1, codeseg and procedures under grtest.asm. Double clicking on any of these will take you to the respective position in grtest.asm.
The FileView will display the files in the Source, Include and Misc folders. There is only one file, that is grtest.asm. If you add more files, they will automatically be place in the correct folder.
To build the project, select Build->Build test.com. If you recieve the error “No valid linker set.” you will need to set the path of the TASM components (tasm, tlink and brc). To do this, choose Tools->Options, and select the Assemblers tab. Select Tasm Compiler/Linker from the combobox and set the paths of the three components. This tells Assembly Studio which programs to execute.
Assembly Studio automatically manages include and library directories, which can be set at Tools->Options and in the Directories tab. This project uses the freelib.lib library file. You can confirm this by viewing the project settings in Project->Settings. In the link tab you will see that the module freelib.lib file is used. There is no need to provide a complete path as long as the directory where the library was set in the known library directories.
Once the project is built, run it by choosing Build->Run test.com. The COM program will display a dazzling show sure to induce epileptic seizures.
Wap32 Tutorial
Jul0
Wap32 is a TASM32 project, that comes with the Borland TASM 5.0 disk set. It is a Windows program that beeps when the right mouse button is pressed, and shows a counter of how many times the left mouse button is pressed.
To begin, open the Wap32 project. It is typically found in C:\Program Files\Negatory Assembly Studio 1.0\Examples\Wap32\Wap32.asw. You should see the code browser display the dataseg, codeseg and procedures under Wap32.asm. The dataseg will expand to show all the variables defined. Double clicking on any of these will take you to the respective position in Wap32.asm.
The FileView will display the files in the Source, Include and Misc folders. There are three files in this project, including Wap32.asm, Win32.inc and Wap32.def. If you add more files, they will automatically be place in the correct folder.
To build the project, select Build->Build mta.exe. If you recieve the error “No valid linker set.” you will need to set the path of the TASM32 components (tasm32, tlink32 and brc32). To do this, choose Tools->Options, and select the Assemblers tab. Select Tasm32 Compiler/Linker from the combobox and set the paths of the three components. This tells Assembly Studio which programs to execute.
Assembly Studio automatically manages include and library directories, which can be set at Tools->Options and in the Directories tab. This project uses the import32.lib library file. You can confirm this by viewing the project settings in Project->Settings. In the link tab you will see that the module import32.lib file is used. There is no need to provide a complete path as long as the directory where the library was set in the known library directories.
Once the project is built, run it by choosing Build->Run mta.exe. A window should appear with a counter and act as described above.
Dos App Tutorial
Jul0
Dos App is a simple project that prints out a character 10 times. It uses 16 bit TASM, and dos interrupts.
To begin, open the Dos App project. It is typically found in C:\Program Files\Negatory Assembly Studio 1.0\Examples\Dos App\project1.asw. You should see the code browser display the PRINT_A_J, PRINT_LOOP, and WRITE_CHAR procedures under dos_app.asm. The code seg will also appear. Double clicking on any of these will take you to the respective position in dos_app.asm.
The FileView will display the files in the Source, Include and Misc folders. The only file in this project is dos_app.asm. If you add more files, they will automatically be place in the correct folder.
To build the project, select Build->Build TestProj.exe. If you recieve the error “No valid linker set.” you will need to set the path of the TASM components (tasm, tlink and brc). To do this, choose Tools->Options, and select the Assemblers tab. Select Tasm Compiler/Linker from the combobox and set the paths of the three components. This tells Assembly Studio which programs to execute.
Assembly Studio automatically manages include and library directories, which can be set at Tools->Options and in the Directories tab.
Once the project is built, run it by choosing Build->Run TestProj.exe. The program should output the letters ABCDEFGHIJ, that is the letters between A and J inclusive.