Search found 129 matches

by dhg2
Sat Aug 10, 2019 12:48 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

Hello, I've been playing around with the new sound feature a bit more, and I've noticed that there's a difference from how sound works on RISC OS. On RISC OS it's possible to play a sound which is completely silent by using 0 as the volume parameter for the SOUND command. This can be useful for cutt...
by dhg2
Thu Aug 08, 2019 7:57 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

Sorry if this question is already answered. Is it possible to check whether there's something in the keyboard buffer in Matrix Brandy? I notice that ADVAL(-1) always returns 0.
by dhg2
Mon Aug 05, 2019 3:00 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

Sorry, I see now that I was wrong about the lowest note available being a# (pitch number 0). I actually wasn't aware of the finer control that's allowed by specifiying numbers between 256 and 32767. Now that I know about that I'll be using it. At the same time, I still think the feature that lets yo...
by dhg2
Mon Aug 05, 2019 11:34 am
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

I actually discovered it by accident... If it's undocumented it shouldn't be used (or emulated), in my opinion. There's nothing to say that it's safe to use or that it will work reliably. I understand and respect your opinion, but I disagree. It's a very useful feature. It seems to be impossible to...
by dhg2
Sun Aug 04, 2019 11:31 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

A useful feature of SOUND that RISC OS has is that you can supply a negative number as the pitch parameter in order to play a sound at a specific frequency in hz. FWIW, that feature seems not to be documented here so maybe it was a late addition. Ah that's Interesting. I actually discovered it by a...
by dhg2
Sun Aug 04, 2019 12:33 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

I'm really glad to see that sound support has been added, big thanks to you and David H for this. A useful feature of SOUND that RISC OS has is that you can supply a negative number as the pitch parameter in order to play a sound at a specific frequency in hz. I tested it with a short program and I ...
by dhg2
Thu Jul 25, 2019 12:07 am
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

It's been a long time coming, but I've just checked in a commit that implements AUTO. Thanks very much for this! By the way, tonight I've come across something that's surprised me and I don't know if it's a bug in brandy, or if I'm just doing something very wrong. I was bored and I wrote a silly pr...
by dhg2
Tue Jul 09, 2019 6:22 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

Maybe so, but don't forget that *EXEC is useful for stuff like pre-filling the INPUT buffer.
by dhg2
Thu Jun 20, 2019 6: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: 715
Views: 33090

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 inte...
by dhg2
Mon May 13, 2019 3:34 pm
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC for SDL 2.0 version 1.03a released
Replies: 12
Views: 613

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.
by dhg2
Tue Apr 09, 2019 2:30 am
Forum: off-topic
Topic: Sound Export
Replies: 35
Views: 1416

Re: Sound Export

That's our man Richard. This sound recorder app is great!
by dhg2
Mon Apr 01, 2019 2:51 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

I don't have anything important to say, but I just wanted to say again, big thanks for all your work on Matrix Brandy. I use it a lot and I'm really glad that it's being maintained.
by dhg2
Thu Feb 28, 2019 7:35 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

It's not closely related to the current discussion, but I'm wondering, is there any chance that matrix brandy would be ported to SDL2 at some point in the future? I'm thinking that problems like this would be less likely to happen with SDL2. Using SDL2 might also make it easier to implement features...
by dhg2
Sat Feb 23, 2019 8:00 pm
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC for SDL 2.0 v1.01a released
Replies: 6
Views: 708

Re: BBC BASIC for SDL 2.0 v1.01a released

I'm glad to hear this. Thanks, Richard.
by dhg2
Sat Feb 23, 2019 1:42 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

I think Richard is right. From my perspective as an end user of brandy, the behaviour of BGET#, EOF#, etc, might as well be considered a part of (brandy) BASIC.
by dhg2
Fri Feb 22, 2019 2:51 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

Thanks. EOF#0 now causes an error as it should. But I've also just noticed now that BPUT#0 and BGET#0 have the same problem - BPUT#0 doesn't cause an error and BGET#0 returns 0 without causing an error. (I should have tested those before I posted about the EOF#0 problem, sorry about that)
by dhg2
Mon Feb 18, 2019 10: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: 715
Views: 33090

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

Hello,

I've just discovered a bug with EOF#. EOF#0 returns 0, instead of causing an "invalid channel" error as it does in other versions of BBC BASIC.
by dhg2
Thu Jan 24, 2019 2:07 pm
Forum: programming
Topic: How do you edit your BASIC programs?
Replies: 53
Views: 2287

Re: How do you edit your BASIC programs?

I'm a bit late to this thread, but, I usually write my programs using my favourite text editor "Mousepad", save as text, and load into Brandy either by passing the program text file as a command line argument or with CHAIN. When I want to write a program for the BBC Micro or RISC OS, I often start w...
by dhg2
Thu Jan 17, 2019 1:05 pm
Forum: off-topic
Topic: Sound Export
Replies: 35
Views: 1416

Re: Sound Export

Maybe it's not related, but I recently wrote a resampler for Matrix Brandy BASIC. It would probably not be much work to extend it into something that could be used to make music.
by dhg2
Thu Jan 10, 2019 10:25 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

BigEd wrote:
Thu Jan 10, 2019 10:12 pm
Try an extra leading slash. (*/ is the same as *RUN I think.)
Thanks, that worked. I've also just worked out that "$PWD/binfile" works for executing something that's in the current working directory.
by dhg2
Thu Jan 10, 2019 9:54 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

Hello again, I've noticed two issues (or maybe three issues, with two of them similar but separate) related to OSCLI. I found myself in the situation where I wanted to use OSCLI to run an executable in the current directory. So I tried OSCLI "./binfile" But this didn't work because any command strin...
by dhg2
Fri Jan 04, 2019 7:44 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

Has there been any progress towards sound support? I think jgharston said he was looking into it, or maybe I'm remembering wrongly.
by dhg2
Tue Dec 25, 2018 11:35 am
Forum: off-topic
Topic: xmas 10" 78rpm tunes from 1954ish
Replies: 10
Views: 1276

Re: xmas 10" 78rpm tunes from 1954ish

Merry Christmas, McDougall!
by dhg2
Sun Dec 23, 2018 1:48 pm
Forum: off-topic
Topic: I sold my BBC Micro now looking at BBC Master
Replies: 20
Views: 948

Re: I sold my BBC Micro now looking at BBC Master

Hi, And yes I have to coding in other languages, but I just find them a lot more I don't know less friendly. What I love about retro machines is this naivety they approach life with and I think I relate to that lol :lol: If you prefer BASIC, you can still use it on modern computers. If you haven't t...
by dhg2
Sat Dec 22, 2018 11:24 pm
Forum: off-topic
Topic: I sold my BBC Micro now looking at BBC Master
Replies: 20
Views: 948

Re: I sold my BBC Micro now looking at BBC Master

Hi Pablos, Do you, or have you done, any programming on modern computers/laptops/etc? I'm just wondering because from reading your post, I get the impression that you've felt a bit daunted by the experience of trying to create stuff on the BBC Micro, trying to fit everything in the small memory and ...
by dhg2
Wed Dec 19, 2018 10:25 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

Just a small aside, I've pressed a text-mode build into service running a program to process DHCP logs into a MySQL database at work. My first log-mangler (to reshape the data into INSERT statements) was a bash script, and processed about 30% of the 400MB log file overnight, after which point I gav...
by dhg2
Tue Dec 11, 2018 6:47 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

That is something I would like to do - but it's so far away from anything I've done before (I've never done sound programming previously) I will be struggling to make it work. I was thinking even leaning towards the BBC Micro style, as it might be simpler than having to implement sample files (like...
by dhg2
Wed Dec 05, 2018 9:44 pm
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Replies: 715
Views: 33090

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

With debian or ubuntu, I think all you would need to do to be able to compile matrix brandy is "sudo apt-get install build-essential libsdl1.2-dev". (I might be forgetting other dependencies) Puppy Linux seems to be a bit strange, compared to other linux distros. I would never have expected that ins...