VOGONS


First post, by Jackhead

User metadata
Rank Member
Rank
Member

So i build me a SNES controller with a Parallel cable to use with sneskey on dos.
First question what LPT mode should i choose for sneskey, ECP/EPP/Normal?
Next question about the IRQ. I have two soundboards installed IRQ 5/7 so im not sure if this work sharing with LPT?

Dos 6.22: Asus VL/I-486SV2GX4 Rev 2.0 1Mb L2 - AMD A5x86 X5 ADZ 133MHz @160MHz - 64MB RAM - CT2230 - GUS ACE - MPU-401 AT - ET4000W32P
Win98SE: Asus P5K-WS - E8600 @ 4,5GHz - Strange God Voodoo 5 6000 PCI @ 66MHz PCI-X - 2GB DDR2 1066 - Audigy 2 ZS

Reply 2 of 3, by Jo22

User metadata
Rank l33t++
Rank
l33t++

The question wasn't that wrong, though.

I've assumed SNESKey would just use printer status pins for reading data, but pin 2 is DATA 0 and Pin 3 is DATA 1.
https://en.wikipedia.org/wiki/Parallel_port

Aren't those output pins, normally? In an unidirectional configuration?
I mean, if a PC boots up in normal mode, aren't they set to output?

I vaguely recall that a GB cartridge dumper had a warning note that said the LPT port must be set to a specific mode.

As for the IRQ, no harm is done normally, I think. DOS software generally doesn't use IRQs for LPT ports.
OS/2 is one of the few exceptions and uses IRQs for printing, I believe.

Edit: Ah yes, I've checked the circuits.ini, so this makes sense.
Pin 10 is a status line (ACK) to read back the SNES pad data. Pin 2+3 are outputs.
So normal LPT mode seems fine, too, indeed.

[snes1]
clock = 2
reset = 3
data = 10
power = 7, 8, 9

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 3 of 3, by Jackhead

User metadata
Rank Member
Rank
Member

So my controller has ECP/EPP/Output only options I can also choose in ECP mode the DMA or disable it.
I tryed both ECP and EPP with different Port address like 278 and 378.
When i start a game with the sneskey command i got no controller shown ingame.
For example Keen4. So ECP is for Printer and Scanner and EPP for other stuff. But the question is what does sneskey use.

Dos 6.22: Asus VL/I-486SV2GX4 Rev 2.0 1Mb L2 - AMD A5x86 X5 ADZ 133MHz @160MHz - 64MB RAM - CT2230 - GUS ACE - MPU-401 AT - ET4000W32P
Win98SE: Asus P5K-WS - E8600 @ 4,5GHz - Strange God Voodoo 5 6000 PCI @ 66MHz PCI-X - 2GB DDR2 1066 - Audigy 2 ZS