Go to advanced search

by DavidS
Sat Dec 08, 2018 3:21 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 642
Views: 14919

Re: Why Avoid BASIC on RPi?

I was just running it to find out if I missed a variable name or some such the first error that comes up is a "number too big" error in the procedure PROCbigmul. I am posting the conversion thus far not working as I am having trouble concentrating at the moment. FOR i%=0 TO !xn%<<2 STEP 4 FOR j%=1 ...
by DavidS
Sat Dec 08, 2018 3:08 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 642
Views: 14919

Re: Why Avoid BASIC on RPi?

I was just running it to find out if I missed a variable name or some such the first error that comes up is a "number too big" error in the procedure PROCbigmul. I am posting the conversion thus far not working as I am having trouble concentrating at the moment. FOR i%=0 TO !xn%<<2 STEP 4 FOR j%=1 ...
by DavidS
Sat Dec 08, 2018 2:13 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 642
Views: 14919

Re: Why Avoid BASIC on RPi?

What happens if you set nmax to 250 and try to compute F(11) instead? Same error, same line. if I am following the flow corectly the first time that PROCbigmul is called it should be multiplying 0 by 1 which is 0. So I do not see how it could be to big. As said I probably made an obvious error that...
by DavidS
Sat Dec 08, 2018 6:26 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 642
Views: 14919

Re: Why Avoid BASIC on RPi?

And the error is definitely on the first call to PROCbigmul, as I just found an error later in that proc that would prevent it from continuing to the end of the PROC.
by DavidS
Sat Dec 08, 2018 6:11 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 642
Views: 14919

Re: Why Avoid BASIC on RPi?

Well I have an initial conversion to ARM BASIS, not working yet and my brain is not catching what is likely a very obvious reason. I was just running it to find out if I missed a variable name or some such the first error that comes up is a "number too big" error in the procedure PROCbigmul. I am po...
by DavidS
Fri Dec 07, 2018 9:59 pm
Forum: Raspbian
Topic: How to ROX Desktop default?
Replies: 1
Views: 72

How to ROX Desktop default?

having a couple of times attempted to configure a Raspbian install with ROX desktop and failed to make it default: Could any one give some advice on installing ROX Desktop on Raspbian and making it the default desktop environment (I am a RISC OS user, and like the similarity of ROX to RISC OS)? Now ...
by DavidS
Fri Dec 07, 2018 9:53 pm
Forum: General discussion
Topic: Rpi 3B+ over Asus Tinker Board
Replies: 26
Views: 860

Re: Rpi 3B+ over Asus Tinker Board

I can not speak for the merrits of the CPU, as I can not quickly find any realworld performance information (would have to take some time to research that). An easy way to compare the performance of the CPU on the Asus Tinker Board with the entire line of Raspberry Pi products would be for someone ...
by DavidS
Fri Dec 07, 2018 9:28 pm
Forum: General discussion
Topic: Complements to RPiT
Replies: 21
Views: 571

Re: Complements to RPiT

It's nice to see it's keeping cool for you :-) do you plan to run it slower like you asked about ? Only if needed to keep cool. So far it has not yet gotten warm enough to worry about yet, so if it keeps like this no (I am doing a large compile in the background as I type this, and it is at 48C tem...
by DavidS
Fri Dec 07, 2018 8:24 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 642
Views: 14919

Re: Why Avoid BASIC on RPi?

Anyway, given the above Karatsuba C++ code that is missing everything else, here is a Fibonacci program written in FreeBASIC that is only missing the Karatsuba algorithm. rem fibo.bas -- Compute the nth Fibonacci Number rem Written December 6, 2018 by Eric Olson rem rem This program demonstrates th...
by DavidS
Fri Dec 07, 2018 5:57 pm
Forum: General discussion
Topic: Complements to RPiT
Replies: 21
Views: 571

Re: Complements to RPiT

So when are you going to get RISC OS up to the 64bit era. It is still 32bit with a lot of work to get to v8 64bit I assume, I'm no help but from what I've read you could help push it forward. It would be a shame for RISC OS to get left behind at 32 bit with only older CPU's in the coming years. I h...
by DavidS
Fri Dec 07, 2018 5:39 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 642
Views: 14919

Re: Why Avoid BASIC on RPi?

The Karatsuba algorithm looks nice after the operator overloading. The profiling done in thispost indicates from 22 to 66 percent of the run time is spent in the library function __udivmoddi4 for my code depending on the exact ARM architecture and compiler used. I wonder if the profiling will look ...
by DavidS
Fri Dec 07, 2018 3:15 pm
Forum: General discussion
Topic: Rpi 3B+ over Asus Tinker Board
Replies: 26
Views: 860

Re: Rpi 3B+ over Asus Tinker Board

The RPi 3B+ is more than enough. While the tinkerboard does have more and faster memory, that is about the only significant pro in its favor. While I have not looked in detail, the Asus site sais that the tinkerboards GPU is fixed function (that is early 1990's way of doing a GPU), which would mean ...
by DavidS
Fri Dec 07, 2018 6:16 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 642
Views: 14919

Re: Why Avoid BASIC on RPi?

@ Heater : Actually the example I gave would compile in C++, given that it had some more substance it could be usefull. It is true that it is non-standard in C, as I already said that is the one thing that C++ has that I would like to see in C as standard. Also remember that there was descusion of ...
by DavidS
Fri Dec 07, 2018 5:48 am
Forum: General discussion
Topic: Complements to RPiT
Replies: 21
Views: 571

Re: Complements to RPiT

Not a PC Replacement, it is a PC (need something to replace for it to be a replacement).

It is the best RISC OS desktop computer I have yet had.
by DavidS
Fri Dec 07, 2018 2:15 am
Forum: General discussion
Topic: Complements to RPiT
Replies: 21
Views: 571

Re: Complements to RPiT

I have been runing all 4 CPU's and videoCoreIV VPU hard for more than an hour non stop in a warm room, and the tempurature has only reached 54.8C at its highest thus far. As this is a BCM2837, the same IC that gave us thermal issues with the 3B I am very impressed with the 3B+, especially as it has...
by DavidS
Fri Dec 07, 2018 1:58 am
Forum: General discussion
Topic: Are there any benefits from the Raspberry Pi using ARM?
Replies: 77
Views: 1776

Re: Are there any benefits from the Raspberry Pi using ARM?

I personally feel we have gotten enough off topic. So all the way back on point. I compiled all the points that were made in this forum post as of 6th December 2018: Excluded points made by others if already pointed out beforehand Btw this was pretty fun to make. Looks like a prety complete list of ...
by DavidS
Fri Dec 07, 2018 1:43 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 642
Views: 14919

Re: Why Avoid BASIC on RPi?

@ Heater : Operator overloading is doable in any language that supports user defined data types, including C. An example of how it is done in some C compilers that bend the rules a little (by allowing operator overloading) is below. Remember that we now have inline functions in C, and operator over...
by DavidS
Fri Dec 07, 2018 1:27 am
Forum: General discussion
Topic: Are there any benefits from the Raspberry Pi using ARM?
Replies: 77
Views: 1776

Re: Are there any benefits from the Raspberry Pi using ARM?

Why do people repeatedly claim nonsense about Windows needing to reboot after you install a program. The last time I had to do that was waaaay back with Windows XP, a decade ago. You have not installed any primary device drivers lately have you? if you attempt to keep using Windows 10 after install...
by DavidS
Fri Dec 07, 2018 1:18 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 642
Views: 14919

Re: Why Avoid BASIC on RPi?

DavidS, Well it is not really pleasing that you are doing it in C++, though if you can limit the OO stuff in your C++ I can forgive you. The one thing I wish we had from C++ in standard C is operator overloading, so I understand. Be careful what you wish for. Operator overloading only makes sense i...
by DavidS
Thu Dec 06, 2018 10:47 pm
Forum: C/C++
Topic: Compile programs for the Raspberry Pi 1 and Zero's ARMv6 SoC
Replies: 8
Views: 273

Re: Compile programs for the Raspberry Pi 1 and Zero's ARMv6 SoC

Pretty simple, if you compile on a Raspberry 1B+ with the defaults it will build for the ARMv6.
by DavidS
Thu Dec 06, 2018 10:36 pm
Forum: General discussion
Topic: Complements to RPiT
Replies: 21
Views: 571

Complements to RPiT

I am very impressed at the Raspberry Pi 3B+. I recieved my first RPi 3B+ a couple of hours ago, and it is in many ways a plesent surprise. As we all know the RPi 3B had some noticable thermal issues, as well as other difficulties, though the 3B+ seems to be very well past that. I have been runing al...
by DavidS
Thu Dec 06, 2018 10:13 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 642
Views: 14919

Re: Why Avoid BASIC on RPi?

Well it is not really pleasing that you are doing it in C++, though if you can limit the OO stuff in your C++ I can forgive you.

The one thing I wish we had from C++ in standard C is operator overloading, so I understand.
by DavidS
Thu Dec 06, 2018 8:53 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 642
Views: 14919

Re: Why Avoid BASIC on RPi?

Just got my new RPi 3B+, still running at default clocking for now, watching the tempurature as it goes. Going to need to push it for a while to see where it gets to under heavy loads :) .

1400MHz on an ARMv8 CPU.
by DavidS
Thu Dec 06, 2018 8:32 pm
Forum: C/C++
Topic: Compiling target ARM PE EXE/DLL?
Replies: 5
Views: 113

Re: Compiling target ARM PE EXE/DLL?

Not locating the any information on objconv for ARM targets and hosts. Everything is talking about x86 target and host systems, and it does not seem to be in the repo.

also double checked, and binutils on raspbian does not have PE support, just a few kinds of ELF and hex outputs.
by DavidS
Thu Dec 06, 2018 8:20 pm
Forum: C/C++
Topic: Compiling target ARM PE EXE/DLL?
Replies: 5
Views: 113

Re: Compiling target ARM PE EXE/DLL?

@bzt:
Most of those options would require an x86 or AMD64 PC running an OS that no one in there correct mind would touch.

Though thank you for the mention of the possibility of using objconv i will check to see if it supports PE on Raspbian (without having to build an extra copy of binutils).

Go to advanced search