CALL PAUSE
This page was last modified 14:54, 29 May 2021 by Mars2000you. Based on work by Gdx.

CALL PAUSE is a standard instruction for MSX Turbo R, but it is also an extended instruction available in ChakkariCopy Basic, DM-System2 Basic and Hitachi Basic.

Contents

CALL PAUSE as standard MSX-BASIC instruction

Effect

Stops execution of a BASIC program for the specified time.

Syntax

CALL PAUSE (<Time>)

Parameter

<Time> is waiting time exprimed in milliseconds. The value can be between 0 and 65535.

Note: You can interrupt the execution during the waiting period by pressing CTRL+STOP.

Example

CALL PAUSE(1000)

Using

When the CALL PAUSE is being executed, interrupt is enabled. Even when the CALL PAUSE is being executed, you can quit the program by the CTRL + STOP keys.

This instruction is used when you want to take a timing without being affected by the CPU execution speed.

Related to

TIME, WAIT

Compatibility

MSX-BASIC 4.0 or higher


CALL PAUSE in ChakkariCopy Basic

Effect

Puts the cartridge into PAUSE mode.

Note: the paused program can only be resumed by pressing the PAUSE button. It cannot be resumed by software.

Syntax

CALL PAUSE

Related to

CALL SCHANGE

Using

In the PAUSE mode it's only possible to print a hardcopy by pressing the COPY button or to resume execution by pressing the PAUSE button. It's the same operation as pressing the PAUSE button on the cartridge.

Compatibility

ChakkariCopy BASIC


CALL PAUSE in DM-System2 Basic

Effect

Stops execution of a BASIC program for the specified time.

Note: You can interrupt the execution during the waiting period by pressing CTRL+STOP.

Syntax

CALL PAUSE (<Time>)

Parameter

<Time> is waiting time exprimed in milliseconds. The value can be between 0 and 65535.

Example

CALL PAUSE(1000)

Using

When the CALL PAUSE is being executed, interrupt is enabled. Even when the CALL PAUSE is being executed, you can quit the program by the CTRL + STOP keys.

This instruction is used when you want to take a timing without being affected by the CPU execution speed. It's exactly the same instruction as the standard CALL PAUSE for MSX Turbo R, but can be used also on MSX2 and MSX2+.

Related to

CALL INTWAIT, CALL VDPWAIT, CALL WAIT

Compatibility

DM-System2 BASIC


CALL PAUSE in Hitachi Basic

Effect

Puts the built-in data reader of the Hitachi MB-H2 computer in pause mode.

Syntax

CALL PAUSE

Related to

CALL FF, CALL PLAY, CALL REC, CALL REW, CALL STOP

Compatibility

Hitachi BASIC version 1