This is the online version of the
QNICE emulator.
It uses WebAssembly and WebGL, so if you are not seeing a QMON>
prompt
and a blinking cursor above, then your web browser probably does not support
these technologies. You might want to use the native offline version in this
case.
f
and then r
and then type in qbin/mandel.out
and press ENTER.
You should see a text-mode rendition of the famous Mandelbrot set.h
to see the available commands.m
and then s
and then type in A000
and then A010
to see the
disassembly of the first bunch of machine instructions of the Mandelbrot
program.f
and then r
and then type in qbin/shell.out
. After that, enter
cd demos
and then cat mandel.asm
into the shell and then use CURSOR
UP and CURSOR DOWN to scroll and read the source code.exit
.qbin
folder by entering f
then c
and then
qbin
.f
and then d
.f
and r
to run wolfram.out
sierpinski.out
adventure.out
ttt2.out
mandel_zoom.out
qbin
folder as described above, then now enter
f
and then r
and then q-tris.out
to start the game. If you are somewhere
else in the file system, you can enter f
and then r
and then
/qbin/q-tris.out
(including the leading forward slash /
) to start the game.ALT+f
to toggle between showing and hiding the MIPS (million
instructions per second) and the FPS (frames per second). The numbers
are displayed at the top-right corner of the screen and the display stays
on, until toggled again.ALT+v
to see, how many instructions per frame are currently being
executed. The amount is displayed in a window in the middle of the screen,
which disappears after about three seconds. The speed change windows, that
are described in the following bullet points, are disappearing after about
three seconds after the last keypress as well.ALT+SHIFT+n
: decrease instructions per frame (IPF) by 100,000ALT+n
: decrease IPS by 2,500ALT+SHIFT+m
: increase IPF by 100,000ALT+m
: increase IPF by 2,500Currently the emulator is hardcoded to the German keyboard layout. If you
are not able to enter a forward slash /
when trying to enter
qbin/mandel.out
after having pressed f
and then r
as described above,
then just switch into the right directory first, and then run a file:
Press f
and c
to change into a directory, for example into qbin
. And
then run the file with f
and then r
and then enter mandel.out
.
You currently cannot copy from or paste to the emulator window. Use the
native offline version, if you need for example to work with “memory load”
(press m
and then l
) for loading your own .out
files.
The speed of the QNICE-FPGA hardware running at 50 MHz is 13.0 MIPS (million instructions per second). The emulator may run too fast in your web browser. You need to adjust the emulation speed to match the hardware manually.