Date   
Re: Christmas Demo II

winstove
 

Brilliant! Thank you

Best regards

Nigel

Re: Christmas Demo II

Richard Russell
 

I've recreated this demo for BBCSDL, with David's permission.  It may be downloaded from here and runs on all the supported platforms (Windows, Linux, Mac OS, Raspberry Pi, Android).  There's also a YouTube video if you're too busy to download it and run it yourself!

Richard.

Re: Problem with COMLIBA

Richard Russell
 

On Sun, Nov 26, 2017 at 04:55 am, alan836975 wrote:
I closed other files, rebooted, and it all started again
You posted here before rebooting your PC?  The very first thing you should do, when anything 'unexplained' happens, is to reboot your PC!

> But I still have no idea what actually went wrong.

Would you expect to?  We are talking about Windows, a monstrously complex Operating System (Linux and Mac OS are just as complicated).  It can fail in myriad ways, and it's not really even worth speculating on the cause unless the failure is repeatable.  If you are inquisitive, check the event logs to see if there is anything around the time of the problem that might be relevant.

Richard.

Re: Problem with COMLIBA

Richard Russell
 

On Sun, Nov 26, 2017 at 04:22 am, alan836975 wrote:
Cam anyone offer any advice?
You've not really provided enough information to allow a 'remote' diagnosis.  Your post title implies that you suspect COMLIB of being involved, so a useful thing to do would be to check that COM is working properly on your PC; for example you can try running the supplied example program SPEAK.BBC (in the EXAMPLES\SOUNDS folder).  If that runs correctly it at least demonstrates that COMLIB is working; if it doesn't then it suggests that the problem is unrelated to BBC BASIC.

Richard.

Re: Problem with COMLIBA

 

OK, fixed it. I reckon that all 16GB of RAM was filled. I closed other files, rebooted, and it all started again. But I still have no idea what actually went wrong.

Alan Roberts

Problem with COMLIBA

 

I don't know what's happened or how it's happened. I'm stuck.

I'm adding DATA lines to a program I'm writing, and suddenly it's all stopped working. It uses various libraries:

FNusing v1.3
WINLIB2 v1.1
WINLIB5A v1.1
COMLIBA v3.4

Suddenly this morning, it refuses to run. It gets stuck on the last-but-one line of FNinvoke:

      DEF FN_invoke(O%,T%,N$,P$,U%)
      LOCAL M%,D%,I%,F%,R%,S%
      DIM D% LOCAL 15,I% LOCAL 15,M% LOCAL 2*LENN$+1
      SYS "MultiByteToWideChar",0,0,N$,-1,M%,LENN$
      SYS !(!O%+20),O%,I%,^M%,1,`LCID%,^F% TO R%
      IF R% THEN =R%
      !D%=!^P$:D%!8=LENP$/16
      IF T% AND 12 S%=-3:D%!4=^S%:D%!12=1
      SYS !(!O%+24),O%,F%,I%,`LCID%,T%,D%,U%,0,0 TO R%
      =R%

and all I can do is exit the program. I don't know what FN invoke does or why it gets stuck.

The thoroughly wierd thing is that it seems to have infected previous version of the program (I'm now on version 1.57a and have 78 previous versions on file here). The program's quite big and is rather important to me. Cam anyone offer any advice?

Alan Roberts

Re: Forces of Darkness - BBCSDL version

Richard Russell
 

The latest addition to FODSDL is a Full Screen option; this is activated by setting 'fullscreen 1' in the Config.txt file. It works on all the supported platforms, with the exception of Android of course - on which it always ran 'full screen' anyway! However it does increase the likelihood of crashing the Raspberry Pi because of apparently running out of graphics memory (I'm sure it shouldn't crash so badly; this is presumably an RPi bug).  The trick for making it work Full Screen on a Raspberry Pi 3 seems to be to run it directly rather than from the IDE. So for example run it using this command:

Code:
BBCBASIC/bbcsdl FODSDL/Fod.bbc 
(adapt the command to suit your installation directories, of course).

The new version may be downloaded as FODSDL.zip as before.

Richard.

Re: BBC BASIC for SDL 2.0 v0.19b released

Richard Russell
 

On Wed, Nov 22, 2017 at 01:35 pm, Kendall Castor-Perry wrote:
Are there major obstacles to supporting Linux on Arm?
Linux on ARM is supported: it's called the Raspberry Pi!  If you know of another general-purpose (desktop) ARM-based Linux device the RPi edition may run, so long as it uses the Hard Float ABI, supports OpenGL, and SDL2 is available.  Some major Linux apps like Dropbox are x86-only.

I think BBCBasic on iOS would be an absolute hoot
Current iOS is 64-bits only, it does not run 32-bit apps.  There was a long discussion in another thread on why a 64-bit version of BBC BASIC isn't feasible, at least not without introducing major incompatibilities with existing 32-bit versions.

Richard.

Re: BBC BASIC for SDL 2.0 v0.19b released

 

This is a rather trivial post, mostly to flag up that I do read the messages and have some interest in SDL.  I just needed to write a script to automate creation of a complex Excel formula in text form (because Excel can't do it and I have no time or inclination to figure VBA out).  BBCBasic has always been my scripting language of choice.  So I updated my SDL to the latest version and wrote the necessary program in BBCSDL (on Windows, using RTR's IDE) rather than in BB4W.  Naturally it worked fine.  I had an initial usage glitch because I started writing with lower case keywords before that option was set.  Setting the option doesn't recapture lines already written, you need to navigate to the lines themselves.  I suspect BB4W has this same behaviour.  Sorted out in a few seconds.  I expect that virtually all of the stuff I currently do with BB4W would work equally well in BBCSDL, which bodes well for cross-platform work, hence my next point.

I've been told that the Gemini PDA I supported on Indiegogo will be shipping in the new year.  For those who haven't heard of it, this is akin to a modern implementation of the clamshell Psion devices, except now with wifi, 4G (if you want it), lots of memory, a touchscreen as well as a proper mechanical keyboard, six ARM CPUs and dual boot to Linux or Android - neither of which I know how to use.

So one of my first familiarization tasks next year will be to install BBCSDL for Android and have a play, make sure I can do BBCBasic development on the move on that platform.  I'm not sure what use I'll make of Linux, and that triggers a question.  The release announcement for BBCSDL on Linux says x86 only.  Are there major obstacles to supporting Linux on Arm?  I'm not saying that I think there's any point to it, but I'm wondering whether the omission is simply due to there having been no reason to do it because Linux on Arm is not particularly common.

All this leaves my iPad as the only device that resolutely refuses to offer language support of the type that can get to the bare metal.  I think BBCBasic on iOS would be an absolute hoot, and of course it would be offered through an unparalled sales channel (the App Store).  I know from work I did with an app developer some years back that regular C code can be imported into the ObjectiveC framework that iOS apps use.  So, if Apple were to relent and make it possible to deliver at least some functionality of a BASIC interpreter on iOS, there are probably app developers out there that could take a C implementation, say BBCSDL, and bolt it into IOS.  That I would pay for!  All for now -- K

Re: Wiggio closing down

Richard Russell
 

On Tue, Nov 21, 2017 at 09:24 am, dai_m_leeds wrote:
I've got Jon Ripley's Cardlib, and the BB4WMAPMLIB, and various versions of David Williams' GFXLib and GLib, for example, if that's useful.
Those specific libraries were only ever available from the authors' own sites, not from Wiggio.  They must not be uploaded to a public repository without the explicit permission of the copyright holders.

Richard.

Re: Wiggio closing down

dai_m_leeds
 

On Sat, Nov 18, 2017 at 09:18 am, Richard Russell wrote:
There are now quite a lot of links at the Wiki (particularly from the 'Libraries' page) that go nowhere.

Hi Richard,

Maybe it's not a total disaster: I've got some of the libraries, and others may well also have some. Maybe if you post a list of the (most important?) "missing" files, we can try to reconstruct the archive?

I've got Jon Ripley's Cardlib, and the BB4WMAPMLIB, and various versions of David Williams' GFXLib and GLib, for example, if that's useful.

Best wishes,

D

Re: Wiggio closing down

Richard Russell
 

On Mon, Nov 20, 2017 at 11:18 am, Neil Murray wrote:
I received the information message at the top right 'You must be an organizer to access that page'.
Thanks for the confirmation.  Obviously at some point Wikispaces has introduced that restriction (one can understand why).  Requesting Jonathan or myself to do an export - so long as it's only infrequently - is a practical solution.

Richard.

Re: Wiggio closing down

Neil Murray
 

I became a member, opened 'BB4W Wiki' and signed in.
Then from groups.io, clicked the link 'export page'.
I received the information message at the top right 'You must be an organizer to access that page'.

Re: Forces of Darkness - BBCSDL version

Richard Russell
 

In case anybody is interested, you can find a video of Forces of Darkness running on a Raspberry Pi 3 here.  It doesn't always manage to keep up with the full frame rate (50 Hz) but it's remarkable that it runs as well as it does on such a low-powered machine.  Most Android devices will have a faster processor than the RPi, and quite possibly a faster GPU too, so the program should run at least as well on that platform.

Even if, like me, playing that style of video game doesn't appeal, you can still marvel at the skill of the programmer, and hopefully be impressed by what a program written in 100% BBC BASIC can achieve.  If you are inclined to try your hand at something similar, looking at the FODSDL source code should give you plenty of ideas.

Richard.

Re: Wiggio closing down

Richard Russell
 

On Sat, Nov 18, 2017 at 03:29 pm, Alex Farlie wrote:
I don't think I am a member on the Wikispaces wiki.  If it's anything like Mediawiki installs, export is per page, not per wiki though :( 
It has always been possible to export the entire BB4W Wiki, either as HTML, Wikitext or PDF.  This is one of the reasons (along with the syntax-coloured BBC BASIC code listings, and the lack of advertisements) why I considered it worthwhile to pay to continue to use the Wikispaces service.  If you aren't even a member of the Wiki, I don't think you can really complain about any shortcomings it may have!

Perhaps somebody who has actually bothered to join the Wiki (and there are currently 148 members) can check whether they are able to access the export page or not.  If it turns out that only organisers can (which means me and Jonathan Harston), it isn't exactly difficult to contact one or other of us to arrange an export.  In the past such exports were copied to the Files area of the group (the old Yahoo! group at the time) but I don't think anybody has asked since we migrated to Groups.io.

Richard.

Re: Wiggio closing down

Alex Farlie
 



On 18/11/2017 22:40, Richard Russell wrote:
On Sat, Nov 18, 2017 at 02:24 pm, Alex Farlie wrote:
Sadly I don't know of an easy to archive a copy for my use though :(
Assuming you are a member of the Wiki, can you not see the export page ?  That used to be available to all members, but maybe I'm now the only one who can access it.


I don't think I am a member on the Wikispaces wiki.  If it's anything like Mediawiki installs, export is per page, not per wiki though :( 

Alex Farlie.

Virus-free. www.avast.com

Re: Wiggio closing down

Richard Russell
 

On Sat, Nov 18, 2017 at 02:24 pm, Alex Farlie wrote:
Sadly I don't know of an easy to archive a copy for my use though :(
Assuming you are a member of the Wiki, can you not see the export page ?  That used to be available to all members, but maybe I'm now the only one who can access it.

Richard.

Re: Wiggio closing down

Alex Farlie
 



On 18/11/2017 21:39, Richard Russell wrote:
On Sat, Nov 18, 2017 at 12:13 pm, Alex Farlie wrote:

at least consider some form of persistent permanent archive for the content
I'm certain that a few people took their own copies when it looked like the Wiki would have to close a couple of years ago, when Wikispaces started charging for it.  Each year since the cost has gone up by more than can be justified by inflation; I think another payment must be due soon.

Sadly I don't know of an easy to archive a copy for my use though :(

It's a major pain that wikispaces, isn't seemingly compatible with the archive.org page archiving system.
Is it "incompatible" or have the pages been explicitly flagged as 'do not archive'?


302 and incomprehensible redirection, which is good as incompatible :(




Alex Farlie

Virus-free. www.avast.com

Re: Wiggio closing down

Richard Russell
 

On Sat, Nov 18, 2017 at 12:13 pm, Alex Farlie wrote:

at least consider some form of persistent permanent archive for the content
I'm certain that a few people took their own copies when it looked like the Wiki would have to close a couple of years ago, when Wikispaces started charging for it.  Each year since the cost has gone up by more than can be justified by inflation; I think another payment must be due soon.

It's a major pain that wikispaces, isn't seemingly compatible with the archive.org page archiving system.
Is it "incompatible" or have the pages been explicitly flagged as 'do not archive'?

Richard.

Re: Wiggio closing down

Alex Farlie
 



On 18/11/2017 17:18, Richard Russell wrote:
On Thu, Nov 9, 2017 at 04:26 am, Richard Russell wrote:
There are a number of files referenced at the BB4W Wiki which are stored at Wiggio so I will try to remember to move those
I remembered, but despite Wiggio not (at the time) having yet closed the files are no longer accessible; sorry.  There are now quite a lot of links at the Wiki (particularly from the 'Libraries' page) that go nowhere.  Still, if there really are fewer than 20 active users of BB4W worldwide, as seems to be widely believed, it's completely irrelevant.  I might as well close down the Wiki (that will save me some money too) and all the support groups and forums for all the difference it will make.  Farewell BBC BASIC.

If the user base has got to that point (which I don't think it has), at least consider some form of persistent permanent archive for the content, It would be a shame to loose the valuable technical content that's been contributed on the wiki and on the forums. 

It's a major pain in the [REDACTED] that wikispaces, isn't seemingly compatible with the archive.org page archiving system.   Some of the forum pages on bb4w.conforums.com and bbcbasic.conforums.com are present in archive form. but archive.org's crawler seems to also be incompatible with forum style cgi derived links (Sigh).





Virus-free. www.avast.com