Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
controllers [2022/06/11 16:35] – created admincontrollers [2022/07/08 00:53] – [Commands from the console] simer
Line 20: Line 20:
  
 A controller is activated (both for transmission and reception) by setting its CTS pin high. Controllers can request attention from the console when they have data to send using their RTS line. A controller is activated (both for transmission and reception) by setting its CTS pin high. Controllers can request attention from the console when they have data to send using their RTS line.
 +
 +The RTS line changes can be detected using IRQ5. Events on the UART (transmit or receive complete) can be detected using IRQ3.
  
 The general way to handle this is as follows, starting from an idle state with all CTS low and no pending data transfers The general way to handle this is as follows, starting from an idle state with all CTS low and no pending data transfers
Line 145: Line 147:
 60 is sent to turn the light off. 60 is sent to turn the light off.
  
-These are repeated every 20ms. After the controller sends 55 (idle), the V.Smile also returns to its idle reply (E6 for example) every 20ms.+These are repeated every 20ms. After the controller sends 55 (idle), the game also returns to its idle reply (E6 followed by D6 for example) every 20ms.
  
  
  
  
controllers.txt · Last modified: 2023/06/05 21:59 by simer
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0