Welcome, Guest. Please login or register.

Author Topic: How to use SER: in AmigaDOS to receive data?  (Read 2286 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline patrikTopic starter

How to use SER: in AmigaDOS to receive data?
« on: April 19, 2003, 02:55:23 AM »
Transmitting data with SER: in AmigaDOS is very easy, by just copying a file to SER: och echoing something to SER: the data will be sent over the serial cable to for example a terminal-program in the other end.

Now to the question - how do you do to receive data with SER: in AmigaDOS? I have tried obvious things like trying to copying from it or typing it, but that stuff just locks the process, any suggestions?


/Patrik
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: How to use SER: in AmigaDOS to receive data?
« Reply #1 on: April 19, 2003, 03:01:03 AM »
im not sure id bother doing it that way... but wouldnt AUX: be better?
 

Offline patrikTopic starter

Re: How to use SER: in AmigaDOS to receive data?
« Reply #2 on: April 19, 2003, 03:06:54 AM »
I am trying to find out if it is possible to transfer data to an amiga with a nullmodem-cable using only the software supplied on the workbench disk(s).

Tried AUX: a while ago, but the nicest thing I managed todo was to run a remote-shell in the terminal-software ;).


/Patrik
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: How to use SER: in AmigaDOS to receive data?
« Reply #3 on: April 19, 2003, 03:09:55 AM »
are you using the copy command?
like:
copy ser: filename

i remember trying to do that kind of thing years ago, and i never got anywhere so i gave up

let us know if you work out a perfect solution...
 

Offline patrikTopic starter

Re: How to use SER: in AmigaDOS to receive data?
« Reply #4 on: April 19, 2003, 03:17:36 AM »
Quote

iamaboringperson wrote:
are you using the copy command?
like:
copy ser: filename


Yes, that is the part that doesnt work. If I do it the ther way:
copy filename ser:

the file will be sent over the serialport and as it is right now - outputed in a terminal-program in the other end so that works just fine. But thats not the way I am eager to get work.


/Patrik
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: How to use SER: in AmigaDOS to receive data?
« Reply #5 on: April 19, 2003, 03:20:19 AM »
i think one problem i used to find is that there was no way to send a break character accross

i remember having to reset my amigas over and over...
 

Offline patrikTopic starter

Re: How to use SER: in AmigaDOS to receive data?
« Reply #6 on: April 19, 2003, 03:21:52 AM »
Do you know what the break-character is?


/Patrik
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: How to use SER: in AmigaDOS to receive data?
« Reply #7 on: April 19, 2003, 03:28:44 AM »
Quote

patrik wrote:
Do you know what the break-character is?


/Patrik


actually i meant the EOF char
which for the amiga is ctrl-\
also ctrl-z is ment to be end of file
but you could also try: ctrl-c,d,e, or f - the break chars


remember also the 'break' command
 

Offline patrikTopic starter

Re: How to use SER: in AmigaDOS to receive data?
« Reply #8 on: April 19, 2003, 04:03:32 AM »
Wrote a program which sends every kind of byte-combination there is (from 0x00 to 0xFF) over the serialport to the amiga. But as it still locks up when trying to copy from SER: to a file, it is not waiting for any special EOF-character.

There must be a way ;), I dont think they designed SER: only to be send data with.


/Patrik
 

Offline Thomas

Re: How to use SER: in AmigaDOS to receive data?
« Reply #9 on: April 19, 2003, 10:27:28 AM »

This is not an Amiga problem but a PC one. Connecting two Amigas with a nullmodem cable works like a charm with Copy or Type to and from SER:.

Only if you send data from a PC to an Amiga the last buffer does not get transferred. The best way to override it is to enter Ctrl-C on the Amiga side when it locks up and then sending the data again. The Amiga side will then return to the Shell but the transfered file will be smaller or larger than it should be.

Perhaps this text helps you: http://homepage.uibk.ac.at/homepage/c725/c72578/amiga/adfsenderterminal/methods.html

Bye,
Thomas

Offline patrikTopic starter

Re: How to use SER: in AmigaDOS to receive data?
« Reply #10 on: April 19, 2003, 11:07:50 AM »
Quote

Perhaps this text helps you: http://homepage.uibk.ac.at/homepage/c725/c72578/amiga/adfsenderterminal/methods.html


Thank you very much, it definately helped :).


/Patrik