Go to advanced search

by Steve Drain
Wed Oct 30, 2013 11:18 am
Forum: RISCOS
Topic: RISC OS Assembly Tutorials.
Replies: 82
Views: 27914

Re: RISC OS Assembly Tutorials.

There is an important point about the BBC Basic assembler that I think is sometimes missed, or is not stressed enough; namely that the assembled code, if it is not just for a transient utility, is designed to use BBC Basic's runtime system. I am not quite sure this is clear to me. You can use offse...
by Steve Drain
Fri Oct 11, 2013 10:10 am
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 143005

Re: BASIC - more harmful than useful?

Because of the way BBC BASIC implements loops on a stack, you can not safely jump in or out of one. In that sense, maybe it discourages goto more than C does, simply by having a goto that does not work properly. ¹ BBC BASIC for Windows 5.6+ has EXIT FOR/REPEAT/WHILE. I am not going to engage with D...
by Steve Drain
Fri Oct 04, 2013 9:47 am
Forum: RISCOS
Topic: BBC Basic assembler
Replies: 26
Views: 9717

Re: BBC Basic assembler

If RISCOS were more popular, I wonder if the BBC's corporate lawyers would demand that it was renamed? :lol: RISC OS or BBC BASIC? OK, you mean the BASIC, but the RO version may not even be the majority version now. Back in the day, RO was very popular indeed and no-one at the BBC had any thought a...
by Steve Drain
Thu Oct 03, 2013 11:29 am
Forum: RISCOS
Topic: BBC Basic assembler
Replies: 26
Views: 9717

Re: BBC Basic assembler

It should be remembered that the design of this version of BASIC was developed in conjunction with the BBC to support their computing TV programmes. The Acorn versions were written by Wilson, but there are many others available for a variety of machines and processors. Richard Russell, the principal...
by Steve Drain
Tue Sep 03, 2013 3:19 pm
Forum: General discussion
Topic: A slimmer Pi variant?
Replies: 19
Views: 2601

Re: A slimmer Pi variant?

The through-hole components are placed by hand, but still soldered by machines ;-) I wondered whether to mention the same. To my mind it should be reasonably easy to tell the placers to miss a few boards, let the whole process continue and to put the incomplete ones aside for specials at the end. H...
by Steve Drain
Tue Sep 03, 2013 11:23 am
Forum: General discussion
Topic: A slimmer Pi variant?
Replies: 19
Views: 2601

Re: A slimmer Pi variant?

If he can get the USB connector off without harming the board, I'll be impressed. It really is not so difficult. As with all the removable sockets it is simplest to destroy the socket with a pair of side cutters and remove the pins individually, but it is not a lot more trouble to remove the whole ...
by Steve Drain
Fri Aug 09, 2013 4:23 pm
Forum: Staffroom, classroom and projects
Topic: Seymour Papert, Cynthia Solomon, 1971, logo and scratch
Replies: 10
Views: 2784

Re: Seymour Papert, Cynthia Solomon, 1971, logo and scratch

Also, if you want a nice Logo implementation for the Pi there is one as part of Kids Ruby. I protest. :) That is Turtle Graphics, not Logo, and you can do TG in all sorts of languages. The point about Logo is that it is a language and a "Machine for Thinking". It can be applied to all sorts of area...
by Steve Drain
Fri Aug 09, 2013 4:07 pm
Forum: Staffroom, classroom and projects
Topic: Seymour Papert, Cynthia Solomon, 1971, logo and scratch
Replies: 10
Views: 2784

Re: Seymour Papert, Cynthia Solomon, 1971, logo and scratch

These two were behind the creation of the logo programming language which is a direct ancestor (if not parent) of Scratch. Their work was decades ahead of it's time. This cannot pass without a mention of Seymour Papert's book "Mindstorms". Inspirational. As for "decades ahead of its time", in the 8...
by Steve Drain
Tue Aug 06, 2013 10:52 am
Forum: RISCOS
Topic: Wireless Support?
Replies: 2
Views: 1474

Re: Wireless Support?

I was just wondering if there was Wireless Support for RiscOS. Please get back soon, I need this for work. Thanks! There is no support for a USB wireless dongle yet, but we can keep hoping one of the limited number of developers will get interested in this eventually. :) Meanwhile, you can add wire...
by Steve Drain
Mon Jun 10, 2013 1:19 pm
Forum: General discussion
Topic: I made a Raspberry PI Laptop
Replies: 840
Views: 388441

Re: I made a Raspberry PI Laptop

Hardwire the microUSB and microHDMI wires into the dock. Just gonna drill a hole on the top of the flip up dock and route the wires through there. USB will be soldered, by HDMI will run via an adapter That seems a bit drastic. Adaptors are readily available these days and you do not need to damage ...
by Steve Drain
Tue Jun 04, 2013 5:18 pm
Forum: RISCOS
Topic: No access to internet via wireless
Replies: 18
Views: 5909

Re: No access to internet via wireless

sorvad wrote:I can give more detail if required, but for bridging I used this guide
Thanks. I have XP and I have tried bridging, but I have concluded that it is not a sophisticated as 7. Shared internet access is quite sufficient for my needs anyway.
by Steve Drain
Mon Jun 03, 2013 4:16 pm
Forum: General discussion
Topic: I made a Raspberry PI Laptop
Replies: 840
Views: 388441

Re: I made a Raspberry PI Laptop

Do you have any schematics, specs etc. for this? I suppose it can be done from the pictures, but it would take a lot more work. I'm planning a Rasptop mod and this seems by far the cleanest method. I was gonna mount the pi on the back of the LCD, but this looks epic. Looks fairly complicated too by...
by Steve Drain
Mon Jun 03, 2013 10:33 am
Forum: RISCOS
Topic: No access to internet via wireless
Replies: 18
Views: 5909

Re: No access to internet via wireless

In the mean time I've configured my wireless enabled laptop as a bridge to the LAN socket on the Pi. [...] Not sure if anyone has posted about doing this before, if they haven't and anyone wants details I can post them if required. It was quite simple to set up. I missed this post earlier, but I ha...
by Steve Drain
Fri Apr 26, 2013 2:53 pm
Forum: General discussion
Topic: I made a Raspberry PI Laptop
Replies: 840
Views: 388441

Re: I made a Raspberry PI Laptop

I wrote: If anyone is interested in a minimalist answer to linking a Pi to a Lapdock you might have a look at some pictures on my site. I have made some further progress with this project: http://kappa.me.uk/Raspberry_Pip/PIP2/pip2_mounted.jpg http://kappa.me.uk/Raspberry_Pip/PIP2/pip2_sideview.jpg ...
by Steve Drain
Tue Feb 26, 2013 8:00 pm
Forum: RISCOS
Topic: BBC BASIC: What is needed in TUTs/DOCs
Replies: 17
Views: 3782

Re: BBC BASIC: What is needed in TUTs/DOCs

Then would you alow me to run my chapters on Basalt by you once the rough draft is complete, though before finilization? And if you aprove I will allow you to distribute my docs as your guide for Basalt and append your name to the credits, and the byline. I think that this is a good solution? That ...
by Steve Drain
Tue Feb 26, 2013 5:22 pm
Forum: General discussion
Topic: I made a Raspberry PI Laptop
Replies: 840
Views: 388441

Re: I made a Raspberry PI Laptop

If anyone is interested in a minimalist answer to linking a Pi to a Lapdock you might have a look at some pictures on my site at:

http://www.kappa.me.uk/raspberry_pip.htm
by Steve Drain
Fri Feb 22, 2013 2:13 pm
Forum: RISCOS
Topic: BBC BASIC: What is needed in TUTs/DOCs
Replies: 17
Views: 3782

Re: BBC BASIC: What is needed in TUTs/DOCs

May I add a little to this thread. The BASIC StrongHelp manual I maintain ( http://www.kappa.me.uk/basic.htm ) is not intended to be a beginner's guide, but it has a quick lookup of all keywords, in context from the main editors, and then provides detailed information about the keyword and its synta...
by Steve Drain
Mon Feb 18, 2013 6:12 pm
Forum: RISCOS
Topic: Module Procedure Sharing Spec. Idea
Replies: 3
Views: 1009

Re: Module Procedure Sharing Spec. Idea

Do I understand correctly that these functions are machine code routines?

If so, would it not be simpler to construct a module with all the common functions available as SWIs? This might be slightly slower, but much easier to use.

Or perhaps I am barking up the wrong tree. :)
by Steve Drain
Sun Feb 10, 2013 10:32 am
Forum: RISCOS
Topic: SWI documentation/info
Replies: 45
Views: 8106

Re: SWI documentation/info

I think it is about time to mention the Style Guide and the User Interface Toolbox (the Toolbox). The Style guide is ancient now, but it still has a good deal of relevance to how applications should be designed and operate. It is part of the suite of documents available online. The Toolbox is partwa...
by Steve Drain
Wed Feb 06, 2013 11:59 am
Forum: Automation, sensing and robotics
Topic: First Atempt at building a robot
Replies: 11
Views: 13244

Re: First Atempt at building a robot

As a result of this thread I have written ATN2 as an alternative keyword in my Basalt BASIC extension module. It is only about 30% faster than the FN, because most time is taken using the same BASIC module routines, but it is very much neater. I have not upload this version, but I can send it to any...
by Steve Drain
Tue Feb 05, 2013 5:31 pm
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 29871

Re: RISC OS; Pros and Cons

Guess who spent an hour this morning working through a very large BBC Basic programme modifying all the "NEXT" statements to add the variable names used in the "FOR" loops :-( Oh well, at least its easy to get back to where I started this morning... Ralph Ouch! Sorry. There isn't very much in it if...
by Steve Drain
Tue Feb 05, 2013 10:29 am
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 29871

Re: RISC OS; Pros and Cons

Given that active FOR loops are stored on the BASIC stack, closing the innermost one should be faster than searching for one by variable. Furthermore, I can not find any situation where this is not the case. I looked this up in the BASIC StrongHelp manual that I maintain myself and found that I am ...
by Steve Drain
Mon Feb 04, 2013 11:29 am
Forum: Automation, sensing and robotics
Topic: First Atempt at building a robot
Replies: 11
Views: 13244

Re: First Atempt at building a robot

DEF FNatan2(y%,x%) LOCAL ERROR ON ERROR LOCAL : =SGN(y%)*PI/2 IF x%>0 THEN =ATN(y%/x%) ELSE IF y%>0 THEN =ATN(y%/x%)+PI ELSE =ATN(y%/x%)-PI That looks like a better bet than mine. I glanced at the BB4W version, but was concerned about its missing LOCAL ERROR, which may not actually be needed in tha...
by Steve Drain
Mon Feb 04, 2013 10:52 am
Forum: RISCOS
Topic: RISC OS; Pros and Cons
Replies: 145
Views: 29871

Re: RISC OS; Pros and Cons

I feel I must raise a couple of quibbles with your code, because others may be watching. :) [quote="Markodius"] TIME=FALSE ... PRINT"DONE IN ";TIME/Centi%;" SECONDS" Please do not do timing that way if you have any other programs running. The TIME pseudo-variable uses a system timer, so if you chang...

Go to advanced search