Go to advanced search

by DavidS
Wed Sep 22, 2021 12:57 am
Forum: RISCOS
Topic: BASIC V Compiler Input
Replies: 0
Views: 472

BASIC V Compiler Input

Some questions about a BBC BASIC Compiler project. On RISC OS the only BBC BASIC V (AKA ARM BASIC) Compilers we have that are as complete as can be are !ABC and !RiscBASIC . As both of these have certain limits (one relies on a runtime library module, the other is 26-bit R15 only), I decided to star...
by DavidS
Mon Sep 13, 2021 10:29 pm
Forum: RISCOS
Topic: ROOL SITE?
Replies: 9
Views: 1087

Re: ROOL SITE?

Yep it is back up.
by DavidS
Sun Sep 12, 2021 11:42 pm
Forum: RISCOS
Topic: Dual boot - RISC OS & Linux
Replies: 11
Views: 1483

Re: Dual boot - RISC OS & Linux

As it has not been mentioned: There was a module for the early RPi that allowed loading and booting a Linux kernel and intrid image from inside RISC OS. With that you could put a small script in the RISC OS boot sequence giving the user the option to continue booting RISC OS or go Linux. I do not kn...
by DavidS
Sun Sep 12, 2021 10:42 pm
Forum: RISCOS
Topic: ROOL SITE?
Replies: 9
Views: 1087

Re: ROOL SITE?

Is riscosopen.org down right now? It's not just you! riscosopen.org is down. — downforeveryoneorjustme.com Figured as much. First time in the 10 years I have been over there that it has went down for this long, so a bit of a surprise, I am sure they will sort it soon enough. That status site, you p...
by DavidS
Sun Sep 12, 2021 7:57 pm
Forum: RISCOS
Topic: ROOL SITE?
Replies: 9
Views: 1087

Re: ROOL SITE?

Does anyone know what is going on with the RISC OS Open site today? It has been down for almsot 15 hours now, all requests not responding, or not connecting. Was not sure if someone here may have heard something. I hope they are not having too much trouble over there. It doesn't connect for me eith...
by DavidS
Sun Sep 12, 2021 6:15 pm
Forum: RISCOS
Topic: ROOL SITE?
Replies: 9
Views: 1087

ROOL SITE?

Does anyone know what is going on with the RISC OS Open site today?

It has been down for almsot 15 hours now, all requests not responding, or not connecting. Was not sure if someone here may have heard something. I hope they are not having too much trouble over there.
by DavidS
Wed Jul 31, 2019 1:51 pm
Forum: Other
Topic: What Linux Distro?
Replies: 5
Views: 9818

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: 9818

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: 9818

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: Raspberry Pi OS
Topic: Thank you for basing on Debian :) !
Replies: 6
Views: 1486

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: Raspberry Pi OS
Topic: Thank you for basing on Debian :) !
Replies: 6
Views: 1486

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: 113
Views: 23669

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 c...
by DavidS
Fri Jul 26, 2019 9:41 pm
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 3716

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: 3716

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: 3716

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, &q...
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: 20982

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: 20982

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...
by DavidS
Fri Jul 26, 2019 4:31 pm
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 3716

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: 3716

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: regi...
by DavidS
Fri Jul 26, 2019 4:25 pm
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 3716

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 eve...
by DavidS
Wed Jul 24, 2019 8:58 pm
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 3716

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: 3716

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: 959

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: 20982

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: 20982

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...

Go to advanced search