Totally new to RISCOS-Books?


21 posts
by mengel » Wed Jul 18, 2012 1:24 am
I have never used riscos (wrong side of the pond) but want to learn. Problem is, I've never had the opportunity, have no one who's brains I can pick and cannot seem to find any books over here to get me started. Simple things like syntax and the difference between BBC Basic and PC Basic are what I am looking for. Any recommendations ? Either online resources or books I should look for would be great. Most everything here is Intel oriented (or Apple) and I would like to do something different with my PI. Raspian looks good but is just another flavor of Linux. Help me, please.--mike
Posts: 52
Joined: Thu Oct 27, 2011 1:51 pm
by svrsig » Wed Jul 18, 2012 2:41 pm
Have you loaded the RISC OS alpha distro and tried it yet? It is a whopping 21.7 Mbtes to download the 2Gbyte SD card image (here http://www.svrsig.org/RISCOS_Distro.zip).
Updates also issued here:
http://www.svrsig.org/AlphaUp.zip
with incremental updates following:
http://www.svrsig.org/AlphaUp5.zip
http://www.svrsig.org/AlphaUp6.zip
http://www.svrsig.org/AlphaUp7.zip

Any recommendations ?

Try the free download of BBC BASIC for Windows here http://www.bbcbasic.co.uk/index.htm - it's quite different from BBC BASIC as it has been extended but the unextended parts are very similar. Hopefuly the BBC BASIC USer Guide will end up bundled with the Pi disc image once it gets to beta...
Posts: 125
Joined: Thu Nov 03, 2011 9:45 am
by jwpcliff » Wed Jul 18, 2012 6:12 pm
The acorn BBC Basic manual appears to be available online at:

http://foundation.riscos.com/Private/manuals/BASIC/

if you want to do UI programming the Programmers Reference Manuals were the RISCOS bibles:

http://foundation.riscos.com/Private/manuals/PRMs/

not sure what there is in the way of updates to this for the newer versions of RISCOS...
Posts: 2
Joined: Sat Jul 07, 2012 5:24 pm
by Grumpy Mike » Wed Jul 18, 2012 8:41 pm
There were never very many books on RISCOS even back in the day. Most of the information came from the reference manuals and from the magazines around at the time. BBC basic slowly developed from the original Model B through to RISCOS. It got more structured and was more like C but with BASIC syntax.
You could even program desktop applications in it by using SWIs. These were Soft Ware Interrupts and basically were hooks to get inside the various sections of the operating system. To that end the four volume RISCOS reference manual was the king. I payed about £80 for my copy back in the late 80s, when that was considerably more money than it is now. Fortunately they are still in a corner of my loft.
User avatar
Posts: 784
Joined: Sat Sep 10, 2011 7:49 pm
Location: Manchester (England England)
by trevj » Thu Jul 19, 2012 1:41 pm
Grumpy Mike wrote:Fortunately they are still in a corner of my loft.
...and presumably dying to see the light of day again!
Posts: 65
Joined: Fri Oct 28, 2011 6:41 am
Location: Bristol, UK
by Burngate » Fri Jul 20, 2012 9:56 am
Grumpy Mike wrote:... the four volume RISCOS reference manual ...

And 5a
Wyszkowski's Second Law: Anything can be made to work if you fiddle with it long enough.
Brain surgery is easier than psychoanalysis
User avatar
Posts: 2906
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK
by Grumpy Mike » Fri Jul 20, 2012 2:47 pm
Yes just had a look at them and forgot there was a 5a as well. ;)

I can't believe how small the files are when you compare them with the bulky tomes. That is the lack of diagrams I suppose.
User avatar
Posts: 784
Joined: Sat Sep 10, 2011 7:49 pm
Location: Manchester (England England)
by anicemanone » Mon Jul 23, 2012 2:47 pm
I have put Risc OS onto an SD card and placed into my Raspberry Pi
It work alright the only problem that found is that I can't save any files I create inside Risc OS
onto the SD Card. Also I don't know how to setup a harddisk4 image to use with the Raspberry Pi
I hope someone can explain how I can do this simply.

Thank you any help
Posts: 2
Joined: Mon Jul 23, 2012 2:38 pm
by svrsig » Tue Jul 24, 2012 9:20 pm
Also I don't know how to setup a harddisk4 image to use with the Raspberry Pi

Use the alpha distro here: http://www.svrsig.org/RISCOS_Distro.zip with these instructions:
http://www.riscosopen.org/wiki/documentation/show/Software%20information:%20Development%20%28ROM%20image%29
Posts: 125
Joined: Thu Nov 03, 2011 9:45 am
by anicemanone » Thu Jul 26, 2012 5:01 pm
I have used the Risc OS Distribution from this site. http://www.svrsig.org/RISCOS_Distro.zip
but where on the SD Card do I need to put the hard disc image file and how to set it up so that write my work onto the SD card.

Do I need to undertake the length process outlined on this page

http://www.riscosopen.org/forum/forums/1/topics/1098

It seams quite a bit work to get it work.
I have not tried out this process yet so I don't if work yet
Posts: 2
Joined: Mon Jul 23, 2012 2:38 pm
by sawdust » Fri Jul 27, 2012 7:12 am
anicemanone wrote:I have used the Risc OS Distribution from this site. http://www.svrsig.org/RISCOS_Distro.zip
but where on the SD Card do I need to put the hard disc image file and how to set it up so that write my work onto the SD card.

Do I need to undertake the length process outlined on this page

http://www.riscosopen.org/forum/forums/1/topics/1098

It seams quite a bit work to get it work.
I have not tried out this process yet so I don't if work yet


No you don't. The distro contains all the files in the hard disc 4 image and more. That image is intended for use on systems other than the Pi.

Sawdust
Posts: 40
Joined: Fri Jul 27, 2012 7:09 am
by acornone » Mon Jul 30, 2012 3:18 pm
I put the Risc OS distribution on my SD card and it works fine.
I used the image dated 24th July On this website http://www.svrsig.org/RISCOS_Distro.zip

The Resources are read only

If I try and save a file onto my SD card it tells me that the SD empty

I have looked at files on the SD and I can't find the Self extracting HardDisc4.util file.

The RISCOS_Alpha_24Jul2012.img contains the following

BOOTCODE.BIN
CMDLINE.TXT
CONFIG.TXT
LOADER.BIN
RISCOS.IMG
START.ELF

Risc OS responds faster than the Linux on the Raspberry Pi
I would like to be able to save files and create directories.

Can someone please explain what I am doing wrong thanks
Posts: 5
Joined: Mon Jul 30, 2012 2:52 pm
by svrsig » Mon Jul 30, 2012 8:13 pm
The RISCOS_Alpha_24Jul2012.img contains the following
in the FAT partition plus a whole RISC OS partition occupying 1700Mbytes of the card.

Can someone please explain what I am doing wrong thanks


When you put the SD card image onto the card and boot the Pi, it should start up in RISC OS. You should then be able to see the RISC OS Desktop. You should be able to save files to the SD card (and other USB pen drives etc.) Please post a screenshot or give detail as to what is the problem...
Posts: 125
Joined: Thu Nov 03, 2011 9:45 am
by sawdust » Mon Jul 30, 2012 9:38 pm
acornone wrote:I have looked at files on the SD and I can't find the Self extracting HardDisc4.util file.


You should not see HardDisc4.util as this not connected to the distro, what you should see is a !Boot application and and whole load of other directories.

How did you write the image to the card and what are the details of the card? Have you another one you can try?

Sawdust.
Posts: 40
Joined: Fri Jul 27, 2012 7:09 am
by acornone » Tue Jul 31, 2012 10:25 pm
I downloaded the zip file onto my PC and unzipped the RISCOS_Alpha_24Jul2012.img file
I put my SD card into a reader and attached to my PC via a USB slot.
Then used Win32 Disk Imager To write the information onto the SD card.

I used the same method to put Linux onto another SD card and that works fine

If I import the RISCOS_Alpha_24Jul2012.img into Windows the FAT32 part only contains

BOOTCODE.BIN
CMDLINE.TXT
CONFIG.TXT
LOADER.BIN
START.ELF

RISCOS.IMG I assume that the Risc Os bits are all inside this file.
Posts: 5
Joined: Mon Jul 30, 2012 2:52 pm
by svrsig » Wed Aug 01, 2012 7:40 am
the FAT32 part only contains

as you would expect.

RISCOS.IMG I assume that the Risc Os bits are all inside this file.

No - this is 6Mbytes of ROM. What you cannot see, except under RISC OS, is the RISC OS partition. If you start up the Pi [all of the stuff to do this is in the FAT partition], RISC OS will boot up and you will see 1800Mbytes of storage with 110Mbytes or so being RISC OS software with access to the FAT partition (some 130Mbytes) from within RISC OS.
Posts: 125
Joined: Thu Nov 03, 2011 9:45 am
by Raeddie » Sun Aug 05, 2012 9:12 am
Regarding RISC OS books, take a look at http://alligatamedia.magcloud.com/
Posts: 18
Joined: Sun Aug 05, 2012 9:09 am
by NigelJK » Wed Sep 05, 2012 1:49 pm
There was also a 64bit ready version called Basic64.

I should shortly receive my Raspberry, and will resurrect a project I was working on on my RiscPC. This was essentially an IDE. You would still need the PRM's as you would still need to call SWI's on occasion. Most of the UI calls are handled by the IDE (including, for the initiated, Menus)
Posts: 64
Joined: Wed Sep 05, 2012 1:44 pm
by arober11 » Mon Nov 12, 2012 1:01 pm
Posts: 2
Joined: Tue Sep 11, 2012 4:40 pm
Location: UK
by Freddie570 » Fri Dec 28, 2012 8:41 am
There is a new book by Bruce Smith on Assembly Language. It is for Beginners and uses the BBC BASIC Assembler in RISC OS. It shows how to use the RISC OS SWI calls too.

I have the book and it is pretty good. Easy to read. I learned a lot from it.

There is a discussion thread to it under General Programming, called 'Assembly Language Made Easy' or you can find it at Amazon:
http://www.amazon.co.uk/Raspberry-Pi-As ... 752&sr=8-1

There is a eBook version as well.
Posts: 12
Joined: Thu Dec 20, 2012 2:33 am
by DavidS » Fri Jan 04, 2013 4:26 am
Here is a tutorial on WIMP Programming:
http://acorn.revivalteam.de/Emu/Wimp%20Tutorial.htm

Also RISCWorld magazine has a bunch of good articles on programming in BBC BASIC on RISC OS. Volumes 1 through 9 can be viewed on there site free, see:
http://acorn.revivalteam.de/Emu/Wimp%20Tutorial.htm
ARM Assembly Language: For those that want: Simple, Powerful, Easy to learn, and Easy to debug.
User avatar
Posts: 1251
Joined: Thu Dec 15, 2011 6:39 am
Location: USA