It is currently Thu May 22, 2025 10:45 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri May 22, 2009 11:23 am 
Offline

Joined: Wed Jun 18, 2008 1:53 pm
Posts: 6
hello all,
I am working on a project called engine simulator with a c64 and ext self made hardware (http://www.lemon64.com/forum/viewtopic. ... ght=engine).

As you can read from the link above, I am going to test external hardware modules (with their dedicated sw) that communicated via hardwired signals (4-20mA I/O, digital I/O,.....) and also using TCP/IP. At the moment I have interfaced the C64 only to the hardwired signals, but I would like to add the capability to read the TCP/IP information send by these external modules.

While I have pretty good experience with hardware and 6502 assembler, I have almost none with TCP/IP, and I don't know where to start. I am thinking about using an MMC-replay+RR-NET.

Can anybody please point me to a good sorce of information about the TCP/IP (for beginners)?

If interested I could post the schemes of my self made hardware that interfaces with the C64.


regards,
Ready.


Top
 Profile  
Reply with quote  
PostPosted: Mon May 25, 2009 9:43 am 
Offline
User avatar

Joined: Thu Jan 12, 2006 12:52 am
Posts: 203
Location: Denmark
I don't think that any "TCP/IP for beginners" crap will help you out at all. I think you have to get bored with the RFCs.

This is your source of knowledge: http://www.ietf.org/rfc.html

Maybe you could start out with RFC 1180 which is sort of a tutorial for the whole stack.
Then you would need to get down and dirty with:

    RFC768 - UDP
    RFC791 - IP
    RFC792 - ICMP
    RFC793 - TCP
    RFC826 - ARP
    RFC894 - IP over Ethernet.

..and maybe a few more depending on what you whish to achieve.

But all these are only the protocols. You still need a driver and a stack implementation which supports those protocols.

Other people here can surely point you in the direction of various stack implementations with support for the hardware you are planning to utilize, if you don't want to code the whole thing yourself.


Top
 Profile  
Reply with quote  
PostPosted: Mon May 25, 2009 1:14 pm 
Offline

Joined: Wed Jun 18, 2008 1:53 pm
Posts: 6
thanx Devia,
I will read though the links you pointed. I don't mind coding stuff myself, I just would like to avoid re-coding other people have already coded.


thanx,
Ready.


Top
 Profile  
Reply with quote  
PostPosted: Tue May 26, 2009 10:43 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
To get anything useful out of it you need a complete TCP/IP stack. But why reinventing the wheel! There are already a couple of working alternatives out there. You might wanna take a look at uIP for instance. Easy to use with the Contiki 2 framework even.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group