[Oberon] Compiling the RISC system

volkert at nivoba.de volkert at nivoba.de
Wed Apr 9 20:01:07 CEST 2014


The emulator depends on "SDL2" and not "SDL1.2." The easiest way is to 
download the latest
SDL2 Version from "http://www.libsdl.org/".

BW,
Volkert




Am 09.04.2014 19:18, schrieb eas lab:
> Thanks for posting that Jan.
> Where did you put RISC.img, relative to -/Bld/risc?
> I got similar <SDL errors> under slackware 13, which has got plenty
> README/s for SDL. Of course I don't need another ETHO version running
> under slak. I wonder if any body as actually tested under rPi; which
> has got 8 files: lib + a README* for sdl.
> But slak13 has ver 1.2.7 & rPi has *lib*1.2.so* ; which seems strange,
>     since rPi is newer?
>
> It's quite difficult to d/l & compile with rPi, with only 2 ports for:
> keybrd, mouse, modem, external-memory.
>
> Let me try.
>
> == Chris Glur.
>
>
> On 4/6/14, Jan Verhoeven <jan at verhoeven272.nl> wrote:
>> It might have been published before but here are the things I did to get
>> the risc machine working under Slackware 14.0:
>>
>> bash-4.2$ mkdir Bld/risc
>>
>> bash-4.2$ cd Bld/risc
>>
>> bash-4.2$ git clone https://github.com/pdewacht/oberon-risc-emu .
>>
>> bash-4.2$ make
>> cc -o risc sdl-main.c sdl-ps2.c risc.c risc-fp.c risc-sd.c pclink.c -g
>> -Os -Wall -Wextra -Wconversion -Wno-sign-conversion -std=c99
>> sdl2-config --cflags --libs -lm
>> /bin/sh: sdl2-config: command not found
>> sdl-main.c:7:17: fatal error: SDL.h: No such file or directory
>> compilation terminated.
>> sdl-ps2.c:3:17: fatal error: SDL.h: No such file or directory
>> compilation terminated.
>> make: *** [risc] Error 1
>> bash-4.2$
>>
>> install SDL2 from source
>>
>>    - download
>>    - extract
>>    - ./configure
>>    - make
>>    - become su
>>    - make install
>>    - exit
>>
>> now recompile in /Bld/risc with
>>
>> bash-4.2$ make
>>
>> Make sure RISC.img is extracted and available
>>
>> And it runs with
>>
>> bash-4.2$ ./risc RISC.img
>>
>> 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.
>>
>> The emulator is an impressive piece of work.
>>
>> --
>> Groetjes
>>
>> Jan Verhoeven
>>
>>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon




More information about the Oberon mailing list