Go to advanced search

by neilf
Sun Jan 13, 2013 11:04 pm
Forum: RISCOS
Topic: Sound for Squeak/Scratch
Replies: 24
Views: 7588

Re: Sound for Squeak/Scratch

One of the posts in that RISC OS forum points to another resource that looks fairly helpful... That's an excellent article - well worth bookmarking - thanks for pointing it out. Ironically it was written by Jeffrey Lee, the man almost single-handedly responsible for getting Risc OS onto the R-Pi. H...
by neilf
Sun Jan 13, 2013 9:15 am
Forum: Troubleshooting
Topic: Bad Batch of PI?
Replies: 4
Views: 1080

Re: Bad Batch of PI?

Yes I saw that. As I said, I posted because my bad boards seem to be from the same batch and gave the id number from the boards in the hope it would help someone else.
How would it help someone else? If you've got a faulty board, send it back for a refund/replacement. Posting here won't fix it.
by neilf
Sun Jan 13, 2013 9:08 am
Forum: RISCOS
Topic: What does RISCOS bring to the RPi party
Replies: 63
Views: 19255

Re: What does RISCOS bring to the RPi party

I do think that it would be worth adding a timer of sorts to forcably switch any task running in the WIMP that deoes not call Wimp_Poll for more than a couple of seconds. Currently the only thing that a normal task can easily do to 'crash the system' is never call Wimp_Poll That's what Alt/Break is...
by neilf
Sat Jan 12, 2013 2:49 pm
Forum: Java
Topic: Java GPIO Frequency Benchmarks
Replies: 35
Views: 20529

Re: Java GPIO Frequency Benchmarks

I know it's not really relevant to a Java thread, but interpreted BBC Basic V, running under RISC OS, toggles an R-Pi GPIO line at >20MHz, so Java and C have a way to go yet.
by neilf
Thu Jan 10, 2013 12:12 pm
Forum: Beginners
Topic: RISC OS
Replies: 2
Views: 1429

Re: RISC OS

Unfortunately, WiFi is not currently useable under Risc OS (no drivers/stack support). So it's wired connections only.
by neilf
Thu Jan 10, 2013 12:05 pm
Forum: Other programming languages
Topic: How can I see output of BBC BASIC graphic commands?
Replies: 8
Views: 2164

Re: How can I see output of BBC BASIC graphic commands?

Click on the 'Apps' icon on the iconbar. Double-click on StrongEd (I prefer StrongEd over Edit as you can run code direct from the editing window, plus it has other useful facilities). Choose Create>>BASIC from the app's icon menu. Type in your Basic code as above, but precede it with MODE MODE. Cli...
by neilf
Sat Dec 29, 2012 1:04 pm
Forum: RISCOS
Topic: BBC Basic compilable?
Replies: 33
Views: 11830

Re: BBC Basic compilable?

ARM BBC Basic is very quick as an interpreted language - being hand coded for speed of execution. There's no need for compilers (but one or two are available if you're determined to use one). I write some quite complex full gui programs in ARM Basic and they more than hold their own on the desktop, ...
by neilf
Mon Dec 24, 2012 10:10 am
Forum: Other projects
Topic: Connecting the Raspbery Pi to a BBC Micro
Replies: 6
Views: 2207

Re: Connecting the Raspbery Pi to a BBC Micro

This thread was about connecting a Pi physically to the BBC's Tube port, which is basically the 6502 bus. You can not read and write the Pi's GPIOs anywhere near fast enough to use them as a 6502 bus.
BBC Basic can write them at 20MHz. How fast do you need them to be?
by neilf
Fri Dec 21, 2012 11:33 am
Forum: General programming discussion
Topic: Assembly Language Made Easy
Replies: 28
Views: 8229

Re: Assembly Language Made Easy

Hi Bruce, nice to have the author involved in the thread. I have a copy of your book arriving tomorrow (hopefully - according to Amazon). I haven't delved too far into the 'look inside' facility as I don't want to spoil the experience of reading the real thing, but I'm assuming all the code and copy...
by neilf
Thu Dec 20, 2012 1:55 pm
Forum: General programming discussion
Topic: Assembly Language Made Easy
Replies: 28
Views: 8229

Re: Assembly Language Made Easy

You can take a look for yourself at Amazon http://www.amazon.co.uk/Raspberry-Pi-Assembly-Language-Beginners/dp/148112790X/ref=sr_1_1?s=books&ie=UTF8&qid=1356011438&sr=1-1 They have a 'look inside' version that let's you inspect the first 80 pages, including the chapter index. Looks like a very usefu...
by neilf
Wed Dec 12, 2012 1:50 pm
Forum: General discussion
Topic: Raspberry Pi made in UK and China side by side pictures.
Replies: 7
Views: 4223

Re: Raspberry Pi made in UK and China side by side pictures.

The biggest problem is having the P5 GPIO holes filled with solder. It really shouldn't be necessary to have to clean them out before a set of interface pins can be fitted - especially for beginners. If Sony can keep the holes clear, why can't the Chinese factory?
by neilf
Fri Dec 07, 2012 9:10 am
Forum: RISCOS
Topic: Basic eating task memory
Replies: 6
Views: 1726

Re: Basic eating task memory

And dump the line numbers, Uncle, they're antediluvian. Haven't been needed for a quarter of a century. Similarly the 'GOTO' (yeuch).

These days your code snippet would be written:

REPEAT
FOR I =1 TO 10000
PRINT I
NEXT I
UNTIL FALSE
by neilf
Mon Dec 03, 2012 8:58 pm
Forum: General discussion
Topic: RPi missing Broadcom IC
Replies: 15
Views: 2827

Re: RPi missing Broadcom IC

Bet it was made in China!
by neilf
Mon Dec 03, 2012 2:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO state after boot
Replies: 37
Views: 74646

Re: GPIO state after boot

Just as a point of interest, the reason your three LEDs are on at start up is probably because five of the 17 available GPIO lines are pulled high by default (the rest are pulled low). The numbers are GPIO0/2, GPIO1/3, GPIO4, GPIO7 and GPIO8. I'm not familiar with Wiring Pi pin numbers but I expect ...
by neilf
Sat Nov 24, 2012 9:04 am
Forum: RISCOS
Topic: I2C Access
Replies: 79
Views: 18092

Re: I2C Access

...but I can only view the text in quotes - the rest is garbled. I have tried opening under RISCOS Strong Arm text editor. Do I need to open these files with a specific application or view them with a specific character encoding? They work fine here, pygmy. (Thanks Mike.) If they look like text fil...
by neilf
Wed Nov 21, 2012 10:35 am
Forum: RISCOS
Topic: What does RISCOS bring to the RPi party
Replies: 63
Views: 19255

Re: What does RISCOS bring to the RPi party

Linux is noisy, Risc OS is quiet. If you're into robotics, that's all you need to know.
by neilf
Wed Nov 21, 2012 10:31 am
Forum: RISCOS
Topic: Accessing GPIO pins from RISC OS BBC BASIC
Replies: 9
Views: 13723

Re: Accessing GPIO bins from RISC OS BBC BASIC

Before I go and splash out any cash, does anyone know if you can access the GPIO pins on a Raspberry Pi via BBC BASIC via RISC OS?
See thread at:
https://www.riscosopen.org/forum/forums/5/topics/1445
by neilf
Tue Nov 20, 2012 9:10 am
Forum: RISCOS
Topic: RiscOS and GPIO for dummies ...
Replies: 48
Views: 15701

Re: RiscOS and GPIO for dummies ...

Can anypne point me to refreence materials on SYS"IIC_Control" and SYS"OP_IICOp" ? I'm not sure SYS IIC_Control is relevant to R_Pi. The one you want is SYS "OS_IICOp" (note the OS). Documentation is available here: http://www.riscosopen.org/wiki/documentation/show/OS_IICOp By the way, "SYS" is nor...
by neilf
Sat Nov 17, 2012 7:37 pm
Forum: RISCOS
Topic: RiscOS and GPIO for dummies ...
Replies: 48
Views: 15701

Re: RiscOS and GPIO for dummies ...

I've just run a version of the above prog but using Basic's in-line assembler for the speed-critical bits. The GPIO line now toggles at 19.7MHz :o I don't have a logic probe to test the output with so it the code has to include a self-timing loop. Without the overhead of the timing loop I reckon it ...
by neilf
Thu Nov 15, 2012 10:30 am
Forum: RISCOS
Topic: RiscOS and GPIO for dummies ...
Replies: 48
Views: 15701

Re: RiscOS and GPIO for dummies ...

A further note about the speed test prog above. Using Tank's amended 0.46 version (or later) of the GPIO module, the code should now read: REM R-Pi speed test, Rev2 board, Risc OS BBC Basic V, 15/11/12 SYS "GPIO_ExpAsGPIO",2 T%=TIME FORN%=1TO305000:SYS&58F81,24,1:SYS&58F81,24,0:NEXT:S%=TIME-T% PRINT...
by neilf
Wed Nov 14, 2012 9:21 pm
Forum: RISCOS
Topic: RiscOS and GPIO for dummies ...
Replies: 48
Views: 15701

Re: RiscOS and GPIO for dummies ...

What speed are you running the CPU/GPU at. On mine it gets about 224Khz (V2 board, 900Mhz CPU, default GPU) with that program, nothing else running... :( Reading pin with a logic probe. Hi Tank. I'm just running a Rev2 card standard, straight out of the box, with the above prog running single-taski...
by neilf
Sun Nov 11, 2012 8:29 am
Forum: RISCOS
Topic: RiscOS and GPIO for dummies ...
Replies: 48
Views: 15701

Re: RiscOS and GPIO for dummies ...

The following Basic code toggles at 324kHz on my V2 board: REM R-Pi speed test, V2 board, Risc OS BBC Basic V, 9/11/12 SYS "GPIO_ExpAsGPIO",0 T%=TIME FORN%=1TO324000:SYS&58F81,24,1:SYS&58F81,24,0:NEXT:S%=TIME-T% PRINT "Completed in ";S%;" centisecs" END See thread at: https://www.riscosopen.org/foru...

Go to advanced search