Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Where to find info on coding for RR-net?
2015-01-14 22:42
Mace

Registered: May 2002
Posts: 1799
Where to find info on coding for RR-net?

I'd like to try to write my own piece of software that does some communication with a server, over network.
Where can I find information on how to code such stuff, in particular how do I work with an RR-net?
2015-01-14 22:45
chatGPZ

Registered: Dec 2001
Posts: 11386
for rr-net specific info start here - it will not tell you about ethernet or tcp/ip in general though
2015-01-15 06:07
Mace

Registered: May 2002
Posts: 1799
Ah, thanks.
And thanks for pointing out the TCP/IP aspect.
I am not yet sure what TCP/IP needs I have, hopefully IP65 can help me out.

But first things first.
2015-01-15 08:37
Bitbreaker

Registered: Oct 2002
Posts: 508
I can dig out old code from 64net where i made a patched kernal to work with rr-net. I also did some pr0n streaming via rr-net. But should all be old ugly code still done in TAS. But you'd then have at least send/receive of udp packets.
2015-01-15 13:10
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
http://retrohackers.com
2015-01-15 15:21
Mace

Registered: May 2002
Posts: 1799
It seems I need full HTTP implementation, so I'll be digging into the Contiki sources.
But I'd love to have those TAS files too, feel free to email them to me, Bitbreaker. You can use the address in CSDb.
And thanks for the link to Retrohackers!
2015-01-16 10:23
Bitbreaker

Registered: Oct 2002
Posts: 508
This is some old stuff from 64net when still using rr-net, so it contains loading a file via network and udp. In your case you might need much more, like proper arp support, tcp, http, have fun, sounds like a lot of pain in the ass :-)
2015-01-16 11:03
Ninja

Registered: Jan 2002
Posts: 411
I never used it myself but a number of people liked it back in the days. It has source, too: Http-Load2
2015-01-16 14:12
Mace

Registered: May 2002
Posts: 1799
Our case is a game server, producing board situations obtainable through http-get.

We'd like to create a port of the game on C64 (a Python version under Windows is already running) and we indeed concluded that network communication was a big hurdle.

I'm not sure Http-Load can do the job.
2015-01-16 16:44
MagerValp

Registered: Dec 2001
Posts: 1078
IP65 should be up to the task:

https://github.com/oliverschmidt/ip65/blob/master/test/geturl.s
http://oliverschmidt.github.io/ip65/
2015-01-17 21:56
Schema

Registered: May 2005
Posts: 15
Hey. I've written a bunch of stuff for the RR-Net, the networking was all raw UDP though. Feel free to check out the source code:

https://github.com/LeifBloomquist/ArtilleryDuel

https://github.com/LeifBloomquist/NetRacerClient
https://github.com/LeifBloomquist/NetRacerServer

https://github.com/LeifBloomquist/Vortex

Vortex is probably the closest to what you want (client/server, using IP65). Again, raw UDP for realtime, but you get the idea.

IP65 can do wget-style downloads, but I haven't played around with those functions specifically.

i.e. http://oliverschmidt.github.io/ip65/doc/ip65_url_s.html

Looking forward to hearing more about your game!
2015-02-07 07:38
Mace

Registered: May 2002
Posts: 1799
We decided to reverse engineer Contki's Wget program.

Or rather decipher the assembly code far enough to actually insert jumps to the game.
At this point in time we are trying to expand the length of the URL, as by default it seems to short for our needs.
Progress is slow, but with the help of the compile map and the C source, we will get there.

Unfortunately we didn't make it in time for the compo it was intended for, but we'll continue nonetheless :-)
2015-02-08 17:21
MagerValp

Registered: Dec 2001
Posts: 1078
That sounds a lot harder than https://github.com/oliverschmidt/ip65/blob/master/test/geturl.s
2015-02-09 12:42
Mace

Registered: May 2002
Posts: 1799
Hmm, might be right... Thanks :-)
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
csabanw
Alakran_64
Broti/DT/KRN
Yogibear/Protovision
Quetzal/Chrome
Guests online: 89
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.051 sec.