Discussion:
os9 and ftp
(too old to reply)
LO-RE
2004-01-20 09:05:20 UTC
Permalink
Hello,
I have a cdi player (cpu 68000 and OS9 V2.4).
This cdi player has only a serial line, nothing else.
I use a C cross compiler (Microware V3.2) with a PC and i would like
to make a CDI program in order to do ftp tranfert between the cdi
player and the PC using the serial line.

I'm searching a C Library, containing API's to do connections via
SLIP/PPP, TCP/IP communications and FTP file.
This library was called "Internet Toolkit" for CDi.

Anything else which could do the job will be ok for me.

Thank you in advance for any help.
Louis
Jim Adamthwaite
2004-01-30 20:54:32 UTC
Permalink
Is the serial o/p from the CD player in start/8data/Nstop format? It will
need to be if you are going to Rx it with a UART. If not, you will need
some custom hardware (mostly a big shift reg with frame sync stuff) to
receive the normal CD streaming format.

Regardless of comm word format, I am uncertain whether a OS-9 running on a
68000 can respond to IRQ's fast enough to keep up. You will need a deep
FIFO on whatever is used to allow the IRQ handler to receive data in blocks
of several bytes at a time as the 68K took more than 100uSec to process an
IRQ (@10MHz) and send a signal, last time I checked it using a CRO. Can't
remember the exact figures.

You will need that time to be considerably less than half of the available
time to allow foreground (user program) processing to do something useful
with the data & then send it somewhere (Hdisk or DAC o/p), which will
require handling of yet more interrupts.

The next solution is to go to a faster CPU (oh dear).

I wonder how many people would be interested in an exhilarator board to plug
into a 68K socket? It would not need to have cache RAM on it, a single SIM
module would satisfy the 68K's 16MB range with parts of it mapped out to
allow talking thru the gap to the main board.

Perhaps even a FPGA implementation of a 68K. 100MHz, here we come, oh boy.
Has anyone done this for a 68K anywhere in the world? I have heard of it
for 6502's etc. If AMD can imitate a Pentium's instr set without lawsuits,
there should be no legal hitches with Motorola, just make something obscure
a little bit different/better if necessary. You could exploit this in
custom device drivers, but otherwise you would strive to maintain usability
with your existing copy of OS9.

Jim Adamthwaite

Loading...