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?
 
... 3 posts hidden. Click here to view all posts....
 
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: 500
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: 404
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: 1055
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: 1055
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 :-)
Previous - 1 | 2 - Next
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
Laurent
Guests online: 119
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

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