Skip to content

NilujePerchut/doppelganger_soft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doppelganger RevA0

Niluje (c) 2017

Joystick interface to Brook PCB and old video game systems. This is the software part of the project, compatible with the Doppelganger board revA0.

Video game systems supported

This project currently supports the following systems:

  • PC (through Brook)
  • PS3 (through Brook)
  • PS4 (through Brook)
  • NES
  • SNES
  • Saturn
  • PS1
  • PS2 (not tested yet but must be compatible with PS1)
  • PS3
  • PC

Software Usage

  • If the Doppelganger board is supplied with no buttons pressed, the brook interface is selected.
  • If the UP button is pressed at startup, the Doppelganger starts in bootloader mode.
  • If the DOWN and LEFT buttons are pressed at startup, the Doppelganger starts in NES/SNES mode
  • If the DOWN and RIGHT buttons are pressed at startup, the Doppelganger starts in Saturn mode
  • If the DOWN button is pressed at startup, the Doppelganger starts in PSX (PS1/PS2) mode
  • If the RIGHT button is pressed at startup, the Doppelganger starts in USB PS3/PC mode

RJ45 cabling

SNES/NES:

xNES pin RJ45 pin RJ45 function
LATCH 7 /SS
CLOCK 2 SCK
DATA 4 SDO
VCC 8 VCC
GND 1 GND

USB/PS3/PC/PS3(BROOK)/PS4(BROOK):

USB pin RJ45 pin RJ45 function
D+ 6 D+
D- 5 D-
VCC 8 VCC
GND 1 GND

SATURN:

Saturn pin RJ45 pin RJ45 function
S0 5 D-
S1 6 D+
D0 2 SCK
D1 4 SDO
D2 7 /SS
D3 3 SDI
VCC 8 VCC
GND 1 GND

Note: the Saturn support needs a hardware bug fix. Please refer to the hardware project bug 2.

PSX (PS1/PS2):

PSX pin RJ45 pin RJ45 function
ACK 5 D-
CLOCK 2 SCK
DATA 4 SDO
ATT 7 /SS
COMMAND 3 SDI
VCC 8 VCC
GND 1 GND

Note: the PSX support needs a hardware bug fix. Please refer to the hardware project bug 3.

Acknowelegement

Shamelessy stolen from:

  • Pierre Gaufillet for the Vasco PUF. Used in the toolchain installation makefile.
  • Regis Blanchot for the Pinguino. Used in the bootloader and some compilation scripts
  • Alan Ott for the M-Stack USB framework
  • Toodle for the MC-Cthulu, the UPCB and ... the main idea !
  • Fluxcorenz: for the UPCB on github

I tried (as much as possible) to mentioned the inspiration source in each source file header.

Install

See the INSTALL.md file in the same directory.

TODO

  • Game system auto-dectect at startup
  • Support for more systems

Licence

Since Doppelganger is built on the top of several projects with different licenses, I choosed what seems to be the only compatible solution : GPLV3. This choice was made according to the following wikipedia page. If any of the original authors does not agree with that choice, please contact me: debarge.cedric AT gmail.com.

About

Firmware for the doppelganger board

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages