3 <title>Mikrocontroller Simulator</title>
8 [ <a href="#download">Download</a> ]
10 [ <a href="#install">Installation</a> ]
12 [ <a href="#use">Usage</a> ]
14 [ <a href="mailto:drdani@mazsola.iit.uni-miskolc.hu">Mail to
17 <p><img src="UCsim.jpg">
19 <h1>Software simulator for microcontrollers</h1>
21 <b><i>µCsim</i></b> can be used to simulate microcontrollers. It
22 supports MCS51 family. AVR core, Z80, HC08 and XA are supported by
25 <a name="download"><h2>Download</h2></a>
27 Simulator is available for two platforms: DOS (MCS51 only)
28 and UNIX but DOS version
29 is not supported any more. DOS version is not finished so I call it
30 demo version and it is available in binary only. Limitations of DOS
33 <ul><li>There is no built in help available;
35 <li>Some of the utilities are not working, for example calculator, bit
38 <li>Serial line works in mode 1 independently of mode bits.</ul>
40 I used this simulator to verify my applications and I never used
41 missing feautres mentioned above, so I think that this "demo" version
42 can be usefull anyway.
45 href="http://mazsola.iit.uni-miskolc.hu/~drdani/embedded/s51/download">Download
51 <a name="install"><h2>How to install</h2></a>
55 <p>Get the ZIP file and unzip it. ZIP file contains three files:
56 <b>s51.exe</b> the executable itself, <b>dpmi16bi.ovl</b> and
57 <b>rtm.exe</b>. Last two files are required because <b>s51.exe</b> is
58 a DOS protected mode program. Put these files in a directory which is
59 in the PATH or keep them together with the <b>s51.exe</b>.
61 <p><b>UNIX version</b>
63 <p>UNIX version is distributed in source.
65 <ol><li>Get archive file, uncompress and untar it. These steps will
66 produce a directory <b>ucsim-X.Y.Z</b> where X.Y.Z is the version
69 <li>Go to the directory and configure the package. Issue
70 <tt><b>configure</b></tt> command. It will determine your system and
71 make <b>Makefile</b>. Installation directory can be specified with
72 <b><tt>--<!-- -- -->prefix=<i>dir</i></tt></b> option to the
73 <tt><b>configure</b></tt>. Default directory is
74 <tt>/usr/local</tt>. Executable file will be placed in <tt>bin</tt>
77 <li>Compile the package with <tt><b>make</b></tt> command.
79 <li>Install executables <b>s51</b>, <b>savr</b>, <b>shc08</b>,
80 <b>sxa</b>, <b>sz80</b> to any directory you want. It can be done with
81 <tt><b>make install</b></tt> command which will place files in
82 installation directory specified with <tt><b>--<!-- --
83 -->prefix=<i>dir</i></b></tt> option of
84 <tt><b>configure</b></tt>. Note that you may have to have special
85 privilege to do this if installation directory is not writable by you.
92 <a name="use"><h2>How to use</h2></a>
96 S51 for DOS has been written in Borland Pascal using Turbo Vision to
97 produce menu driven, multiwindow user interface which is very easy to
98 use. The program can be started using following command:
100 <p><tt>C:\> s51 [input file]</tt>
102 <p>Parameter is optional. If it specified it must be the name of an
103 Intel hex file. Some screenshots of the program and short descriptions
106 <ul><li><a href="cpu.html">CPU window</a>
108 <li><a href="wins.html">Different kind of windows</a>
110 <li><a href="timers.html">Timer/Counters</a>
112 <li><a href="interrupt.html">Interrupt system</a>
114 <li><a href="term_cpuopt.html">Terminal window and CPU option dialog
118 <h4>UNIX version</h4>
120 <a href="invoke.html">Invokation</a>. <br>Starting the simulator
123 <p><b>Features of the simulator</b>
127 <li><a href="analyzer.html">Code analyzer</a>. <br>The simulator tries
128 to figure out places of valid instructions in code area. This feature
129 included in both DOS and UNIX versions.
131 <li><a href="cpu_types.html">Processor types</a>. <br>The simulator can
132 simulate different type of microcontrollers.
134 <li><a href="mulcons.html">Multiple consoles</a>. <br>The simulator can
135 handle more than one command consoles and accepts command from
136 multiple sources. It also can be driven by other programs such as
139 <li><a href="serial.html">Serial interfaces</a>. <br>The simulator can
140 virtually connect a terminal to serial interface of the simulated CPU.
142 <li><a href="memory.html">Memory simulation</a>. <br>Simulated CPU
143 provides address spaces, storage is simulated by memory chips, address
144 decoders conects them together.
146 <li><a href="syntax.html">Command syntax</a> and <a
147 href="cmd.html">command reference</a>. <i>(Now updated up to
148 0.5.0)</i> <br>The simulator can be controlled via a command line
149 interface. It accepts simple commands.
156 <tr><td><a href="mailto:drdani@mazsola.iit.uni-miskolc.hu"><img
157 src="post.jpg" align="top" border="0"></a></td>
159 <td><i>© 1997,99 Dániel Drótos, Talker Bt.</i> <br><a
160 href="mailto:drdani@mazsola.iit.uni-miskolc.hu">drdani@mazsola.iit.uni-miskolc.hu</a></td></tr>