Go to advanced search

by Dave_G_2
Tue Jun 05, 2012 5:15 pm
Forum: Off topic discussion
Topic: Open/Closed or Somewhere-in-between source?
Replies: 81
Views: 7595

Re: Open/Closed or Somewhere-in-between source?

[Moderation by Abishur] I deleted a couple posts because they were off topic and personally attacking each other rather than discussing the issue. As Gold Five from Star Wars said, "Stay on target" abishur, if you are going to delete insulting posts, then please do it properly. The original offendi...
by Dave_G_2
Mon Jun 04, 2012 8:29 pm
Forum: Other projects
Topic: Game Console OS
Replies: 38
Views: 6335

Re: Game Console OS

This is a warning to both sides. This thread is not another thread discussing the pros/cons of open vs closed source so please drop the debate and get back on topic or I'll close this thread (the OP is free to start another thread about this project if they cannot escape the open/closed source deba...
by Dave_G_2
Mon Jun 04, 2012 10:04 am
Forum: Off topic discussion
Topic: Open/Closed or Somewhere-in-between source?
Replies: 81
Views: 7595

Re: Open/Closed or Somewhere-in-between source?

I suspect a lot of the disconnect people have here is driven by the difference between the business of computer programming, and the study of computer science. The R-Pi can cater for both. ...but is intended for one. Says whom? Read the statements by the Foundation members again. Exactly, got anyth...
by Dave_G_2
Mon Jun 04, 2012 7:46 am
Forum: Off topic discussion
Topic: Open/Closed or Somewhere-in-between source?
Replies: 81
Views: 7595

Re: Open/Closed or Somewhere-in-between source?

It's not "you must", it's a choice that you have. and I have made mine. I suspect a lot of the disconnect people have here is driven by the difference between the business of computer programming, and the study of computer science. The R-Pi can cater for both. Business has always, more or less, kep...
by Dave_G_2
Mon Jun 04, 2012 7:30 am
Forum: General programming discussion
Topic: Why not program on x86 desktop?
Replies: 60
Views: 11108

Re: Why not program on x86 desktop?

rurwin wrote:Let me make another point. I've an argument stewing away with DexOS, because we disagree on just about everything, but enough said.
Naughty DexOS, when will he realize that rurwin is always right!
by Dave_G_2
Mon Jun 04, 2012 6:58 am
Forum: Off topic discussion
Topic: Open/Closed or Somewhere-in-between source?
Replies: 81
Views: 7595

Re: Open/Closed or Somewhere-in-between source?

I really can't understand this whole "you must share your source" stuff which seems to be mainly a Linux thing. With Windows software, it's the exception rather then the rule that source code is supplied with free software but somehow as soon as it has anything to do with Linux, it's expected. Along...
by Dave_G_2
Sun Jun 03, 2012 8:40 pm
Forum: General programming discussion
Topic: Why not program on x86 desktop?
Replies: 60
Views: 11108

Re: Why not program on x86 desktop?

rkr wrote:@Dave Your points are rather nitpicky. Idk but it still doesn't make much sense.
Nitpicky?
You asked, I gave you an answer as to why use a Pi.
by Dave_G_2
Sun Jun 03, 2012 8:04 pm
Forum: RISCOS
Topic: RISC OS on Raspberry Pi
Replies: 356
Views: 108082

Re: RISC OS on Raspberry Pi

To make a usable system you will likely end up with at least 1MB if you omit any graphics support, and this is with just a simple shell and the needed shell commands (Absolutely no extras). More then acceptable. Add a shell, gcc, python and a couple of extras and probably land up with 50 or even 80...
by Dave_G_2
Sun Jun 03, 2012 8:00 pm
Forum: RISCOS
Topic: RISC OS on Raspberry Pi
Replies: 356
Views: 108082

Re: RISC OS on Raspberry Pi

nick.mccloud wrote:Most of that 1.9Gb is thin air - a side effect of the way that dd works
Fair enough, any idea how much is actually real data (bloat or other wise)?
by Dave_G_2
Sun Jun 03, 2012 7:29 pm
Forum: General programming discussion
Topic: Why not program on x86 desktop?
Replies: 60
Views: 11108

Re: Why not program on x86 desktop?

@rkr You are of course correct that one can learn to code on a X86 based system running either Win or Linux. However the advantage the R-Pi has over X86 based systems is the portability/small size and of course ARM architecture is very popular for portable devices and as such consumes much less power.
by Dave_G_2
Sun Jun 03, 2012 6:32 pm
Forum: RISCOS
Topic: RISC OS on Raspberry Pi
Replies: 356
Views: 108082

Re: RISC OS on Raspberry Pi

While the n*x based systems definitely have there advantages, Linus has even said that Linux has become bloated (and that is just the kernel). Couldn't agree more. As an example, just look at the Debian distro for the R-PI. (Haven't even looked at Arch). It's 480MB when zipped and explodes to over ...
by Dave_G_2
Sun Jun 03, 2012 10:04 am
Forum: General discussion
Topic: how to make PI out of PI?
Replies: 16
Views: 2701

Re: how to make PI out of PI?

rurwin wrote:That's a perfect example of obtuse programming, Dave :-D
It gets the job done, adds extra functionality, can be used for checking computational time
and offers an alternative to Python.
It can also be exported to GTKdialog amongst others.
by Dave_G_2
Sun Jun 03, 2012 8:46 am
Forum: Off topic discussion
Topic: Open/Closed or Somewhere-in-between source?
Replies: 81
Views: 7595

Open/Closed or Somewhere-in-between source?

@tufty To me it seems your example is motivated by revenge rather then goodwill. We all give and take in different ways and giving away the source code is not a prerequisite to giving back. This particular example was and is, I will admit, motivated to a certain extent by rancour against the artifi...
by Dave_G_2
Sun Jun 03, 2012 7:44 am
Forum: General discussion
Topic: how to make PI out of PI?
Replies: 16
Views: 2701

Re: how to make PI out of PI?

Why not use bash & bc ? I don't know if the R-Pi has bc. This is the script I found on my Linux box. Save the script below as pi.sh and give it exec permissions: Then type: ./pi.sh NumDecimalPoints (where NumDecimalPoints is er...well self explanatory) Keep in mind that a number like 5000 took 35.78...
by Dave_G_2
Sat Jun 02, 2012 8:49 pm
Forum: Off topic discussion
Topic: Open/Closed or Somewhere-in-between source?
Replies: 81
Views: 7595

Re: Game Console OS

@tufty To me it seems your example is motivated by revenge rather then goodwill. We all give and take in different ways and giving away the source code is not a prerequisite to giving back. We all use apps such as text editors, hex editors, web browsers and so on and in many cases the source code is...
by Dave_G_2
Sat Jun 02, 2012 2:24 pm
Forum: C/C++
Topic: Who knows where the time goes?
Replies: 25
Views: 6518

Re: Who knows where the time goes?

His C program is directly accessing the registers - no device driver in there at all. Now that you mention it, I agree. I just skimmed thru his code and forgot that GPIO_CLR and GPIO_SET are declared in some .h file. Re-coding in assembler might save a cycle or 2, but not 10mS. It would still be an...
by Dave_G_2
Sat Jun 02, 2012 10:59 am
Forum: C/C++
Topic: Who knows where the time goes?
Replies: 25
Views: 6518

Re: Who knows where the time goes?

@Grumpy Mike

What does your kernel report:

Code: Select all

strace -tt YourPgmName
It would also be very interesting to see if there is any significant time difference
if the app was coded using ASM and accessing the registers directly thus bypassing the drivers.
by Dave_G_2
Sat Jun 02, 2012 8:51 am
Forum: Beginners
Topic: startx @ 480x360 -- possible?
Replies: 11
Views: 6791

Re: startx @ 480x360 -- possible?

rurwin wrote:....or get another TV ;-)
The OP is running composite video so any TV will be the same.
The 480X360 is the limiting factor and a larger TV will not magically add more pixels.
by Dave_G_2
Fri Jun 01, 2012 2:25 pm
Forum: Other projects
Topic: you are all fools
Replies: 7
Views: 2623

Re: you are all fools

@jubber
You should have used an old shoe box instead.
That way you could have avoided getting the boot. :D
by Dave_G_2
Fri Jun 01, 2012 2:13 pm
Forum: Other projects
Topic: you are all fools
Replies: 7
Views: 2623

Re: you are all fools

@jubber

Now your second project should be a dog box.
You're gonna need it. ;)
by Dave_G_2
Fri Jun 01, 2012 11:04 am
Forum: General discussion
Topic: What exactly does the Unique Activation Code suggest?
Replies: 12
Views: 1950

Re: What exactly does the Unique Activation Code suggest?

Burngate wrote: As for complaining about RS / Farnell on here being a hanging offence, this forum is dedicated to identifying the complainers so they can be moved to the back of the queue. 8-)
and possibly fed to the above mentioned dragons ;)
by Dave_G_2
Mon May 28, 2012 3:40 pm
Forum: Other programming languages
Topic: Programming the ARM chip
Replies: 134
Views: 34262

Re: Programming the ARM chip

@hippy Using series resistors and clamping diodes does work for receiving RS232 levels and I have also used it countless times. However the problem comes in driving the RS232 TX line. I have come across a few PCs and laptops (yes some do have serial ports) that don't reliably see 3.3V or even 5V log...
by Dave_G_2
Mon May 28, 2012 3:09 pm
Forum: Other programming languages
Topic: Programming the ARM chip
Replies: 134
Views: 34262

Re: Programming the ARM chip

I think there is a bit of confusion as regards the serial ports. The R-PI has a UART which along with it's GPIO lines give out 3.3v so the serial port is not RS232 levels i.e. +15V and -15V For this we need a MAX type chip which converts the RS232 levels to 3.3v logic and vice versa. The MAX232 is m...
by Dave_G_2
Sun May 27, 2012 9:14 am
Forum: Other programming languages
Topic: Programming the ARM chip
Replies: 134
Views: 34262

Re: Programming the ARM chip

@dwelch67

Just a thought, why not also put the compiled img on github so that beginners that don't quite yet
understand the whole process (or only use Windows) can also test and hopefully get interested.
by Dave_G_2
Sun May 27, 2012 8:22 am
Forum: Other programming languages
Topic: Programming the ARM chip
Replies: 134
Views: 34262

Re: Programming the ARM chip

@dwelch67 Well done for getting it going, all those SD card insertions and removals are not fun. Very similar to the old days using the 8051 where it was a case of take the chip out of the socket, insert in ZIF socket of programmer, program, take out, put back into target board, test, oops, mistake,...

Go to advanced search