{"id":13469997,"url":"https://github.com/fogleman/nes","last_synced_at":"2025-05-13T20:15:40.606Z","repository":{"id":28069264,"uuid":"31566326","full_name":"fogleman/nes","owner":"fogleman","description":"NES emulator written in Go.","archived":false,"fork":false,"pushed_at":"2024-08-17T18:24:23.000Z","size":176,"stargazers_count":5543,"open_issues_count":11,"forks_count":525,"subscribers_count":142,"default_branch":"master","last_synced_at":"2025-04-28T10:57:42.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fogleman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-03-02T22:16:13.000Z","updated_at":"2025-04-27T14:21:28.000Z","dependencies_parsed_at":"2023-01-14T08:04:04.869Z","dependency_job_id":"c5d0b8aa-6c6f-443c-864f-ee6c5a9b6805","html_url":"https://github.com/fogleman/nes","commit_stats":{"total_commits":190,"total_committers":14,"mean_commits":"13.571428571428571","dds":0.08947368421052626,"last_synced_commit":"3880f3400500b1ff2e89af4e12e90be46c73ae07"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2Fnes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2Fnes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2Fnes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2Fnes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fogleman","download_url":"https://codeload.github.com/fogleman/nes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254020639,"owners_count":22000756,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:00:21.051Z","updated_at":"2025-05-13T20:15:40.564Z","avatar_url":"https://github.com/fogleman.png","language":"Go","readme":"### Summary\n\nThis is an NES emulator written in Go.\n\n### Screenshots\n\n![Screenshots](http://i.imgur.com/vD3FXVh.png)\n\n### Title Screens\n\nhttp://www.michaelfogleman.com/static/nes/\n\n### Dependencies\n\n    github.com/go-gl/gl/v2.1/gl\n    github.com/go-gl/glfw/v3.1/glfw\n    github.com/gordonklaus/portaudio\n\nThe portaudio-go dependency requires PortAudio on your system:\n\n\u003e To build portaudio-go, you must first have the PortAudio development headers\n\u003e and libraries installed. Some systems provide a package for this; e.g., on\n\u003e Ubuntu you would want to run apt-get install portaudio19-dev. On other systems\n\u003e you might have to install from source.\n\nOn Mac, you can use homebrew:\n\n    brew install portaudio\n\n### Installation\n\nThe `go get` command will automatically fetch the dependencies listed above,\ncompile the binary and place it in your `$GOPATH/bin` directory.\n\n    go get github.com/fogleman/nes\n\n### Usage\n\n    nes [rom_file|rom_directory]\n\n1. If no arguments are specified, the program will look for rom files in\nthe current working directory.\n\n2. If a directory is specified, the program will look for rom files in that\ndirectory.\n\n3. If a file is specified, the program will run that rom.\n\nFor 1 \u0026 2, the program will display a menu screen to select which rom to play.\nThe thumbnails are downloaded from an online database keyed by the md5 sum of\nthe rom file.\n\n![Menu Screenshot](http://i.imgur.com/pwetBLv.png)\n\n### Controls\n\nJoysticks are supported, although the button mapping is currently hard-coded.\nKeyboard controls are indicated below.\n\n| Nintendo              | Emulator    |\n| --------------------- | ----------- |\n| Up, Down, Left, Right | Arrow Keys  |\n| Start                 | Enter       |\n| Select                | Right Shift |\n| A                     | Z           |\n| B                     | X           |\n| A (Turbo)             | A           |\n| B (Turbo)             | S           |\n| Reset                 | R           |\n\n### Mappers\n\nThe following mappers have been implemented:\n\n* NROM (0)\n* MMC1 (1)\n* UNROM (2)\n* CNROM (3)\n* MMC3 (4)\n* AOROM (7)\n\nThese mappers cover about 85% of all NES games. I hope to implement more\nmappers soon. To see what games should work, consult this list:\n\n[NES Mapper List](http://tuxnes.sourceforge.net/nesmapper.txt)\n\n### Known Issues\n\n* there are some minor issues with PPU timing, but most games work OK anyway\n* the APU emulation isn't quite perfect, but not far off\n\n### Documentation\n\nInterested in writing your own emulator? Curious about the NES internals? Here\nare some good resources:\n\n* [NES Documentation (PDF)](http://nesdev.com/NESDoc.pdf)\n* [NES Reference Guide (Wiki)](http://wiki.nesdev.com/w/index.php/NES_reference_guide)\n* [6502 CPU Reference](http://www.obelisk.me.uk/6502/reference.html)\n","funding_links":[],"categories":["Go","Software Packages","Go Tools","软件包","Go 工具","Other Software","軟件包"],"sub_categories":["Other Software","其他软件","其他软件库和软件包","其他軟件"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffogleman%2Fnes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffogleman%2Fnes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffogleman%2Fnes/lists"}