nand2mario / nestang

NESTang is an FPGA Nintendo Entertainment System implemented with Sipeed Tang Primer 25K, Nano 20K and Primer 20K boards
https://nand2mario.github.io/nestang
GNU General Public License v3.0
326 stars 36 forks source link

tang nano 20K with blueretro adapter? #67

Open wolfshow opened 2 months ago

wolfshow commented 2 months ago

any plan to support blueretro for tang nano 20K?

siffland commented 2 months ago

Blueretro works fine in this setup, i am using a 8bitdo n30 NES gamepad (note i only have one controller hooked up, but two should work).

For the blueretro I have the Firmware: v1.9.2 hw1 playstation Advanced Config:

Src label: NES
Dst label: PSX/PS2

20240420_103935

I did try to program the blueretro with the NES firmware and use the wiring configuration by fjpolo for 2 and 4 controllers but was unsuccessful (and use NES/NES for Src and Dst in the blueretro advanced config).

i notice no latency issues, and was able to beat super mario bros with no issues, but then again i am not an uber awesome speedrunner.

This setup also works with the snestang core (although i have to update the advanced config and use a ps4 controller to get all buttons, but it was fun trying to see how far i could get on super mario world with just 2 jump buttons.....

Hope this helps.

siffland commented 2 months ago

Also here are the pinouts, in case you are using a different esp32 module compatible with blueretro. Do not forget power and ground for the esp32 board, i have them tied to the tang 20k (5v and ground).

ESP32    TANG 20K
GPIO33 - DS2_CLK
GPIO32 - DS2_CMD
GPIO34 - DS2_ATTN 
GPIO19 - DS2_DATA
wolfshow commented 2 months ago

Also here are the pinouts, in case you are using a different esp32 module compatible with blueretro. Do not forget power and ground for the esp32 board, i have them tied to the tang 20k (5v and ground).

ESP32    TANG 20K
GPIO33 - DS2_CLK
GPIO32 - DS2_CMD
GPIO34 - DS2_ATTN 
GPIO19 - DS2_DATA

Thanks! will have a try.