#2 Hello world (part 2 of 2 - programming)

Now that we've covered the basic knowledge that we need to write our first program in the previous blog it's time to start writing code! What do you need as a novice programmer If you want to write programs in assembly language you need at least 3 tools: A text editor to write your assembly, An assembler that assembles ("translates")  your assembly language into machine code, A MSX computer (emulator or real) to run your program. You can use 3 separate programs for this and and you probably will when you are more advanced, but to get started there is a perfect all-in-one solution: MSXPen! It's even webbased so you don't have to install anything and you can use it right away on most operating systems. Visit the website  and you'll see something like this: On the left side of the screen are two tabs where you can switch between a text editor to write MSX BASIC code and a text editor for assembly language (Asm) . On the right side is an em

#1 - Hello world! (part 1 of 2 - basic knowledge)

So, this is the first real post on MSX machinecode programming. I'm afraid it will be quite long as you do need to have some basic knowledge before you can start programming. You really need to know something about: The parts of a MSX-computer Numbers and the number system The Z80 processor I'll try to keep it as short as possible, but still understandable. At the end of this blog we will have a working program that writes "Hello world!" on the screen.    Oops, sorry, not true. This blog got so long that I've decided to split this up into 2 parts: "basic knowledge" and "programming our 'Hello world!' "   I promise that part 2 will be there very soon! But first a tip! I'm trying to make this blog as good as possible, but there are many other sources where you can find information and I want to encourage you to use them. So find yourself websites, PDF-documents, textfiles, Youtube-video's, books and so on. Get all the information

First post

Hi there! You've found my blog, that's great! It's called ' Learning MSX machine code ' and that's exactly what the purpose of this blog is: learning how to write a machine code program for a MSX computer.  So why does anyone want to learn this...? Well... that's a good question. The best reason is: just for fun. You'll not make money by learning this, you don't get a job with it. You should to do it because you like it, as a hobby. For me, someone who is almost 50 years old, MSX computers are nostalgia. I got a MSX-1 computer in the eighties, when I was about 12 years old and I really liked it. Not just for playing games, but also for writing my own programs. I learned MSX BASIC by by reading the computer manual, computer books and magazines. It was my first programming language and after a while I was good enough at it to make (simple) programs, like a text-adventure, a basic game with graphics or a sprite-editor.  When I got older I lost interest