English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 04 November 2016, 23:53   #1
utri007
mä vaan
 
Join Date: Nov 2001
Location: Finland
Posts: 1,685
How to forward data to serial port?

I'm trying to make some debugging and I need to forward that data to amiga's serial port.

How to do that? I can forward it ti text file, no problem, but how to forward it to serial port?

Last edited by utri007; 04 November 2016 at 23:59.
utri007 is offline  
Old 05 November 2016, 00:16   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,026
Quote:
Originally Posted by utri007 View Post
I can forward it ti text file, no problem, but how to forward it to serial port?
Use SER: as file name.

On Kick 1.3 and below you need Port-Handler in L:
thomas is offline  
Old 05 November 2016, 01:01   #3
utri007
mä vaan
 
Join Date: Nov 2001
Location: Finland
Posts: 1,685
[Edit] It works thanks. I wasn't patient enough.

Last edited by utri007; 05 November 2016 at 01:06.
utri007 is offline  
Old 10 November 2016, 13:55   #4
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Hello, I don’t suppose you’ll mind a hijack now your problem is solved.

Does this also work for the Parallel port? and if so, you are talking about within a compiler,
and not within OS? Can you copy to SER: as a drive in a CLI or something like that?
Could it also be assumed you can also receive a file through the parallel port in the same manner
if some device will send to the Amiga’s serial or parallel port?
Cheers
xArtx is offline  
Old 10 November 2016, 14:12   #5
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
Within your own assembly/c program, using SER: should also work, provided you use the OS functions to write to the file.
demolition is offline  
Old 10 November 2016, 15:42   #6
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Did you mean PAR: ? because SER: was already mentioned.
xArtx is offline  
Old 10 November 2016, 15:44   #7
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
I’m thinking of something along the lines of a Parallel interface for connecting SD card with it’s own filesystem controller.
So you can send a file of data, and it manages the card filesystem... but that still can’t seem to be ever OS friendly.
It seems you’d always have to open some program to transfer files to or from it,
and then use the Amiga program to save that data to a real OS file on HDD to do anything with it.
xArtx is offline  
Old 10 November 2016, 16:04   #8
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
I think that sending data through the parallel port is not as simple and there's no single standard for it so you'd have to go more low level.
demolition is offline  
Old 10 November 2016, 17:06   #9
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,638
Quote:
Originally Posted by xArtx View Post
I’m thinking of something along the lines of a Parallel interface for connecting SD card with it’s own filesystem controller.
So you can send a file of data, and it manages the card filesystem... but that still can’t seem to be ever OS friendly.
It seems you’d always have to open some program to transfer files to or from it,
and then use the Amiga program to save that data to a real OS file on HDD to do anything with it.
IIRC, somebody made an sd card reader for the amiga parallel port as a diy project a while back.. It comes with amiga os dos handler and everything. Can't remember if the thread is here on eab or on amibay.
hooverphonique is offline  
Old 10 November 2016, 17:59   #10
Kin Hell
0ld0r Git
 
Kin Hell's Avatar
 
Join Date: Mar 2009
Location: Cornwall, UK
Posts: 1,649
Quote:
Originally Posted by hooverphonique View Post
IIRC, somebody made an sd card reader for the amiga parallel port as a diy project a while back.. It comes with amiga os dos handler and everything. Can't remember if the thread is here on eab or on amibay.
Was it this one?

http://eab.abime.net/showthread.php?...taking+project

Last edited by Kin Hell; 10 November 2016 at 18:20.
Kin Hell is offline  
Old 11 November 2016, 14:26   #11
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,638
Quote:
Originally Posted by Kin Hell View Post
Yes, that's it, thanks!
hooverphonique is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to send serial data from Amiga to PC Nightfox support.Hardware 19 29 June 2016 11:41
WinUAE Serial port xArtx support.WinUAE 3 20 March 2016 08:44
Debugging over Serial-Port sigma63 support.WinUAE 1 14 March 2016 19:02
Serial port, parallel port, and pipe device mount errors Samurai_Crow support.FS-UAE 4 13 March 2014 00:04
Serial Port Questions iainnitro support.Hardware 10 21 April 2012 16:03

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:18.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08201 seconds with 13 queries