For the raspberry

Information, contacts and source code for ports to Linux, Windows, etc.

Moderators: winston, another_commander

Post Reply
NigelJK
Deadly
Deadly
Posts: 201
Joined: Tue Feb 16, 2010 5:07 pm
Location: Stockport, England

For the raspberry

Post by NigelJK » Fri Mar 02, 2012 3:54 pm

I want to kick this off early as I can see large hills if not mountains in the distance which may be insurmountable (let hope not). I realise not much is known, but if it's running RiscOS there are some pretty long in the tooth coding tools out there for c etc.

User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: For the raspberry

Post by JazHaz » Fri Mar 02, 2012 3:56 pm

NigelJK wrote:I realise not much is known, but if it's running RiscOS there are some pretty long in the tooth coding tools out there for c etc.
I think its shipping with Fedora....

User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8501
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: For the raspberry

Post by DaddyHoggy » Fri Mar 02, 2012 11:54 pm

It does shipping with Fedora if you by the SD card fitted version - Giles (Aegidian) is already looking at converting the code to run on it using Ahruman's work on a WebGL graphics engine (the gpu on the Raspberry uses OpenGL ES)

Since the card ships without a case - I'm hoping for a future where we can buy a boxed Oolite branded version of the Raspberry (Raspboorry?) where you plug in a USB Mouse/KB a monitor and boot your Credit Card sized PC into Oolite...
Selezen wrote:Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here

NigelJK
Deadly
Deadly
Posts: 201
Joined: Tue Feb 16, 2010 5:07 pm
Location: Stockport, England

Re: For the raspberry

Post by NigelJK » Wed May 30, 2012 3:00 pm

I did read that work is afoot to port RiscOS to Rtt, but won't be shown to the public until it's almost there.

m4r35n357
---- E L I T E ----
---- E L I T E ----
Posts: 296
Joined: Wed Jan 19, 2011 4:00 pm

Re: For the raspberry

Post by m4r35n357 » Fri Jul 13, 2012 1:44 pm

Well 1.76.1 is in Debian Wheezy (currently frozen). I am running on QEMU ATM while I wait for my PI to arrive. Rest assured, it will be one of the first things I try ;)

User avatar
Gimi
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: For the raspberry

Post by Gimi » Fri Jul 13, 2012 2:13 pm

m4r35n357 wrote:Well 1.76.1 is in Debian Wheezy (currently frozen). I am running on QEMU ATM while I wait for my PI to arrive. Rest assured, it will be one of the first things I try ;)
Tried it, and Oolite downloads and installs to the Pi just fine. However when you try to run it, nothing happens. Looking at the latest log reveals that Oolite has failed to start owing to OpenGL errors (as expected).
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).

m4r35n357
---- E L I T E ----
---- E L I T E ----
Posts: 296
Joined: Wed Jan 19, 2011 4:00 pm

Re: For the raspberry

Post by m4r35n357 » Fri Jul 13, 2012 4:03 pm

Gimi wrote: Tried it, and Oolite downloads and installs to the Pi just fine. However when you try to run it, nothing happens. Looking at the latest log reveals that Oolite has failed to start owing to OpenGL errors (as expected).
Heh, on my emulator it fails before it gets that far - I haven't set up sound yet.

User avatar
Gimi
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: For the raspberry

Post by Gimi » Fri Jul 13, 2012 6:57 pm

Latest log after trying to run Oolite on the Raspberry Pi. Dosn't say much though.

Code: Select all

19:30:54.886 [log.header]: Opening log for Oolite version 1.76.1 (<unknown little-endian architecture>) under Linux at 2012-07-12 19:30:54 +0200.
1 processor detected.
Build options: mass/fuel pricing.

Note that the contents of the log file can be adjusted by editing logcontrol.plist.

19:30:55.120 [display.mode.list.native]: X11 native resolution detected: 1600 x 900
19:30:55.129 [display.mode.error]: ***** ERROR: Could not create display surface: Couldn't find matching GLX visual

Closing log at 2012-07-12 19:30:55 +0200.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).

User avatar
Jake
Competent
Competent
Posts: 40
Joined: Wed Aug 22, 2012 1:44 am
Location: The Arse End Of Nowhere
Contact:

Re: For the raspberry

Post by Jake » Mon Nov 05, 2012 8:59 pm

NigelJK wrote:I did read that work is afoot to port RiscOS to Rtt, but won't be shown to the public until it's almost there.
It's just been released.
Proud owner of the most iron-arsed Mk1 Cobbie in G1.

User avatar
Davespice
Above Average
Above Average
Posts: 23
Joined: Tue May 01, 2012 3:45 pm

Re: For the raspberry

Post by Davespice » Tue Nov 06, 2012 10:41 am

Yeah this is exciting news. I have given it a go and it is really fast and smooth, boots up very quickly from cold too.
So are you thinking about doing a native port of Archimedes Elite to Risc OS or getting it running via an emulator?

As far as I know the old Archimedes had a 26 bit processor and obviously the RPi is 32 bit Arm v6.
I have heard a rumour that Adrian Lees may be doing a RPi version of Aemulor which would do the job.
Image

User avatar
xzanfr
Competent
Competent
Posts: 56
Joined: Wed Jun 27, 2012 8:23 pm
Location: U.K.

Re: For the raspberry

Post by xzanfr » Tue Nov 06, 2012 7:30 pm

Davespice wrote:Yeah this is exciting news. I have given it a go and it is really fast and smooth, boots up very quickly from cold too.
So are you thinking about doing a native port of Archimedes Elite to Risc OS or getting it running via an emulator?
I've also been playing around with riscos on the pi and agree that it is fantastic! It's been years since my trusty old acorn electron and a (borrowed) arc 440 and the BASIC programming is still in a dusty corner of my brain waiting to be poked with a stick :D I completed the gertboard last weekend so it's on to risc-ing with it in the next few days... exciting.

With regards to a pi port - i really think it would be great to get oolite running on the raspbian distro rather than fire up the old arc elite. Mainly as I imagine that it would be a bit easier being based upon an existing linux distro but also because (and no disrespect to my acorn brothers & sisters here ;) ) I just think that oolite is better than the origonal elite, arc version or not.

The other great reason for getting it going on a pi would be to create a case shaped like a cobra mk3 to put the pi in to - thereby creating a model of a ship that plays the game.

User avatar
Jake
Competent
Competent
Posts: 40
Joined: Wed Aug 22, 2012 1:44 am
Location: The Arse End Of Nowhere
Contact:

Re: For the raspberry

Post by Jake » Wed Nov 07, 2012 9:20 am

xzanfr wrote:The other great reason for getting it going on a pi would be to create a case shaped like a cobra mk3 to put the pi in to - thereby creating a model of a ship that plays the game.
That would be fairly easy to do, actually; we already have the 3D models, so it's just a case of modifying them to make room for the RPi and feeding them into a 3D printer. Most "Hackerspaces" probably have one of those knocking around by now, or you can buy one in kit form for about four hundred quid.
Proud owner of the most iron-arsed Mk1 Cobbie in G1.

User avatar
Davespice
Above Average
Above Average
Posts: 23
Joined: Tue May 01, 2012 3:45 pm

Re: For the raspberry

Post by Davespice » Wed Nov 07, 2012 2:15 pm

xzanfr wrote:With regards to a pi port - i really think it would be great to get oolite running on the raspbian distro rather than fire up the old arc elite.
I agree with xzanfr. Oolite would be ideal for Raspbian, as it is currently their recommended distribution. Running ARC Elite again would be fun for a nostalgia trip, but for the new kids coming to the platform they’re going to want a game that they can just play. This is exactly the kind of intelligent, cerebral game the foundation would probably like to see kids playing too. Instead of the mindless violence of first person shooters you see on consoles.
I’ve spoken to Giles (aegidian) a couple of times regarding porting the code and last time I checked he had not yet received his Pi. I don’t know if that has changed. But from what I can see there are number of issues that will need to be overcome in order to have a playable build.
  • The source requires Debian Wheezy (probably gcc 4.6), which is ticked off now that Raspbian is in use (this has gcc 4.6.3).
  • The graphics code uses Open GL which is not supported by the Pi gpu. This requires Open GL ES, which would mean models would need conversion (only triangles are allowed), plus a number of other function calls are left out. There is a fair amount which is the same though. I have done some work with model conversion for another project I am doing (happy to share code).
  • The about page on the Oolite site says that the game requires a 1 GHz processor and 1 GiB of memory. It remains to be seen how well the Arm performs here, but the memory might be a problem. Obviously most RPis out there only have 256 MB of ram (512MB version out now) which is shared between the system and the gpu – so some work may have to be done to get Oolite to fit inside a smaller memory footprint. That could be the point of pain.
Thoughts?
Image

User avatar
xzanfr
Competent
Competent
Posts: 56
Joined: Wed Jun 27, 2012 8:23 pm
Location: U.K.

Re: For the raspberry

Post by xzanfr » Thu Nov 15, 2012 7:38 pm

The raspberry pi foundation website has gone a bit elite crazy today!
It gives a link to this site that explains how to port arc elite on to riscos. It's also got a massive ad / article for the DB kickstarter project on the front page.
Davespice wrote:Thoughts?
Unfortunately coding is well out my intelegence range, mate!, and even to my untrained eye they look like some hefty issues to overcome.... although it may be an idea to put a comment on the foundation site about a potential oolite-pi port while elite news is still hot - it may attract someone who is experienced with the raspbian distro that could provide the key to unlock the problems.

Post Reply