Search found 149 matches
- Thu Jul 09, 2020 7:32 pm
- Forum: modern implementations of classic programming languages
- Topic: New: Console Mode editions of BBC BASIC
- Replies: 148
- Views: 8161
Re: New: Console Mode editions of BBC BASIC
I haven't been around for a while since I've been busy with things, I'd like to say that I think this is a really great idea and really useful. Thanks Richard for doing this.
- Fri Feb 07, 2020 8:14 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.3 released
Hello, I've just noticed that one of my old programs is experiencing a problem when I run it in the most recent version of Matrix Brandy. I'll look at this from middle of next week, as I'm going away for a long weekend. Just FYI :) Do you know which previous version(s) it worked on? It seems like 1...
- Fri Feb 07, 2020 6:14 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.3 released
Hello, I've just noticed that one of my old programs is experiencing a problem when I run it in the most recent version of Matrix Brandy. This is the program: PROCinitxrand:i=0:s=0:WHILEi<1495000:s=s EOR FNxrand(i):i=i+1:ENDWHILE:i=i AND255:PRINT i: END DEFPROCinitxrand rand=0 ranb=0 ranc=0 ENDPROC ...
- Sat Dec 14, 2019 7:28 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.3 released
I've written a number of graphics demos for matrix brandy over the past year or so. I was wondering, might they be valuable as demonstration programs? They use some features 'new' to matrix brandy, such as WAIT.
- Tue Nov 19, 2019 1:53 am
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.1 released
Interesting feature. Could you post some screenshots and code snippets demonstrating it?
- Tue Nov 12, 2019 12:11 pm
- Forum: modern implementations of classic programming languages
- Topic: Uses of the semicolon in BBC BASIC
- Replies: 11
- Views: 1612
Re: Uses of the semicolon in BBC BASIC
This is a complete guess but I have the impression RISC OS is mostly written in assembly language, so the multiple return values possibly correspond to the contents of the ARM registers presumably starting at r0, and I assume 'flags' corresponds to the processor status flags after executing the syst...
- Fri Nov 08, 2019 10:23 am
- Forum: modern implementations of classic programming languages
- Topic: Proposal for BBC BASIC 'FOR lists'
- Replies: 27
- Views: 3112
Re: Proposal for BBC BASIC 'FOR lists'
Looks nice. It reminds me of 'foreach' from Tcl.
- Wed Oct 16, 2019 1:17 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.1 released
Thanks for looking into it. Sorry to spam you, but, I notice now that there seems to be some trouble with stuff getting drawn outside of the graphics window. Tested with this code: MODE 13 PROCgcol(0,0,0):RECTANGLE FILL 0,0,1280,1024 VDU 24, 100;100;400;400; PROCgcol(0,0,128):RECTANGLE FILL 0,0,1280...
- Tue Oct 15, 2019 5:10 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.1 released
Hello, I notice that if you try to draw text at the location of the graphics cursor (with VDU 5 and then PRINT), and if the current graphics colour is black, no text is drawn. Tested with this program: MODE 1 PROCtextdraw(100,100,"Matrix Brandy BBC BASIC") END DEF PROCtextdraw(x%,y%,s$) LO...
- Fri Oct 11, 2019 11:48 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.1 released
Thanks Richard, I actually wasn't aware that Matrix Brandy had been changed to use true 64 bit addresses. (I've been a bit busy lately and haven't been following things as closely. I should have read up more before posting, sorry) This is a really cool new feature and I'm excited to learn that it's ...
- Fri Oct 11, 2019 10:26 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.1 released
Hello,
I've just noticed today that one of my old programs from last year causes an 'Address exception' error on the latest github version of matrix brandy.
Here is the program that causes the error:
I've just noticed today that one of my old programs from last year causes an 'Address exception' error on the latest github version of matrix brandy.
Here is the program that causes the error:
- Tue Oct 01, 2019 6:21 pm
- Forum: off-topic
- Topic: I made a simple programming language & interpreter
- Replies: 1
- Views: 478
I made a simple programming language & interpreter
Hello, I've been working on a simple programming language and interpreter, just as a experiment and as a project for fun in my spare time. This is something I've wanted to do for a long while, and finally got around to doing this past month. It's written in C, and it has support for graphics (powere...
- Fri Sep 20, 2019 9:50 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.1 released
@Soruk Thanks! @Richard I recognise that it's correct to remove it, and that it's non-standard behaviour that will break a lot of programs written for other versions of BASIC. In my case I have one or two programs written for brandy that used it, and I might otherwise have needed to update them. So ...
- Fri Sep 20, 2019 2:18 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.1 released
That would be cool, if it's not a hassle for you to implement. Perhaps it would be good as a compile time option.
- Fri Sep 20, 2019 1:37 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.1 released
I think that's unfortunate. That was a pretty nice feature that I used quite a bit. Though I can understand why you removed it.Bug fix for VAL - it should ONLY handle decimal numbers (not hex or binary)
- Thu Sep 12, 2019 11:18 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
I'm noticing a problem with the latest brandy from github. WAIT with a number parameter doesn't seem to work anymore. Typing, for example, "WAIT 1000" at the prompt just returns instantly.
- Fri Sep 06, 2019 1:51 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Sorry, I forgot to mention that in the case of bb4w, I changed that procedure to something like this: COLOUR 4, r, g, b: GCOL 4 I also changed the MODE number to something different. The rest of the program worked without modifications. That's actually part of why I made a wrapper procedure for GCOL...
- Fri Sep 06, 2019 1:12 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Hello, I think I might have found a bug in matrix brandy. For fun last night I wrote a program that makes an approximation of a sine/cosine curve. While I was doing that, I noticed that it behaved incorrectly on the latest version of matrix brandy, but it behaves correctly on older versions of matri...
- Sat Aug 31, 2019 11:24 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Hello, Today I tried to compile brandy on a spare computer with Debian Unstable. I'm using the latest version from github. I got this error: /usr/bin/ld: src/fileio.o: in function `fileio_eof': fileio.c:(.text+0x18c9): undefined reference to `kbd_pending' /usr/bin/ld: src/mos.o: in function `mos_osb...
- Thu Aug 29, 2019 3:48 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
Re: Matrix Brandy BASIC VI for Linux with SDL: V1.22.0 released
Ouch!
Hope you recover soon.
Hope you recover soon.
- Sat Aug 10, 2019 1:48 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
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...
- Thu Aug 08, 2019 8:57 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
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.
- Mon Aug 05, 2019 4:00 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
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...
- Mon Aug 05, 2019 12:34 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
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...
- Mon Aug 05, 2019 12:31 am
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
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...
- Sun Aug 04, 2019 1:33 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
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 ...
- Thu Jul 25, 2019 1:07 am
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
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...
- Tue Jul 09, 2019 7:22 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
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.
- Thu Jun 20, 2019 7:16 pm
- Forum: modern implementations of classic programming languages
- Topic: Matrix Brandy BASIC VI for console and SDL1.2: V1.22.10 released
- Replies: 1290
- Views: 110099
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...
- Mon May 13, 2019 4:34 pm
- Forum: modern implementations of classic programming languages
- Topic: BBC BASIC for SDL 2.0 version 1.03a released
- Replies: 12
- Views: 2636
Re: BBC BASIC for SDL 2.0 version 1.03a released
If this is true, those people are just being silly and you shouldn't be concerned about what they think.and many people (certainly within the RISC OS community) consider me to be something of a traitor and to be 'anti Acorn'