From e3147fb48be4f55b2688e664bb66be5143eda2d1 Mon Sep 17 00:00:00 2001 From: bigbass1997 Date: Sat, 1 Feb 2025 23:40:31 -0600 Subject: Changed Genesis controller input format. Further clarified INPUT_CHUNK usage. --- src/docs/draft-tasd-spec-0001.xml | 44 +++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src') diff --git a/src/docs/draft-tasd-spec-0001.xml b/src/docs/draft-tasd-spec-0001.xml index 16fa4a7..5c8036e 100644 --- a/src/docs/draft-tasd-spec-0001.xml +++ b/src/docs/draft-tasd-spec-0001.xml @@ -1110,7 +1110,7 @@ All INPUT_CHUNK packets with corresponding Port values in the TASD file MUST be in chronological order, where earlier inputs in the TAS movie console replay are earlier in the TASD file and later inputs in the TAS movie console replay are later in the TASD file. If there are more than one INPUT_CHUNK packets for a specific Port, the input data MUST be interpreted as if all their contents were concatenated into a single INPUT_CHUNK packet. As such, a single INPUT_CHUNK packet MAY contain up to every input of a TAS movie console replay and MAY contain fewer than every input of a TAS movie console replay. The input data contained in Inputs is divided up based on the PORT_CONTROLLER type corresponding to the Port number. Refer to for each available type and the number of bytes used for each instance of controller input. The PORT_CONTROLLER type MAY be changed using TRANSITION packets, which MAY change the interpretation of the input data until either the end of the replay or until the next PORT_CONTROLLER transition. - + Each instance of controller input SHOULD remain held until the input has been used according to the current replay configuration. By default, this means each instance of controller input corresponds to a single input "latch" or polling sequence by the console. However, some packet types MAY alter how inputs are used during replay. For example, the NES has the NES_LATCH_FILTER packet available. When NES_LATCH_FILTER is active, each instance of controller input MUST remain held until the end of the filter period.
INPUT_MOMENT Packet @@ -1834,14 +1834,14 @@ Single Input Length: 1 Octet Octet 0
-
Bit 7:
/Up
-
Bit 6:
/Down
-
Bit 5:
/Left
-
Bit 4:
/Right
-
Bit 3:
/B
-
Bit 2:
/C
-
Bit 1:
/A
-
Bit 0:
/Start
+
Bit 7:
/C
+
Bit 6:
/B
+
Bit 5:
/Right
+
Bit 4:
/Left
+
Bit 3:
/Down
+
Bit 2:
/Up
+
Bit 1:
/Start
+
Bit 0:
/A
@@ -1849,21 +1849,21 @@ Single Input Length: 2 Octets Octet 0
-
Bit 7:
/Up
-
Bit 6:
/Down
-
Bit 5:
/Left
-
Bit 4:
/Right
-
Bit 3:
/B
-
Bit 2:
/C
-
Bit 1:
/A
-
Bit 0:
/Start
+
Bit 7:
/C
+
Bit 6:
/B
+
Bit 5:
/Right
+
Bit 4:
/Left
+
Bit 3:
/Down
+
Bit 2:
/Up
+
Bit 1:
/Start
+
Bit 0:
/A
Octet 1
-
Bit 7:
/Z
-
Bit 6:
/Y
-
Bit 5:
/X
-
Bit 4:
/Mode
+
Bit 7:
/Mode
+
Bit 6:
/X
+
Bit 5:
/Y
+
Bit 4:
/Z
Bit 3:
1
Bit 2:
1
Bit 1:
1
@@ -1928,7 +1928,7 @@ THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR(S) "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.