New BBC demo written in TRSE

new graphics/music demos - bitshifters, 0xc0de, The Master + others
Post Reply
User avatar
oss003
Posts: 3562
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

New BBC demo written in TRSE

Post by oss003 »

Hi guys,

I noticed that Turbo Rascal Syntax Error (TRSE) is mentioned a few times on the forum so I decided to have a look at the site: https://lemonspawn.com/turbo-rascal-syn ... -but-begin
It's an open source program and you can find the source here: https://github.com/leuat/TRSE

trse.png
trse.png (6.09 KiB) Viewed 393 times

Looks like TRSE is a general compiler for a processor, eg 6502, Z80 or 68000.
You can add libraries with machine specific code for screen handling, sound or memory management.
About 30 machines are supported at the moment.
It's a kind of Pascal like programming language and you can link an emulator to test the program.

The writer, Nicolaas Groeneboom, is a BBC fan and wrote a demo in TRSE.
You can can find it here: https://www.youtube.com/watch?v=UnAoYDj ... Groeneboom
I contacted him and he added the Acorn Atom to the list.

Greetings
Kees
cmorley
Posts: 1576
Joined: Sat Jul 30, 2016 8:11 pm
Location: Oxford
Contact:

Re: New BBC demo written in TRSE

Post by cmorley »

I am trying to run this on my B but no music, the splash screen doesn't work properly and crashes later on. I stripped the B down to BASIC & DFS1.2 - the demo runs in BeebEm like this. Anyone else having problems on an original B or just me?
User avatar
oss003
Posts: 3562
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: New BBC demo written in TRSE

Post by oss003 »

cmorley wrote:
Wed Oct 13, 2021 9:55 am
I am trying to run this on my B but no music, the splash screen doesn't work properly and crashes later on. I stripped the B down to BASIC & DFS1.2 - the demo runs in BeebEm like this. Anyone else having problems on an original B or just me?
I sent Nicolaas your message and he replied that you could contact Kieran because he recorded the demo.
Last edited by oss003 on Wed Oct 13, 2021 12:17 pm, edited 1 time in total.
cmorley
Posts: 1576
Joined: Sat Jul 30, 2016 8:11 pm
Location: Oxford
Contact:

Re: New BBC demo written in TRSE

Post by cmorley »

I watched Kieran's video capture on youtube... looks like he used a Master not a B from the startup banner.
User avatar
kieranhj
Posts: 983
Joined: Sat Sep 19, 2015 11:11 pm
Location: Farnham, Surrey, UK
Contact:

Re: New BBC demo written in TRSE

Post by kieranhj »

I’m happy for folks to contact me here or on Twitter for BBC demo tech support! I did test the demo on both a Model B and my Master with a Gotek on vanilla DFS and it ran fine without any problems. The Model B does have 32K SWRAM but my understanding is that the demo doesn't use this. I have to use my Master for video capture as it has the audio out fed into a SCART cable.
Last edited by kieranhj on Wed Oct 13, 2021 12:54 pm, edited 1 time in total.
Bitshifters Collective | Retro Code & Demos for BBC Micro & Acorn computers | https://bitshifters.github.io/
User avatar
0xC0DE
Posts: 1086
Joined: Tue Mar 19, 2019 7:52 pm
Location: The Netherlands
Contact:

Re: New BBC demo written in TRSE

Post by 0xC0DE »

Seen the demo but had no idea it was written in TRSE, impressive!
0xC0DE
"I program my home computer / Beam myself into the future"
:arrow: Follow me on Twitter
:arrow: Visit my YouTube channel featuring my games and demos for Acorn Electron and BBC Micro
cmorley
Posts: 1576
Joined: Sat Jul 30, 2016 8:11 pm
Location: Oxford
Contact:

Re: New BBC demo written in TRSE

Post by cmorley »

I removed the Speech upgrade and swapped my VIAs over (in case the machine has a fault I am not aware of) but I get the same behaviour.

I can create an execution trace if the demo author would like to investigate?
User avatar
kieranhj
Posts: 983
Joined: Sat Sep 19, 2015 11:11 pm
Location: Farnham, Surrey, UK
Contact:

Re: New BBC demo written in TRSE

Post by kieranhj »

Curious. My limited understanding is that TRSE doesn't do any particularly fancy technical effects, e.g. there's no gratuitous CRTC abuse if it runs in BeebEm, it's mostly shifting RAM around in a clever way that results in really nice graphics. (This is in no way to undermine the achievement, I really like the demo and it has great music, effects and pacing.) I also got the impression from the author that they have been relatively conservative about not touching OS RAM, as they're not (yet) a Beeb expert.
Bitshifters Collective | Retro Code & Demos for BBC Micro & Acorn computers | https://bitshifters.github.io/
User avatar
tricky
Posts: 5832
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New BBC demo written in TRSE

Post by tricky »

Could the incompatibility be SD card DFS related?
cmorley
Posts: 1576
Joined: Sat Jul 30, 2016 8:11 pm
Location: Oxford
Contact:

Re: New BBC demo written in TRSE

Post by cmorley »

tricky wrote:
Wed Oct 13, 2021 7:45 pm
Could the incompatibility be SD card DFS related?
I tried with DFS1.2 and a Gotek. It runs on BeebEm with DFS1.2... I don't think my machine is faulty. I swapped the 6522s just in case one had developed an interrupts fault.

Has anyone else had a problem running it or is it just me :?
User avatar
maniacminer
Posts: 54
Joined: Thu Sep 21, 2017 2:59 am
Contact:

Re: New BBC demo written in TRSE

Post by maniacminer »

On the Integra-B I had to select a graphics mode, then run */CODE and it fills the screen with the program and then the music starts and the mode switches. If I just boot the disc, I get a plain blue screen most of the time and if it does run it gets stuck when it is supposed to show the BEEP letters flipping. On a standard Beeb with 1770 DFS I had to use CTRL+Z+BREAK and then */CODE and then it would run, otherwise it would freeze at the end of the scrolling titles. On the few Masters I tried, it worked without any modification. All the machines used a GOTEK via the floppy interface.
drjaymz
Posts: 12
Joined: Sun Sep 26, 2021 7:49 pm
Contact:

Re: New BBC demo written in TRSE

Post by drjaymz »

What do you have to do to run it assuming bbc b and turbo mmc?
Post Reply

Return to “new projects and releases: demoscene”