Trackman2 (Mandelbrot)

Discussions related to graphics (2D and 3D), animation and games programming
neell00
Posts: 4
Joined: Tue 22 Apr 2025, 08:57

Trackman2 (Mandelbrot)

Post by neell00 »

Hi,
I downloaded this mandelbrot generator but unfortunately it won't work on BBCbasic on my Mac.
Numer too big, 920. dim Q% 700000 , well 700000 is probably too big!
Is there something that can be done?
You do not have the required permissions to view the files attached to this post.
Richard Russell
Posts: 366
Joined: Tue 18 Jun 2024, 09:32

Re: Trackman2 (Mandelbrot)

Post by Richard Russell »

neell00 wrote: Tue 22 Apr 2025, 09:06 I downloaded this mandelbrot generator but unfortunately it won't work on BBCbasic on my Mac.
That program is very platform-specific, most obviously it contains ARM assembly language code:

Code: Select all

 7690     [OPT PASS
 7700     MOV AH,Rm,LSR #16
 7710     MOV BH,Rs,LSR #16
 7720     EOR AL,Rm,AH,LSL #16
 7730     EOR BL,Rs,BH,LSL #16
 7740     MUL Rh,AH,BH
...
as well as a SYS call to RISC OS:

Code: Select all

  130     SYS "ColourTrans_WritePalette",-1,,pal%
So you'd need something like a Raspberry Pi running RISC OS to run it.

What's 'special' about it? There's a Mandelbrot program supplied with BBC BASIC for SDL 2.0 in the examples/graphics/ directory.
neell00
Posts: 4
Joined: Tue 22 Apr 2025, 08:57

Re: Trackman2 (Mandelbrot)

Post by neell00 »

I'm just curious. I've got a Pi2 so I'm gonna try.
Ric
Posts: 208
Joined: Tue 17 Apr 2018, 21:03

Re: Trackman2 (Mandelbrot)

Post by Ric »

Hi neell00,
Not sure pi2 will run bbcsdl, you might have to buy a pi3
Kind Regards Ric.

6502 back in the day, BB4W 2017 onwards, BBCSDL from 2023
neell00
Posts: 4
Joined: Tue 22 Apr 2025, 08:57

Re: Trackman2 (Mandelbrot)

Post by neell00 »

well, I've had a Pi4 but it didn't do well with RiscOS Open, 5.28 I guess so I sold it.
Pi2 runs 5.30
Last edited by neell00 on Tue 22 Apr 2025, 11:22, edited 1 time in total.
Richard Russell
Posts: 366
Joined: Tue 18 Jun 2024, 09:32

Re: Trackman2 (Mandelbrot)

Post by Richard Russell »

Ric wrote: Tue 22 Apr 2025, 10:38 Hi neell00,
Not sure pi2 will run bbcsdl, you might have to buy a pi3
The OP doesn't want to run BBCSDL, he needs RISC OS for that program. RISC OS will definitely run on a RPi 2 (so should 32-bit BBCSDL, but slowly).
neell00
Posts: 4
Joined: Tue 22 Apr 2025, 08:57

Re: Trackman2 (Mandelbrot)

Post by neell00 »

Richard Russell wrote: Tue 22 Apr 2025, 09:34 What's 'special' about it? There's a Mandelbrot program supplied with BBC BASIC for SDL 2.0 in the examples/graphics/ directory.
you're right, your program is also nice and doesn't require a Raspberry pi or rpcemu setup.
Rpcemu runs this new version of Trackman fine.
You do not have the required permissions to view the files attached to this post.