MSX BASIC – lesson 11

"MSX BASIC" COLUMN by Orazio Cacciola (part 11) GOSUB/RETURN/ON GOSUB/ON GOTO/INKEY$ In this episode I will talk about the commands for calling subroutines from any point of our program, how to use them when the choices are multiple and how to insert a...

LESSON 24 – THE DATA MANAGED BY THE MSX (PART 3)

Kind regards to everyone. Today we will close this topic, I will talk about direct or random access files. But first, as I mentioned in the last episode, I will give a small explanation about the program. First of all, the first thing to say is that I used a command which...

MSX BASIC – lesson 2

"MSX BASIC" COLUMN by Orazio Cacciola (part 2) The Integer, Single and Double Precision Functions As we know, numbers are the main basis of calculators, without them they would not exist. Therefore, we need to know how to distinguish them for a good performance of our...

LAGRAFICA (1st Part)

In this episode we start talking about everything related to the graphics of our beloved MSX. Given the amount of commands and functions, it will be divided into several episodes. But before we start I want to talk about a simple command that allows us to change the number...

LESSON 15 – User-created functions

In this lesson I will briefly explain how to create a function that puts together groups of MSX Basic functions or multiple calculations that we will have to use several times in our programs. Create a single function that encompasses everything said above with a single line of...

MSX BASIC – lesson 5

"MSX BASIC" COLUMN by Orazio Cacciola (part 5) The TAB, LOCATE, POS and CRSLIN Functions Today I will talk about the functions that are used to help us position our printouts on the non-graphic screen and also know the cursor positions. Since I'm not...

MSX BASIC – MSX key table

"MSX BASIC" COLUMN by Orazio Cacciola (bonus) MSX key table I insert the table in the explanation to help you understand better. It is a matrix table that starts from the address &HFBE5 up to &HFBEF i.e. 11X8, but in some bits there are 2 keys inserted...

LESSON 21 – MSX and music

The MSX has a great sound chip that can 'play' three voices at once. Let's start with the classic command that we often hear in various programs or when an error occurs. Its name is BEEP, that is, by writing the name of this command we reproduce this sound. AND'...

LESSON 22 – THE DATA MANAGED BY THE MSX (1st Part)

Greetings to all readers. In this episode I will talk about managing our data and the methods that can be used with our MSX. The data that we can manage is divided into many categories; programs, binaries, texts, archives, images and more. For...

LESSON 17 – LAGRAPHICS (2nd Part)

Let's continue talking about the other functions of graphics. PSET/PRESETI two commands are practically the same, they draw a point at the specified coordinate. The only difference between the two is that if the color code is omitted, the first one, i.e. PSET, will use the color of...
LEZIONE 26 – INTERVAL ON, RND ED ALTRI

LESSON 26 – INTERVAL ON, RND AND OTHERS

Good morning everyone, In this episode I will talk about an important interrupt, especially for games, when we want to make an enemy suddenly appear or a useful object, but also to create a stopwatch or a clock and many other things. The COMMAND exploits the...

LEZIONE 26 – INTERVAL ON, RND ED ALTRI

LESSON 24 – THE DATA MANAGED BY THE MSX (PART 3)

Kind regards to everyone. Today we will close this topic, I will talk about direct or random access files. But first, as I mentioned in the last episode, I will give a small explanation about the program. First of all, the first thing to say is that I used a command which...

LEZIONE 26 – INTERVAL ON, RND ED ALTRI

LESSON 21 – MSX and music

The MSX has a great sound chip that can 'play' three voices at once. Let's start with the classic command that we often hear in various programs or when an error occurs. Its name is BEEP, that is, by writing the name of this command we reproduce this sound. AND'...

LEZIONE 26 – INTERVAL ON, RND ED ALTRI

THE GRAPHICS – THE SPRITES (4TH PART)

Here we are at the most important part of the graphics, the one you were waiting for with enthusiasm! How to draw objects or characters on the screen and then make them move: THE SPRITES. Before starting the explanation, let's remember what I said, when...

LEZIONE 26 – INTERVAL ON, RND ED ALTRI

LESSON 18 – LAGRAPHICS (3rd Part)

Before continuing to talk about the other functions of graphics, I would like to apologize to the readers for an error or rather an oversight in the last episode. On the last part of the CIRCLE command, to be precise on its syntax: Syntax: CIRCLE [STEP]...

LEZIONE 26 – INTERVAL ON, RND ED ALTRI

LESSON 17 – LAGRAPHICS (2nd Part)

Let's continue talking about the other functions of graphics. PSET/PRESETI two commands are practically the same, they draw a point at the specified coordinate. The only difference between the two is that if the color code is omitted, the first one, i.e. PSET, will use the color of...