From f21297e56da08f008e04ba9ac99243d4c81d7568 Mon Sep 17 00:00:00 2001 From: Vi Grey Date: Mon, 25 Sep 2023 00:56:47 +0000 Subject: Fix SNES_LATCH_FILTER typos and missing content This commit fixes some issues related to SNES_LATCH_FILTER in the spec, which includes adding it to the "Assigned Packet Keys Without Descriptions" section, fixing the key This commit also fixes some incorrect data in the CHANGELOG for the 2023-09-24 commit list of changes. To prevent any of the packet diagrams from aligning incorrectly, all tabs in the spec xml file have been replaced by 2 spaces. The previous commit summary had errors in it. It should have stated: Changed - Specify INPUT_CHUNK offset for Index Value of TRANSITION packet Fixed - EXPERIMENTAL packet drawing error and packet value length Added - PORT_OVERREAD packet - SNES_LATCH_FILTER packet - Port value to TRANSITION packet Removed - SNES_OVERREAD and NES_OVERREAD packets --- src/docs/draft-tasd-spec-0001.xml | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'src/docs') diff --git a/src/docs/draft-tasd-spec-0001.xml b/src/docs/draft-tasd-spec-0001.xml index e63af21..30ab2b6 100644 --- a/src/docs/draft-tasd-spec-0001.xml +++ b/src/docs/draft-tasd-spec-0001.xml @@ -212,7 +212,7 @@
Key
Packet type (Packet key).
PEXP
-
Length of PLEN. PEXP MUST be a value greater than 0.
+
Length of PLEN. PEXP MUST be a value greater than 0.
PLEN
Length of Payload.
Payload
@@ -262,6 +262,7 @@
SNES Specific Keys
+
[02 01]
SNES_LATCH_FILTER
[02 02]
SNES_CLOCK_FILTER
[02 04]
SNES_GAME_GENIE_CODE
[02 05]
SNES_LATCH_TRAIN
@@ -359,7 +360,7 @@
SNES Specific Key Descriptions
-
[01 01] - SNES_LATCH_FILTER
+
[02 01] - SNES_LATCH_FILTER
Specifies a latch filter time in microseconds for how long how long to wait after a latch signal until new latch signals SHOULD be accepted by the replay device. This packet type is OPTIONAL and a TASD file SHOULD NOT contain more than 1 of this packet type in direct form. Discussed in ().
[02 02] - SNES_CLOCK_FILTER
Specifies a clock filter time in tenths of a microsecond (0.1 microseconds or 100 nanoseconds) for how long to wait after a clock pulse until new clock pulses SHOULD be accepted by the replay device. This packet type is OPTIONAL and a TASD file SHOULD NOT contain more than 1 of this packet type in direct form. Discussed in ().
@@ -917,10 +918,10 @@
Specifies the controller type connected to the Port. (RESERVED) specifies that the controller type is not described in this document, but the byte values are reserved for a later version of the TASD file format protocol. Input formats for specific controller types are described in ().
-
- PORT_OVERREAD Packet - PORT_OVERREAD packets MUST be in the following format: - + PORT_OVERREAD Packet + PORT_OVERREAD packets MUST be in the following format: + - -
-
Port
-
Controller port number (Port number MUST be 1-indexed).
-
High
-
Boolean value that is TRUE if overread bits are set to high and FALSE if overread bits are set to low.
-
-
+ +
+
Port
+
Controller port number (Port number MUST be 1-indexed).
+
High
+
Boolean value that is TRUE if overread bits are set to high and FALSE if overread bits are set to low.
+
+
NES Specific Key Payload Formats @@ -1175,9 +1176,9 @@
Input Type
Determines specific timing type for start of transition.
Port
-
Controller port number of input index. If Index Type is [05], Port MUST be 1-indexed Port number, otherwise Port MAY be any value.
+
Controller port number of input index. If Index Type is [05], Port MUST be 1-indexed Port number, otherwise Port MAY be any value.
Index
-
Time or offset value to start transition. If Index Type is [05], Index MUST be the byte offset of INPUT_CHUNK data from INPUT_CHUNK packets for the controller port specified by Port.
+
Time or offset value to start transition. If Index Type is [05], Index MUST be the byte offset of INPUT_CHUNK data from INPUT_CHUNK packets for the controller port specified by Port.
Type
Type of transition. If Type is [FF], the transition action will be interpreting a TASD packet.
Inner Packet
@@ -1419,7 +1420,7 @@
Bit 0:
Direction (0: up; 1: down)
-
+
SNES Super Multitap Single Input Length: 5 Octets Octet 0 : -- cgit v1.2.3