A86: Re: Link Tutorial


[Prev][Next][Index][Thread]

A86: Re: Link Tutorial




Well, the link routines are basically all you need... Okay step by step.
Let's say we're writing a game.

1) Set up a client-server model. How? When the person starts up the game on
calc A, attempt to send a unique byte, let's say $C9. Now if you are
successful in sending that byte, then calc A is the client. Otherwise, put
calc A into a receive loop until it receives byte $C9, and then calc A would
be the server. Store whether the calc is client or server somewhere in a
variable.
2) On the server have a SendByte to initiate a discussion and on the client
have a RecvByte in the main loop. Once the discussion is initiated you'll
have to write up your own protocol for communication...

----- Original Message -----
From: Ricky Cobb <arcadesdude@hotmail.com>
To: <assembly-86@lists.ticalc.org>
Sent: Sunday, November 21, 1999 4:30 PM
Subject: A86: Link Tutorial


>    I would like to see a link tutoral on sending and recieving bytes
though
> the link port of the calc.  An actuall tutorial explaining step by step
the
> process of doing this, instead of just throwing Pascal Bouron's link
> routines back in my face would be nice.  There are not many link games out
> there, maybey a tutorial would help that.
>
>
> Ricky Cobb
> arcadesdude@hotmail.com
> icq# 41440378
>
> p.s. ZTetris rules! but the link routines are a bit buggy.
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>



References: