Go to advanced search

by AMcS
Tue Feb 05, 2013 10:02 pm
Forum: Bare metal, Assembly language
Topic: BBC Basic/Assembler
Replies: 13
Views: 4492

Re: BBC Basic/Assembler

To me, as a beginner, using risc OS seems like it makes for a slimmed down, more efficient environment. Using BBC Basic with Assembly Language seems like a convenient way of making fast and efficient and fast running code on the RPi? (By convenient I mean it's already there, included with the riscO...
by AMcS
Tue Feb 05, 2013 9:49 pm
Forum: Bare metal, Assembly language
Topic: BBC Basic/Assembler
Replies: 13
Views: 4492

Re: BBC Basic/Assembler

whilst i learned basic and arm assembler on bbc/riscos, i can't really see the point of it these days, it is a dead platform. personally i'd try it on linux. For a "dead" platform - a lot of people seem to be interested in don't you think ? For example the RISC OS Open site had it's largest EVER nu...
by AMcS
Tue Feb 05, 2013 9:23 pm
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

I will have done the analysis of this a decade ago, but somehow the contrary idea got into my head. Mea culpa. Wouldn't worry about it Steve - these things happen - no harm done (I can leave the blasted control variables out if I like YAH HAY !!!!). Sorry I better tone that down "yah hay". As to yo...
by AMcS
Mon Feb 04, 2013 9:11 pm
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

As a matter of style is also better to follow NEXT with its control variable and BASIC V runs marginally faster if you do. Yikes! Markodius wasn't the only one who thought that, I'd been deliberately leaving them off because I was under the impression that if the control variable was present after ...
by AMcS
Mon Feb 04, 2013 9:00 pm
Forum: RISCOS
Topic: SWI documentation/info
Replies: 45
Views: 9625

Re: SWI documentation/info

JHENSHAWJR wrote:Thanks for the info. AMcS and David, really appreciate it.
No problem Joe, pleased to help.
by AMcS
Sun Feb 03, 2013 11:23 pm
Forum: General discussion
Topic: Is possible to build rocket ship to MARS using raspberry Pi?
Replies: 33
Views: 6993

Re: Is possible to build rocket ship to MARS using raspberry

A long time ago, as I understand it, there were indeed a batch of ARMs made as silicon-on-saphire which is radiation hardened when done right. This would be around ARM3 era I think. Later StrongARMs were used in AMSAT (Amateur Radio Satellites) in low Earth orbit - apparently the StrongARM was quit...
by AMcS
Sun Feb 03, 2013 10:11 pm
Forum: RISCOS
Topic: SWI documentation/info
Replies: 45
Views: 9625

Re: SWI documentation/info

Your best bet are the PRM (Programmers' Reference Manuals), there are 5 in total and they provide the documentation on all the SWIs. They can be downloaded from http://foundation.riscos.com/Private/manuals/ But (as I am not near my Pi at the minute) I think they are also included in the SD build dow...
by AMcS
Sun Feb 03, 2013 10:00 pm
Forum: RISCOS
Topic: Paralle data entry
Replies: 20
Views: 5651

Re: Paralle data entry

@Steve & Tank: Thanks for the replies guys. It would be quite a slow call as it would, as you say need to build/decompose the result. Still if the user just makes a single SWI call (rather than having to do multiples of that setting up a "pin" on each call - then it might overall still be faster tha...
by AMcS
Sun Feb 03, 2013 7:45 pm
Forum: RISCOS
Topic: Paralle data entry
Replies: 20
Views: 5651

Re: Paralle data entry

You cannot create a "parallel port" as such, but you can read/write the 8 lines as separate values. I haven't yet looked in detail at GPIO so what I am suggesting may be absurd (if so apologies in advance!) - or there may be better ways of doing it... Would it be possible to add a SWI to "simulate"...
by AMcS
Sun Feb 03, 2013 7:29 pm
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

pygmy_giant wrote:Hey look - robot using RISC OS and BASIC: http://www.raspberrypi.org/phpBB3/viewt ... ot#p276855
Thanks for that pygmy_giant, looks like a very interesting project (and more than proves that RISC OS and BBC BASIC V is up to the task of robotic control).
by AMcS
Sun Feb 03, 2013 7:25 pm
Forum: RISCOS
Topic: Legacy software - Textease & Primesolver
Replies: 7
Views: 2166

Re: Legacy software - Textease & Primesolver

LemmeFatale wrote: I just wanted to say thanks very much for linking to this - that's a really handy list for a virtual "newcomer" (as I am - I've not used RISC OS since I was in primary school!). :)
No problem, and welcome back !
by AMcS
Sun Feb 03, 2013 2:33 pm
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

@Steve: Thanks for the additional background information and the links.

I'll download the BASALT zip (and manual) and give it a try, thanks again.
by AMcS
Sun Feb 03, 2013 3:05 am
Forum: RISCOS
Topic: Paralle data entry
Replies: 20
Views: 5651

Re: Paralle data entry

On the RPi, I gather than RISC OS - BASIC would be faster than Linux-Python, but the BASIC interpreter appears to lack I/O facilities. What have I missed ? . BBC BASIC does provide some commands (like VDU) that does address hardware (via RISC OS), but as it is easy to add new hardware at any time t...
by AMcS
Sun Feb 03, 2013 2:20 am
Forum: RISCOS
Topic: Legacy software - Textease & Primesolver
Replies: 7
Views: 2166

Re: Legacy software - Textease & Primesolver

Thanks for that RMac, that's useful to know.

ROOL also carry a list of programs and their compatibility with newer ARM processors like ARMv6 (as in the PI) and ARMv7 - this can be found on http://www.riscosopen.org/wiki/document ... ity%20list
by AMcS
Sun Feb 03, 2013 2:02 am
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

You do have me curious, I am going have to look at the source for BBC BASIC V and see what is making this difference. My RPi is running withe the ARM at 600MHz, and SDRAM at 500MHz. I do not see how the SDRAM speed could make that much of a difference for this though maybe so, I have tried it with ...
by AMcS
Sat Feb 02, 2013 8:44 pm
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

If anyone is using a bubble sort in the real world, they want a kick up the rear. Yes, true, but having students investigate the Bubble Sort ... is still a useful exercise IMHO ... they'll soon find that it's useless ... Oh, absolutely. However, my comment was in response to the following, which ma...
by AMcS
Fri Feb 01, 2013 9:03 pm
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

If anyone is using a bubble sort in the real world, they want a kick up the rear. Yes, true, but having students investigate the Bubble Sort (a somewhat simpler proposition than -say- Quicksort or Heap Sort) is still a useful exercise IMHO. They learn how to study a sorting algorithm and (in additi...
by AMcS
Thu Jan 31, 2013 10:20 pm
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

The problem with the Ackermann algorithm is that it tests recursion, this has always been one of the shortcomings of 99% of BASIC interpreters, due to the way they pass parameters to functions/procedures. Hence the other tests that I suggested, these will speak to the standard libraries of BASIC as...
by AMcS
Wed Jan 30, 2013 9:05 pm
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

@DavidS: In terms of testing I'd tentatively suggest adding a test for Saving data to secondary storage - and also something to test random seeks in a file open for read/write. It might also be informative when testing to test saving/writing files of different sizes (some filing systems handling lot...
by AMcS
Wed Jan 30, 2013 8:49 pm
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

Steve Drain wrote:BASIC V will do that crunch at runtime if the system variable BASIC$Crunch is set. Any value will do, so in a TaskWindow (Ctrl-F12) or the Command Shell (F12):

Code: Select all

Set BASIC$Crunch 1
Wasn't aware of that one Steve, thanks !
by AMcS
Wed Jan 30, 2013 2:12 am
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

If RiscOS uses significant resources to print four lines in two seconds, then it's lost the race. At those times, printing is insignificant. But if you must, take out the PRINT lines. Agreed, RISC OS doesn't use significant resources for printing in fact the bulk of the time in the Ackermann functi...
by AMcS
Tue Jan 29, 2013 9:07 pm
Forum: RISCOS
Topic: Machine startup has not completed successfully- [Solved]
Replies: 10
Views: 3351

Re: Machine startup has not completed successfully

Some time ago, in the Linux world, someone had a similar-ish problem - their Pi consistently stopped booting part way through. I had a theory that at that point Linux changed the mode in which it was reading the card, and that for some reason that mode wasn't working, even though the default mode w...
by AMcS
Mon Jan 28, 2013 1:40 pm
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

It was the claim that interpreted languages are faster as a result of running under RISC OS that I was questioning. Like I said before I don't think interpreted languages use the operating system intensively, so its more down to the their implementation rather than the operating system. I'd agree w...
by AMcS
Mon Jan 28, 2013 1:32 pm
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 34242

Re: RISC OS; Pros and Cons

One significant optimisation is that it was and is parsed for keywords, and each keyword is replaced by a single byte. Judging by what comes out if you try to read a RiscOS BASIC file on a Linux box, the "compilation" may go deeper than that now. If I recall correctly tokens (in 6502 BBC BASIC) wer...
by AMcS
Sun Jan 27, 2013 8:12 pm
Forum: RISCOS
Topic: Machine startup has not completed successfully- [Solved]
Replies: 10
Views: 3351

Re: Machine startup has not completed successfully

Thanks for that link Burngate, it's much appreciated.

Go to advanced search