BBC Basic for the Spectrum Next

for discussion of bbc basic for windows/sdl, brandy and more
Post Reply
User avatar
deanb01
Posts: 31
Joined: Sun Feb 16, 2020 11:24 pm
Location: Manchester, UK
Contact:

BBC Basic for the Spectrum Next

Post by deanb01 »

I started this project a couple of months ago as a project to get into Spectrum Next development. I'd already ported BBC Basic for Z80 to a homebrew Z80 breadboard computer I've designed, as a result of discovering the source code had been released under an open source license (source: http://cowlark.com/2019-06-14-bbcbasic- ... index.html), so porting it again to the Next seemed to be an obvious choice.

BBC Basic for Next now at the stage where it is useable and can run a good chunk of BASIC code written for the BBC Micro/Electron with little to no modification.

Key features include:
  • 4 video modes (256x192 ULA, 256x192 L2, 320x256 L2 and 640x256 L2)
  • L2 video modes support high-resolution colour; no attribute clash!
  • Disk I/O support
  • Graphics support (point, line, triangle and circle)
  • In-line assembler tweaked to include Z80N instructions
  • Next Turbo modes (3.5Mhz, 7Mhz, 14Mhz and 28Mhz)
Thankfully the core Z80 interpreter written by R.T.Russell is a joy to work with; easy to expand, and extremely well written. This interpreter helps the Next maintain a healthy benchmark, even when running at 3.5Mhz.

You can find more details on the project here over on my GitHub account along with .nex files and example BBC Basic files that can be run on a Next/MiSTer FPGA/ZEsarUX/CSpect or any Next compatible system.
Last edited by deanb01 on Tue Jul 13, 2021 8:49 pm, edited 1 time in total.
π—₯π—²π˜π—Ώπ—Ό π—–π—Όπ—Ίπ—½π˜‚π˜π—²π—Ώ π——π—²π˜ƒπ—²π—Ήπ—Όπ—½π—²π—Ώ & π—”π—Ώπ—°π—΅π—Άπ˜ƒπ—Άπ˜€π˜
Programming and Restoring Retro Computers from Acorn to ZX81
http://www.breakintoprogram.co.uk/
User avatar
BigEd
Posts: 6261
Joined: Sun Jan 24, 2010 10:24 am
Location: West Country
Contact:

Re: BBC Basic for the Spectrum Next

Post by BigEd »

Sounds great! (You probably know Richard is active on this forum. He might even be along in a minute...)

Nice repo - I will have a dig around that. Here's a working link (!)
User avatar
deanb01
Posts: 31
Joined: Sun Feb 16, 2020 11:24 pm
Location: Manchester, UK
Contact:

Re: BBC Basic for the Spectrum Next

Post by deanb01 »

Cheers! Yep, I know of Richard through his work on BBC Basic on other platforms, mainly Windows and DOS, and lately for his work on the Z80 version. I'm glad Richard (and other folk) are actively maintaining this language still as it's one of the better, if not best interpreters of its time.
π—₯π—²π˜π—Ώπ—Ό π—–π—Όπ—Ίπ—½π˜‚π˜π—²π—Ώ π——π—²π˜ƒπ—²π—Ήπ—Όπ—½π—²π—Ώ & π—”π—Ώπ—°π—΅π—Άπ˜ƒπ—Άπ˜€π˜
Programming and Restoring Retro Computers from Acorn to ZX81
http://www.breakintoprogram.co.uk/
Post Reply

Return to β€œmodern implementations of classic programming languages”