News for hackers. Stuff that matters.
Re:How to Program an NES game in C by sdegutis on Tuesday December 29, 2015 @12:29PM (#10807772)
Is it possible to somehow "copy" an NES game that you've compiled onto a real NES cartridge so that it can be played on a real NES? That could make this an incredibly fun hobby. Especially as a parent of kids who actually enjoy NES and SNES games.
Re:How to Program an NES game in C by edlinfan on Tuesday December 29, 2015 @05:37PM (#10809546)
The simplest way to deploy your homebrew ROMs to a real NES is to use something called a "flash cartridge"[1]. This is equivalent to a real NES cartridge except it is backed by rewritable flash memory instead of a permanent ROM. It contains all of the necessary glue logic[2] so the console can't tell the difference. You can rewrite the flash if you connect the cart to your computer via USB.

The magical thing to google if you want to do your own research is "NES flash cart".

The "EverDrive" that aji suggests is, indeed, an example of a flash cart. It may or may not be the best one for the NES - I honestly don't know, all of my experience is with the GameBoy.

dpflan's approach of erasing and reprogramming a REAL NES cart is also possible, if you enjoy pain and suffering in the name of being lavishly historically accurate. (I know I do sometimes.)

  [1] https://en.wikipedia.org/wiki/Flash_cartridge
  [2] https://en.wikipedia.org/wiki/Memory_management_controller
Re:How to Program an NES game in C by aji on Tuesday December 29, 2015 @01:47PM (#10808301)
The NES EverDrive is probably a good bet: http://shop.krikzz.com/EverDrive-N8-NES-EDN8NES.htm
Re:How to Program an NES game in C by dpflan on Tuesday December 29, 2015 @12:35PM (#10807818)
Re:How to Program an NES game in C by dustmop on Wednesday December 30, 2015 @02:12AM (#10811150)
Yes, a few folks in the NES homebrew scene have managed it. Here's a cartridge my team released this year: http://starversus.com (currently sold out, hope to have more soon) and there's many more at RetroUSB: http://www.retrousb.com/index.php?cPath=30&osCsid=ff2d40cb26...
Re:How to Program an NES game in C by mikejmoffitt on Tuesday December 29, 2015 @08:37PM (#10810240)
For testing, some of the available flash or RAM cartridges are good bets. For distributing in small hand-built volumes, an NES cartridge is really just some parallel storage for the 6502 CPU(be it an EPROM, or a FLASH 29-series ROM (easier)) and another chip for the CHR graphics on the PPU bus (a similar ROM). RAM may be used in place of CHR ROM, and bankswitching "mappers" are commonplace, as the 6502 can not address much as-is.