<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
It might have been published before but here are the things I did to
get the risc machine working under Slackware 14.0:<br>
<br>
bash-4.2$ mkdir Bld/risc<br>
<br>
bash-4.2$ cd Bld/risc<br>
<br>
bash-4.2$ git clone <a class="moz-txt-link-freetext" href="https://github.com/pdewacht/oberon-risc-emu">https://github.com/pdewacht/oberon-risc-emu</a> .<br>
<br>
bash-4.2$ make<br>
cc -o risc sdl-main.c sdl-ps2.c risc.c risc-fp.c risc-sd.c pclink.c
-g<br>
-Os -Wall -Wextra -Wconversion -Wno-sign-conversion -std=c99<br>
sdl2-config --cflags --libs -lm<br>
/bin/sh: <font color="#ff0000">sdl2-config: command not found<br>
</font>sdl-main.c:7:17: fatal error: SDL.h: No such file or
directory<br>
compilation terminated.<br>
sdl-ps2.c:3:17: fatal error: SDL.h: No such file or directory<br>
compilation terminated.<br>
make: *** [risc] Error 1<br>
bash-4.2$ <br>
<br>
install SDL2 from source <br>
<br>
- download<br>
- extract<br>
- ./configure<br>
- make<br>
- become su<br>
- make install<br>
- exit<br>
<br>
now recompile in /Bld/risc with <br>
<br>
bash-4.2$ make<br>
<br>
Make sure RISC.img is extracted and available<br>
<br>
And it runs with <br>
<br>
bash-4.2$ ./risc RISC.img<br>
<br>
I just have reformatted the C sources for an old git like I am with
more whitespace and curly braces on a line by themselves etc.<br>
<br>
The emulator is an impressive piece of work.<br>
<pre class="moz-signature" cols="72">
--
Groetjes
Jan Verhoeven</pre>
</body>
</html>