Go to advanced search

by DavidS
Sun Jul 21, 2019 9:03 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

John Spikowski wrote:
Sun Jul 21, 2019 8:57 pm
If you need DOS on Linux, I use dosemu.
I said as a shell for Linux not as an emu.
by DavidS
Sun Jul 21, 2019 9:00 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

@ John Spikowski : Well I am about to switch over to Linux and get back to it. The format of your extensions looks interesting to me. Is there a means to implement them that you may have thought of that does not use shared dynamic libraries? You actually got me to look at possibly getting an AROS p...
by DavidS
Sun Jul 21, 2019 8:53 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 608
Views: 59544

Re: Introduction to BBC BASIC

Try viewing the BasAlt documentation with StrongHelp (it is a StrongHelp manual). Just an idea. Is there a StrongHelp reader for Windows? I certainly don't have one. All documentation should be available in a standard format that everybody can read, and you can't get more standard than HTML or PDF ...
by DavidS
Sun Jul 21, 2019 8:45 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 608
Views: 59544

Re: Introduction to BBC BASIC

Using the web standards, google, I cannot find any specification for the StrongHelp format. The StrongHelp format is described somewhere here: http://www.riscos.info/downloads/stronghelp/manuals/ … but in true RISC OS fashion, the files themselves are stored in the proprietary StrongHelp format , s...
by DavidS
Sun Jul 21, 2019 8:41 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 608
Views: 59544

Re: Introduction to BBC BASIC

Don't you need two conversion tools, one for each direction?! In all seriousness an 'integrated' BasAlt would probably need to have significantly greater functionality than Steve's existing bolt-on extensions do to support full conversion from my BASIC, for example in respect of new data types (e.g...
by DavidS
Sun Jul 21, 2019 8:32 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: 15565

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

Out of all the code I have ever written, or maintained of others, I have not yet run accross a bug that is the result of using pointers. More often bugs are from the lack of sanity checking on values being passed around. As for data locality, in normal cases you allocate a large array of the structu...
by DavidS
Sun Jul 21, 2019 8:13 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

Really simple 1. Run setup 2. Run mkdist.sh passing the name / location of where you what to run out of 3. Run source sb.sh 4. Copy the bbc.so to your modules directory and bbc.bas to the include directory. Copy libbbc.so to your system library path. You should be able to run any of the Brandy exam...
by DavidS
Sun Jul 21, 2019 8:10 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

As far as I know there is no Brandy BASIC on RISC OS. Of course there is, I'm astonished you didn't know. Indeed at the Brandy home page it states that the RISC OS implementation "is the most complete version of the interpreter... It runs under RISC OS 3, 4 and 5. Versions are supplied to run 'out ...
by DavidS
Sun Jul 21, 2019 8:08 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

All wrong. It should be: printf("hello, world\n"); As in the original publication in "The C Programming Language." from 1978. Note the lack of capitalization and exclamation mark. Of course the original was written in B like so: main( ) { extern a, b, c; putchar(a); putchar(b); putchar(c); putchar(...
by DavidS
Sun Jul 21, 2019 8:06 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

How soon will Script Basic be able to serve web pages under RISC OS running on an A1 instance? If RISC OS doesn't support pthread then the sbhttpd appllication server is off the table. There are many other HTTP servers out there, including a good number that run on RISC OS (and only on RISC OS).
by DavidS
Sun Jul 21, 2019 7:46 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

David, Maybe it would be better to get ScriptBasic and the Brandy extension module running on Raspbian first so you have a working model. You may be correct. Though I did get far enough to know that I am missing some of the source files. I think there may still be some bugs in the RISC OS port of S...
by DavidS
Sun Jul 21, 2019 7:44 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

That is a very bold statement. I see almost nothing but x86 PC systems almost everywhere I go. I assume David's comment was tongue-in-cheek. He must know that Windows is by far the most popular OS for desktops and laptops (87.6% share according to Wikipedia ). Yes it is a bit toung in cheek. I know...
by DavidS
Sun Jul 21, 2019 1:41 am
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

John Spikowski wrote:
Sun Jul 21, 2019 1:38 am
David,

If you wish to run ScriptBasic in a single threaded model and use malloc rather than Peter's myalloc here is the info you need.

https://www.scriptbasic.org/docs/dg/dev ... 8.1.1.html
Thank you for that, that definitely helps.
by DavidS
Sun Jul 21, 2019 1:37 am
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

David, ...especially as ARM BASIC is already so fast as an interpreted language. Recent results from the Fibo Challenge show that "little bit faster" might be a more accurate description. They do not run on the same computers, so RISC OS is NOT an alternative for Windows and never was. At the time ...
by DavidS
Sun Jul 21, 2019 1:29 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 608
Views: 59544

Re: Introduction to BBC BASIC

In which Basic should the conversion tool be written and could it convert itself? Don't you need two conversion tools, one for each direction?! In all seriousness an 'integrated' BasAlt would probably need to have significantly greater functionality than Steve's existing bolt-on extensions do to su...
by DavidS
Sun Jul 21, 2019 1:25 am
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

David, For you, what is the major attraction to RISC OS? Well it is the Operating system I have used more than any other for the last 31 or 32 years. For part of that time I also used Amiga OS, and even Atari TOS a good bit, and even played with Linux, MiNiX, and BSD. Though while Amiga OS was the ...
by DavidS
Sun Jul 21, 2019 1:16 am
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

Good answers! What does the existing library of Brandy Basic programs look like on RISC OS? None as far as I know. Now BBC BASIC V/VI (which Brandy BASIC is a clone of) programs for RISC OS there are many thousands. From simple toys to full blown WISWIG Word Processors, Spread Sheets, 3D-Games, 3D ...
by DavidS
Sun Jul 21, 2019 1:11 am
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83771

Re: ScriptBasic

Are there any other BASIC languages running on RISC OS other than Brandy? There is BBC BASIC V/VI AKA ARM BASIC. Not Brandy. As far as I know there is no Brandy BASIC on RISC OS. BBC BASIC V/VI are builtin to RISC OS, and are the same language. As such other BASIC interpreters or compilers for othe...
by DavidS
Sat Jul 20, 2019 10:12 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: 15565

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

Just for the funzies from another keg: 18 % USA people knows how to ride with manual box. I will assume that you are saying drive with a manual transimition? If so I am surprised the number is so low, as most people I know will only ever drive a automobile with a manual transmition. And driving wit...
by DavidS
Sat Jul 20, 2019 9:14 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: 15565

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

I find it amazing. We have "safe" or at least safer languages for a long, long time. Pascal is arguably a safer language by design and offers range checking and so on. Ada goes all out for safety features. And what happened? Developers did not like them. Developers said "Learn your language" C/C++ ...
by DavidS
Sat Jul 20, 2019 9:04 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 10209

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

Never. I agree that Linux will never catch up with RISC OS in certain things. I also agree there are a couple of things where Linux has an edge (only a couple though) that RISC OS will not. For most of the rest RISC OS is heading quickly to catching up, or in some cases is already there. And RISC O...
by DavidS
Sat Jul 20, 2019 9:01 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 10209

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

Great news on browser... NetSurf has its limits... I hope soon Risc OS has its glory days back... But there are some tough competition out there! I second that motion. Though I hope it does not become to big (that is what ruins an OS, and what has caused a lot of the problems that drove me awayfrom...
by DavidS
Sat Jul 20, 2019 8:29 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 10209

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

Do not want be disrespectful but reality check - we have 2019, Risc OS was shown in 2012? What was done in 8 years in lets say % measure from whole plan? RISC OS has been around since 1987, and Linux has been around since 1991. Linux has had SMP support since the late 1990's, RISC OS never ran on H...
by DavidS
Sat Jul 20, 2019 8:19 pm
Forum: Bare metal, Assembly language
Topic: BARE METAL VC 4 Video Decoding
Replies: 6
Views: 1747

Re: BARE METAL VC 4 Video Decoding

They have gone for software decoding on the Pi4 as the ARM core are now fast enough. Look in the source of ffmpeg/VLC? VC4 uses the hardware but you could try software decoding on a 3B+? Might be ok for 480 line res? Actually I already know that software decoding can do up to 1080p on a RPi 3B (has...
by DavidS
Sat Jul 20, 2019 8:01 pm
Forum: RISCOS
Topic: How long will it take for Risc OS to be on todays level of Raspbian?
Replies: 40
Views: 10209

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

There is loooooongqway: YouTube in browser, multi tasked apps, Wi-Fi, USB drivers for everything, support for over 1 TB HDD etc. etc. They are two different OS's, multitasking will always be done differently (though BOTH have that already) RISC OS is already beginnning to get SMP. Youtube is whatch...

Go to advanced search