|
Forum Index : Microcontroller and PC projects : "My First MMBasic Program" – A Beginner's Tutorial (German)
| Author | Message | ||||
| ManiB Senior Member Joined: 12/10/2019 Location: GermanyPosts: 149 |
Hello everyone, Over the last few months I have been working on a German beginner's tutorial for MMBasic, mainly for the PicoMite and the Colour Maximite 2. ![]() The goal is to create a book that starts with the very first PRINT statement and gradually introduces programming concepts through practical examples and complete projects. One of my main goals is that every major topic is accompanied by a complete, working BASIC program. Rather than showing only isolated code fragments, readers can download and run the complete source code exactly as presented in the book. I hope this approach makes learning MMBasic easier, especially for beginners. Some of the topics include: - Variables and INPUT - IF...THEN...ELSE - Loops - Arrays - Strings - SUBs and FUNCTIONs - File handling - Graphics - Animation - GPIO - PWM - Sound - Interrupts - Serial communication - WS2812 LEDs - Sprites - Building complete games The tutorial currently contains more than 500 pages and is still a work in progress. To accompany the book, I have started a GitHub repository containing all example programs. At the moment, the first ten programs are available, and I will continue adding the remaining examples as I complete each chapter. GitHub repository: https://github.com/ManiBecker/MeinErstesMMBasicProgramm Although the tutorial itself is written in German, all BASIC source code is language-independent and may be useful to other MMBasic users. My current plan is to finish the German edition first. If there is enough interest, I may later create a completely new English edition rather than simply translating the existing book. I would be very interested in your feedback. Would a comprehensive English beginner's tutorial for MMBasic be useful to the community? Best regards, Manfred PS: Here is a snapshot of the first chapter: ![]() Edited 2026-07-25 08:47 by ManiB |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 553 |
Good start in any way !!!! TBH, I could never do something even close to what you've already done. Documentation was always my weakest point I personally would have also set a focus on what the hardware is that you can run MMBasic on at the beginning. As PicoMite and Maximite are quite different targets, I feel it could be helpful for the reader to understand what is needed to get something running that covers his vision. This could be from a stamp sized board controlling some external hardware to a more or less self contained system. If you present that broad line of possibilities beforehand, maybe in some short examples ranging from-to (maybe just by mentioning some examples that one may imagine to be implemented), it could help the reader to get a better view of what he can excepect to get. From my POV you jump into the language without giving a broader picture first, but the language itself is only part of the game. 73 de OE1HGA, Gerald |
||||
| v.lenzer Senior Member Joined: 04/05/2024 Location: GermanyPosts: 128 |
Hello Manfred! This is fantastic work—not just in terms of content, but also the presentation. Simply brilliant!!! Best wishes! Joachim |
||||
| v.lenzer Senior Member Joined: 04/05/2024 Location: GermanyPosts: 128 |
Hello Manfred! This is fantastic work—not just the content, but the visuals too. Simply brilliant! It’s a good thing I assembled the VGA Pico board and fitted it with an RP2350A just a few weeks ago. That way, I can follow along with everything in practice. Best wishes! Joachim |
||||
| Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1487 |
Hello Manfred! I’ve just had a quick look at the website. The barrier to entry is even lower than you describe.(point "Welche Hardware benötigst du?") You can start with just a Pico and a terminal programme. At least, that’s how it was for me. Then I soldered on the VGA output, then and an SD card reader and then the Audio output. It all cost just a few cents. If you’re put off by that, you can also try it out first with DOS-MMBASIC or MMB4W without needing any additional hardware at all. But your book is still a brilliant idea; I’ll carry on reading it. Have a lovely weekend Cheers Martin 'no comment |
||||
| ManiB Senior Member Joined: 12/10/2019 Location: GermanyPosts: 149 |
Thank you very much for your kind words and your thoughtful feedback. I think you have a very good point. My original idea was to get beginners programming as quickly as possible, which is why I start with the first PRINT statement almost immediately. However, I agree that readers who are completely new to MMBasic would probably benefit from a short introduction explaining the different MMBasic platforms and what can be built with them. I already have photos of several MMBasic systems, so adding a short introductory chapter before the programming lessons sounds like a good idea. Thank you for the suggestion! |
||||
| ManiB Senior Member Joined: 12/10/2019 Location: GermanyPosts: 149 |
Thank you very much! I'm really happy to hear that you like both the content and the visual design of the tutorial. My goal is to make learning MMBasic as easy and enjoyable as possible, especially for beginners. It's great that you already have a VGA PicoMite with an RP2350A. That means you'll be able to try almost all of the examples directly on your own hardware. Please let me know if you find anything that could be improved as you work through the tutorial. Feedback from experienced MMBasic users is always welcome. |
||||
| ManiB Senior Member Joined: 12/10/2019 Location: GermanyPosts: 149 |
Hello Martin, thank you very much for your feedback. You are absolutely right. I should probably make it clearer that there are several different ways to get started with MMBasic, ranging from MMB4W or DOS-MMBasic on a PC to a bare Pico connected via USB, and finally to complete PicoMite and Colour Maximite systems. My own focus has been on the PicoMite because that's where I started, but I agree that showing the different entry points would make the tutorial more welcoming for complete beginners. Thanks again for your suggestions, and I hope you'll enjoy the rest of the book. Have a great weekend! Manfred |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |