Skip to content

About

BBC BASIC for the 68k CPU

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

36 Commits

Folders and files

Repository files navigation

bbc-basic-68k

A bbc basic for the 68k CPU targeted currently at the rosco-m68k and a planned Minix2 on top of that platform (work in progress).

Origins

Based on the original Z80 implementation at: BBCZ80

License

We use the same Zlib licence as the BBCZ80 it is derived from.

Licence

Implementation

The original Z80 code was translated with the help of Claude and a full EBNF syntax also derived from the existing code. Later corrections were carried out by Claude using the Agon implementation and the manuals at RiscOs.

R.T. Russell provided valuable assistance in the compatibility testing.

For those interested in the full porting process, the mboot directory contains the full conversation, planning and reviews.

Workbench

For running several Claude conversations at the same time, on different git repos I built a tool. It keeps the development platform fully separated from the user.

And a tool to easily browse syntax data (ebnf, lark, yacc, lemon).

Tools built with Claude naturally.

Builds

For compatibility with Minix the ACK compiler is used, lightly patched: the builds fetch a release of maarten-boot/ack (src68k/tools/getack.sh).

An extensive test set, derived by Claude from the relevant documentation and the original Z80 and Agon implementations, is executed at build time to verify an accurate implementation

Additional tests are always very welcome.

Standalone:

  • rosco-m68k using the r68k quick emulator
  • a standalone bin file for the rosco sd card
  • a linux build with the r68k emulator
  • a windows build with the r68k emulator

Ready-made files for Windows, Linux and a real rosco-m68k are on the releases page: pushing a tag v* (e.g. v0.1; with a -, e.g. v0.2-beta, a pre-release) builds, tests and publishes them.

Acknowledgements

We gratefully acknowledge the original implementors of all components used.

About

BBC BASIC for the 68k CPU

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages