SET HAN
This page was last modified 14:47, 18 May 2020 by Mars2000you.

Contents

Effect

Defines how the Hangul characters, used in Korea, available after pressing on the HANGUL key, are displayed in the following screen modes : SCREEN 0 to 8.

Version 4 of Hangul BASIC developed in ROM format by Korean MSX fan Plaire extends this command to
- characters from non-Korean machines, that are available after pressing of KANA/CYRILLIC key to switch to Japanese or Russian characters or when pressing simultaneously the CODE key on all other machines if the Korean characters are not selected
- non-Korean MSX, MSX2, MSX2+ and MSX Turbo R machines
- the MSX2+ screen modes : SCREEN 10 to 12

Syntax

SET HAN <CharactersSize>,<ScreenDisplay>,<PrinterDisplay>

Specify at least one parameter. Parameters can not end with a comma alone.

Parameters

<CharactersSize>
0: 8 x 8 pixels
1: 8 x 16 pixels

<ScreenDisplay>
0: Characters not grouped into blocks
1: Characters grouped into blocks

Remarks:
- the only reasonable combinations of the 2 first parameters are SET HAN 0,0 (same effect as CALL HANOFF) and SET HAN 1,1 (same effect as CALL HANON)
- in programs, always use SET HAN instead of CALL HANON or CALL HANOFF
- SET HAN can't be used in SCREEN9, that is optimized for display of Korean characters.

<PrinterDisplay>
0: Characters not grouped into blocks
1: Characters grouped into blocks

Related to

CALL FONT, CALL HANOFF, CALL HANON

Compatibility

Hangul BASIC version 2 or higher