Search found 340 matches

by Soruk
Mon Jun 24, 2019 2:08 pm
Forum: software & utilities for the pc, mac or unix
Topic: Github problems: can anybody help?
Replies: 32
Views: 267

Re: Github problems: can anybody help?

The ability to jump back and forth between releases and between commits has been a godsend for me, when I KNEW I'd fixed a bug and it suddenly reappeared. As I tend to commit little and often, I was able to jump back in time to a point where I knew it was working, then step forward through the commi...
by Soruk
Mon Jun 24, 2019 1:26 pm
Forum: software & utilities for the pc, mac or unix
Topic: Github problems: can anybody help?
Replies: 32
Views: 267

Re: Github problems: can anybody help?

... and as you suggest there does not seem to be unanimity in the advice I am receiving. Git is one of those tools that is very powerful and offers multiple ways of working, and I'm sure my way will be different to others. But it's purely because of that flexibility of ways of working is why you're...
by Soruk
Mon Jun 24, 2019 1:23 pm
Forum: software & utilities for the pc, mac or unix
Topic: Github problems: can anybody help?
Replies: 32
Views: 267

Re: Github problems: can anybody help?

github always has the master copy. Oh, right, I didn't know that (although reading another reply I see that it isn't necessarily clear cut). It's not really a good fit to the way I like to work: the last thing I want is for any of my 'work-in-progress' code modifications (often embarrassingly bad) ...
by Soruk
Mon Jun 24, 2019 12:22 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released
Replies: 536
Views: 25845

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released

Just a wee aside, SYS "GPIO_GetBoard" has been updated to know about the new RasPi 4 (at least the 4MB version).
by Soruk
Mon Jun 24, 2019 11:54 am
Forum: software & utilities for the pc, mac or unix
Topic: Github problems: can anybody help?
Replies: 32
Views: 267

Re: Github problems: can anybody help?

In my experience, trying to do a git pull when a file being changed isn't in the state it was expecting to find it will also cause git to complain, thus not trampling over your work - however, it's always a good idea to keep a backup of it elsewhere anyway. Once backed up, do a git pull, and you sho...
by Soruk
Fri Jun 21, 2019 9:12 am
Forum: off-topic
Topic: Teefax - A nostalgic return to the days of teletext
Replies: 44
Views: 2118

Re: Teefax - A nostalgic return to the days of teletext

colonel32 wrote:
Thu Jun 20, 2019 9:48 pm
You can see the throttling in action by connecting to TELSTAR from https://vd-view.azurewebsites.net/, as vd-view doesn't currently send the sequence.
Unfortunately this isn't working for me, the drop-down for sites to connect to is empty. Firefox 60.7.0esr on Linux.
by Soruk
Thu Jun 20, 2019 6:30 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released
Replies: 536
Views: 25845

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released

I just compiled the latest version of brandy and unlike previous versions (and unlike the original brandy) it immediately closes after the program ends if you run it with a program file as a command line argument. Previously it only did that if you specified -quit. Is this intentional? If it is int...
by Soruk
Tue Jun 18, 2019 10:39 am
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released
Replies: 536
Views: 25845

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released

I'll need to see how to send things like VDU calls from one thread to another. I don't know how similar SDL 1.2 is to SDL 2 in that respect. SDL 2 has a sophisticated event system, so in my case the interpreter uses SDL_PushEvent to send the VDU call (for efficiency reasons it packages the entire c...
by Soruk
Mon Jun 17, 2019 7:59 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released
Replies: 536
Views: 25845

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released

I did look at putting the ESCAPE checker into a separate thread, but SDL (and X!) took a rather dim view of that. I know very little about SDL 1.2 (I don't want to!) but of course SDL2 is more than happy with multi-threaded apps and indeed BBCSDL could not work otherwise (the interpreter runs in on...
by Soruk
Mon Jun 17, 2019 1:05 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released
Replies: 536
Views: 25845

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released

It seems quite an expensive call was the gettimeofday() being used to rate-limit the keyboard polling. Moving that to a sub-thread, and having it just read a variable instead, the result on my FX8350 has gone from 11 to 5 - approximately twice as fast, without disabling Escape. An empty FOR loop is...
by Soruk
Mon Jun 17, 2019 12:00 pm
Forum: software
Topic: BBC BASIC timing comparison
Replies: 9
Views: 376

Re: BBC BASIC timing comparison

Richard Russell wrote:
Mon Jun 17, 2019 8:15 am
Soruk wrote:
Mon Jun 17, 2019 5:15 am
ESCAPE checking is done by internally calling INKEY(-113)
I would not expect ESCape to be checked asynchronously.....
Taking this over to the Matrix Brandy thread.....
by Soruk
Mon Jun 17, 2019 11:11 am
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released
Replies: 536
Views: 25845

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released

ESCAPE checking is done by internally calling INKEY(-113) I would not expect ESCape to be checked asynchronously (i.e. polled) like that: it's expensive, on some platforms it might detect the key being pressed even if BASIC doesn't have keyboard focus (for example using GetAsyncKeyState in Windows)...
by Soruk
Mon Jun 17, 2019 5:15 am
Forum: software
Topic: BBC BASIC timing comparison
Replies: 9
Views: 376

Re: BBC BASIC timing comparison

I also get 35 on a Pi3 and just for a laugh I tried it under ADFFS, which runs the 26bit SA version of BASIC under the JIT and got 43. A completely unfair comparison, of course, but on this Windows 10 laptop I get 22 cs, illustrating both the slowness of the RPi and how little interpreter speed typ...
by Soruk
Wed Jun 12, 2019 1:23 pm
Forum: software
Topic: BBC BASIC timing comparison
Replies: 9
Views: 376

Re: BBC BASIC timing comparison

Just for comparison, Matrix Brandy on RasPi 2 (don't have my Pi3+ handy from remote), gives 85.
by Soruk
Wed Jun 12, 2019 9:12 am
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released
Replies: 536
Views: 25845

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released

Hi, I've just put together version 1.21.20. A number of updates and bug fixes have been wrapped up in this, including: - Improved CIRCLE FILL and ELLIPSE FILL routines. - Added -v CLI option - thanks TheBrokenRail @ Github. - Reworked graphics window clipping via VDU24, as it was completely broken. ...
by Soruk
Tue Jun 04, 2019 11:57 am
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released
Replies: 536
Views: 25845

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.19 released

New SWI call "Brandy_GetVideoDriver", as a wrapper to SDL_VideoDriverName. Additionally, it will return "no_sdl" for a non-SDL build. Usage: SYS "Brandy_GetVideoDriver" TO driver$, string_length% Additionally, "Brandy_Version" extended. Usage: SYS "Brandy_Version" TO major%, minor%, patchlevel%, git...
by Soruk
Thu May 30, 2019 7:23 pm
Forum: software: other
Topic: Kepler's Revenge (BBC BASIC)
Replies: 2
Views: 244

Re: Kepler's Revenge (BBC BASIC)

Thank you for posting this - it helped me find another bug in Matrix Brandy :lol:
by Soruk
Thu May 30, 2019 7:21 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released
Replies: 536
Views: 25845

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.19 released

After trying the demo posted here https://stardot.org.uk/forums/viewtopic.php?f=2&t=17215 it transpired the graphics window clipping just didn't work. More weirdly, while graphics could be plotted outside of the graphics window, text couldn't be! The way points are plotted meant graphics completely ...
by Soruk
Tue May 14, 2019 7:04 am
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC for SDL 2.0 version 1.03a released
Replies: 12
Views: 360

Re: BBC BASIC for SDL 2.0 version 1.03a released

I received this message via Twitter yesterday: " Sophie's BASIC was originally in 6502 assembler, then ARMcode, then rewritten in C++ by ROOL ". It's the first I've heard of an official C++ version, does anybody here have any details? I wish I could confirm, but having had a look at riscosopen's CV...
by Soruk
Mon May 13, 2019 7:45 pm
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC for SDL 2.0 version 1.03a released
Replies: 12
Views: 360

Re: BBC BASIC for SDL 2.0 version 1.03a released

and many people (certainly within the RISC OS community) consider me to be something of a traitor and to be 'anti Acorn' If this is true, those people are just being silly and you shouldn't be concerned about what they think. Seconded. Thirded - and of course, if memory serves (though I never got t...
by Soruk
Mon May 13, 2019 1:40 pm
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC for SDL 2.0 version 1.03a released
Replies: 12
Views: 360

Re: BBC BASIC for SDL 2.0 version 1.03a released

Richard Russell wrote:
Mon May 13, 2019 11:41 am
I apologise again for what may be considered an inappropriate use of this forum;
I'm not sure why it would be considered inappropriate, BBCSDL is software for PC/Mac/UNIX. Certainly no less appropriate than my Matrix Brandy thread!
by Soruk
Sat May 11, 2019 5:30 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.20 released
Replies: 536
Views: 25845

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.19 released

I've arrived back from my travels - and as a little bonus I've updated the repo with a little teletext editor (examples/Mode7/ttxtedit) that I wrote on the plane home!
by Soruk
Sun Apr 14, 2019 6:03 pm
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC for SDL 2.0 version 1.02a released
Replies: 5
Views: 576

Re: BBC BASIC for SDL 2.0 version 1.02a released

Thank you for your continued efforts with BBC BASIC for SDL 2.0 BBCSDL has reached something of a plateau, in that the only items currently remaining on the 'wish list' are things I don't know how to do! Is there anything you would like to be added that might enhance its appeal or usefulness? Since...
by Soruk
Wed Apr 10, 2019 3:56 pm
Forum: software & utilities for the pc, mac or unix
Topic: FWD: fs/adfs on Linux - keep or kill it?
Replies: 8
Views: 447

Re: FWD: fs/adfs on Linux - keep or kill it?

It's also buildable as a module in Linux. In fact, it's probably done that way by default, if it is built at all. I suppose the more probing question would be: why do filing systems have to run in anything other than user mode? You can apply that question to the operating system of your choice. ;) ...
by Soruk
Sun Apr 07, 2019 9:26 am
Forum: projects
Topic: Viewdata Service
Replies: 146
Views: 10410

Re: Viewdata Service

As I understand it few, if any, of the current services are behind a 'real' telnet server. If they were I would expect that sending IAC DO ECHO might interfere with correct operation by inserting characters into the received stream 'asynchronously' and outside the control of the service itself. It ...
by Soruk
Sat Apr 06, 2019 8:18 pm
Forum: projects
Topic: Viewdata Service
Replies: 146
Views: 10410

Re: Viewdata Service

I can't replicate this at the moment with either the Matrix Brandy client, nor your telstar.bbc on Android. It's back to normal here today. I won't worry about it unless it happens again. I send FF FD 03 FF FD 01 OK, so you are sending IAC DO ECHO as well. I would not have expected echoing by the s...
by Soruk
Sat Apr 06, 2019 4:35 pm
Forum: projects
Topic: Viewdata Service
Replies: 146
Views: 10410

Re: Viewdata Service

Just as a point of interest, Telstar throttles page responses to 1200 baud, however, if a Telnet type client is detected by the parser Telstar runs at full speed. Usually, my 'telstar.bbc' client renders at full speed but this evening it seems to be throttled to 1200 baud. Has something changed you...
by Soruk
Fri Apr 05, 2019 11:43 am
Forum: projects
Topic: Teletext to Viewdata server
Replies: 12
Views: 463

Re: Teletext to Viewdata server

Richard Russell wrote:
Fri Apr 05, 2019 11:41 am
Soruk wrote:
Fri Apr 05, 2019 10:18 am
on BBCSDL's telstar.bbc it's F1 to reveal, F2 to conceal.
Can I take this opportunity to mention that telstar.bbc has recently been updated to include Teefax in the list of services, plus a couple of minor improvements.
Absolutely - it also gets a mention on P903.
by Soruk
Fri Apr 05, 2019 10:18 am
Forum: projects
Topic: Teletext to Viewdata server
Replies: 12
Views: 463

Re: Teletext to Viewdata server

HOLD page is now supported - press H, and jumping through a carousel is too - press .

REVEAL is client-dependent. On the Matrix Brandy client it's CTRL-R to toggle, on BBCSDL's telstar.bbc it's F1 to reveal, F2 to conceal.
by Soruk
Wed Apr 03, 2019 7:03 am
Forum: projects
Topic: Teletext to Viewdata server
Replies: 12
Views: 463

Re: Teletext to Viewdata server

Really, I'm just making it up as I go along. In the absence of a formal specification I think it's reasonable to assume that the way CommSoft and the official BBC Micro Prestel System behave in this respect (which I trust is the same!) can be taken as a reference. Perhaps somebody with the appropri...