Makaqu Networking on DC

Discuss programming topics for the various GPL'd game engine sources.
Post Reply
JasonX
Posts: 422
Joined: Tue Apr 21, 2009 2:08 pm

Makaqu Networking on DC

Post by JasonX »

Suddenly, this question came to my mind: is networking possible in the Dreamcast with Makaqu or other ports?
Spirit
Posts: 1067
Joined: Sat Nov 20, 2004 9:00 pm
Contact:

Post by Spirit »

Check the readme files.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
mh
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Post by mh »

Sure nobody ever reads those! :lol:
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
ceriux
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Post by ceriux »

i think anytime someone makes a project, they should make a small page with an online readme that opens with in that projects page. i'd probably read the readme's then. i just hate reading out of text files.
leileilol
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Post by leileilol »

I hate reading out of HTM files.
i should not be here
dreadlorde
Posts: 268
Joined: Tue Nov 24, 2009 2:20 am
Contact:

Post by dreadlorde »

ceriux wrote:i think anytime someone makes a project, they should make a small page with an online readme that opens with in that projects page. i'd probably read the readme's then. i just hate reading out of text files.
That makes perfect sense. Why read a simple text file with a simple text editor when you can read a complex document with flashy colours in a complex web browser.
Ken Thompson wrote:One of my most productive days was throwing away 1000 lines of code.
Get off my lawn!
mh
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Post by mh »

dreadlorde wrote:Why read a simple text file with a simple text editor when you can read a complex document with flashy colours in a complex web browser.
Reason #1 would be because people don't read readme files. It might be a simple text file in a simple text editor, but 95% of the time you're wasting your time and energy writing it because it won't be read. You could write any old rubbish in there and I can guarantee that most people will never even be aware of it. Forget about security, readme files are probably the safest place in the world to stash confidential or personal info.

Reason #2 would be because many people who write readme files can't even get basic stuff like using the correct line endings right. I've lost count of the number of times I've downloaded a Windows executable, opened the readme file and seen Unix line endings. Sloppy work, and doesn't exactly fill me with confidence that the product was properly tested on it's target platform either. Basic HTML, for all it's faults, is at least reasonably sane and standardised by comparison.

Reason #3 would be because a document on the web - wait for it! - need not be complex, flashy or colourful. This was a strawman argument against, so you'd need to come up with something better.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
Team Xlink
Posts: 368
Joined: Thu Jun 25, 2009 4:45 am
Location: Michigan

Re: Makaqu Networking on DC

Post by Team Xlink »

JasonX wrote:Suddenly, this question came to my mind: is networking possible in the Dreamcast with Makaqu or other ports?
Not yet, however I'm working on a way to network it and avoid requiring PPP support, BlueCrab says he thinks it will work, so I'm expecting a good outcome.
frag.machine
Posts: 2126
Joined: Sat Nov 25, 2006 1:49 pm

Post by frag.machine »

mh wrote:I've lost count of the number of times I've downloaded a Windows executable, opened the readme file and seen Unix line endings. Sloppy work, and doesn't exactly fill me with confidence that the product was properly tested on it's target platform either.
Huh... There's no such thing as "Unix line endings". In Unix, Linux and others OSes, a line break is signaled with the '\n' (0xd). However, there is a "DOS/Windows line ending", where the line break is signaled by TWO characters, '\n' and '\r' (0xd and 0xa, respectively). Every current *nix text editor I used in the last 10 years or so can handle both formats in a seamless way; the same cannot be said about Windows Notepad, which is unable to understand this complex concept of line breaks with just a single char. ;) Oh, well...
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
mh
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Post by mh »

Either/or, it doesn't matter what I call it, you know what I'm talking about anyway. :wink:

Incidentally, there's no such thing as DOS/Windows line endings either, and Unix was certainly not the first OS to adopt a line-ending convention.

The CR/LF convention came from emulating teletype machines, DOS inherited it's convention from CP/M (which copied the teletype emulation convention) and Unix from Multics. Modern Windows (which - let's be clear - has absolutely no relationship whatsoever to DOS) is just following the CP/M standard.

None of which excuses the shocking disgrace of Windows notepad of course, which is one reason why I always keep a shortcut to Wordpad in my "Send To" menu; it has no problems recognising them.

And nor does it excuse the developers I was talking about from not getting the line endings right in the readme.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
dreadlorde
Posts: 268
Joined: Tue Nov 24, 2009 2:20 am
Contact:

Post by dreadlorde »

mh wrote: Reason #2 would be because many people who write readme files can't even get basic stuff like using the correct line endings right. I've lost count of the number of times I've downloaded a Windows executable, opened the readme file and seen Unix line endings. Sloppy work, and doesn't exactly fill me with confidence that the product was properly tested on it's target platform either. Basic HTML, for all it's faults, is at least reasonably sane and standardised by comparison.
"Correct" line endings? Your mean a carriage return and then a new line? Talk about going back to the days of teletypes and typewriters!
Reason #3 would be because a document on the web - wait for it! - need not be complex, flashy or colourful. This was a strawman argument against, so you'd need to come up with something better.
:oops:

Something better: Keep it simple stupid. Why would someone go to a website to essentially read a readme file if the won't even read the readme? Not everyone downloads software from where it was created.
Ken Thompson wrote:One of my most productive days was throwing away 1000 lines of code.
Get off my lawn!
mh
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Post by mh »

dreadlorde wrote:
mh wrote: Reason #2 would be because many people who write readme files can't even get basic stuff like using the correct line endings right. I've lost count of the number of times I've downloaded a Windows executable, opened the readme file and seen Unix line endings. Sloppy work, and doesn't exactly fill me with confidence that the product was properly tested on it's target platform either. Basic HTML, for all it's faults, is at least reasonably sane and standardised by comparison.
"Correct" line endings? Your mean a carriage return and then a new line? Talk about going back to the days of teletypes and typewriters!
Context - line endings that are correct for the target platform.

Using CR/LF actually has a lot of advantages; not least that it's also compliant with RFCs 821, 1939, 2060 and 2616. Unix also actually does use CR/LF for on-screen display; it's only for storage where it just uses LF (it converts from LF to CR/LF when displaying). So it's storage of plain text files on Unix that is actually the odd one out. Some more interesting history and discussion here: http://blogs.msdn.com/b/oldnewthing/arc ... 91899.aspx (by somebody who is namechecked as a contributor by Linus in the Linux kernel 1.0 docs, so he's knows what he's talking about from both sides of the fence).
dreadlorde wrote:
Reason #3 would be because a document on the web - wait for it! - need not be complex, flashy or colourful. This was a strawman argument against, so you'd need to come up with something better.
:oops:

Something better: Keep it simple stupid. Why would someone go to a website to essentially read a readme file if the won't even read the readme? Not everyone downloads software from where it was created.
OK, that's a valid enough reason, but I can think of reasons why an online readme might be preferred by many. Hyperlinks is one, bookmarks is another, searching and indexing is a third.

Either way it still doesn't excuse the author from not having used line endings that are correct for the target platform.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Post by Baker »

mh wrote: Reason #2 would be because many people who write readme files can't even get basic stuff like using the correct line endings right. I've lost count of the number of times I've downloaded a Windows executable, opened the readme file and seen Unix line endings. Sloppy work, and doesn't exactly fill me with confidence that the product was properly tested on it's target platform either. Basic HTML, for all it's faults, is at least reasonably sane and standardised by comparison.
Interesting stuff. Visited the link. I always wondered what the carriage return was for. Prior to that, I thought a carriage return was silly and seemed to only make text document compatibility a pain in the arse.

I guess there was a reason for it back in the day. Dot matrix printers or whatever the deal was back in the day.

/Honestly I've got no idea what TextPad and WinMerge do to line endings nor do I think about whether or not my readmes are "Notepad" compatible. I may be guilty.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
mankrip
Posts: 924
Joined: Fri Jul 04, 2008 3:02 am

Post by mankrip »

No Dreamcast homebrew software was ever able to connect to the Internet via dial-up, due to the lack of a PPP stack in the DC modem's KallistiOS driver.

There are many homebrew programs that uses the broadband adapter instead, but this adapter is so expensive and rare there's no point in supporting it, due to the extremely limited userbase. Well, actually I'd implement support for it anyway if there weren't higher priorities in my list.

However, BlueCrab certainly knows a lot more about DC networking than I do, so good luck. Networking via dial-up Internet is something the DC homebrew scene always needed.
Ph'nglui mglw'nafh mankrip Hell's end wgah'nagl fhtagn.
==-=-=-=-=-=-=-=-=-=-==
Dev blog / Twitter / YouTube
Team Xlink
Posts: 368
Joined: Thu Jun 25, 2009 4:45 am
Location: Michigan

Post by Team Xlink »

mk wrote:No Dreamcast homebrew software was ever able to connect to the Internet via dial-up, due to the lack of a PPP stack in the DC modem's KallistiOS driver.

There are many homebrew programs that uses the broadband adapter instead, but this adapter is so expensive and rare there's no point in supporting it, due to the extremely limited userbase. Well, actually I'd implement support for it anyway if there weren't higher priorities in my list.

However, BlueCrab certainly knows a lot more about DC networking than I do, so good luck. Networking via dial-up Internet is something the DC homebrew scene always needed.
It avoids using PPP, think "system link" and your on the right track. ;)
Post Reply