Go to advanced search

by DavidS
Tue Jul 23, 2019 4:42 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 10262

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

I don't see what is very different from Linux drivers in what you describe, It looks the same (including the word 'module'). So I googled a bit to understand the difference and looks like it is mainly due to lack of proper memory protection as per http://www.drobe.co.uk/article.php?id=1327 While it...
by DavidS
Tue Jul 23, 2019 1:12 am
Forum: RISCOS
Topic: No desktop
Replies: 15
Views: 7375

Re: No desktop

Thanks, tried with a couple of sync's after the DD but the same. Yes, it is a Philips 32GB USB key not a SD card Now tried with a PNY 32GB Micro SD HC in a USB card reader but again the same. By default RISC OS is setup to boot from SD Card NOT USB. There is a bit of config to do to change that, an...
by DavidS
Tue Jul 23, 2019 1:07 am
Forum: Bare metal, Assembly language
Topic: swp or ldrex/strex issue on RPI2
Replies: 8
Views: 2738

Re: swp or ldrex/strex issue on RPI2

I am a bit confused, what OS is this running on?

I had assumed bare metal. I may be wrong based on your talk about Raspbian.

Though if bare metal, how do you do your setup of the CP15 feature registers?
by DavidS
Tue Jul 23, 2019 1:03 am
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 84152

Re: ScriptBasic

David, Can you post your open issues with getting scriba to compile on RISC OS? I may be able to offer suggestions if I knew what the issues are. Were you able to get ScriptBasic to compile on Raspbian? Mostly just path names, and figuring out the compile options to avoid including extra libraries ...
by DavidS
Tue Jul 23, 2019 12:57 am
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 15736

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

There are plenty of other things that people could criticize about that code. First and foremost, Thank you for actually looking at the code, finaly someone does, that is encouraging. I was surprised about your implementation of strcpy , since I heard you praising the benefits of pointers on multip...
by DavidS
Mon Jul 22, 2019 10:35 pm
Forum: RISCOS
Topic: No desktop
Replies: 15
Views: 7375

Re: No desktop

Thanks, it is a 3 Model B+ Used Debian Disk Utility to format 32GB as FAT, marked it as bootable then used dd bs=1M if=ro524-1875M.img of=/dev/sdb It completed ok saying 2GB had been written The USB was previously fine with Raspbian After the dd command did you remember to do sync (i usaully would ...
by DavidS
Mon Jul 22, 2019 10:25 pm
Forum: Bare metal, Assembly language
Topic: swp or ldrex/strex issue on RPI2
Replies: 8
Views: 2738

Re: swp or ldrex/strex issue on RPI2

It is about a spin lock code for RPI2 (only one core is enabled), the lock pointer is passed in and swap with 0 and return the pointed value. but the code using "swp" doesn't work on RPI2 (not supported?, compiler warning, etc), so I am trying to use LDREX/STREX as replacement, it also doesn't work...
by DavidS
Mon Jul 22, 2019 10:11 pm
Forum: RISCOS
Topic: No desktop
Replies: 15
Views: 7375

Re: No desktop

Thanks, it is now giving: Message from Desktop: Machine startup has not completed successfully: 'The disk drive is empty'. That message says that it loaded the ROM, though the ROM can not access the SD-Card. Just for reference, what model of Raspberry Pi are you running on? Will give it a try with ...
by DavidS
Mon Jul 22, 2019 9:39 pm
Forum: Off topic discussion
Topic: How broken is the WWW?
Replies: 47
Views: 7625

Re: How broken is the WWW?

Well, it`s not broken. Basically you can use most of the websites without javascript. You just need to disable it. :geek: I do use all websites without JavaScript. And that does not prevent certain companies from illegally tracking my activity, that is what I see as the issue. If you use Google the...
by DavidS
Mon Jul 22, 2019 9:01 pm
Forum: RISCOS
Topic: No desktop
Replies: 15
Views: 7375

Re: No desktop

Thanks, tried waiting and booting with a wired internet connection. I can type into the command line, is it likely to be a display issue or similar that is stopping the desktop stage? Strange. Even after you type the command: *Desktop ? The star is the prompt, you do not need to type that it will a...
by DavidS
Mon Jul 22, 2019 8:55 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 10262

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

Just beware that Risc OS with 90 % more driver code etc. is not more chunky like another Linux ;). I do not think it will be that much of a difference. And because of the way that RISC OS works, it is very unlikley that adding more HW support will make a difference in the performance, it is a very ...
by DavidS
Mon Jul 22, 2019 8:46 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 15736

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

If you are average USA kid from high school that is not so bad as it seems in news! :idea: LOL. Far from that. I only ever attended private institutions, as I was always way to far ahead of my grade level do to studdying at home. Then I went to university, then to another for post grad, and that wa...
by DavidS
Mon Jul 22, 2019 8:29 pm
Forum: General discussion
Topic: When are people in the U.S. getting their Pi 4s?
Replies: 156
Views: 11847

Re: When are people in the U.S. getting their Pi 4s?

The 1GB models are pretty lean for desktop use. I've often said that you can use a 3B(+) as a desktop computer, but I wouldn't want to, and the limited RAM is one of the main reasons why. While the 4B has a much faster SoC, the 1GB model has the same limitations. For "desktop" use you'll want at le...
by DavidS
Mon Jul 22, 2019 8:21 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 15736

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

And the criticism I get is, why did I use Assembly Language. There are plenty of other things that people could criticize about that code, though they ignore all the other stuff, and target my choice to use a little bit of assembly language. I should actually elaborate on that a touch, as the wordi...
by DavidS
Mon Jul 22, 2019 8:10 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 10262

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

Just beware that Risc OS with 90 % more driver code etc. is not more chunky like another Linux ;). I do not think it will be that much of a difference. And because of the way that RISC OS works, it is very unlikley that adding more HW support will make a difference in the performance, it is a very ...
by DavidS
Mon Jul 22, 2019 8:02 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 84152

Re: ScriptBasic

I would run ScriptBasic in single threaded mode and forgo the thread support. I'm not a big emulation fan. Well the way UnixLib does it on RISC OS is not Emulation. Indeed the way UnixLib does it is the same thing that Linux, BSD, MiNIX, etc do it on a single core (using a timer inturupt of some fo...
by DavidS
Mon Jul 22, 2019 7:25 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 84152

Re: ScriptBasic

I'm not totally sure. Forgive me if I'm wrong. But somewhere here I read recently the ScriptBasic uses pthreads for it's threads. Again, I might be wrong but I guess RISC OS does not have a pthreads library. RISC OS does have a decent implementation of PThreads available. While the OS does not have...
by DavidS
Mon Jul 22, 2019 7:04 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 84152

Re: ScriptBasic

Heater wrote:
Mon Jul 22, 2019 6:27 pm
Unless it uses threads apparently.
?????

Why do you say that? Is there something I am missing?
by DavidS
Mon Jul 22, 2019 6:21 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 10262

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

Cooperative Multitasking Is that really a good thing? Yes and No. Cooperative multitasking can have its advantages, as well as dissadvantages. The thing is that people forget the whole picture when it comes to the argument of Preemptive Multitasking versus Cooperative Multitasking, and just assume ...
by DavidS
Mon Jul 22, 2019 6:09 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 10262

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

Burngate wrote:
Mon Jul 22, 2019 10:44 am
jamesh wrote:
Mon Jul 22, 2019 8:00 am
rpdom wrote:
Mon Jul 22, 2019 7:32 am

Is that really a good thing?
No.
Other than in situations where it is.
In which case, yes.
Much better answer :).
by DavidS
Mon Jul 22, 2019 5:32 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 626
Views: 60294

Re: Introduction to BBC BASIC

Never mind the mocking. If it's a significant piece of code and it works well and you want to share it then it matters not what people say. The code speaks for itself. Put it in a repo on github or bitbucket or gitlab or wherever and point people at it from discussion here. The mocking is ok, as I ...
by DavidS
Mon Jul 22, 2019 5:28 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 84152

Re: ScriptBasic

John Spikowski wrote:
Mon Jul 22, 2019 5:12 pm
There is no porting of ScriptBaic code between platforms. The same code runs everywhere.
True and fair statement.
by DavidS
Mon Jul 22, 2019 5:17 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 15736

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

@ Heater : As I stated in another thread today, a big part of the reason that I stopped posting code on forums is that people will spit on the code because I use a lot of assembly. They do not bother to look at the code, or attempt to see how it works, no they just spit on the code because of the a...
by DavidS
Mon Jul 22, 2019 4:48 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 84152

Re: ScriptBasic

If you can get ScriptBasic to run on RISC OS, you will have a full featured BASIC without the limitations you have with your UK BASIC family of interpreters. ScriptBasic was born and raised in Budapest, Hungary. While I agree that to be true. I must add that there will also be features of ARM BASIC...
by DavidS
Mon Jul 22, 2019 4:44 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 626
Views: 60294

Re: Introduction to BBC BASIC

To assess whether that is at all feasible, or just one of DavidS's fantasies, I would need to know a great deal more about Basalt than I currently do. Hence my desire to find documentation in a format I can easily read. No fantisy. Ok there are difficulties to overcome. And we see now why I rarely ...

Go to advanced search