COMP 308 Links
OpenGL Tutorials:
Graphics programming links:
Intel Asembly Programming:
MSDOS Debug Tutorials:
Intel CPU Information:
Unix Tutorials:
C Tutorials:
Using DOSEMU
The main thing here is "dosemu", which emulates a DOS environment inside a window, similar to the windowed command prompt under Windows.
Students need to do 3 things - use DEBUG, compile and link assembly files, and execute EXEs.
Using DEBUG is the same as in Windows, and executing EXEs is also the same, so nothing special needed here.
As for the compilation, there is a problem because MASM's compiler doesn't seem to work from "dosemu". In order to fix this we will be using TASM.
Here's how to download and install TASM:
- Downloading TASM:
Go to http://vetusware.com/download/TASM%205.0/?id=3543, click on "register" in the upper right corner,
choose any random user name and type in the e-mail address you get from going to www.10minutemail.com.
You should get an e-mail immediately, then you go back to the original link, log in using your username and password that was sent to you, and then you can download the .ZIP file containing TASM.
Or, use your real email address.
- Installing TASM:
Extract the .ZIP file to your home directory somewhere, I suggest making a DOS directory in your home (~) directory so that all your DOS work can be done from there.
Then open "dosemu" by typing "xdosemu" in the prompt (notice the "x" before dosemu), and from there go to your home directory (which should be
mounted to the D drive or your home folder), and run "install.exe" from the extracted TASM archive.
- When prompted for the drive the source is located in, type D. The correct path to the installation folder should automatically appear.
You will then reach a screen which will prompt you for the installation folder, choose whichever you want keeping in mind that "D:" is mapped to your
home directory. Run the installer, don't worry about the warning about it not finding the Windows directory, it won't be a problem.
- And you're done. The compiler is "tasm.exe" and linker is "tlink.exe" and both are located in the "tasm/bin" directory. You can use both as you would under Windows.