Go to advanced search

by DavidS
Wed Jul 31, 2019 1:51 pm
Forum: Other
Topic: What Linux Distro?
Replies: 5
Views: 2610

Re: What Linux Distro?

Well I guess that I am sticking with Raspbian for the time being. Trying to figure out enough of the dependency tree to get rid of what is unneeded, still, and dealing with having to compile things that are quite difficult to get going.
by DavidS
Mon Jul 29, 2019 7:29 am
Forum: Other
Topic: What Linux Distro?
Replies: 5
Views: 2610

Re: What Linux Distro?

Thank you for the input, though I am still running on a Raspberry Pi 3B+ at best.
by DavidS
Sat Jul 27, 2019 1:13 am
Forum: Other
Topic: What Linux Distro?
Replies: 5
Views: 2610

What Linux Distro?

What current Linux distro for the RPi has packages for many of the needed OpenGL based desktop utilities (like OpenSCAD). Many of these were in Raspbian Jessie, though are not in Raspbian Stretch. And compiling many of these can be a lot of work, and take a lot of time, so I prefer not to have to re...
by DavidS
Sat Jul 27, 2019 1:00 am
Forum: Raspbian
Topic: Thank you for basing on Debian :) !
Replies: 6
Views: 415

Re: Thank you for basing on Debian :) !

scruss wrote:
Sat Jul 27, 2019 12:58 am
There might be package updates copied from Debian, but kernel updates for Jessie have stopped. Any package that has Raspbian-specific work done on it won't be touched either. Also no 3A+/3B+ or 4B support on Jessie.
I had forgotten that Jessie predates the RPi 3B+. What about the 3B?
by DavidS
Sat Jul 27, 2019 12:43 am
Forum: Raspbian
Topic: Thank you for basing on Debian :) !
Replies: 6
Views: 415

Thank you for basing on Debian :) !

I have gotten fed up with the things we lost going to stretch. So I decided to see what the options are, it turns out that Jessie is an LTS release supported for almost another year (until June 2020). This gives me plenty of time to find an alternative Linux Distro that still has many of the package...
by DavidS
Sat Jul 27, 2019 12:34 am
Forum: General discussion
Topic: Why is the RPi4 being advertised as a desktop computer?
Replies: 114
Views: 10725

Re: Why is the RPi4 being advertised as a desktop computer?

The Pi 4 is being advertised as "Your tiny, dual-display, desktop computer" that can do anything your current computer can but is just slower and more power efficient. But on the Desktop side of things, it's ARM processor makes it too incompatible with anything to make it a real desktop computer. P...
by DavidS
Fri Jul 26, 2019 9:41 pm
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 1014

Re: StdLib Dirty Replacement Functions:

While I agree very much if you are using only one of the big ones (did you mean to say LCC?, not heard of ICC), not so much when attempting to allow for any compiler. ICC is I ntel's C compiler which has always been highly regarded. I believe ICC and GCC work together in that they understand each o...
by DavidS
Fri Jul 26, 2019 6:03 pm
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 1014

Re: StdLib Dirty Replacement Functions:

I think what you are doing is very advanced and difficult to get right. Mixing C and assembler for truly high speed code, involves understanding how modern compilers do things, how you can work with the compiler, how you can best write the inline assembler to exploit the compiler, and how you can b...
by DavidS
Fri Jul 26, 2019 5:26 pm
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 1014

Re: StdLib Dirty Replacement Functions:

Thinking about your requirements - to avoid using the C library (quite reasonable for bare metal). The functions StrCpy8() and StrCpy12() will always be faster if just using memcpy(). The compiler has knowledge that your functions cannot have:- - if the source argument is a literal StrCpy8( buf, "a...
by DavidS
Fri Jul 26, 2019 4:41 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 5097

Re: How long will it take for Risc OS to be on todays level of Raspbian?

To add another point the development tools. While for MS Windows ( and most for Linux as well ) you have nice GUI IDE you have to use makefiles etc to have something compiled or use BBC BASIC to assembly code for RISCOS so the development tools are a little bit behind as well. This complicates matt...
by DavidS
Fri Jul 26, 2019 4:37 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 5097

Re: How long will it take for Risc OS to be on todays level of Raspbian?

Hi, "At least we do not absolutely need native WiFi yet, as there are WiFi to Ethernet bridges available for very low cost". That was not the point of this discussion. To add another point the development tools. While for MS Windows ( and most for Linux as well ) you have nice GUI IDE you have to u...
by DavidS
Fri Jul 26, 2019 4:31 pm
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 1014

Re: StdLib Dirty Replacement Functions:

OT: Sorry about the one extra day delay in responding. I am not familiar enough with Linux, and after an update I was having trouble with the KMS VideoCore IV GL driver on a composite display, so fought it for most of yesterday (ended up just hooking up an HDMI display that does not have sound [and ...
by DavidS
Fri Jul 26, 2019 4:28 pm
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 1014

Re: StdLib Dirty Replacement Functions:

Pass "-O" flag and compiler produces much more efficient code which, for this example at least, is the same regardless of "register/const" being there or not. The "register" keyword is only useful nowadays to force a variable into a specific register. For example: register int num asm("r5"); forces...
by DavidS
Fri Jul 26, 2019 4:25 pm
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 1014

Re: StdLib Dirty Replacement Functions:

This might be helpful. The "inline" keyword is just a hint to the compiler. You can change it to force inlining with:- #define inline __inline__ __attribute__ ((always_inline)) #define noinline __attribute__ ((noinline)) This define stops the compiler moving asm() statements around or even deleting...
by DavidS
Wed Jul 24, 2019 8:58 pm
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 1014

Re: StdLib Dirty Replacement Functions:

The first piece of positive criticism from the thread that inspired this one (there are a few more, though it takes a few minutes to copy from a locked thread): There are plenty of other things that people could criticize about that code. First and foremost, I was surprised about your implementation...
by DavidS
Wed Jul 24, 2019 8:51 pm
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 1014

StdLib Dirty Replacement Functions:

There are times when it is prefferable to not use the C Standard Library functions, such as when working with BareMetal and not wanting to include a C Standard Library. Many of the functions that we use are simple things that are fairly easy to quickly implement in a crude way in C, though there rem...
by DavidS
Wed Jul 24, 2019 5:19 pm
Forum: General discussion
Topic: can I remove the browser but still use scratch
Replies: 4
Views: 233

Re: can I remove the browser but still use scratch

The Scratch that I am familiar with does not use a Web Browser at all, so it should be no trouble. I will admit that I have not looked at Scratch on Linux at all (not my Operating System of Choise), so something may be different there. Just remove Midori, Chromium, and Netsurf from the default Raspb...
by DavidS
Wed Jul 24, 2019 5:06 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 5097

Re: How long will it take for Risc OS to be on todays level of Raspbian?

Although I love RISC-OS as well. I do think it will take a lot of time before Ipv6 , bluetooth , Wifi and other things are properly supported. Reasons are already given here. Lack of developers but I think more platvorms have this problem. Netbsd for example doesn't support Wifi for the pi natively...
by DavidS
Wed Jul 24, 2019 12:39 am
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 5097

Re: How long will it take for Risc OS to be on todays level of Raspbian?

Now getting back on track, sorry about the detour. I revised my responce earlier: @ Heater : You may wish to re-read the post you are refering to. I added some highlighting with bold and italics to show what you may have missed. Other than the highlighting and a comment about the edit of the post th...
by DavidS
Wed Jul 24, 2019 12:16 am
Forum: C/C++
Topic: Measuring stepper motor distance travelled with PWM
Replies: 7
Views: 3160

Re: Measuring stepper motor distance travelled with PWM

Not knowing the exact physical setup of your drive I am making a few assumptions here, though hopefully the concept comes through well enough. As you are using Stepper motors the thing to do is count steps. If you take the effective drive diameter of your drive wheels (assuming belt driven or simila...
by DavidS
Tue Jul 23, 2019 6:30 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 5097

Re: How long will it take for Risc OS to be on todays level of Raspbian?

@ Heater : You may wish to re-read the post you are refering to. I added some highlighting with bold and italics to show what you may have missed. Other than the highlighting and a comment about the edit of the post the content is completely unchanged. Even the closing paragraph of the body of that...
by DavidS
Tue Jul 23, 2019 6:18 pm
Forum: Bare metal, Assembly language
Topic: swp or ldrex/strex issue on RPI2
Replies: 8
Views: 1912

Re: swp or ldrex/strex issue on RPI2

thanks, I used Raspian (2018 Nov) to create the booting SD card, the rest is bare metal (I was following the OS exercise: https://jsandler18.github.io/tutorial/locks.html). I may have found the issue, I edited my previous post, please see "EDIT 2" in my previous post, it may be related to that with...
by DavidS
Tue Jul 23, 2019 5:36 pm
Forum: Off topic discussion
Topic: voicecommand
Replies: 18
Views: 26866

Re: voicecommand

It is good to see people working on speach recognition applications for different systems. There are those people that are unable to use other means of input for verious reasons. It is unfortunate that people are not spending the same effort on good front ends for Speach Synthisis. There are people ...
by DavidS
Tue Jul 23, 2019 4:49 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 5097

Re: How long will it take for Risc OS to be on todays level of Raspbian?

Lot of apps is written in assembler no? So as they are bigger after time, they will not be unmanageable? Maintaining applications written in Assembly is no different from any other programming language. You can have unmanageable code in C, C++, BASIC, etc if it is not well structured. In the same v...

Go to advanced search