Drobe :: The archives
About Drobe | Contact | RSS | Twitter | Tech docs | Downloads | BBC Micro

RISC OS-on-Linux project prepares live CD

Published: 9th Sep 2007, 12:35:09 | Permalink | Printable

And one day using QEMU to run ARM apps on x86?

ROLF screenshotAn ambitious initiative to eventually run RISC OS desktop software on Linux-powered PCs took a step closer to reality this month. Issues with the user interface code have been addressed, and a bootable CD is being prepared to demonstrate the system's abilities.

The aim of the RISC OS Look and Feel project is to enable native RISC OS applications and Linux programs to run within a familiar looking desktop on modern hardware - allowing users' favourite software to run on systems that can also play DVDs, browse the latest web content, play games and use the latest gadgets.

Developer Simon Willcocks said he is ready to produce a 'live CD' that includes basic components, including an iconbar, a filer, a terminal emulator, an image viewer, an MP3 player, NetSurf, Inkscape, and so on.

ROLF uses its own custom-written window manager to provide a RISC OS-style desktop, although GTK+ applications can be used thanks to an interface layer. Programs can be developed natively for ROLF using a provided library, and software that uses OSLib could soon be easily ported across to ROLF. An image-support library is also included.

At some point, work will begin to allow native ARM-targeted RISC OS programs to run over the Brandy BASIC interpreter and QEMU on an Intel-powered Linux PC. THe ROLF project is entirely separate to ROX, which uses the X Window system.

Simon said: "It's probably worth noting that I'm not intending this system to be used for multi-user or Internet server purposes. It's just for a single-user, simple to use system with a RISC OS style interface and enough oomph to permit the applications people are starting to miss on real ARM hardware to be realised."

Simon also called for more help with the project.

He added: "Nobody should expect anything polished or fast. Optimisation of the images library is being left until I have proof-of-concept code for all the basic features - or until I find it too annoying to put up with.

"I'm unsure at the moment how much standard Unix behaviour to leave in, and how much should be done using more RISC OS-like applications. I expect to evolve an approach over time."

Links

The ROLF website

Previous: Simple low-level bug hunter released
Next: NetSurf upgraded to testing in Debian GNU/Linux

Discussion

Viewing threaded comments | View comments unthreaded, listed by date | Skip to the end

Wonderful!

I love RISC OS and want to use it all the time, but this is simply not possible. I've never had had that much cash and in any case my work demands a laptop. At present I have a venerable Risc PC dating from the last time I had real desposable income (aka student loan) and a relative's old Laptop running ROX.

ROX is good - it's gone from limping along to a pretty decent sim of the RISC OS way of doing things, over just the last few months - and it's a darn sight better than Windows. The only problem is that it's not RISC OS and can't run RISC OS apps.

Running VA on top of Windows is not satisfactory, even if I could justify a hundred quid for something that - no matter how many excuses I might make - I don't actually /need/.

ROLF looks like it has a long way to go but I think it is a welcome alternative to the current emulators.

Good luck Simon! If you get that Live CD going I'll be wanting one :-)!

 is a RISC OS Userwrankin42 on 9/9/07 3:39PM
[ Reply | Permalink | Report ]

so is this a WINE kind of thing (run risc os apps on linux) or some sort of "use a linux kernel to boot risc os" vmware-esx kind of thing?

the "look and feel" name suggests its more like ROX (risc os theme for xwindows) and then QEMU is thrown in (allows non-x86 emulation) to totally confuse me!

should be an interesting project, especially as varpc isn't going to happen on linux.

 is a RISC OS Usersimo on 9/9/07 10:59PM
[ Reply | Permalink | Report ]

simo: I've never used WINE, but ROLF certainly isn't an emulator, and there's no RISC OS involved.

There's also no X windows involved, the system uses the plain vanilla frame buffer, although the API allows for optimisation/acceleration transparently to the applications.

The aim isn't really to run RISC OS applications, although the behaviour of the GUI, as well as how it looks should be conducive to that (the GUI is co-operative, for example, but with true independent threads).

I've got a dozen applications running on this RISC PC. Toss in a couple that I'd like to have, mainly to do with digital video, and that's probably all the GUI applications I personally need to work with the system. To get them, I could write them from scratch, modify existing GTK applications to play nicer, or make it possible to run RISC OS applications, via re-compilation, emulation (QEMU) or BASIC (Brandy), combined with a RISC OS SWI compatibilty layer. It all comes down to which approach is least effort.

 is a RISC OS UserStoppers on 10/9/07 5:37AM
[ Reply | Permalink | Report ]

Is the compatibility (or intention) such that the same basic (or any other interpreted language) app could run both on ROLF and RISC OS?

 is a RISC OS Userjess on 10/9/07 8:10AM
[ Reply | Permalink | Report ]

jess: Yes, that is the idea. Brandy can fairly easily be modified so that the SYS command makes a call to a library routine that can be provided by ROLF. I expect QEMU can be just as easily modified, for compiled applications.

The task then boils down to mimicing a useful subset of RISC OS system calls (SWIs) so that real applications can be run.

While there are many system calls that would have to be implemented to make up a full environment, many, especially the lower level ones, won't be used by the kind of user application that people are likely to want to run so, hopefully, it's not an impossible task.

 is a RISC OS UserStoppers on 10/9/07 3:11PM
[ Reply | Permalink | Report ]

Is the Riscose project of any relevance to this? From memory, they were trying something at least superficially similar: emulating SWI calls to enable RISC OS applications to work on top of Linux. If their sources are still available, might they be helpful?

 is a RISC OS Userlym on 10/9/07 4:25PM
[ Reply | Permalink | Report ]

Would it be able to load its own versions of modules that provide more swis to the system?

 is a RISC OS Userjess on 10/9/07 6:05PM
[ Reply | Permalink | Report ]

lym: Riscose doesn't seem to have been touched in about five years. However, the most recent update does sound very much like it could be useful. (As could Matthew Bloch's web hosting service, bytemark).

The difference is that the major part of their work (as far as I can tell from a quick look at their site) was on the ARM emulation and, apparently, BASIC, too. These have been superseded by QEMU and Brandy, and the SWIs I'm most interested in are more WIMP oriented than command line.

There's also the open source shared C library by Graham Shaw, which will probably will come in useful.

jess: Do you mean RISC OS (ARM code) Relocatable Modules, or a ROLF native system? For the former, it's probably possible using shared memory and some synchronisation between instances of QEMU; for the latter, I think shared libraries are probably the way to go in most cases.

Bear in mind that, sitting on top of the Linux kernel, applications can use pre-emptive threading and non-blocking I/O, so many of the uses for RMs are not needed under ROLF.

 is a RISC OS UserStoppers on 10/9/07 9:44PM
[ Reply | Permalink | Report ]

I was more thinking in terms of something for ROLF itself. So if a different programmer wanted to make something work that needed an unsupported SWI they could add it in a manner similar to RISC OS modules. Being able to use real RISC OS modules would be good for compatibility, but I assume much harder to make work.

 is a RISC OS Userjess on 10/9/07 10:08PM
[ Reply | Permalink | Report ]

It's a very interesting idea. It would make a unique sort of Linux distribution!

Actually, a project like this has been attempted before: to build a BeOS compatible system on top of Linux. It was called BlueEyed OS, originally just BlueOS. I believe it didn't get very far. :¬( Haiku is the whole thing from the ground up - clean reimplementation, like ReactOS is for Windows - and it's doing much better.

Less of a new OS, more of a sort of turbo-emulator, was Amithlon. It's dead now for legal reasons but essentially it was a small custom Linux distro that booted a PC straight into a Just-In-Time compiling Amiga emulator and thence straight into an Amiga desktop. Essentially it was a boot CD that turned a PC into a fast Amiga. Very nice if you like that sort of thing!

(This is based on a post from the ROX mailing list; I just thought it might be interesting here.)

 is a RISC OS Userlproven on 11/9/07 1:13AM
[ Reply | Permalink | Report ]

jess: Well, that should be the beauty of open source; the programmer who needs a particular SWI can simply add to the compatibility library. If they want to provide new native ROLF/Linux features, they can provide a library for applications which want to use it (and it may get picked up by other GNU users, if it's generally useful).

Using RISC OS modules would be possible, I suppose, it will just come down to whether anyone feels a strong enough desire for it (as with pretty much any feature).

 is a RISC OS UserStoppers on 11/9/07 6:12AM
[ Reply | Permalink | Report ]

lproven: I'm hoping that this project won't meet the same fate!

My USP is that I'm not setting out to provide a comprehensive RISC OS environment, that is just a side effect of producing a RO-like interface, so I can't be accused of failing just because somebody's favorite program doesn't work on it.

On the other hand, success would be having established RISC OS application developers selling versions of their software specifically for ROLF.

 is a RISC OS UserStoppers on 11/9/07 6:27AM
[ Reply | Permalink | Report ]

Wouldn't the time be better spent getting Linux to adopt certain RiscOS methods such as the way applications are organised or the way "hidden" files are not needed.

I have just recently installed PCLinuxOS on a laptop and have been very pleaseantly suprised (I gave up on Ubuntu due to issues with my hardware, Nvidia drivers!, and the need to start using the command line). I would recommend PCLOS to anyone looking around for a RiscOS alternate, it even has a window decoration called RiscOS as part of the distribution! Granted PCLOS is meant to look and feel like windows due to the need to attract those users. However you can easily change all that and right now my PCLOS desktop looks almost the same as my RiscOS one.

The biggest issue I have found with PCLOS/Linux is all those damned hidden files in the users home directory. It's exceptionally messy and very dangerous if non enthusiast users start to adopt Linux. I think this is an area that RiscOS's approach to organising files, folders, applications and configurations can be of great use.

As for applications themselves I don't think there is much to be gained. Some of the smaller apps maybe. A simpler cleaner FTP certainly! The default one is clunky and looks all the worse for having all those hidden files visible! PCLOS/Linux already has a wealth of apps with features that are sadly lacking under RiscOS (a reason for me switching). For example video works! here's a list of some of the apps that come as part of a PCLOS distribution:

Gimp (Image editing) Thunderbird ( email and news) - Excellant "new/unknown" message handing Firefox (browser) - version 2 as opposed to RiscOS v1 OpenOffice - office suite that can also read/write M$ if you are peverse enough ;-) Calc - spreadsheet Writer - wordprocessor Base - database Draw - ! yes ;-) Impress - slides multimedia presentation Amarok - music player Beryl - 3D desktop manager Frostwire - peer to peer MPlayer - video/audio player

FYI everything worked "out of the box". Network setup was perfect and automatic. Wireless connection to my Canon printer served from XP laptop, worked first time. All in all an astonishingly pleasant non windows and totally free experience.

Remember folks all of the above is FREE.

So my suggestion would be to build on top of what is already working and make it better. A RiscOS (PCLOS+ROX+?) style distribution.

 is a RISC OS Usermripley on 11/9/07 8:59AM
[ Reply | Permalink | Report ]

mripley: "Wouldn't the time be better spent getting Linux to adopt certain RiscOS methods..."

How would you suggest I go about that?

I don't think just saying that people should try a different approach will have any effect, they have to be shown it and then maybe they'll decide that it is worthwhile. The KDE developers weren't even convinced that right click on scroll bar buttons should work in the reverse direction to left click!

What I'm doing is showing another way of using Linux to whoever is interested. If people like it, maybe they will adopt it, but it's more likely I'll just end up with a unique desktop system.

The hidden files in the home directory are the standard Unix approach to storing choices (and they are hidden, after all). You can make the same argument about non-enthusiast users shift-opening application directories.

 is a RISC OS UserStoppers on 11/9/07 12:09PM
[ Reply | Permalink | Report ]

Simon, Demonstrate it with a distribution. It does not have to have all the bells and whistles applications since the aim is to demonstrate a tidier more functional approach.

Shift-opening applications is a very deliberate action whereas the hidden files in /home/<user> are not really hidden are they? The are visible depending on which application you use, for example KFTPGrabber and Krusader. With these apps you are free to browse....and affect these hidden files....and thus have an accident even though the original intent had nothing to do with folder in question. This is why I am 100% convinced this is an accident waiting to happen (i.e. a very non computer literate user weened of Windows). Just because something is standard does not mean it can't be improved upon.

 is a RISC OS Usermripley on 11/9/07 6:37PM
[ Reply | Permalink | Report ]

Several years ago I subscribed to a mailing list that was going to create a ROX-linux. What happened was major discussions on how to change ROX filer, I don't know if anything ever got released. I think Simon's approach is far better. I think the only dissapointment would be if there's no compatibility with ROX applications (or at least a simple port being possible.)

I think this will be of interest to all RISC OS users who have a PC and those who want a laptop.

 is a RISC OS Userjess on 11/9/07 6:44PM
[ Reply | Permalink | Report ]

See also [link] - a ROX AppDir based Linux-kernel-running OS which I was starting it.

 is a RISC OS UserJaffa on 12/9/07 9:57AM
[ Reply | Permalink | Report ]

mripley: "Demonstrate it with a distribution."

So you're saying I should prepare a live CD, or something like that? :-)

 is a RISC OS UserStoppers on 12/9/07 10:09AM
[ Reply | Permalink | Report ]

And base it on GOBOlinux which already has a very riscos like directory structure anyway.

 is a RISC OS UserDS1 on 12/9/07 5:21PM
[ Reply | Permalink | Report ]

DS1: Thanks for your suggestion, but the live CD is based on Linux From Scratch [link] - which means I have complete control over where all the files go.

 is a RISC OS UserStoppers on 12/9/07 6:58PM
[ Reply | Permalink | Report ]

I'm a great believer in not re-inventing the wheel....unless it's square! So take what already exists and works well and improve it. I get the distinct impression from the Linux world that Ubuntu is being hyped up and PCLOS is gaining ground due to its flexibility and greater hardware compatibility. A darn sight easier to configure as well I might add (I abandoned Ubuntu). So my suggestion is for a PCLOS distribution with RiscOS improvements, especially the location of those pesky hidden files. RiscOS sticks them all in !Boot, which is far far superior home for them (or should that be /home ;) )

Mind you I noticed somebody mentioned GOBOlinux, I need to investigate.

Also note you don't want some distribution that lives amongst the enthusiasts. You want to affect the mainstream. We know RiscOS has features that are far superior to the existing 3 so wouldn't it be good to have those features adopted by linux-world ?

 is a RISC OS Usermripley on 13/9/07 8:26AM
[ Reply | Permalink | Report ]

Ok I took a look at GOBOLinux and it looks like the solution is already there. There are a number of flavours that people have built which brought together into one distribution would be what is needed, specifically: 1. A filesytem organised more tlike RiscOS (they actually based it on Macs) 2. Somebody has GOBOLinux with ROX (riscos filer) 3. Somebody has Gobolinux on an Xscale (!!!!) 4. Somebody has GOBOlinux with beryl Number 4 presumably means that compiz-fusion should be possible. All of this would enable you to have a very RiscOS functioning desktop and filer. In addition compiz-fusion would knock the socks of any presentation that Windows and Macs can muster.

So it seems to me that the starting point could be GOBOlinux with ROX and then get RiscOS apps added to that distribution.

 is a RISC OS Usermripley on 13/9/07 8:49AM
[ Reply | Permalink | Report ]

mripley: Thank you for your advice, but, I think I'll carry on as I was.

I'm not setting out to "affect the mainstream", I'm working to produce a system that's as close as I can get to RISC OS, but with cheap and fast hardware, a more flexible kernel providing access to programming features, libraries, peripherals and, to an extent, programs that aren't available or even possible on RISC OS.

I'd also be happy if it provided a way forward for RO users and companies, but that is certainly not my goal; I'm just scratching an itch and making it available to anyone who wants it.

By the way, the concept originated with this conversation on the Iconbar, back in May 2003: [link]

If it was just a matter of configuring a Linux system, that's what I would have done.

 is a RISC OS UserStoppers on 13/9/07 1:37PM
[ Reply | Permalink | Report ]

Any chance of a ROLF news RSS feed?

In anycase I hope Drobe will keep us informed of any future ROLF developments.

 is a RISC OS Userwrankin42 on 15/9/07 2:19PM
[ Reply | Permalink | Report ]

wrankin42: No, sorry, web site design is not my forte (look at my website!).

I wouldn't know how to set one up, and I'm concentrating on getting a single script to generate the live CD at the moment.

Unfortunately, for personal reasons, things will be going slowly for the next couple of weeks. :-(

 is a RISC OS UserStoppers on 16/9/07 10:01AM
[ Reply | Permalink | Report ]

Hi Simon,

I have tried the code from your website.. it shows a background image and a mousepointer (which moves when i move the mouse :-) ) but that is all i can do with it..

Jan Rinze.

 is a RISC OS UserJanRinze on 16/9/07 2:08PM
[ Reply | Permalink | Report ]

Argh!

Sorry, those who e-mailed me; I messed up my e-mail configuration and didn't get any mails!

It's working, now.

 is a RISC OS UserStoppers on 16/9/07 5:00PM
[ Reply | Permalink | Report ]

Thanks to Ned Abell, who has kindly provided storage space for the ISO, the first version of the live CD is available via my drobe website, [link]

It should give you the basic GUI and some applications which work to a greater or lesser extent.

I'd appreciate any comments or suggestions (but I already know it has to be more stable).

 is a RISC OS UserStoppers on 20/9/07 2:31PM
[ Reply | Permalink | Report ]

Please login before posting a comment. Use the form on the right to do so or create a free account.

Search the archives

Today's featured article

  • Fit a USB combo-media drive to your RiscPC
    Hardware How-to
     18 comments, latest by Projjer on 3/12/04 8:10PM. Published: 13 Jun 2004

  • Random article

  • Select 4 upgrade pack released
    Hidden Filer shortcuts revealed [Updated]
     3 comments, latest by polas on 3/11/07 8:05PM. Published: 26 Oct 2007

  • Useful links

    News and media:
    IconbarMyRISCOSArcSiteRISCOScodeANSC.S.A.AnnounceArchiveQercusRiscWorldDrag'n'DropGAG-News

    Top developers:
    RISCOS LtdRISC OS OpenMW SoftwareR-CompAdvantage SixVirtualAcorn

    Dealers:
    CJE MicrosAPDLCastlea4X-AmpleLiquid SiliconWebmonster

    Usergroups:
    WROCCRONENKACCIRUGSASAUGROUGOLRONWUGMUGWAUGGAGRISCOS.be

    Useful:
    RISCOS.org.ukRISCOS.orgRISCOS.infoFilebaseChris Why's Acorn/RISC OS collectionNetSurf

    Non-RISC OS:
    The RegisterThe InquirerApple InsiderBBC NewsSky NewsGoogle Newsxkcddiodesign


    © 1999-2009 The Drobe Team. Some rights reserved, click here for more information
    Powered by MiniDrobeCMS, based on J4U | Statistics
    "Have I been nominated on drobe.co.uk this year? Sadly not."
    Page generated in 0.0971 seconds.