CALL JJCHGCPU
This page was last modified 18:46, 7 August 2021 by Mars2000you.

Contents

Effect

Sets the CPU mode.

Note: Changing the CPU mode is only possible on MSX Turbo R machines. When using this instruction on other MSX machines, it will behave as though it sets the CPU mode, but it will not actually change it.

Syntax

CALL JJCHGCPU (<CpuMode>)

Parameter

<CpuMode> is the CPU mode you want to set.

  • 0 = Z80
  • 1 = R800

Example

CALL JJCHGCPU (1)

Compatibility

JJFS BASIC