TkIsem 4.5.7 and SPARC Documentation


This semester we'll be using the SPARC emulator TkIsem. You can obtain copies here. These packages were built by Dom Verity.

This page also contains general documentation about the SPARC architecture, and specific documentation for TkIsem.


Here might be some documentation for the SPARC and TkIsem. Be very sparing about printing this information - there's a lot of it!


The linux distribution is packaged as a RedHat rpm, and installs in /usr/bin, /usr/lib and /usr/doc. You need tcl and tk - these should be installed on a typical RedHat distribution. This distribution is untested at this time, so no warranties are provided (and Mike would welcome any information about how you go with it). The rpm should also work for SuSE Linux systems.


To install, download the binary rpm, become root, and use

	rpm -Uvh tkisem-4.5.7-4.i386.rpm

To install tkisem on RedHat 7.1, there are a few special things that need to be done in order for the rpm to work, so heres a quick "howto". After tk, tcl, and their libraries etc have been installed, the installation of tkisem fails:

	> rpm -i tkisem-4.5.7-4.i386.rpm 
	error: failed dependencies: is needed by tkisem-4.5.7-4 is needed by tkisem-4.5.7-4 
This is because version 8.0 of tcl/tk has been outdated since redhat 6. Use the commands below to make tkisem use the new 8.3 libraries (they seem to be compatible)
	> ln -s /usr/lib/ /usr/lib/
	> ln -s /usr/lib/ /usr/lib/
Then force rpm to not look for dependencies with --nodeps:
	> rpm -i tkisem-4.5.7-4.i386.rpm --nodeps
A student suggested for SuSE 7.2 (this has not been tested by the Sysprog-team):
        > ln -s /usr/lib/tkisem/ /usr/i486-linux-libc5/lib/


The windows distribution is packaged using install shield. You need tcl and tk - these are not installed on a typical Windows system, but can be downloaded here.


To install, download the required executables and double-click on them (first tcl, then isem, then asld).

You also need to modify your system PATH to include the locations of the

...\tkisem\bin directory.
In Windows 95/98 you do this by setting the PATH variable in your C:\autoexec.bat file. Open the file in notepad, and add the following line to the end of the file using the appropriate paths for your installation of TCL and tkisem. If you do not have an autoexec.bat on your system, use notepad to create one and save it as C:\autoexec.bat. Once you have made the changes, reboot your system.
(Note: Do not make any other changes to your autoexec.bat file, as this file contains important system configuration settings.)

For example: (Remember to include the quotes.)

PATH="%PATH%;C:\Program Files\tkisem;"

In Windows NT/2000 you do this by opening the System control panel, clicking on the Advanced tab, then clicking on the Environment Variables button. This will bring up a window in which you can set and modify environment variables. In the System variables list, modify or create a variable named PATH with a Value that includes the full path of your ...\tkisem\ directory. (Each directory in the path is seperated by a semicolon.)

For example:

PATH = existing path statements;C:\Program Files\tkisem

2001 Macquarie University
Adapted to Sysprog use by Christian Kurmann and Felix Rauch
Last modified: Dec 5 2001