MSX BASIC – lesson 7

"MSX BASIC" COLUMN by Orazio Cacciola (part 7) Mathematical, relational and logical operators Today I will talk about the various operators that are fundamental in our Basic MSX programs. The mathematical operators, which we all know and use in our lives...

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 20 – GRAPHICS – SPRITES (5th Part)

We created our sprite and made it move around the screen. Now let's see how to create the collision between sprites. The MSX has a control created specifically for collisions. This works like a switch, whenever two sprites "touch" each other, it lets...

MSX BASIC – lesson 3

"MSX BASIC" COLUMN by Orazio Cacciola (part 3) PRINT USING As mentioned last time, I will talk about PRINT USING or formatted printing. This function allows you to specify the print format using special characters. They can be variable,...

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]...

MSX BASIC – lesson 6

"MSX BASIC" COLUMN by Orazio Cacciola (part 6) Mathematical functions and more In this episode I will give an overview of those functions that we will use very little but which are convenient to know and what they are for. ABS: Returns the absolute value of...

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...

MSX BASIC – lesson 13

"MSX BASIC" COLUMN by Orazio Cacciola (part 13) Functions for working with strings (1st part) In this episode I will talk about all those functions that we need to work with strings; create them, modify them, cut them, search for a string inside...

MSX BASIC – lesson 1

"MSX BASIC" COLUMN by Orazio Cacciola (part 1) The PRINT statement Greetings to everyone, a new column begins today, in which I will explain MSX Basic commands and functions that will be used to make our programs. For experts it will be a refresher, but for those...

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...

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 – 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...

MSX BASIC – lesson 14

"MSX BASIC" COLUMN by Orazio Cacciola (part 14) Functions for working with strings (2nd part) Let's continue with the other functions, after this episode, there will be no more secrets for manipulating our strings.STR$Returns a string from a value...

MSX BASIC – lesson 13

"MSX BASIC" COLUMN by Orazio Cacciola (part 13) Functions for working with strings (1st part) In this episode I will talk about all those functions that we need to work with strings; create them, modify them, cut them, search for a string inside...

MSX BASIC – lesson 12

"MSX BASIC" COLUMN by Orazio Cacciola (part 12) THE MATRIXES. THE DIM/ERASE COMMANDS and THE CLEAR/FRE FUNCTIONS It is very inconvenient when we have to make a program that makes use of many variables that will be used several times. Think of a sequence of constants...

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...

MSX BASIC – lesson 10

"MSX BASIC" COLUMN by Orazio Cacciola (part 10) FOR/NEXT, READ, DATA, RESTORE Here we are again explaining new functions of our well-loved MSX Basic. In this episode I will talk about a group of functions that play a fundamental role in our...

MSX BASIC – lesson 9

"MSX BASIC" COLUMN by Orazio Cacciola (part 9) OVERVIEW OF MSX BASIC FUNCTIONS AND COMMANDS Best regards to everyone. Since in the previous "episodes" I mentioned functions that I had not explained, in this one I will propose them together with others, easy to...

MSX BASIC – lesson 8

"MSX BASIC" COLUMN by Orazio Cacciola (part 8) The IF/THEN/ELSE Function Best regards to everyone. Here we are again to continue the explanation of the various commands and functions of our Basic MSX. As I wrote in the title, today I will talk about one of the most...