It is currently Sat Dec 15, 2018 2:53 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Nov 04, 2018 12:15 am 
Offline

Joined: Wed Dec 05, 2007 2:15 am
Posts: 83
Hi,

Likely you think of IP65 as an asm written TCP/IP library for asm programmers. But IP65 has significantly changed recently in two directions:


1. C Interface

The IP65 programming model has deliberately always favoured simplicity over flexibility. However, targeting only asm programmers there weren't too many to appreciate that design.

Since I started to maintain IP65 I worked on making IP65 usable for C programmers and recently that effort was completed successfully. You can now download ready-made libraries plus a C header file and start your own TCP/IP or Internet program right away using cc65.

The approach to call asm code from C is totally natural to cc65 given that the C standard library is written almost completely in asm too. And just like the C standard library IP65 can be used on several 6502 machines. All this fits so nicely that I adopted IP65 as part of the cc65 GitHub project, meaning the IP65 main URL is now:

https://github.com/cc65/ip65

If you want to take a peek at the IP65 C interface check out https://github.com/cc65/ip65/blob/master/inc/ip65.h


2. Ready-to-run TCP/IP programs

Beside the libraries IP65 now comes with four C64 programs.

- Telnet65 is the only asm program coming with IP65. I completed it already 1.5 years ago.

- Date65 is primarily a demo for a simple IP65 C program.

- HFS65 is an HTTP file server allowing any web browser to access all files on a C64.

- Tweet65 is primarily a demo for triggering events on IFTTT aka if-this-then-that (https://ifttt.com/) from a 6502 machine. Additionally it can be used as-is to post tweets on Twitter after putting together a simple "Applet" on IFTTT.


Have fun with all the new possibilities!

Regards,
Oliver


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 04, 2018 9:57 pm 
Offline

Joined: Mon Mar 23, 2009 12:11 pm
Posts: 142
Location: Katoomba, Australia
this is excellent!


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 04, 2018 10:03 pm 
Offline

Joined: Wed Dec 05, 2007 2:15 am
Posts: 83
Thanks for the positive feedback from exactly you :-)


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 04, 2018 10:14 pm 
Offline

Joined: Mon Mar 23, 2009 12:11 pm
Posts: 142
Location: Katoomba, Australia
although I noticed you are still polling the keyboard to see if the escape key has been pressed from deep inside the DHCP client code - hope that doesn't put anybody off from building any real apps :-) https://cc65.github.io/mailarchive/2011-01/9095.html


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 04, 2018 10:56 pm 
Offline

Joined: Wed Dec 05, 2007 2:15 am
Posts: 83
That's what I nowadays circumwrite as "[...] has deliberately always favoured simplicity over flexibility [...]" ;-)


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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