Home » Archimedes archive » Acorn User » AU 1995-04.adf » !Internet_StarterPak » !SLIPdial/Resources/UK/Help/init

!SLIPdial/Resources/UK/Help/init

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1995-04.adf » !Internet_StarterPak
Filename: !SLIPdial/Resources/UK/Help/init
Read OK:
File size: 0101 bytes
Load address: 0000
Exec address: 0000
File contents
init [<string>]
 drops and raises DTR on serial port to put modem in command mode, and sends
 the specified string to the modem; then waits for "OK". Returns 1/0 for
 success/failure.
 If no string is given, the init strings from the modem driver are sent.
00000000  69 6e 69 74 20 5b 3c 73  74 72 69 6e 67 3e 5d 0a  |init [<string>].|
00000010  20 64 72 6f 70 73 20 61  6e 64 20 72 61 69 73 65  | drops and raise|
00000020  73 20 44 54 52 20 6f 6e  20 73 65 72 69 61 6c 20  |s DTR on serial |
00000030  70 6f 72 74 20 74 6f 20  70 75 74 20 6d 6f 64 65  |port to put mode|
00000040  6d 20 69 6e 20 63 6f 6d  6d 61 6e 64 20 6d 6f 64  |m in command mod|
00000050  65 2c 20 61 6e 64 20 73  65 6e 64 73 0a 20 74 68  |e, and sends. th|
00000060  65 20 73 70 65 63 69 66  69 65 64 20 73 74 72 69  |e specified stri|
00000070  6e 67 20 74 6f 20 74 68  65 20 6d 6f 64 65 6d 3b  |ng to the modem;|
00000080  20 74 68 65 6e 20 77 61  69 74 73 20 66 6f 72 20  | then waits for |
00000090  22 4f 4b 22 2e 20 52 65  74 75 72 6e 73 20 31 2f  |"OK". Returns 1/|
000000a0  30 20 66 6f 72 0a 20 73  75 63 63 65 73 73 2f 66  |0 for. success/f|
000000b0  61 69 6c 75 72 65 2e 0a  20 49 66 20 6e 6f 20 73  |ailure.. If no s|
000000c0  74 72 69 6e 67 20 69 73  20 67 69 76 65 6e 2c 20  |tring is given, |
000000d0  74 68 65 20 69 6e 69 74  20 73 74 72 69 6e 67 73  |the init strings|
000000e0  20 66 72 6f 6d 20 74 68  65 20 6d 6f 64 65 6d 20  | from the modem |
000000f0  64 72 69 76 65 72 20 61  72 65 20 73 65 6e 74 2e  |driver are sent.|
00000100  0a                                                |.|
00000101