A dump of the disc would be nice to check out. Someone here was going to, but it never happened.psx-collector wrote:Yes, it can be used with Online Connection CD.
PSX Keyboard and Mouse Adaptor (SCPH-2000 Prototype)
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2689
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
Now that the Online Connection CD was dumped, some findings about the PS/2 keyboard reading...
Keyboard response data consists of 15 bytes:
The keyboard scancodes are in "PS/2 Keyboard Scan Code Set 2" format. If you've ever dealt with reading a PC keyboard, then you are probably more familar with "Set 1" scancodes, although your keyboard is probably transmitting "Set 2" scancodes through its cable (as far as I understand, the PC keyboard controller/hardware is automatically converting "Set 2" codes to "Set 1" format for backwards compatibilty).
Theoretically one should also be able to send commands to the keyboard, eg. for changing the key repeat rate. Don't know if/how that's working yet.
I haven't spotted any PS/2 mouse reading code yet. Except two things:
1) The above 12-byte area seems to be divided into two 6-byte regions, maybe the first half is for keyboard data, and the other for mouse data.
2) And, apart from ID 9=keyboard, the online cd software also handles ID 1=mouse. Maybe that's just for the Sony Mouse. Or maybe the PS/2 adaptor is sending mouse data with that ID (and keyboard data in a separate packet with different ID).
Or maybe it's working yet differently, with the PSX sending different read-commands for keyboard and mouse or so.
Does anybody have one of those SCPH-2000 adaptors for real? It would be interesting to do some basic tests on it. First would be, of course, to check if it's compatible with normal Sony Mouse compatible games. And, dumping the keyboard response bytes would be also interesting - but, as long as nobody is owning the real hardware, there isn't much point in making dumping software for it.
Keyboard response data consists of 15 bytes:
Code: Select all
1st byte: High-Z
2nd byte: ID (5Ah, fixed)
3rd byte: ID (96h, MSB; 9=Keyboard, LSB: 6=Six halfwords following, ie. 12 bytes)
4th byte: Number of keyboard scancodes (0..11?) (or FFh=special, maybe no keyboad attached?)
5th byte: First keyboard scan code
6th byte: Next keyboard scan code
...
15th byte: Maybe last keyboard scancode (or mouse data in last some bytes?)
Theoretically one should also be able to send commands to the keyboard, eg. for changing the key repeat rate. Don't know if/how that's working yet.
I haven't spotted any PS/2 mouse reading code yet. Except two things:
1) The above 12-byte area seems to be divided into two 6-byte regions, maybe the first half is for keyboard data, and the other for mouse data.
2) And, apart from ID 9=keyboard, the online cd software also handles ID 1=mouse. Maybe that's just for the Sony Mouse. Or maybe the PS/2 adaptor is sending mouse data with that ID (and keyboard data in a separate packet with different ID).
Or maybe it's working yet differently, with the PSX sending different read-commands for keyboard and mouse or so.
Does anybody have one of those SCPH-2000 adaptors for real? It would be interesting to do some basic tests on it. First would be, of course, to check if it's compatible with normal Sony Mouse compatible games. And, dumping the keyboard response bytes would be also interesting - but, as long as nobody is owning the real hardware, there isn't much point in making dumping software for it.
-
CodeAsm Verified
- Active PSXDEV User
- Posts: 71
- Joined: Jan 13, 2012
- I am a: Programmer, Student
- Location: The Netherlands
- Contact:
First a ROM dump and then PCB pictures of both sides would be awesome
Development Console: SCPH-102, unkown clone Modchip, PAL , FTDI board build into the case (microUSB) for Serial I/O.
Development Computer: GNU/Linux, Arch x86_64 Linux 4.20.3, i7-3632QM [8x3.2GHz], 11,8GiB, 1366x768 GeForce GT 630M (Optimus tech), lots of gig of storage
Development Computer: GNU/Linux, Arch x86_64 Linux 4.20.3, i7-3632QM [8x3.2GHz], 11,8GiB, 1366x768 GeForce GT 630M (Optimus tech), lots of gig of storage
-
CodeAsm Verified
- Active PSXDEV User
- Posts: 71
- Joined: Jan 13, 2012
- I am a: Programmer, Student
- Location: The Netherlands
- Contact:
Hmm, did he know the online disk is now released? and would he mind taking pictures/make a rom dump if posible? I should ask him I guesDavide_G wrote:I have found this thread: https://assemblergames.com/threads/wtb- ... ost-899454
Development Console: SCPH-102, unkown clone Modchip, PAL , FTDI board build into the case (microUSB) for Serial I/O.
Development Computer: GNU/Linux, Arch x86_64 Linux 4.20.3, i7-3632QM [8x3.2GHz], 11,8GiB, 1366x768 GeForce GT 630M (Optimus tech), lots of gig of storage
Development Computer: GNU/Linux, Arch x86_64 Linux 4.20.3, i7-3632QM [8x3.2GHz], 11,8GiB, 1366x768 GeForce GT 630M (Optimus tech), lots of gig of storage
Contacting SCPH-2000 people could be a problem. There's somebody at atariage (I've registered there 5 years ago, and my registration is still in "validating" stage, meaning that the admin will want to review it before activating the account). And youtube doesn't support my PC at all. Registering at assemblergames never worked for me either (though that "give me $200, trust me, here's my phone number" post didn't sound too convincing anyways).
Best would be if one of that SCPH-2000 people could join this forum, or contact me via PM or email.
Searching mouse support in the online connection software is quite frustating - I am about to believe that it doesn't have any mouse support at all.
I've found the PS/2 keyboard code, and the digital joypad code, and the "mouse emulation" code (where it's moving the mouse arrow via joypad DPAD keys, or, in a very crappy fashion, via keyboard cursor keys). For the Sony Mouse, I've also found some code where it does intentionally skip/ignore data from that controller. And for the PS/2 mouse, there appears to be no support for that at all.
As it seems, it's supporting only the keyboad part of the Keyboad/Mouse adaptor... or maybe it doesn't support that adaptor at all... it's also possible that they had used some different Keyboard adaptor, incompatible with the SCPH-2000 hardware, or even a custom external Sony/Lightspan Keyboard without adaptor.
Best would be if one of that SCPH-2000 people could join this forum, or contact me via PM or email.
Searching mouse support in the online connection software is quite frustating - I am about to believe that it doesn't have any mouse support at all.
I've found the PS/2 keyboard code, and the digital joypad code, and the "mouse emulation" code (where it's moving the mouse arrow via joypad DPAD keys, or, in a very crappy fashion, via keyboard cursor keys). For the Sony Mouse, I've also found some code where it does intentionally skip/ignore data from that controller. And for the PS/2 mouse, there appears to be no support for that at all.
As it seems, it's supporting only the keyboad part of the Keyboad/Mouse adaptor... or maybe it doesn't support that adaptor at all... it's also possible that they had used some different Keyboard adaptor, incompatible with the SCPH-2000 hardware, or even a custom external Sony/Lightspan Keyboard without adaptor.
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2689
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
Would be nice to get a hold of one of those SCPH-2000's, but anyway, I've got this which might be useful. It's got some PIC MCU assembler code in there, but the chips are so old a replacement would be needed, which opens the question of whether or not a similar MCU along the lines of the predecessor would even compile and execute correctly. I also don't have a PIC programmer so there's that problem too.
I never got around to actually trying it (obvious from the above context), but I would assume it's basically on the same page as that SCPH-2000 adapter.
Code: Select all
; PSXKey V2.04
; (c)2000 Double Dutch Designs Limited
; Written by Anthony Ball
Code: Select all
PC keyboard and mouse interface (via SX28) to the PlayStation 1 by Simon Armstrong
You do not have the required permissions to view the files attached to this post.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
- Davide_G
- Curious PSXDEV User
- Posts: 25
- Joined: Aug 29, 2014
- I am a: Student
- PlayStation Model: SCPH-5552
- Location: Italy
I have found in Linkedin the software developer. We could ask him for help.Shadow wrote:Code: Select all
; PSXKey V2.04 ; (c)2000 Double Dutch Designs Limited ; Written by Anthony Ball
https://www.linkedin.com/in/anthonyball66/
PS: And this is his twitter account: https://twitter.com/sinistersoft
Last edited by Davide_G on November 18th, 2017, 2:55 am, edited 2 times in total.
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2689
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
Yeah, we could ask him. I'm honestly starting to think that Sony actually used his hardware and software though for this SCPH-2000. Anyway, the source is there, but we need someone who knows their PIC MCU's or PIC assembler because the code could easily and very well be ported to C for an ATMEGA328.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
That are two homebrew projects, both dated around year 2000, unrelated to the Online Connection CD's keyboard (from 1997), and (most probably) unrelated to the SCPH-2000 hardware.
The incomplete code snippets from Anthony Ball are using the PSX serial port (1F80105xh) instead of the controller port. That's definetly unrelated, and it's keyboard only, without mouse.
The code from Simon Armstrong is sending "standard" PSX Mouse packets with ID 5Ah,12h, and with the keyboard scancode/flags squeezed into unused bits of the mouse button value. That's closer, but still different from the Online Connection CD stuff with ID 5Ah,96h.
The incomplete code snippets from Anthony Ball are using the PSX serial port (1F80105xh) instead of the controller port. That's definetly unrelated, and it's keyboard only, without mouse.
The code from Simon Armstrong is sending "standard" PSX Mouse packets with ID 5Ah,12h, and with the keyboard scancode/flags squeezed into unused bits of the mouse button value. That's closer, but still different from the Online Connection CD stuff with ID 5Ah,96h.
I'm sorry for a lil offtopic, I want to visit the assemblergames link above but it only display a empty tab like I open a new empty tab.
I've know some people over there which I could contact for your questions in case the site is not down.
gracie @ Davide_G for the capture :)
I've know some people over there which I could contact for your questions in case the site is not down.
gracie @ Davide_G for the capture :)
Last edited by SCPH-1002 on November 18th, 2017, 3:42 am, edited 1 time in total.
- Davide_G
- Curious PSXDEV User
- Posts: 25
- Joined: Aug 29, 2014
- I am a: Student
- PlayStation Model: SCPH-5552
- Location: Italy
SCPH-1002 wrote:I'm sorry for a lil offtopic, I want to visit the assemblergames link above but it only display a empty tab like I open a new empty tab.
You do not have the required permissions to view the files attached to this post.
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2689
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
Ah, I didn't realise the date order was backwards. I thought the online CD came out laternocash wrote:That are two homebrew projects, both dated around year 2000, unrelated to the Online Connection CD's keyboard (from 1997), and (most probably) unrelated to the SCPH-2000 hardware.
The code from Simon Armstrong is sending "standard" PSX Mouse packets with ID 5Ah,12h, and with the keyboard scancode/flags squeezed into unused bits of the mouse button value. That's closer, but still different from the Online Connection CD stuff with ID 5Ah,96h.
Do you think perhaps Sony made a library for the SCPH-2000 for use with Psy-Q'?
I mean, they have packets setup specifically in their library for the JogCon Controller, Flight Stick, Gun, Mouse, etc.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
-
gwald Verified
- Net Yaroze Enthusiast
- Posts: 313
- Joined: Sep 18, 2013
- I am a: programmer/DBA
- PlayStation Model: Net Yaroze
- Contact:
Psxkey log stats it started as serial but moved to the controller port.. but no mention on a mouse.. Probably added later tho
Yeah for PSX computer!!
Yeah for PSX computer!!
; PSXKey V2.04
; (c)2000 Double Dutch Designs Limited
; Written by Anthony Ball
; Requires 8Mhz AVR AT90xxxx
; Keyboard optional commands, needs 'off', 'sleep', 'on' keys
; off keyboard emulates pad
; sleep keyboard is pad as well as stick inputs
; on keyboard acts as keyboard - along with stick inputs!
; List of changes:
; 1.xx-2.00 change from pic to avr microcontroller, serial to pad ports
; 2.00-2.01 automatic keyboard detection
; 2.01-2.02 multiplexed sega stick input(s)
; 2.02-2.03 pad emulation via keyboard
; 2.03-2.04 crystal & software change from 4Mhz to 8Mhz
; Limitations:
; o Will not function properly with a multitap, this is because of the
; packet length being too long
; Known Bugs:
; o Memory cards plugged into same port will not function properly
; Features:
; o Hardware decode/encode of psx communication data
; o 'On-the-fly' detection & reset of inserted keyboard
; o Interrupt driven keyboard reading
; o Converts keyboard data to single byte for press, another for depress
; o Interrupt driven keyboard control
; o Spurious bit error correction on keyboard data
; o Parity bit checking on keyboard data
; o Multiplexed Sega stick input(s)
; o Psx pad emulation via keyboard
Hmmm, the terms microcontroller and serial to pad could mean anything to me. But, going by the webpage, you are right.gwald wrote:Psxkey log stats it started as serial but moved to the controller port..
http://www.sinistersoft.com/psxkeyboard
That page is also including the full keyboard source code (unlike the .zip file which contains only some IRQ handlers).
Keyboard Controller ID is E8h,5Ah (unlike Online CD with 96h,5Ah). And key scancodes are also different as Online CD.
That homebrew keyboard was intended for a spectrum emulator (=presumably without mouse support planned).
For the mentioned bugs/limitations: Conflicts with memory cards shouldn't happen (don't know how one could screw up that part). Multitap should be no issue (except that people didn't knew how to read more then 32bits per controller via multitap back then).
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2689
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
Anyone got $1K they want to spare on this? lol.
https://www.ebay.com.au/itm/PlayStation ... SwfVpYvGzo
https://www.ebay.com.au/itm/PlayStation ... SwfVpYvGzo
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
Yeah let me just pull that amount of cash right out of my butt XD. #seemslegit
-
Administrator Verified
- Admin / PSXDEV
- Posts: 2689
- Joined: Dec 31, 2012
- I am a: Shadow
- PlayStation Model: H2000/5502
Haha, nah, I was only kiddingDavide_G wrote:We can do a crowdfunding and sell the device after analyzing it.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
Who is online
Users browsing this forum: No registered users and 5 guests