-51-
31H PA PB
Message that unassigns a Match to a machine.
After the receipt of the message, the machine
is available to be assigned.
-PA: Points that the PC has for player A
in the Match played. These points will remain
visible in the machine until there is a new
assignment.
-PB: Same, but with player B.
This message provokes a response from
the machine with the following format:
ACK LEN MACH (80H+31H) CRC
37H NPLH NPLM NPLL TYPE
Message that informs the machine if a certain
player is eliminated, ending the match.
-NPLH: Digit superior number of player
in ASCII.
-NPLM: Digit middle number of player in
ASCII.
-NPLL: Digit inferior number of player
in ASCII.
-TYPE: Informs the machine of the type
of elimination that is applied to the player.
There are two types:
0– Simple elimination: The player
loses the Match, but can still play
another if the competition is a double ko.
1– Complete elimination or
disqualification: The player cannot
continue playing in this competition.
These types of elimination only affect
the information that shows on the machine’s
alphanumerical display.
This message provokes a response from
the machine with the following format:
ACK LEN MACH (80H+37H) CRC
12.6- RESPONSES TO THE PC
The general format is
ACK LEN ID (COMMAND+DATA) CRC
ID is the number of the machines, from
1 to 32. When receiving an interrogation
from the PC (command 00H), if a machine
wants to communicate something, it does
it through the following messages:
80H NUMHI NUMLO SUM CRC
Gives the winner of a game at the end in the
machine.
-NUMHI: High part of player number (N/256).
-NUMLO: Low part of player number (N%256).
-SUM: Number of games played in the match.
81H
Informs the PC that a player showed up
to the machine, inserting his/her card.
-81H: Player A shows.
82H
Informs the PC that a player showed up
to the machine, inserting his/her card.
-82H: Player B shows.
85H
Informs the PC that a game just started.
-85H: Start game.
COMPETITION MANAGEMENT SYSTEM
12.5- COMMANDS TO MACHINE
12.6- RESPONSES TO THE PC