Back to the THRSim11 home page ...
Go to the Component Developers Kit
FAQ...
Copyright © Harry Broeders.
Yes. See here.
Yes.
I always respond to questions or remarks send by email. But I have to use a spam filter so it is possible that I didn't reveive your message. If you don't receive a reply within a few days please send a copy of your message to: J dot Broeders23 at upcmail dot nl
The simulator uses a crystal frequency of 8 MHz so the E clock runs at 2 MHz. The simulator does not run in real time. But there are some things which may help.
No. Just delete the file thrsim11_options.txt and start the program again. When you close the program it will store the factory settings in a new thrsim11_options.txt file.
Use the standard Windows uninstall procedure. Start, Settings, Control Panel, Add/Remove Programs, Select THRSim11, Add/Remove. You can also use the unins000.exe program which can be found in the ../THRSim11 directory (version 5.01 and higher).
No. But there is a better way. If you make a <name>.map file starting
with:
THRSIM11 MAPFILE
and on every next line a label followed by an expression. All labels
are loaded automatically when you open the file <name>.s19
An example map file can be found here.
Can THRSim11 be used as a disassembler?
Yes. See "disassembler command" in the Help file. I have a command line tool
which can be used to transform the disassembler output to code you can assemble
again. (see findlabels.zip).
For example (you can try this using the demo):
ls19
into
the command window and choose a s19 file.
dis e000 e345 test.dis
findlabels test.dis test.asm
ORG
) but this should not cause any problems.
Just to test you can load test.asm into THRSim11 and assemble (and run) it
again.
The program generates a LST file (see menu option File Options Assembler to enable this if necessary). You can print this file using your favorite word processor. (I use MS Word 2000 with A4 paper and 2 cm margins.)
That's a synchronisation failure inherent to the observer pattern we used to implement these components. If you first create the logger and second create the inserter this synchronisation failure will not appear.
THRSim11 reads some settings on program startup from
<install_dir>\thrsim11_options.txt. These settings are saved when the
program is closed. If the user of THRSim11 has read-only access privilege
in the directory in which THRSim11 is installed this will cause errors. The
system administer can change the directory from which these settings are
read and where these settings are stored by adding the following line to
the thrsim11_options.txt file:
UserDirectory H:\thrsim11
This line should be added before the last line (which should contain only
a #). THRSim11 will now read the settings from
<install_dir>\thrsim11_options.txt the first time it is started. (The
system administer can change thrsim11_options.txt to alter the initial settings
e.g. the memory-map.) The thrsim11_options.txt file will be stored in the
defined directory (H:\thrsim11 in this case). Note: This directory should
exist! The user needs write privileges in this directory. The next time
the user starts THRSim11 will read the settings from
H:\thrsim11\thrsim11_options.txt. If H: is mapped to a user specific part
of the server every user can have his/hers own settings preserved. The file
thrmru.ini which holds the names of the 10 last opened files (which show
up in the file menu) is saved in the same directory as thrsim11_options.txt.
Yes :-)