Search found 897 matches

by Richard Russell
Tue Sep 10, 2019 5:55 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 750
Views: 35693

Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released

I draw the line at buying a Mac. :wink: I sympathise, but I had no choice in order to create the MacOS and iOS editions of BBCSDL (I bought a Mac Mini so that I could at least share my monitor, mouse and keyboard using a KVM switch). There's also Android to add to the list of platforms I would need...
by Richard Russell
Tue Sep 10, 2019 5:29 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 750
Views: 35693

Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released

I just report the error, then siglongjmp() to the error handler (from ON ERROR) or back to the immediate mode loop. Yes, I understand how errors are handled (I do the same), I meant how do you intercept the segfault? Are you using 'sigaction()'? It's this at the man page that scares me: " Applicati...
by Richard Russell
Tue Sep 10, 2019 4:05 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 750
Views: 35693

Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released

any illegal read or write will raise Address exception but won't crash Brandy itself. I have mixed feelings about the desirability of trapping segfaults. Raymond Chen, the Microsoft guru and blogger, advises that it's best to let the application crash (I appreciate that you probably aren't using Is...
by Richard Russell
Tue Sep 10, 2019 1:21 pm
Forum: off-topic
Topic: Capturing interlaced / 50Hz video
Replies: 28
Views: 538

Re: Capturing interlaced / 50Hz video

I see another fpga project coming on - a scan doubler of some sort - any recommendations for video DAC's? If you can find a capture device that will save the 576i 'properly' (i.e. without attempting to deinterlace or otherwise mangling the video) you can do the conversion to 576p50 downstream, eith...
by Richard Russell
Mon Sep 09, 2019 11:37 am
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 750
Views: 35693

Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released

To reiterate, I was the one who merged the pull request, nobody else has access to do that on my branch. So, do not worry about anybody being able to do something unexpected to BBCSDL. Fair enough. I am somewhat obsessive about regressions, for example before issuing a new version of BBCSDL I run '...
by Richard Russell
Sun Sep 08, 2019 9:24 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 750
Views: 35693

Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released

A recent merge from @jgharston has removed the offsetting used for Brandy's memory space. I'm surprised that can happen, especially without you knowing. Is it because you are sharing StarDot's github account that he is able to make changes? I'm hoping nothing similar can happen to BBC BASIC for SDL...
by Richard Russell
Fri Sep 06, 2019 2:59 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 750
Views: 35693

Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released

dhg2 wrote:
Fri Sep 06, 2019 12:51 pm
Sorry, I forgot to mention that in the case of bb4w, I changed that procedure
Grr. You really don't want to get me started again on those GCOL extensions that don't even have VDU equivalents! :evil:
by Richard Russell
Fri Sep 06, 2019 12:46 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 750
Views: 35693

Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released

it behaves correctly on ... Richard Russell's BB4W. I don't understand how it can have done, since it includes this code: DEF PROCgcol(c%) GCOL (c%AND&FF0000)>>16, (c%AND&00FF00)>>8, c%AND&FF ENDPROC which has GCOL followed by three parameters. I know about the one-parameter and two-parameter varia...
by Richard Russell
Wed Sep 04, 2019 3:02 pm
Forum: off-topic
Topic: Capturing interlaced / 50Hz video
Replies: 28
Views: 538

Re: Capturing interlaced / 50Hz video

I was under the impression that some de-interlacers used motion compensation (where it tries to guess the trajectory of moving objects and compensate for this)...something I really don't want. There are indeed motion-compensated deinterlacers, but as you say these aren't relevant to you. It's proba...
by Richard Russell
Wed Sep 04, 2019 1:16 pm
Forum: off-topic
Topic: Capturing interlaced / 50Hz video
Replies: 28
Views: 538

Re: Capturing interlaced / 50Hz video

I suspect the de-interlace may make my problems worse i.e. does it shuggle lines horizontally to de-interlace to a 25p frame? A deinterlacer shouldn't be doing anything "horizontally"! All good deinterlacers are vertical-temporal filters of some kind; the beauty of Martin Weston's filter is that it...
by Richard Russell
Wed Sep 04, 2019 1:04 pm
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC for SDL 2.0 version 1.06a released
Replies: 3
Views: 199

Re: BBC BASIC for SDL 2.0 version 1.06a released

I was going to ask for some screenshots... I generally work on the basis that virtually anybody can run BBC BASIC for SDL 2.0 , since it is available for so many platforms (including Android and iOS), so if you want to see it in action you can try it for yourself. Perhaps this forum is the one plac...
by Richard Russell
Wed Sep 04, 2019 9:54 am
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC for SDL 2.0 version 1.06a released
Replies: 3
Views: 199

Re: BBC BASIC for SDL 2.0 version 1.06a released

Here's what the supplied example program aagfxdem.bbc produces, on all the supported platforms:

Image
by Richard Russell
Wed Sep 04, 2019 9:46 am
Forum: off-topic
Topic: Capturing interlaced / 50Hz video
Replies: 28
Views: 538

Re: Capturing interlaced / 50Hz video

I have interlace turned off usually on the beeb so I guess that is really 288/50p that I want to capture? With interlace turned off it's a non-standard video format so possibly a capture card won't lock to it at all, it will depend on how tolerant it is. I would recommend leaving interlace on and t...
by Richard Russell
Tue Sep 03, 2019 3:46 pm
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC for SDL 2.0 version 1.06a released
Replies: 3
Views: 199

BBC BASIC for SDL 2.0 version 1.06a released

I have released version 1.06a of BBC BASIC for SDL 2.0 , the cross-platform programming language for Windows, MacOS, Linux, Raspbian, Android and iOS. The changes in this version are as follows: BASIC Interpreter / Run Time Engine Added support for antialiased 2D graphics (extending SDL2_gfx). Incre...
by Richard Russell
Tue Sep 03, 2019 10:31 am
Forum: off-topic
Topic: Capturing interlaced / 50Hz video
Replies: 28
Views: 538

Re: Capturing interlaced / 50Hz video

I'd like to be able record my demos to proper interlaced 576i PAL type video for posting up on the net. Support for "proper interlaced 576i" is limited, in formats suitable for streaming from the net, so one thing you could consider is to de-interlace it to 576p50 (i.e. progressive at 50 fps). Now ...
by Richard Russell
Sun Sep 01, 2019 11:50 am
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 750
Views: 35693

Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released

Soruk wrote:
Sun Sep 01, 2019 11:36 am
Unused variables, nothing to worry about.
It's undesirable nevertheless, because if people get used to seeing warnings every time it's compiled they may not notice if a new (potentially more important) one appears.
by Richard Russell
Fri Aug 30, 2019 4:15 pm
Forum: software: other
Topic: Odd GCOLs & PLOTs
Replies: 7
Views: 285

Re: Odd GCOLs & PLOTs

5: Leave colour on screen unchanged (jgh: implicitly ignoring c) 6: AND colour on screen with (NOT c) 7: OR colour on screen with (NOT c) Had I known about them I could have implemented them in BB4W and BBCSDL because I'm pretty certain there are corresponding codes used by SetROP2() in Windows GDI...
by Richard Russell
Thu Aug 29, 2019 4:55 pm
Forum: software: other
Topic: Odd GCOLs & PLOTs
Replies: 7
Views: 285

Re: Odd GCOLs & PLOTs

8+k for transparent background, and adds defined actions for k=5,6,7. I've not come across these and they are not implemented in BBC BASIC for Windows or BBC BASIC for SDL 2.0 . Purely for interest what does "transparent background" mean and what are the "defined actions" for 5, 6 and 7? On the top...
by Richard Russell
Tue Aug 27, 2019 2:45 pm
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC for SDL 2.0 version 1.05a released
Replies: 3
Views: 455

Re: BBC BASIC for SDL 2.0 version 1.05a released

You can replace a whole bunch of separate arrays e.g. name$(I%), height(I%), weight(I%) and so forth, where I% is the common index into each of them, with just one array indexed on I% and each element having all those properties in it. Absolutely. In the syntax I devised for BBC BASIC for Windows a...
by Richard Russell
Sat Aug 24, 2019 5:17 pm
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC for SDL 2.0 version 1.05a released
Replies: 3
Views: 455

Re: BBC BASIC for SDL 2.0 version 1.05a released

Somebody has posted this, unbidden, at the BBC BASIC forum (and, no, it's not me posting under an alias): " I just want to let people know that I finally did the effort to use structures in my programs and that this was a revelation. Big words but justified. I know Richard has made the effort to imp...
by Richard Russell
Sun Aug 18, 2019 9:35 am
Forum: emulators
Topic: Raspberry Pi 4
Replies: 22
Views: 852

Re: Raspberry Pi 4

It's possible that fix was back ported into the drive raspberry pi released to fix libre office. We now have the answer from the horse's mouth at the Raspberry Pi forum. The LibreOffice 'fix' wasn't achieved by implementing glLogicOp() at all, " It was more of a workaround. Something to do with swi...
by Richard Russell
Sat Aug 17, 2019 6:54 pm
Forum: emulators
Topic: Raspberry Pi 4
Replies: 22
Views: 852

Re: Raspberry Pi 4

dp11 wrote:
Sat Aug 17, 2019 5:22 pm
It's possible that fix was back ported into the drive raspberry pi released to fix libre office.
Does that help me?
by Richard Russell
Sat Aug 17, 2019 12:51 pm
Forum: emulators
Topic: Raspberry Pi 4
Replies: 22
Views: 852

Re: Raspberry Pi 4

The fix being talked about is not included in any of the Mesa 19.1.x versions. It should appear in Mesa 19.2, which is still in development. Thanks for the clarification. On that basis I can't be optimisitic that it will be in Raspbian any time soon. The only way to test this now would be to build ...
by Richard Russell
Sat Aug 17, 2019 11:43 am
Forum: emulators
Topic: Raspberry Pi 4
Replies: 22
Views: 852

Re: Raspberry Pi 4

I'm pretty sure that fix is in the latest driver. So how do you install that driver other than doing 'apt-get dist-upgrade', which seemingly had no effect? Is there something else you need to do to enable it (whilst the VC4 driver on the RPI 3 needed explicitly enabling, my understanding was that t...
by Richard Russell
Sat Aug 17, 2019 8:57 am
Forum: emulators
Topic: Raspberry Pi 4
Replies: 22
Views: 852

Re: Raspberry Pi 4

I'll ask the user who reported it to update his RPi4 (although it was quite new anyway). He reports that there is no change. Having done: sudo apt-get update sudo apt-get dist-upgrade All the glLogicOp modes he tested (OR, AND and XOR) are still non-functional. Is there anything else he could/shoul...
by Richard Russell
Fri Aug 16, 2019 9:56 pm
Forum: emulators
Topic: Raspberry Pi 4
Replies: 22
Views: 852

Re: Raspberry Pi 4

dp11 wrote:
Fri Aug 16, 2019 11:10 am
I don't know about OR and AND, but I suspect they are also fixed. The driver certainly has had the XOR fix for a while now.
I'll ask the user who reported it to update his RPi4 (although it was quite new anyway).
by Richard Russell
Fri Aug 16, 2019 10:59 am
Forum: emulators
Topic: Raspberry Pi 4
Replies: 22
Views: 852

Re: Raspberry Pi 4

My understanding is XOR is now supported. Is there another op that also doesn't work ? Since when? I don't have a RPi4 myself and I'm relying on reports from other users. I'm somewhat surprised if they've sorted XOR but not the others (OR, AND etc.) because I thought the fix implemented them all. C...
by Richard Russell
Fri Aug 16, 2019 8:42 am
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 750
Views: 35693

Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released

Also, long double is 12 bytes (96 bits) on i686, 16 bytes (128 bits) on x86-64. That is more an alignment issue than anything else. If the FPU is being used to carry out the long double calculations, which is the only thing that makes sense on those CPUs, then only 10 bytes (80 bits) are actually s...
by Richard Russell
Thu Aug 15, 2019 9:16 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 750
Views: 35693

Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released

It depends upon how much work you wish to put in to make sure that the code is (a) portable and, (b) future-proof. None! My code isn't portable (and isn't intended to be); it is full of platform-specific features and compiler-specific features. Within the limited set of platforms and compilers with...
by Richard Russell
Thu Aug 15, 2019 8:12 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 750
Views: 35693

Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released

The ANSI C specification states that an "int" is the natural size of a signed integer on the machine in question and hence its size cannot be relied upon. I know what the ANSI specification says, but nevertheless my statement remains true: int being anything other than 32-bits is extremely unusual.