Qjimbo
Posts: 10
Joined: Tue Aug 20, 2013 7:12 pm
Location: Vancouver, BC

Programming an internet enabled app on RISC OS

Mon May 19, 2014 4:44 am

The first programming language I ever learned was BBC Basic on an Acorn A3000 - I have since moved onto languages on the PC like Delphi and C#. I like C# particularly as it it includes libraries that allow you to do almost anything.

With the Raspberry Pi I want to do programming on Risc OS again, I love the Risc OS environment and it will always have a special place in my heart - but is this really feasible? I like IDEs and rapid development, and I don't know if anything like this exists for Risc OS.

I want to put together application that is internet enabled with a simple GUI just to get a feel for whether this is possible. Any suggestions on where to start? Thanks!

SEDev
Posts: 34
Joined: Thu Aug 02, 2012 10:55 pm

Re: Programming an internet enabled app on RISC OS

Mon May 19, 2014 12:03 pm

There are no IDEs available for RISC OS but there are two good text editors that you can use; Zap and StrongED. Which of these is the best is a never ending debate so I'd suggest you try both and see which suites you best, personally I'd go for StrongED but I'm heavily biased :-).

First you'll need to get yourself the required tools. There are two ways to go here; either the ROOL C compiler (commercial) or GCC (free). Next you'll to decide on libraries to use, which are best depends on how you want to build the GUI; using window templates or the toolbox. A lot of information on C programming for RISC OS can be found here: http://www.riscos.info/

Finally you'll need to familiarise yourself with RISC OS socket programming. A very useful tutorial can be found here http://www.paymentlabs.com/riscos/tutor ... ng/sockets (written by someone returning to RISC OS and wanting to write some simple internet related apps to get back in, much like yourself).

I would also recommend joining the ROOL forum (http://www.riscosopen.org) where many of the people working with, and on, RISC OS 5 can be found. It's probably the best place to find answers to any questions you may have.

Qjimbo
Posts: 10
Joined: Tue Aug 20, 2013 7:12 pm
Location: Vancouver, BC

Re: Programming an internet enabled app on RISC OS

Mon May 19, 2014 5:37 pm

Thanks for your help! Sounds like there is quite a lot to set up - was hoping to find some sort of pre-built environment I could just unzip and get started right away. Never that simple it seems!

timrowledge
Posts: 1137
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Programming an internet enabled app on RISC OS

Mon May 19, 2014 9:55 pm

Qjimbo wrote: I like IDEs and rapid development, and I don't know if anything like this exists for Risc OS.
There's always Smalltalk - the original IDE - in the form of Squeak; http://squeakvm.org/riscos/
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

Qjimbo
Posts: 10
Joined: Tue Aug 20, 2013 7:12 pm
Location: Vancouver, BC

Re: Programming an internet enabled app on RISC OS

Tue May 20, 2014 4:07 am

timrowledge wrote:
Qjimbo wrote: I like IDEs and rapid development, and I don't know if anything like this exists for Risc OS.
There's always Smalltalk - the original IDE - in the form of Squeak; http://squeakvm.org/riscos/
Hmm, looks very interesting! Completely unfamiliar to me but I'll definitely give this a look. Also hi to you over on the island! :)

timrowledge
Posts: 1137
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Programming an internet enabled app on RISC OS

Wed May 21, 2014 1:00 am

Take a look at -
squeak.org- the main website, though it is a bit plain at the moment due to being re-worked, slowly.
http://wiki.squeak.org/squeak -the adjunct wiki site, which is full of both amazingly useful stuff and horribly out of date stuff, as are all wikis.
http://wiki.squeak.org/squeak/689 lists a load of good books, including many online and free. And one partly written by me, so it must be good ;-) 'Squeak by example' is also good.
Search youtube for 'Lawson English Smalltalk' and peruse his collection of really rather well done tutorial videos. Some are based on rather out of date systems but the basics are all there.

And hi! back to you, across the water.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

User avatar
Shawty
Posts: 58
Joined: Fri Nov 16, 2012 1:22 am
Location: North East UK
Contact: Website

Re: Programming an internet enabled app on RISC OS

Tue Sep 09, 2014 6:22 pm

While !Zap and !StrongED are great (My fave is the later) I'm surprised no ones yet suggested Sourcery..

http://www.reallysmall.co.uk/Pages/norm ... rcery.html
still crazy (Even since the days of my BBC Model B) BEST and only way to be ;-)

IM: @shawty_ds on twitter
if you remember the Acorn and BBC days then I was "!Shawty! of DSPD" (Author of the BBC B Sound Tracker suite, and the Dreamscape demo)

User avatar
DavidS
Posts: 3065
Joined: Thu Dec 15, 2011 6:39 am
Location: USA
Contact: Website

Re: Programming an internet enabled app on RISC OS

Wed Jun 22, 2016 8:14 am

As for "Internet Enabled", I assume that you mean an application that transfers some kind of information over TCP/IP. If so then the answer is that yes it is easy to do so in RISC OS, the sockets library as used in most OSes is well implemented as a set of SWI's on RISC OS.
26-Bit R15 to 32-bit. 16-bit addressing to 24-bit. ARM and 65xx two CPU's that continue on, and are better than ever. Assembly Language forever :) .

Return to “RISCOS”

Who is online

Users browsing this forum: No registered users and 3 guests