CALL DDXS
This page was last modified 13:17, 21 January 2021 by Mars2000you.

Contents

Effect

Initializes the serial port of the DDX 80T cartridge.

Syntax

CALL DDXS<BaudRate><ParityCheck><DataLength>>StopBitsLength>

Parameters

<BaudRate> is a number between 0 and 9 to specify the baud rate for data transmission (transmit and receive):

  • 0 = 50
  • 1 = 75
  • 2 = 110
  • 3 = 150
  • 4 = 300
  • 5 = 600
  • 6 = 1200
  • 7 = 2400
  • 8 = 4800
  • 9 = 9600 (default value)

<ParityCheck> is a number between 0 and 2 to specify the type of parity bit appended to the original data bits in order to ensure accurate transmission:

  • 0 = no parity (default value)
  • 1 = odd parity
  • 2 = even parity

<DataLength> is a number between 5 and 8 to specify the format of the data transmission:

  • 5 = 5 bits
  • 6 = 6 bits
  • 7 = 7 bits
  • 8 = 8 bits (default value)

<StopBitsLength> is a number between 1 and 2 to specify the type of stop bits used to mark the end of data block transmission:

  • 1 = 1 bit (default value) - it will be Line Feed, what corresponds to ASCII character 10 (0x0A)
  • 2 = 2 bits - it will be Carriage Return Line Feed - association of two ASCII characters: 13 (0x0D) followed by 10 (0x0A)

Example

_DDXS7282

Related to

CALL DDXD, CALL DDXG, CALL DDXR, CALL DDXT

Compatibility

DDX BASIC