CALL INIMDM
This page was last modified 09:07, 4 June 2023 by Mars2000you.

This instruction is available in MDM-Basic and NewModem Basic.

Contents

Effect

Initializes the modem speed, whose value is stored in a variable (this storing is optional with MDM-Basic).

Syntaxes

  • <Variable>=<SpeedValue>:CALL INIMDM(<Variable>)
  • CALL INIMDM(<SpeedValue>) - only with MDM-Basic

Parameters

<Variable> stores the speed of the modem. It must be an integer variable.

<SpeedValue> can vary between 0 and 7. However, only the values 1 to 3 are correctly detected by CALL ANSWER if you use NewModem Basic.

Value Norm Receive Speed Transmit Speed Equalizer Notes
0 V21 300 baud 300 baud No Originate (Caller)
1 V21 300 baud 300 baud No Answer (Receiver)
2 V23 1200 baud 75 baud No
3 V23 75 baud 1200 baud No
4 V23 1200 baud 75 baud Yes Extra strong signal
Only for poor connection
5 V23 75 baud 1200 baud Yes Extra strong signal
Only for poor connection
6 V23 600 baud 75 baud No
7 V23 75 baud 600 baud No


Examples

S%=2:CALL INIMDM(S%)

Only with MDM-Basic:

CALL INIMDM(2)

Related to

Compatibility

MDM-BASIC, NewModem BASIC