Professional Documents
Culture Documents
----------------------------------------------------------
Las pistolas cl�sicas funcionan con un receptor de luz (sensor) que devuelve un 1
si detecta luz y un 0 si no la detecta. Una pistola est� apuntando a un �rea de la
pantalla y cuando se pulsa el gatillo se realiza un lectura del sensor devolviendo
1 o 0 en funci�n de si detecta luz o no. La pistola env�a esa se�al a la consola
(ausencia o presencia de luz), algunos modelos incluyen tambi�n un minijoystick con
los botones necesarios (start, select, etc).
El problema con los LCD es que no hay haz de electrones ni retrazo vertical ni
horizontal pues la pantalla se muestra entera de una sola vez (todos los pixeles se
dibujan al mismo tiempo, en el mismo instante).
Classic pistols work with a light receiver (sensor) that returns a 1 if it detects
light and a 0 if it does not detect it. A pistol is pointing to an area of ??the
screen and when the trigger is pressed a sensor reading is performed returning 1 or
0 depending on whether it detects light or not. The gun sends that signal to the
console (absence or presence of light), some models also include a minijoystick
with the necessary buttons (start, select, etc).
The complete operation is as follows: The consoles have internal registers to know
where is the electron beam of the screen (some counters), when you are going to
make a gun reading the console puts the screen in black and draws white circles
that cover the screen area to be detected (usually white squares on sprites) and
get the reading of the gun, which if it is pointing to a white rectangle will be 1
and if it is pointed to a black area it will be 0. The console knows which
rectangle is and what position X, Y because it knows where the electron beam is and
counts from the beginning of the screen drawing (vertical retrace) the time it has
passed until it receives the signal from the gun, so it knows in which line and in
what column it's found.
The problem with LCDs is that there is no electron beam or retracement vertical or
horizontal because the screen is shown whole at one time (all pixels are drawn at
the same time, at the same time).
La kompleta operacio estas jene: La konzoloj havas internajn registrojn por scii
kie estas la elektronradio de la ekrano (iuj nombriloj), kiam vi faros pafilon
legante la konzolon metas la ekranon en nigra kaj desegnas blankajn cirklojn kiuj
kovras la ekranan areon por esti detektita (kutime blankaj kvadratoj ce elfoj) kaj
ricevas la legadon de la pafilo, kiu se gi indikas blankan ortangulon estos 1 kaj
se gi estas montrita al nigra areo, gi estos 0. La konzolo scias, kiu estas
ortangulo kaj kiu pozicio X, Y car gi scias kie la elektrona fasko estas kaj
kalkulas de la komenco de la ekrano desegnante (vertikala retropaso) la tempon,
kiun gi pasis gis gi ricevas la signalon de la pafilo, do gi scias en kiu linio kaj
en kiu kolumno estas trovita