Difference between revisions of "Net Library"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(New page: Net-Library for the VN96. You can easily write programs in Assembler or Basic for the Virtual Net 96. There is a collection of RSX-Commands for Basic programs. The assembler code has simil...)
 
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Net-Library for the VN96. You can easily write programs in Assembler or Basic for the Virtual Net 96. There is a collection of RSX-Commands for Basic programs. The assembler code has similar functions.  
+
Net-Library for the [[Virtual Net 96]]. You can easily write programs in [[:Category:Assembler|Assembler]] or [[BASIC]] for the [[Virtual Net 96]]. There is a collection of [[RSX]]-Commands for Basic programs. The assembler code has similar functions.  
  
 
The RSX-Library has the following commands:  
 
The RSX-Library has the following commands:  
 +
 +
<pre>
 
|LOOKUP,@counter%,@number% : Lookup for how many CPCs are in the net and give everyone a different number.
 
|LOOKUP,@counter%,@number% : Lookup for how many CPCs are in the net and give everyone a different number.
 +
 
|JOY,@joy%(0) : This command exchanges all joystick-values from the CPCs in the net.
 
|JOY,@joy%(0) : This command exchanges all joystick-values from the CPCs in the net.
 +
 
|GETKEY,@key% : Check if on any CPC in the net a key is pressed.
 
|GETKEY,@key% : Check if on any CPC in the net a key is pressed.
 +
 
|WAITKEY : Wait for a key pressed in the net.
 
|WAITKEY : Wait for a key pressed in the net.
 +
 
|MASTER,@byte% : All CPCs will take the byte from the master-CPC (that's good for random values that should be the same on every CPC).
 
|MASTER,@byte% : All CPCs will take the byte from the master-CPC (that's good for random values that should be the same on every CPC).
 +
 
|EX.STR,@a$(0) : exchange strings.
 
|EX.STR,@a$(0) : exchange strings.
 +
 
|EX.INT,@i%(0) : exchange integers.
 
|EX.INT,@i%(0) : exchange integers.
 +
 
|EXT.REAL,@r!(0) : exchange reals.
 
|EXT.REAL,@r!(0) : exchange reals.
 +
</pre>
 +
 +
Various programes used the net library.
 +
 +
[[Net Battle]] is a [[BASIC]] game that uses the Net Library. You shoot with canons and try to hit the other players.
  
'Net Battle' is a basic game that uses the Net Library. You shoot with canons and try to hit the other players.
+
[[Category:Programming software]][[Category:Network]][[Category:Communication Software]]

Latest revision as of 13:09, 24 February 2018

Net-Library for the Virtual Net 96. You can easily write programs in Assembler or BASIC for the Virtual Net 96. There is a collection of RSX-Commands for Basic programs. The assembler code has similar functions.

The RSX-Library has the following commands:

|LOOKUP,@counter%,@number% : Lookup for how many CPCs are in the net and give everyone a different number.

|JOY,@joy%(0) : This command exchanges all joystick-values from the CPCs in the net.

|GETKEY,@key% : Check if on any CPC in the net a key is pressed.

|WAITKEY : Wait for a key pressed in the net.

|MASTER,@byte% : All CPCs will take the byte from the master-CPC (that's good for random values that should be the same on every CPC).

|EX.STR,@a$(0) : exchange strings.

|EX.INT,@i%(0) : exchange integers.

|EXT.REAL,@r!(0) : exchange reals.

Various programes used the net library.

Net Battle is a BASIC game that uses the Net Library. You shoot with canons and try to hit the other players.