Go to advanced search

by RichardRussell
Mon Jan 20, 2020 9:31 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Very nice screenshots :) I did a lot of MODE 7 stuff in the old days. Used your BASIC a lot on PC and RM Nimbus. The key to achieving a realistic teletext display is the Bedstead font which solves the problem of emulating the non-square pixels of the BBC Micro's MODE 7 on a display with square pixe...
by RichardRussell
Mon Jan 20, 2020 2:01 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Some screen shots from the Ceefax simulator:
Ceefax100.png
Ceefax100.png (46.26 KiB) Viewed 186 times
Ceefax122.png
Ceefax122.png (45.23 KiB) Viewed 186 times
Ceefax137.png
Ceefax137.png (37.83 KiB) Viewed 186 times
by RichardRussell
Sun Jan 12, 2020 1:38 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

I've released version 1.09a 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 Worked around a regression in SDL 2.0.10, which caused the fern demo no...
by RichardRussell
Thu Dec 05, 2019 12:39 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

RichardRussell wrote:
Sun Dec 01, 2019 11:10 am
Added 'bezierfit.bbc' (in the examples/general folder) to demonstrate fitting a smooth curve to a set of data points. This program is also compatible with BBC BASIC for Windows.
Image
by RichardRussell
Sun Dec 01, 2019 11:10 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Just released, version 1.08a 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 The version of SDL supplied with the Windows, MacOS and iOS editions h...
by RichardRussell
Sun Nov 10, 2019 6:23 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Congratulations are due to David Williams (aka BasicBoy) whose BBC BASIC game 'Tyoob' has won Second Prize at the recent SyntaxBomb game coding competition . Here's a YouTube video of the game running on a Raspberry Pi 3 (apparently it runs rather more smoothly on a RPi 4). David has had great succe...
by RichardRussell
Mon Nov 04, 2019 12:04 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

I found a rather nasty bug yesterday, which (in admittedly statistically unlikely circumstances) could cause the INSTALL statement to hang. The source at GitHub has been updated with the fix.
by RichardRussell
Thu Oct 31, 2019 3:37 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

In 32-bit mode on ARM "long double" is the same as "double", that is 64-bits. In 64-bit mode, ARM "long double" is 128-bits! Indeed (and the 128-bit 'long double' is currently a software emulation) which is why I redefine those 'long double' library functions to their ordinary 'double' equivalents....
by RichardRussell
Thu Oct 31, 2019 2:02 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Now down to a fabsl fabs warning in bbceval.c Looks like long double instead of long, but that's for fixing tmr. I don't think I get any warnings when compiling for iOS (which is Clang/aarch64), at least none that Xcode draws to my attention. The redefining of fabsl to fabs (and others similar) is ...
by RichardRussell
Thu Oct 31, 2019 12:18 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Got this warning on main, exec, eval, smb_asm, but every other c file compiled individually on Gentoo64. That's likely to be due to this code in bbc.h : // Register globals: #ifdef __llvm__ extern signed char *esi ; // Program pointer extern heapptr *esp ; // Stack pointer #else #ifdef __i386__ reg...
by RichardRussell
Thu Oct 31, 2019 9:29 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Could BBC basic be made into a baremetal version? In principle, certainly. Right from the very start (i.e. on the BBC Micro in 1981) a clear distinction was made, and a well-defined interface established, between the 'language' and the 'operating system'. This was rare in the 8-bit home computer da...
by RichardRussell
Wed Oct 30, 2019 2:07 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Is there a aarch64 version of BBC Basic? The iOS edition of BBC BASIC is aarch64 (as mandated by Apple) but with so few RPis running a 64-bits OS I've not bothered to support that configuration. Ok, found the source on github but no instruction on how to make? The makefile is in the bin/raspi direc...
by RichardRussell
Sun Oct 27, 2019 5:34 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Unless someone is paying, the audience for any program I write is precisely one, me. I can't believe that's true. You surely sometimes write 'informative' programs, e.g. a program designed to illustrate the capabilities of a language or a coding tecnnique, without expecting to be paid? That's what ...
by RichardRussell
Thu Oct 24, 2019 1:54 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Nah, I want the real stuff The USNO UCAC4 star catalog with 113 millions stars to magnitude 16 ! It depends on what you consider the audience for the program to be. Most 'hobby' astronomers aren't going to be interested in that, or have a telescope capable of imaging most of those stars, anyway (to...
by RichardRussell
Thu Oct 24, 2019 11:48 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Where does that BBC BASIC get it's planetarium data from? I've included web links in the source code, preceding the blocks of DATA statements at the end of the program. No guarantees that they are the 'best' sources nor that they are the most accurate, just ones that Google found. As I mentioned, t...
by RichardRussell
Tue Oct 22, 2019 12:21 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Some screenshots from the 'planetarium' program featured in the recent release:
skybaby1_small.png
skybaby1_small.png (123.45 KiB) Viewed 2897 times
skybaby2_small.png
skybaby2_small.png (169.35 KiB) Viewed 2897 times
skybaby3.png
skybaby3.png (250.4 KiB) Viewed 2897 times
by RichardRussell
Sun Oct 20, 2019 3:51 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Version 1.07a of BBC BASIC for SDL 2.0 - the cross-platform programming language for Windows, MacOS, Linux, Raspbian, Android and iOS - has been released. The changes in this version are as follows: BASIC Interpreter / Run Time Engine User-defined characters may be used even if *FONT is active (impr...
by RichardRussell
Wed Sep 04, 2019 9:55 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

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

Image
by RichardRussell
Tue Sep 03, 2019 3:48 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

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 RichardRussell
Wed Aug 28, 2019 8:23 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

Speed. It's painful without it. Plus, we have accelerated graphics, so why not use them? In any case I don't have any choice in the matter: it's BBC BASIC for SDL 2.0 and SDL2 uses OpenGL as the rendering backend when running on Linux (including Raspbian). So it's always using OpenGL, either hardwa...
by RichardRussell
Tue Aug 27, 2019 3:58 pm
Forum: Advanced users
Topic: glLogicOp(GL_OR) not working on Raspberry Pi 4?
Replies: 10
Views: 929

Re: glLogicOp(GL_OR) not working on Raspberry Pi 4?

trejan wrote:
Fri Aug 09, 2019 5:20 pm
No idea how long you'll need to wait for a newer Mesa to appear in Raspbian.
To tie up loose ends, the issue is fixed in this Mesa release candidate:

https://www.raspberrypi.org/forums/view ... 6&t=249650
by RichardRussell
Tue Aug 27, 2019 2:57 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 586
Views: 56987

Re: Introduction to BBC BASIC

For those wanting to use BBC BASIC on the Raspberry Pi 4, who may have been affected by the glLogicOp() function not working (and hence BBC BASIC's GCOL statement being broken), I'm pleased to confirm that this Mesa update resolves the issue and restores BBC BASIC for SDL 2.0 to a fully functional s...
by RichardRussell
Tue Aug 27, 2019 2:51 pm
Forum: Raspbian
Topic: Mesa 19.2.0-rc1 available for testing
Replies: 23
Views: 3255

Re: Mesa 19.2.0-rc1 available for testing

This week, Mesa have announced a release candidate for the 19.2.0 release, which we would like to switch over to. I'm pleased to confirm that this 19.2 candidate fixes the issue with glLogicOp() not being implemented, and makes BBC BASIC work properly again! This is really good news, and I look for...
by RichardRussell
Tue Aug 20, 2019 4:53 pm
Forum: Raspbian
Topic: STICKY: Raspbian 'Buster' 2019-06-20 / 07-10
Replies: 141
Views: 47758

Re: Raspbian 'Buster' 2019-06-20 / 07-10

It isn't a performance issue. VC4 driver isn't compatible at all. Shame. It leaves software mesa (disabling FKMS) as the only option for getting a functional glLogicOp(), which whilst it works is unusably slow for running BBC BASIC. This is an unfortunate regression as far as I am concerned, but I ...
by RichardRussell
Tue Aug 20, 2019 1:45 pm
Forum: Raspbian
Topic: STICKY: Raspbian 'Buster' 2019-06-20 / 07-10
Replies: 141
Views: 47758

Re: Raspbian 'Buster' 2019-06-20 / 07-10

I'll see how far I get anyway, but it's possible that we'll need to sort it out another way which may take a few weeks. I appreciate your efforts. I notice that raspi-config provides no option for selecting the VC4 driver (as used on the RPI 3) but only the V3D driver that is currently missing glLo...

Go to advanced search