[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inverse Problem on Contiki - website updated



"Rich J." <aiiadict@hotmail.com> wrote in message
370265cd.0403122009.7b382a7a@posting.google.com">news:370265cd.0403122009.7b382a7a@posting.google.com...
> "Glenn Jones" <rg.jones@rogers.com> wrote in message
news:<TpZ3c.221185$ah.165731@twister01.bloor.is.net.cable.rogers.com>...
> > The latest source code can be found off the download link on the
> > www.cc65.org web site. It is the bz2 file in the main download
directory.
>
>
> I got the Bz2 unzipper program and was able to unzip the file.  It is
> some format my computer doesn't recognize, but I can view source with
> some garbled characters with a text viewer.

Under windows, the web page I pointed you to has a windows command line
executeable
that will unbzip the file to a tar file ...from there I use winzip.

Under Linux (Fedora for example) a bzip binary is included and you can unzip
the archive
from gnome file explorer ... I downloaded and built both the tools and the
apple2 libraries
under linux today ... I am also trying the same thing under cygwin for
windows now ...

>
> I can see the C64 code for Rs232.  I don't see any problem with doing
> an Apple II serial driver.  The code is straight foward and easy to
> understand.
>
> now to try an Apple II version......and get it compiled/tested.  I
> don't know the procedure for incorporating my changes into cc65.

On the cc65.org web site there is a blurb about how to contribute back to
Ullrich

>
> once the changes are incorporated into cc65, I can test the driver by
> sending/receiving data to/from my rs232 robot controller board.  What
> would the next step be to get tcp/ip working?

>I'll work tonight on
> the rs232 driver (apple II).  I'd like to find out what it would take
> to get the apple II on the TCP/IP network once serial access is
> available.  Would I just have to compile the Contiki  tcp/ip programs,
> or will changes have to be made?
>
> Has anyone else done any work on this?

Just started tonight...   :O)

I just spent an hour or two trying to get all the stuff to compile ... I
will send you a fresh snapshot of my contiki and cc65 ..

Hi - level ....I copied the make file for the c64-rs232 and made changes
...compare makefile.apple2 with the new makefile.apple2-rs232

I worked my way through each file that died during the compile and resolved
the issue so that it compiled ...may not execute 100% ...we'll see

uip is compiled and I included simple telnet .. I had to exclude www as I
ran into link size error and I havn't had time to look at it yet.

All that is missing now is the 4 serial routines

cl65 -Ln labels -o contiki -t apple2 contiki-main.o strncasecmp.o
petsciiconv.o
contiki.o programs.o ctk-conio.o ctk.o ek.o dispatcher.o uip.o uip_arch.o
uip_ma
in.o resolv.o rs232dev.o simpletelnet.o telnet.o
Unresolved external `_rs232_get' referenced in:
  rs232dev.s(14)
Unresolved external `_rs232_init' referenced in:
  rs232dev.s(12)
Unresolved external `_rs232_params' referenced in:
  rs232dev.s(13)
Unresolved external `_rs232_put' referenced in:
  rs232dev.s(15)
ld65.exe: Error: 4 unresolved external(s) found - cannot create output file

It still may not work after you write those four routines but I think we are
off to a good start if you can get that going.

look at the rs232.s file in the c64 library source to get an idea of what
the requirements are.

Cheers ...


>
> Later!
>
> Rich