# SC64 - an open source Nintendo 64 flashcart [](assets/sc64_logo_256_160.png) --- ## Features - 64 MiB SDRAM memory for game and save data - 16 MiB FLASH memory for bootloader and extended game data - 8 kiB on-chip buffer for general use - ~23.8 MiB/s peak transfer rate USB interface for data upload/download and debug functionality - ~23.8 MiB/s peak transfer rate SD card interface - EEPROM, SRAM and FlashRAM save types with automatic writeback to SD card - Battery backed real time clock (RTC) - Status LED and button for general use - 64DD add-on emulation - IS-Viewer 64 debug interface - Software and firmware update via USB interface - N64 bootloader with support for IPL3 registers spoofing and loading menu from SD card - Enhanced [UltraCIC_C](https://github.com/jago85/UltraCIC_C) emulation with automatic region switching and programmable seed/checksum values - PC app for communicating with flashcart (game/save data upload/download, feature enable control and debug terminal) - [UNFLoader](https://github.com/buu342/N64-UNFLoader) support - 3D printable plastic shell --- ## Documentation - [Memory map](./docs/01_memory_map.md) - [USB commands](./docs/02_usb_commands.md) - [N64 commands](./docs/03_n64_commands.md) - [Config options](./docs/04_config_options.md) - [FW/SW building](./docs/05_fw_sw_building.md) - [Manufacturing guidelines](./docs/06_manufacturing_guidelines.md) --- ## Help / Q&A For any questions related to this project, please use [*Discussions*](https://github.com/Polprzewodnikowy/SummerCollection/discussions) tab in GitHub repository. Do not use my e-mail for these questions, as I want to have a centralized knowledge base accessible for everyone interested in this project. I'm also active at [N64brew](https://discord.gg/WqFgNWf) Discord server as `korgeaux#5558` but keep in mind that [*Discussions*](https://github.com/Polprzewodnikowy/SummerCollection/discussions) tab is a preferred option. --- ## High-level flashcart block diagram [SC64 block diagram](assets/sc64_block_diagram.svg) --- ## Finished example [SC64 finished example](assets/sc64_finished_example.jpg) --- ## Acknowledgement This project wouldn't be possible without these contributions: - [64drive](https://64drive.retroactive.be) orders being on permanent hold long before creating this repository. - [EverDrive-64 X7](https://krikzz.com/our-products/cartridges/ed64x7.html) being disappointment for homebrew development (slow USB upload, unjustified price and overcomplicated SD card access). - [Jan Goldacker (@jago85)](https://github.com/jago85) and his projects: - [Brutzelkarte](https://github.com/jago85/Brutzelkarte_FPGA) providing solid base for starting this project and sparking hope for true open source N64 flashcarts. - [UltraCIC_C](https://github.com/jago85/UltraCIC_C) reimplementation for easy integration in modern microcontrollers. Thanks also goes to everyone involved in N64 CIC reverse engineering. - [N64brew](https://discord.gg/WqFgNWf) Discord server community being very helpful during flashcart development. - [FatFs](http://elm-chan.org/fsw/ff/00index_e.html) FAT32/exFAT library being easiest to integrate in embedded environment. - [Yakumono's (@LuigiBlood)](https://twitter.com/LuigiBlood) extensive [64DD documentation](https://github.com/LuigiBlood/64dd/wiki) and its implementation in various emulators. - [Libdragon](https://github.com/DragonMinded/libdragon) open source N64 SDK project and its developers.