From aeac53d9cf221af9e9f5985a73e8a1ca46e505f8 Mon Sep 17 00:00:00 2001 From: bigbass1997 Date: Sun, 15 Oct 2023 12:01:30 -0500 Subject: Swapped SNES controller type ordering --- docs/tasd-spec-0001/draft-tasd-spec-0001.html | 256 +++++++++++++------------- 1 file changed, 128 insertions(+), 128 deletions(-) (limited to 'docs/tasd-spec-0001/draft-tasd-spec-0001.html') diff --git a/docs/tasd-spec-0001/draft-tasd-spec-0001.html b/docs/tasd-spec-0001/draft-tasd-spec-0001.html index dd70bf9..9e53fab 100644 --- a/docs/tasd-spec-0001/draft-tasd-spec-0001.html +++ b/docs/tasd-spec-0001/draft-tasd-spec-0001.html @@ -1464,10 +1464,10 @@ li > p:last-of-type {

5.2.1.  SNES Standard Controller

  • -

    5.2.2.  SNES Mouse

    +

    5.2.2.  SNES Super Multitap

  • -

    5.2.3.  SNES Super Multitap

    +

    5.2.3.  SNES Mouse

  • @@ -3850,11 +3850,11 @@ li > p:last-of-type {
    -

    -5.2.2. SNES Mouse +

    +5.2.2. SNES Super Multitap

    -

    Single Input Length: 4 Octets

    -

    Octet 0

    +

    Single Input Length: 5 Octets

    +

    Octet 0 :

    Bit 7:
    1 @@ -3885,74 +3885,158 @@ li > p:last-of-type {
    Bit 0:
    -
    1 +
    I/O Pin State - 1 if Multitap ports 1 and 2 are being polled, 0 if ports 3 and 4 are.

    Octet 1

    Bit 7:
    -
    /Right button +
    Controller N-1 or N-3 /B
    Bit 6:
    -
    /Left button +
    Controller N-1 or N-3 /Y
    Bit 5:
    -
    Current sensitivity (0: high sensitivity; 1: low or medium sensitivity) +
    Controller N-1 or N-3 /Select
    Bit 4:
    -
    Current sensitivity (0: medium sensitivity; 1: low or high sensitivity) +
    Controller N-1 or N-3 /Start
    Bit 3:
    -
    1 +
    Controller N-1 or N-3 /Up
    Bit 2:
    -
    1 +
    Controller N-1 or N-3 /Down
    Bit 1:
    -
    1 +
    Controller N-1 or N-3 /Left
    Bit 0:
    -
    0 +
    Controller N-1 or N-3 /Right

    Octet 2

    -
    Bits 7-1:
    -
    /Vertical displacement since last read +
    Bit 7:
    +
    Controller N-1 or N-3 /A +
    +
    +
    Bit 6:
    +
    Controller N-1 or N-3 /X +
    +
    +
    Bit 5:
    +
    Controller N-1 or N-3 /L +
    +
    +
    Bit 4:
    +
    Controller N-1 or N-3 /R +
    +
    +
    Bit 3:
    +
    1 +
    +
    +
    Bit 2:
    +
    1 +
    +
    +
    Bit 1:
    +
    1
    -
    Bit 0:
    -
    Direction (0: up; 1: down) +
    Bit 0:
    +
    1

    Octet 3

    -
    Bits 7-1:
    -
    /Horizontal displacement since last read +
    Bit 7:
    +
    Controller N-2 or N-4 /B +
    +
    +
    Bit 6:
    +
    Controller N-2 or N-4 /Y +
    +
    +
    Bit 5:
    +
    Controller N-2 or N-4 /Select +
    +
    +
    Bit 4:
    +
    Controller N-2 or N-4 /Start +
    +
    +
    Bit 3:
    +
    Controller N-2 or N-4 /Up +
    +
    +
    Bit 2:
    +
    Controller N-2 or N-4 /Down +
    +
    +
    Bit 1:
    +
    Controller N-2 or N-4 /Left +
    +
    +
    Bit 0:
    +
    Controller N-2 or N-4 /Right +
    +
    +
    +

    Octet 4

    +
    +
    Bit 7:
    +
    Controller N-2 or N-4 /A +
    +
    +
    Bit 6:
    +
    Controller N-2 or N-4 /X +
    +
    +
    Bit 5:
    +
    Controller N-2 or N-4 /L +
    +
    +
    Bit 4:
    +
    Controller N-2 or N-4 /R +
    +
    +
    Bit 3:
    +
    1 +
    +
    +
    Bit 2:
    +
    1 +
    +
    +
    Bit 1:
    +
    1
    -
    Bit 0:
    -
    Direction (0: up; 1: down) +
    Bit 0:
    +
    1
    +

    Controller N is the controller port number on the console that the Multitap is connected to. Controller N-1...N-4 are the controller ports 1...4 on the Multitap. Two Multitap ports are polled simultaneously by the game - either 1 and 2, or 3 and 4. The I/O Pin state in octet 0 MUST be 1 for multitap ports 1 and 2, or 0 for ports 3 and 4.

    -

    -5.2.3. SNES Super Multitap +

    +5.2.3. SNES Mouse

    -

    Single Input Length: 5 Octets

    -

    Octet 0 :

    +

    Single Input Length: 4 Octets

    +

    Octet 0

    Bit 7:
    1 @@ -3983,151 +4067,67 @@ li > p:last-of-type {
    Bit 0:
    -
    I/O Pin State - 1 if Multitap ports 1 and 2 are being polled, 0 if ports 3 and 4 are. +
    1

    Octet 1

    Bit 7:
    -
    Controller N-1 or N-3 /B +
    /Right button
    Bit 6:
    -
    Controller N-1 or N-3 /Y +
    /Left button
    Bit 5:
    -
    Controller N-1 or N-3 /Select +
    Current sensitivity (0: high sensitivity; 1: low or medium sensitivity)
    Bit 4:
    -
    Controller N-1 or N-3 /Start +
    Current sensitivity (0: medium sensitivity; 1: low or high sensitivity)
    Bit 3:
    -
    Controller N-1 or N-3 /Up +
    1
    Bit 2:
    -
    Controller N-1 or N-3 /Down +
    1
    Bit 1:
    -
    Controller N-1 or N-3 /Left +
    1
    Bit 0:
    -
    Controller N-1 or N-3 /Right +
    0

    Octet 2

    -
    Bit 7:
    -
    Controller N-1 or N-3 /A -
    -
    -
    Bit 6:
    -
    Controller N-1 or N-3 /X -
    -
    -
    Bit 5:
    -
    Controller N-1 or N-3 /L -
    -
    -
    Bit 4:
    -
    Controller N-1 or N-3 /R -
    -
    -
    Bit 3:
    -
    1 -
    -
    -
    Bit 2:
    -
    1 -
    -
    -
    Bit 1:
    -
    1 +
    Bits 7-1:
    +
    /Vertical displacement since last read
    -
    Bit 0:
    -
    1 +
    Bit 0:
    +
    Direction (0: up; 1: down)

    Octet 3

    -
    Bit 7:
    -
    Controller N-2 or N-4 /B -
    -
    -
    Bit 6:
    -
    Controller N-2 or N-4 /Y -
    -
    -
    Bit 5:
    -
    Controller N-2 or N-4 /Select -
    -
    -
    Bit 4:
    -
    Controller N-2 or N-4 /Start -
    -
    -
    Bit 3:
    -
    Controller N-2 or N-4 /Up -
    -
    -
    Bit 2:
    -
    Controller N-2 or N-4 /Down -
    -
    -
    Bit 1:
    -
    Controller N-2 or N-4 /Left -
    -
    -
    Bit 0:
    -
    Controller N-2 or N-4 /Right -
    -
    -
    -

    Octet 4

    -
    -
    Bit 7:
    -
    Controller N-2 or N-4 /A -
    -
    -
    Bit 6:
    -
    Controller N-2 or N-4 /X -
    -
    -
    Bit 5:
    -
    Controller N-2 or N-4 /L -
    -
    -
    Bit 4:
    -
    Controller N-2 or N-4 /R -
    -
    -
    Bit 3:
    -
    1 -
    -
    -
    Bit 2:
    -
    1 -
    -
    -
    Bit 1:
    -
    1 +
    Bits 7-1:
    +
    /Horizontal displacement since last read
    -
    Bit 0:
    -
    1 +
    Bit 0:
    +
    Direction (0: up; 1: down)
    -

    Controller N is the controller port number on the console that the Multitap is connected to. Controller N-1...N-4 are the controller ports 1...4 on the Multitap. Two Multitap ports are polled simultaneously by the game - either 1 and 2, or 3 and 4. The I/O Pin state in octet 0 MUST be 1 for multitap ports 1 and 2, or 0 for ports 3 and 4.

    -- cgit v1.2.3