Author Topic: Run DOOM on an NES by embedding a Raspberry Pi in the cartridge  (Read 1887 times)

0 Members and 1 Guest are viewing this topic.

Offline rasteriTopic starter

  • Contributor
  • Posts: 17
  • Country: gb
Hi all, I just released my project - https://github.com/rasteri/PiPU

It's a method of using a Raspberry Pi as a graphics accelerator for the NES. It uses Cypress Semiconductor's FX2LP High-speed USB controller to hijack the NES' graphics memory bus, and inject video data directly into the NES' picture processing unit.

In the github there's the graphics translation code, as well as the firmware for the FX2LP and the 6502 code for the NES' CPU.

Here's a video going into more detail :
 
The following users thanked this post: T3sl4co1l, ogden

Offline Bicurico

  • Super Contributor
  • ***
  • Posts: 1816
  • Country: pt
    • VMA's Satellite Blog
Re: Run DOOM on an NES by embedding a Raspberry Pi in the cartridge
« Reply #1 on: August 29, 2019, 01:29:08 pm »
Congratulations!!! Very cool project and nicely done.
Also, let me tell you that I am impressed by your comments during the video. Fast but not too fast and very clear and understandable.
Just one question. How long did it take you from initial idea to finished project?

Regards,
Vitor

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Run DOOM on an NES by embedding a Raspberry Pi in the cartridge
« Reply #2 on: August 29, 2019, 01:29:25 pm »
Hah, saw it on YT recommended before seeing it here!  Fantastic piece of work!

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline rasteriTopic starter

  • Contributor
  • Posts: 17
  • Country: gb
Re: Run DOOM on an NES by embedding a Raspberry Pi in the cartridge
« Reply #3 on: August 29, 2019, 09:10:31 pm »
Thanks for your kind words!

How long did it take you from initial idea to finished project?

I got the idea about two years ago, but I took a long break in between. It was one of these projects where it was bubbling away in the background for a long time, and eventually I'd made so much progress that abandoning it would be a bigger waste of time than just finishing it, haha.

 

Online coromonadalix

  • Super Contributor
  • ***
  • Posts: 7005
  • Country: ca
Re: Run DOOM on an NES by embedding a Raspberry Pi in the cartridge
« Reply #4 on: August 29, 2019, 10:47:50 pm »
 Very clever idea, im impressed   congrats
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15797
  • Country: fr
Re: Run DOOM on an NES by embedding a Raspberry Pi in the cartridge
« Reply #5 on: August 29, 2019, 10:57:48 pm »
It's a method of using a Raspberry Pi as a graphics accelerator for the NES. It uses Cypress Semiconductor's FX2LP High-speed USB controller to hijack the NES' graphics memory bus, and inject video data directly into the NES' picture processing unit.

So is the video data streamed from the RPi through USB?
 

Offline rasteriTopic starter

  • Contributor
  • Posts: 17
  • Country: gb
Re: Run DOOM on an NES by embedding a Raspberry Pi in the cartridge
« Reply #6 on: August 30, 2019, 12:22:05 am »
So is the video data streamed from the RPi through USB?

Yeah exactly. The USB bus is ideal for this kind of thing as (unlike most of the other RPi buses) it has great library support. The FX2 is flexible enough to emulate memory, if you ignore the address bus.

Also it meant I could prototype everything on my Linux desktop PC instead of the Pi.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf