CALL JJSENDMSG
This page was last modified 19:06, 29 July 2021 by Mars2000you.

Contents

Effect

Sends a string to the joystick port 2.

Notes:

  • This instruction is for general-purpose serial communication at 38400 bps. You can use it when communicating with the terminal software or between two MSX computers.
  • Be careful when writing programs for two-way communication. One computer must be the sender, the other one the receiver. If both computers are in the receiver status, they will deadlock and freeze.
  • If an error occurs during communication or data cannot be received correctly, MSX may freeze while waiting for reception. In such a case, please click the [x] button of "Joy Joy File Server" once. By sending dummy data, the problem may be resolved.

Syntax

CALL JJSENDMSG (<String>)

Parameter

<String> is a string (between quotes) that will be stored in a string variable with CALL JJRECVMSG. It can be up to 255 characters and the storing will stop with a line feed character (LF = 0AH).

Example

CALL JJSENDMSG ("Test"): CALL JJRECVMSG (A$)

Related to

CALL JJRECV, CALL JJRECVBYTE, CALL JJRECVMSG, CALL JJSEND, CALL JJSENDBYTE

Compatibility

JJFS BASIC