CLS (MSX-DOS)
This page was last modified 15:58, 20 January 2021 by Gdx. Based on work by Mars2000you.

Contents

Description

It's an MSX-DOS 1 tool created by Stefan Danes. You can find it on Dragon Disk 03 and Future Magazine 3.

You can't use it under MSX-DOS 2 / Nextor, because the internal command CLS is then automatically used.

Command

Effect

  • Simply clears the screen and homes the cursor.
  • Can also clear the first or last 12 lines of the screen 0 or 1.

Contrary to the MSX-BASIC CLS instruction, the full clearing of the screen works also on Kanji screens without any problem.

Syntax

CLS /F /L

Parameters

/F is used to clear the 12 first lines of the screen.

/L is used to clear the 12 last lines of the screen.

Environment

  • MSX1 and higher
  • Only MSX-DOS 1