What if turning on your computer dropped you straight into programming? No operating system to load, no endless layers of software, no desktop. Just you, a blinking cursor, and a machine waiting to do exactly what you tell it to do.
That was the magic of the classic home computers of the 1980s. You typed PRINT "HELLO" and it happened. You changed a memory location and the screen changed. Every line of code brought you closer to understanding not just a programming language, but the computer itself.
Modern computers are vastly more powerful, but they have also become vastly more complicated. Between your program and the hardware stand millions of lines of operating system code, virtual machines, drivers, runtimes, and frameworks. They exist for good reasons, but they also hide the machine from the programmer.
BerryBasiC was created to bring that direct connection back.
Running directly on the Raspberry Pi 4, BerryBasiC is not another BASIC interpreter that runs inside Linux or Windows. It is the software that boots when the computer starts. From the moment the Raspberry Pi powers on, you are in complete control of the machine. Graphics, sound, files, GPIO pins, memory, timers, and hardware are all available immediately through a simple, approachable programming language.
But BerryBasiC is far more than a nostalgic recreation of an old BASIC. It combines the immediacy of classic home computers with features programmers expect today: structured programming, procedures and functions, local variables, recursion, modern control structures, exception handling, reusable libraries, PNG/JPEG/BMP graphics, event-driven programming, true-color graphics, sound, and direct access to the Raspberry Pi's hardware.
When performance matters, BerryBasiC lets you step beyond the interpreter by loading small pieces of compiled native code (called seeds) allowing critical routines to execute at full processor speed while the rest of your application remains simple and readable.
Most importantly, BerryBasiC is designed to be transparent. The interpreter itself is small enough to understand, the system is simple enough to explore, and nothing important is hidden behind layers of abstraction. It is a complete computing environment that you can truly own, modify, and learn from.
Whether you want to:
- learn programming from first principles,
- teach programming and electronics,
- build games and graphical applications,
- control LEDs, motors, sensors, and other hardware,
- create dedicated Raspberry Pi appliances,
- or simply rediscover the joy of programming close to the hardware,
BerryBasiC offers an experience that has become surprisingly rare: a computer that belongs entirely to you.
This book is your guide to that journey. It starts with the very first PRINT statement and gradually explores everything BerryBasiC has to offer, from the language itself to graphics, sound, GPIO programming, event-driven applications, native extensions, and the architecture that makes the entire system possible.
If you've ever wanted to understand how computers really work, and not just how to use them, you've come to the right place.
Welcome to BerryBasiC. Welcome back to owning your computer.