NES For FPGA Terasic Altera DE2-70 Cyclone 2 EP2C70F896C6
Please note and give credit to strigeus and its fpganes project (strigeus/fpganes). This is a fork and a modified version of its work to port its project to the DE2-70 board.
Quartus 2 64-bit Web Edition v13sp1
Visual Studio 2022 Community Edition v143
GCC 14.2.1
Use "loader"(nes_loader) to download ROMS to it over the built-in UART.
"loader"(nes_loader) also transmits joypad commands from my USB joypad to the FPGA across UART. It use the joystick library of windows (joystickapi.h).
Run from command line. Need 2 arguments : path/name of the nes rom to load and the com port of the UART adapter for the board :
find your UART com port of your board and use it in the command line.
$> C:\path\to\the\loader\nes_loader.exe donkeykong.nes COM7
joypad must be at /dev/input/js0.
find your UART file of your board and use it in the command line.
$> /path/to/the/loader/nes_loader donkeykong.nes /dev/ttyUSB0